Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save shunting314/5a70df3463b2a4421b2c34aa88e78d1f to your computer and use it in GitHub Desktop.
Save shunting314/5a70df3463b2a4421b2c34aa88e78d1f to your computer and use it in GitHub Desktop.
Thread 227 "pt_autograd_0" received signal SIGSEGV, Segmentation fault.
[Switching to LWP 1007598]
0x00007ffff7c8cee4 in pthread_mutex_lock@@GLIBC_2.2.5 () from /lib64/libc.so.6
(gdb) bt
#0 0x00007ffff7c8cee4 in pthread_mutex_lock@@GLIBC_2.2.5 () from /lib64/libc.so.6
#1 0x00007ffe1029189c in torch::autograd::ForwardGrad::clear() () from /home/shunting/ws/vision/torchvision/_C.so
#2 0x00007ffe102a6565 in torch::autograd::CppNode<vision::ops::(anonymous namespace)::ROIAlignFunction>::release_variables() ()
from /home/shunting/ws/vision/torchvision/_C.so
#3 0x00007fffedf68dd2 in torch::autograd::Engine::evaluate_function(std::shared_ptr<torch::autograd::GraphTask>&, torch::autograd::Node*, torch::autograd::InputBuffe
r&, std::shared_ptr<torch::autograd::ReadyQueue> const&) () from /home/shunting/ws/pytorch/torch/lib/libtorch_cpu.so
#4 0x00007fffedf6974e in torch::autograd::Engine::thread_main(std::shared_ptr<torch::autograd::GraphTask> const&) ()
from /home/shunting/ws/pytorch/torch/lib/libtorch_cpu.so
#5 0x00007fffedf62464 in torch::autograd::Engine::thread_init(int, std::shared_ptr<torch::autograd::ReadyQueue> const&, bool) ()
from /home/shunting/ws/pytorch/torch/lib/libtorch_cpu.so
#6 0x00007ffff5fbd7a1 in torch::autograd::python::PythonEngine::thread_init(int, std::shared_ptr<torch::autograd::ReadyQueue> const&, bool) ()
from /home/shunting/ws/pytorch/torch/lib/libtorch_python.so
#7 0x00007ffff6ef0e95 in std::execute_native_thread_routine (__p=<optimized out>) at ../../../../../libstdc++-v3/src/c++11/thread.cc:104
#8 0x00007ffff7c89c02 in start_thread () from /lib64/libc.so.6
#9 0x00007ffff7d0ec40 in clone3 () from /lib64/libc.so.6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment