Created
September 5, 2017 12:41
-
-
Save dchansen/6c616b73e65a68c027efa29082e777a1 to your computer and use it in GitHub Desktop.
GDB from pytorch segfault
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Starting program: /usr/bin/python3 torchtest.py | |
[Thread debugging using libthread_db enabled] | |
Using host libthread_db library "/lib64/libthread_db.so.1". | |
[New Thread 0x7fa242d67700 (LWP 12575)] | |
[New Thread 0x7fa242566700 (LWP 12576)] | |
[New Thread 0x7fa23dd65700 (LWP 12577)] | |
[New Thread 0x7fa23d564700 (LWP 12578)] | |
[New Thread 0x7fa23ad63700 (LWP 12579)] | |
[New Thread 0x7fa236562700 (LWP 12580)] | |
[New Thread 0x7fa233d61700 (LWP 12581)] | |
Thread 1 "python3" received signal SIGSEGV, Segmentation fault. | |
0x00007fa21f5d3911 in THNN_Floatunfolded_copy_vol () from /home/dch/.local/lib/python3.6/site-packages/torch/lib/libTHNN.so.1 | |
(gdb) where | |
#0 0x00007fa21f5d3911 in THNN_Floatunfolded_copy_vol () from /home/dch/.local/lib/python3.6/site-packages/torch/lib/libTHNN.so.1 | |
#1 0x00007fa21f69cb90 in THNN_FloatVolumetricConvolutionMM_updateOutput () | |
from /home/dch/.local/lib/python3.6/site-packages/torch/lib/libTHNN.so.1 | |
#2 0x00007fa22c6675c2 in torch::nn::VolumetricConvolutionMM_updateOutput (input=input@entry=0x100cce570, output=<optimized out>, | |
weight=weight@entry=0x100ccf310, bias=bias@entry=0x100d41bd0, finput=finput@entry=0x10058ad40, kT=5, kW=5, kH=5, dT=1, dW=1, dH=1, pT=0, | |
pW=0, pH=0) at torch/csrc/nn/THNN_generic.cpp:13137 | |
#3 0x00007fa22c625695 in torch::autograd::compute_output (input=0x100cce570, weight=weight@entry=0x100ccf310, bias=bias@entry=0x100d41bd0, | |
columns=0x10058ad40, ones=0x100d67920, kernel_size=std::vector of length 3, capacity 3 = {...}, params=...) | |
at torch/csrc/autograd/functions/convolution.cpp:657 | |
#4 0x00007fa22c6289b6 in torch::autograd::ConvForward::apply (this=<optimized out>, inputs=std::vector of length 3, capacity 3 = {...}) | |
at torch/csrc/autograd/functions/convolution.cpp:227 | |
#5 0x00007fa22c610cc9 in torch::autograd::(anonymous namespace)::THPCppFunction_call (self=0x7fa24de90b70, args=0x7fa245cdb1b0, | |
kwargs=<optimized out>) at torch/csrc/autograd/python_cpp_function.cpp:46 | |
#6 0x00007fa24d95a894 in _PyObject_FastCallDict () from /lib64/libpython3.6m.so.1.0 | |
#7 0x00007fa24d9ccc2d in call_function () from /lib64/libpython3.6m.so.1.0 | |
#8 0x00007fa24d9fafea in _PyEval_EvalFrameDefault () from /lib64/libpython3.6m.so.1.0 | |
#9 0x00007fa24d959753 in _PyEval_EvalCodeWithName () from /lib64/libpython3.6m.so.1.0 | |
#10 0x00007fa24d98dc3f in fast_function () from /lib64/libpython3.6m.so.1.0 | |
#11 0x00007fa24d9ccbbe in call_function () from /lib64/libpython3.6m.so.1.0 | |
#12 0x00007fa24d9fafea in _PyEval_EvalFrameDefault () from /lib64/libpython3.6m.so.1.0 | |
#13 0x00007fa24d95a37a in _PyFunction_FastCallDict () from /lib64/libpython3.6m.so.1.0 | |
#14 0x00007fa24d95aa6e in _PyObject_FastCallDict () from /lib64/libpython3.6m.so.1.0 | |
#15 0x00007fa24d964821 in _PyObject_Call_Prepend () from /lib64/libpython3.6m.so.1.0 | |
#16 0x00007fa24d95ae8b in PyObject_Call () from /lib64/libpython3.6m.so.1.0 | |
#17 0x00007fa24d9fc98f in _PyEval_EvalFrameDefault () from /lib64/libpython3.6m.so.1.0 | |
#18 0x00007fa24d959753 in _PyEval_EvalCodeWithName () from /lib64/libpython3.6m.so.1.0 | |
#19 0x00007fa24d95a40c in _PyFunction_FastCallDict () from /lib64/libpython3.6m.so.1.0 | |
#20 0x00007fa24d95aa6e in _PyObject_FastCallDict () from /lib64/libpython3.6m.so.1.0 | |
#21 0x00007fa24d964821 in _PyObject_Call_Prepend () from /lib64/libpython3.6m.so.1.0 | |
#22 0x00007fa24d95ae8b in PyObject_Call () from /lib64/libpython3.6m.so.1.0 | |
#23 0x00007fa24d9c4b50 in slot_tp_call () from /lib64/libpython3.6m.so.1.0 | |
#24 0x00007fa24d95a894 in _PyObject_FastCallDict () from /lib64/libpython3.6m.so.1.0 | |
#25 0x00007fa24d9ccc2d in call_function () from /lib64/libpython3.6m.so.1.0 | |
#26 0x00007fa24d9fafea in _PyEval_EvalFrameDefault () from /lib64/libpython3.6m.so.1.0 | |
#27 0x00007fa24d9d9e67 in PyEval_EvalCodeEx () from /lib64/libpython3.6m.so.1.0 | |
#28 0x00007fa24d9dabdb in PyEval_EvalCode () from /lib64/libpython3.6m.so.1.0 | |
#29 0x00007fa24da60ea2 in run_mod () from /lib64/libpython3.6m.so.1.0 | |
#30 0x00007fa24da61afd in PyRun_FileExFlags () from /lib64/libpython3.6m.so.1.0 | |
#31 0x00007fa24da63507 in PyRun_SimpleFileExFlags () from /lib64/libpython3.6m.so.1.0 | |
#32 0x00007fa24da64503 in Py_Main () from /lib64/libpython3.6m.so.1.0 | |
#33 0x0000000100000cf5 in main () |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment