Skip to content

Instantly share code, notes, and snippets.

@zmjjmz
Created April 1, 2020 19:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zmjjmz/52e572033f0619eb9f2786420ee92985 to your computer and use it in GitHub Desktop.
Save zmjjmz/52e572033f0619eb9f2786420ee92985 to your computer and use it in GitHub Desktop.
TF segfault
W0401 13:47:33.782922 140134609663744 basic_session_run_hooks.py:732] It seems that global step (tf.train.get_global_step)
has not been increased. Current value (could be stable): 0 vs previous value: 0. You could increase the global step by pass
ing tf.train.get_global_step() to Optimizer.apply_gradients or Optimizer.minimize.
*** Error in `python': malloc(): memory corruption (fast): 0x00007f6f78326510 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x70bfb)[0x7f73a0777bfb]
/lib/x86_64-linux-gnu/libc.so.6(+0x76fc6)[0x7f73a077dfc6]
/lib/x86_64-linux-gnu/libc.so.6(+0x79491)[0x7f73a0780491]
/lib/x86_64-linux-gnu/libc.so.6(__libc_malloc+0x54)[0x7f73a0781f64]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_Znwm+0x18)[0x7f739cd397a8]
/home/u1/zach/proj/dataplayground3/lib/python3.5/site-packages/tensorflow_core/python/../libtensorflow_framework.so.2(_ZN1$
tensorflow6TensorC2EPNS_9AllocatorENS_8DataTypeERKNS_11TensorShapeERKNS_20AllocationAttributesE+0xa7e)[0x7f72df68769e]
/home/u1/zach/proj/dataplayground3/lib/python3.5/site-packages/tensorflow_core/python/../libtensorflow_framework.so.2(_ZN1$
tensorflow15OpKernelContext15allocate_tensorENS_8DataTypeERKNS_11TensorShapeEPNS_6TensorENS_19AllocatorAttributesERKNS_20A$
locationAttributesE+0x96)[0x7f72df64b016]
/home/u1/zach/proj/dataplayground3/lib/python3.5/site-packages/tensorflow_core/python/../libtensorflow_framework.so.2(_ZN1$
tensorflow15OpKernelContext15allocate_outputEiRKNS_11TensorShapeEPPNS_6TensorENS_19AllocatorAttributesE+0x653)[0x7f72df64b$
f3]
/home/u1/zach/proj/dataplayground3/lib/python3.5/site-packages/tensorflow_core/python/../libtensorflow_framework.so.2(_ZN1$
tensorflow15OpKernelContext15allocate_outputEiRKNS_11TensorShapeEPPNS_6TensorE+0x73)[0x7f72df64bb43]
/home/u1/zach/proj/dataplayground3/lib/python3.5/site-packages/tensorflow_core/python/../libtensorflow_framework.so.2(_ZN1$
tensorflow15OpKernelContext15allocate_outputEN4absl11string_viewERKNS_11TensorShapeEPPNS_6TensorE+0x9a)[0x7f72df64bd2a]
/home/u1/zach/proj/dataplayground3/lib/python3.5/site-packages/tensorflow_core/python/_pywrap_tensorflow_internal.so(_ZN10$
ensorflow30BoostedTreesMakeStatsSummaryOp7ComputeEPNS_15OpKernelContextE+0x3e8)[0x7f72e4df2f28]
/home/u1/zach/proj/dataplayground3/lib/python3.5/site-packages/tensorflow_core/python/../libtensorflow_framework.so.2(+0xe$
b59c)[0x7f72df83c59c]
/home/u1/zach/proj/dataplayground3/lib/python3.5/site-packages/tensorflow_core/python/../libtensorflow_framework.so.2(+0xe$
db85)[0x7f72df82eb85]
/home/u1/zach/proj/dataplayground3/lib/python3.5/site-packages/tensorflow_core/python/../libtensorflow_framework.so.2(_ZN5$
igen15ThreadPoolTemplIN10tensorflow6thread16EigenEnvironmentEE10WorkerLoopEi+0x4a1)[0x7f72df91d5d1]
/home/u1/zach/proj/dataplayground3/lib/python3.5/site-packages/tensorflow_core/python/../libtensorflow_framework.so.2(_ZNS$
17_Function_handlerIFvvEZN10tensorflow6thread16EigenEnvironment12CreateThreadESt8functionIS0_EEUlvE_E9_M_invokeERKSt9_Any_$
ata+0x43)[0x7f72df91a2e3]
/home/u1/zach/proj/dataplayground3/lib/python3.5/site-packages/tensorflow_core/python/../libtensorflow_framework.so.2(+0x1$
983af)[0x7f72dff793af]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment