Skip to content

double free or corruption (!prev) and tensorboard show nothing #7839

Closed

Description

@wxy920801

I'm new to use tensorflow.
And I want to learn how to use tensorboard.
So I run the demo code mnist_with_summaries.py,
But in the end it shows

*** Error in `/home/wxy/anaconda2/envs/tensorflow/bin/python': double free or corruption (!prev): 0x0000000002166320 ***

And I input tensorboard --logdir=/tmp/mnist/logs and open http://0.0.0.0:6006/ it shows nothing.
so I follow the guide to input

/tmp/mnist/logs | grep tfevents

then

/tmp/mnist/logs/test/events.out.tfevents.1487915616.wxy
/tmp/mnist/logs/train/events.out.tfevents.1487915615.wxy

input

tensorboard --inspect --logdir=/tmp/mnist/logs

then

Processing event files... (this can take a few minutes)

Found event files in:
/tmp/mnist/logs/test
/tmp/mnist/logs/train

These tags are in /tmp/mnist/logs/test:
audio -
histograms
layer1/Wx_plus_b/pre_activations
layer1/activations
layer1/biases/summaries/histogram
layer1/weights/summaries/histogram
layer2/Wx_plus_b/pre_activations
layer2/activations
layer2/biases/summaries/histogram
layer2/weights/summaries/histogram
images
input_reshape/input/image/0
input_reshape/input/image/1
input_reshape/input/image/2
input_reshape/input/image/3
input_reshape/input/image/4
input_reshape/input/image/5
input_reshape/input/image/6
input_reshape/input/image/7
input_reshape/input/image/8
input_reshape/input/image/9
scalars
accuracy_1
cross_entropy_1
dropout/dropout_keep_probability
layer1/biases/summaries/max
layer1/biases/summaries/mean
layer1/biases/summaries/min
layer1/biases/summaries/stddev_1
layer1/weights/summaries/max
layer1/weights/summaries/mean
layer1/weights/summaries/min
layer1/weights/summaries/stddev_1
layer2/biases/summaries/max
layer2/biases/summaries/mean
layer2/biases/summaries/min
layer2/biases/summaries/stddev_1
layer2/weights/summaries/max
layer2/weights/summaries/mean
layer2/weights/summaries/min
layer2/weights/summaries/stddev_1

Event statistics for /tmp/mnist/logs/test:
audio -
graph -
histograms
first_step 0
last_step 990
max_step 990
min_step 0
num_steps 100
outoforder_steps []
images
first_step 0
last_step 990
max_step 990
min_step 0
num_steps 100
outoforder_steps []
scalars
first_step 0
last_step 990
max_step 990
min_step 0
num_steps 100
outoforder_steps []
sessionlog:checkpoint -
sessionlog:start -
sessionlog:stop -

These tags are in /tmp/mnist/logs/train:
audio -
histograms
layer1/Wx_plus_b/pre_activations
layer1/activations
layer1/biases/summaries/histogram
layer1/weights/summaries/histogram
layer2/Wx_plus_b/pre_activations
layer2/activations
layer2/biases/summaries/histogram
layer2/weights/summaries/histogram
images
input_reshape/input/image/0
input_reshape/input/image/1
input_reshape/input/image/2
input_reshape/input/image/3
input_reshape/input/image/4
input_reshape/input/image/5
input_reshape/input/image/6
input_reshape/input/image/7
input_reshape/input/image/8
input_reshape/input/image/9
scalars
accuracy_1
cross_entropy_1
dropout/dropout_keep_probability
layer1/biases/summaries/max
layer1/biases/summaries/mean
layer1/biases/summaries/min
layer1/biases/summaries/stddev_1
layer1/weights/summaries/max
layer1/weights/summaries/mean
layer1/weights/summaries/min
layer1/weights/summaries/stddev_1
layer2/biases/summaries/max
layer2/biases/summaries/mean
layer2/biases/summaries/min
layer2/biases/summaries/stddev_1
layer2/weights/summaries/max
layer2/weights/summaries/mean
layer2/weights/summaries/min
layer2/weights/summaries/stddev_1

Event statistics for /tmp/mnist/logs/train:
audio -
graph
first_step 0
last_step 0
max_step 0
min_step 0
num_steps 1
outoforder_steps []
histograms
first_step 1
last_step 999
max_step 999
min_step 1
num_steps 900
outoforder_steps []
images
first_step 1
last_step 999
max_step 999

Can you tell me what's the problem?
How could I deal with it?
So I want some people to help me.
Thank you so much!

Activity

  1. poxvoculi commented on Feb 24, 2017

    @poxvoculi
    Contributor

    This forum is for bug reports. For use issues, please post to stackoverflow. Since TensorFlow recently relased version 1.0 please make sure you're running the latest version. If you suspect a bug, please report all the information requested in the issues template.

  2. added
    stat:awaiting response
    type:support
    on Feb 24, 2017
  3. yaroslavvb commented on Feb 25, 2017

    @yaroslavvb
    Contributor

    @wxy920801 can you see if suggestions here help? #6968
    cc @jhseu

  4. wxy920801 commented on Feb 25, 2017

    @wxy920801
    Author

    @yaroslavvb
    Thank you!!
    I can't believe that solves my problem!

  5. removed
    stat:awaiting response
    on Feb 25, 2017
  6. yaroslavvb commented on Feb 25, 2017

    @yaroslavvb
    Contributor

    @wxy920801 meaning you got tensorboard running by setting LD_PRELOAD ?

  7. chenliu0831 commented on Feb 25, 2017

    @chenliu0831

    Confirm LD_PRELOAD="/usr/lib/libtcmalloc_minimal.so.4" tensorboard --logdir ... fixed it for me, ubuntu 14.04 with 1.0.0 container

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:support

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions