Thread 1 "python" received signal SIGSEGV, Segmentation fault. 0x00007fff8723ee17 in ?? () from ../TensorRT-8.0.1.6/lib/libnvinfer.so.8 (gdb) bt #0 0x00007fff8723ee17 in ?? () from ../TensorRT-8.0.1.6/lib/libnvinfer.so.8 #1 0x00007fff87240880 in ?? () from ../TensorRT-8.0.1.6/lib/libnvinfer.so.8 #2 0x00007fff878fb59a in ?? () from ../TensorRT-8.0.1.6/lib/libnvinfer.so.8 #3 0x00007fff878fbc5b in ?? () from ../TensorRT-8.0.1.6/lib/libnvinfer.so.8 #4 0x00007fff87902cfc in ?? () from ../TensorRT-8.0.1.6/lib/libnvinfer.so.8 #5 0x00007fff879038d8 in ?? () from ../TensorRT-8.0.1.6/lib/libnvinfer.so.8 #6 0x00007fff87246477 in ?? () from ../TensorRT-8.0.1.6/lib/libnvinfer.so.8 #7 0x00007fff86f84712 in ?? () from ../TensorRT-8.0.1.6/lib/libnvinfer.so.8 #8 0x00007fff871f2fb2 in ?? () from ../TensorRT-8.0.1.6/lib/libnvinfer.so.8 #9 0x00007fff871f5098 in ?? () from ../TensorRT-8.0.1.6/lib/libnvinfer.so.8 #10 0x00007fff9ec36de5 in void pybind11::cpp_function::initialize, nvinfer1::ICudaEngine*, nvinfer1::IBuilder&, nvinfer1::INetworkDefinition&, nvinfer1::IBuilderConfig&, pybind11::name, pybind11::is_method, pybind11::sibling, pybind11::arg, pybind11::arg, char const*, pybind11::call_guard, pybind11::keep_alive<0ul, 1ul> >(tensorrt::utils::DeprecatedMemberFunc&&, nvinfer1::ICudaEngine* (*)(nvinfer1::IBuilder&, nvinfer1::INetworkDefinition&, nvinfer1::IBuilderConfig&), pybind11::name const&, pybind11::is_method const&, pybind11::sibling const&, pybind11::arg const&, pybind11::arg const&, char const* const&, pybind11::call_guard const&, pybind11::keep_alive<0ul, 1ul> const&)::{lambda(pybind11::detail::function_call&)#3}::_FUN(pybind11::detail::function_call&) () from /home/acer/.pyenv/versions/3.7.1/envs/pytorch/lib/python3.7/site-packages/tensorrt/tensorrt.so #11 0x00007fff9ebf3f0f in pybind11::cpp_function::dispatcher(_object*, _object*, _object*) () from /home/acer/.pyenv/versions/3.7.1/envs/pytorch/lib/python3.7/site-packages/tensorrt/tensorrt.so #12 0x00007ffff790a128 in _PyMethodDef_RawFastCallKeywords (method = 0x55555646c630, self = , args = , nargs = 3, kwnames = 0x0) at Objects/call.c:690 #13 0x00007ffff790a1f5 in _PyCFunction_FastCallKeywords (func = 0x7fff6e321360, args = , nargs = , kwnames = ) at Objects/call.c:730 #14 0x00007ffff78df9a8 in call_function (kwnames = 0x0, oparg = , pp_stack = ) at Python/ceval.c:4605 #15 _PyEval_EvalFrameDefault (f = , throwflag = ) at Python/ceval.c:3093 #16 0x00007ffff79fa75b in _PyEval_EvalCodeWithName (_co = _co@entry = 0x7ffff6960ed0, globals = globals@entry = 0x7ffff69bb240, locals = locals@entry = 0x7ffff69bb240, args = args@entry = 0x0, argcount = argcount@entry = 0, kwnames = kwnames@entry = 0x0, kwargs = 0x0, kwcount = 0, kwstep = 2, defs = 0x0, defcount = 0, kwdefs = 0x0, closure = 0x0, name = 0x0, qualname = 0x0) at Python/ceval.c:3930 #17 0x00007ffff79fa85e in PyEval_EvalCodeEx (_co = _co@entry = 0x7ffff6960ed0, globals = globals@entry = 0x7ffff69bb240, locals = locals@entry = 0x7ffff69bb240, args = args@entry = 0x0, argcount = argcount@entry = 0, kws = kws@entry = 0x0, kwcount = 0, defs = 0x0, defcount = 0, kwdefs = 0x0, closure = 0x0) at Python/ceval.c:3959 #18 0x00007ffff79fa88b in PyEval_EvalCode (co = co@entry = 0x7ffff6960ed0, globals = globals@entry = 0x7ffff69bb240, locals = locals@entry = 0x7ffff69bb240) at Python/ceval.c:524 #19 0x00007ffff7a2ff9a in run_mod (arena = 0x7ffff6ab5078, flags = 0x7fffffffe450, locals = 0x7ffff69bb240, globals = 0x7ffff69bb240, filename = 0x7ffff66df348, mod = 0x555555814400) at Python/pythonrun.c:1035 #20 PyRun_FileExFlags (fp = fp@entry = 0x5555557a0260, filename_str = filename_str@entry = 0x7ffff69e9910 "tools/onnx2trt.py", start = start@entry = 257, globals = globals@entry = 0x7ffff69bb240, locals = locals@entry = 0x7ffff69bb240, closeit = closeit@entry = 1, flags = 0x7fffffffe450) at Python/pythonrun.c:988 #21 0x00007ffff7a3010d in PyRun_SimpleFileExFlags (fp = fp@entry = 0x5555557a0260, filename = , closeit = closeit@entry = 1, flags = flags@entry = 0x7fffffffe450) at Python/pythonrun.c:429 #22 0x00007ffff7a30583 in PyRun_AnyFileExFlags (fp = fp@entry = 0x5555557a0260, filename = , closeit = closeit@entry = 1, flags = flags@entry = 0x7fffffffe450) at Python/pythonrun.c:84 #23 0x00007ffff7a53730 in pymain_run_file (p_cf = 0x7fffffffe450, filename = , fp = 0x5555557a0260) at Modules/main.c:427 #24 pymain_run_filename (cf = 0x7fffffffe450, pymain = 0x7fffffffe560) at Modules/main.c:1537 #25 pymain_run_python (pymain = 0x7fffffffe560) at Modules/main.c:2626 #26 pymain_main (pymain = pymain@entry = 0x7fffffffe560) at Modules/main.c:2787 #27 0x00007ffff7a539a9 in _Py_UnixMain (argc = , argv = ) at Modules/main.c:2822 #28 0x00007ffff749fbf7 in __libc_start_main (main = 0x555555554740
, argc = 16, argv = 0x7fffffffe6b8, init = , fini = , rtld_fini = , stack_end = 0x7fffffffe6a8) at ../csu/libc-start.c:310 #29 0x000055555555477a in _start ()