Skip to content

Instantly share code, notes, and snippets.

@Birch-san
Created August 21, 2024 22:13
Show Gist options
  • Save Birch-san/58d7e71043badac47f5ca4791e0753ae to your computer and use it in GitHub Desktop.
Save Birch-san/58d7e71043badac47f5ca4791e0753ae to your computer and use it in GitHub Desktop.
stable-fast torch.jit.trace segfault
Caught signal 11 (Segmentation fault: address not mapped to object at address 0x20)
==== backtrace (tid: 63632) ====
0 0x0000000000042520 __sigaction() ???:0
1 0x0000000006e9fe76 torch::jit::InterpreterStateImpl::callstack() interpreter.cpp:0
2 0x0000000006ea0172 torch::jit::InterpreterStateImpl::handleError() interpreter.cpp:0
3 0x0000000006eac9fb torch::jit::InterpreterStateImpl::runTemplate<false>() interpreter.cpp:0
4 0x0000000006eb0585 torch::jit::InterpreterStateImpl::run() interpreter.cpp:0
5 0x0000000006e897b3 torch::jit::GraphExecutorImplBase::run() graph_executor.cpp:0
6 0x0000000000d3d859 torch::jit::runAndInsertCall() python_custom_class.cpp:0
7 0x0000000000e4208b torch::jit::invokeScriptMethodFromPython() script_init.cpp:0
8 0x0000000000df894f pybind11::detail::argument_loader<pybind11::args, pybind11::kwargs>::call_impl<pybind11::object, torch::jit::initJitScriptBindings(_object*)::{lambda(pybind11::args, pybind11::kwargs)#69}&, 0ul, 1ul, pybind11::detail::void_type>() script_init.cpp:0
9 0x0000000000df8b40 pybind11::cpp_function::initialize<torch::jit::initJitScriptBindings(_object*)::{lambda(pybind11::args, pybind11::kwargs)#69}, pybind11::object, pybind11::args, pybind11::kwargs, pybind11::name, pybind11::is_method, pybind11::sibling>(torch::jit::initJitScriptBindings(_object*)::{lambda(pybind11::args, pybind11::kwargs)#69}&&, pybind11::object (*)(pybind11::args, pybind11::kwargs), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN() script_init.cpp:0
10 0x00000000005be05f pybind11::cpp_function::dispatcher() python_functions_0.cpp:0
11 0x000000000015adae PyObject_CallFunctionObjArgs() ???:0
12 0x000000000015152b _PyObject_MakeTpCall() ???:0
13 0x0000000000169680 PyMethod_New() ???:0
14 0x000000000028139b PyInit__datetime() ???:0
15 0x0000000000169e9b PyObject_Call() ???:0
16 0x0000000000145ca9 _PyEval_EvalFrameDefault() ???:0
17 0x000000000016939e PyMethod_New() ???:0
18 0x0000000000145ca9 _PyEval_EvalFrameDefault() ???:0
19 0x00000000001506c4 _PyObject_FastCallDictTstate() ???:0
20 0x0000000000166611 _PyObject_Call_Prepend() ???:0
21 0x0000000000281370 PyInit__datetime() ???:0
22 0x0000000000169e9b PyObject_Call() ???:0
23 0x0000000000145ca9 _PyEval_EvalFrameDefault() ???:0
24 0x0000000000169251 PyMethod_New() ???:0
25 0x0000000000169f02 PyObject_Call() ???:0
26 0x0000000000145ca9 _PyEval_EvalFrameDefault() ???:0
27 0x0000000000169251 PyMethod_New() ???:0
28 0x0000000000169f02 PyObject_Call() ???:0
29 0x0000000000145ca9 _PyEval_EvalFrameDefault() ???:0
30 0x000000000015b6ac _PyFunction_Vectorcall() ???:0
31 0x000000000015076d _PyObject_FastCallDictTstate() ???:0
32 0x00000000001665ac _PyObject_Call_Prepend() ???:0
33 0x0000000000281370 PyInit__datetime() ???:0
34 0x0000000000169e9b PyObject_Call() ???:0
35 0x0000000000145ca9 _PyEval_EvalFrameDefault() ???:0
36 0x000000000015b6ac _PyFunction_Vectorcall() ???:0
37 0x0000000000169f02 PyObject_Call() ???:0
38 0x0000000000145ca9 _PyEval_EvalFrameDefault() ???:0
39 0x000000000015b6ac _PyFunction_Vectorcall() ???:0
40 0x0000000000204a42 _PyLong_Format() ???:0
41 0x000000000014ae8f _PyEval_EvalFrameDefault() ???:0
42 0x000000000015b6ac _PyFunction_Vectorcall() ???:0
43 0x0000000000204a42 _PyLong_Format() ???:0
44 0x000000000014a672 _PyEval_EvalFrameDefault() ???:0
45 0x000000000015b6ac _PyFunction_Vectorcall() ???:0
46 0x0000000000169f02 PyObject_Call() ???:0
47 0x0000000000145ca9 _PyEval_EvalFrameDefault() ???:0
48 0x0000000000169251 PyMethod_New() ???:0
49 0x0000000000169f02 PyObject_Call() ???:0
50 0x0000000000145ca9 _PyEval_EvalFrameDefault() ???:0
51 0x000000000015b6ac _PyFunction_Vectorcall() ???:0
52 0x000000000015076d _PyObject_FastCallDictTstate() ???:0
53 0x00000000001665ac _PyObject_Call_Prepend() ???:0
54 0x0000000000281370 PyInit__datetime() ???:0
55 0x0000000000169e9b PyObject_Call() ???:0
56 0x0000000000145ca9 _PyEval_EvalFrameDefault() ???:0
=================================
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment