Results 59 comments of Eugene Brevdo

@allenlavoie may have insight.

I'm having a hard time replicating the issue. I ran: $ python3 --version Python 3.5.3 $ python3 -c 'import tensorflow; print(tensorflow.__version__)' 1.13.0-dev20181121 $ python3 test-tf111-tfshoulduse-crash.py 2018-11-21 15:59:19.821636: I tensorflow/core/platform/cpu_feature_guard.cc:141] Your...

I removed better_exchook (removed the import, and the two commands in main) and still am no able to replicate in py3.5

oh i see; an older version of better_exchook. checking... On Wed, Nov 21, 2018 at 4:36 PM, Albert Zeyer wrote: > See my earlier explanation. Only with better_exchook you can...

ok i was able to replicate the issue. gonna see if i can run this under address sanitizer...

OK; asan picked something up: ``` Colocations handled automatically by placer. variables: [] init vars graph size: 8668 train step 0, loss: 1.596843 EXCEPTION Traceback (most recent call last): File...

@allenlavoie looks like in this case (`test-tf111-tfshoulduse-crash.py` in python3 with `better_exchook == 20171121.105512`) we attempt to access graph data after it has been deleted, presumably this is caused by an...

Perhaps we can be more careful about when we call [format_stack](https://github.com/tensorflow/tensorflow/blob/b05573e268d9bedfb6f7bbc20aea570f1800ec64/tensorflow/python/util/tf_should_use.py#L60)? We do this lazily to avoid the cost of formatting, but is there a way to check that the...

We could also consider sanitizing the stack before formatting.

I can replicate the error in tf-nightly. in Python 3.10. Running in gdb, here's the stack trace at segfault: ``` Thread 1 "python3" received signal SIGSEGV, Segmentation fault. __strlen_avx2 ()...