Created
May 26, 2020 21:58
-
-
Save btel/8ffd5291f86eed01babe706137c4fc8b to your computer and use it in GitHub Desktop.
gdb stack xeus-python
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
Thread 1 "xpython" received signal SIGSEGV, Segmentation fault. | |
0x00007f86acca8862 in _ZN8pybind1121polymorphic_type_hookIN4xeus16xhistory_managerEvE3getEPKS2_RPKSt9type_info () at /home/bartosz/.pyenv/versions/miniconda3-latest/envs/xeus-new/include/pybind11/cast.h:847 | |
847 type = src ? &typeid(*src) : nullptr; | |
(gdb) bt | |
#0 0x00007f86acca8862 in _ZN8pybind1121polymorphic_type_hookIN4xeus16xhistory_managerEvE3getEPKS2_RPKSt9type_info () at /home/bartosz/.pyenv/versions/miniconda3-latest/envs/xeus-new/include/pybind11/cast.h:847 | |
#1 src_and_type (src=0x7f86abd98bb0) | |
at /home/bartosz/.pyenv/versions/miniconda3-latest/envs/xeus-new/include/pybind11/cast.h:880 | |
#2 cast (parent=..., policy=<optimized out>, src=0x7f86abd98bb0) | |
at /home/bartosz/.pyenv/versions/miniconda3-latest/envs/xeus-new/include/pybind11/cast.h:899 | |
#3 _ZZN8pybind1112cpp_function10initializeIRKZN4xpyt22get_kernel_module_implEvEUlRNS2_18xinteractive_shellEE_PKN4xeus16xhistory_managerEJS4_EJEEEvOT_PFT0_DpT1_EDpRKT2_ENKUlRNS_6detail13function_callEE1_clESP_.isra.852 (call=...) at /home/bartosz/.pyenv/versions/miniconda3-latest/envs/xeus-new/include/pybind11/pybind11.h:159 | |
#4 _ZZN8pybind1112cpp_function10initializeIRKZN4xpyt22get_kernel_module_implEvEUlRNS2_18xinteractive_shellEE_PKN4xeus16xhistory_managerEJS4_EJEEEvOT_PFT0_DpT1_EDpRKT2_ENUlRNS_6detail13function_callEE1_4_FUNESP_.lto_priv.671 () at /home/bartosz/.pyenv/versions/miniconda3-latest/envs/xeus-new/include/pybind11/pybind11.h:137 | |
#5 0x00007f86accdecab in _ZN8pybind1112cpp_function10dispatcherEP7_objectS2_S2_ (self=<optimized out>, | |
args_in= | |
(<kernel.XInteractiveShell(kernel=<kernel.mock_kernel(comm_manager=<pybind11_type(__init__=<wrapper_descriptor at remote 0x7f86abd69860>, __doc__=None, __module__='kernel', register_target=<built-in method register_target of PyCapsule object at remote 0x7f86abca0900>) at remote 0x5564fc8f57b0>) at remote 0x7f86aa643e00>) at remote 0x7f86aa643ea0>,), kwargs_in=0x0) | |
at /home/bartosz/.pyenv/versions/miniconda3-latest/envs/xeus-new/include/pybind11/pybind11.h:624 | |
#6 0x00007f86aca6ef16 in cfunction_call_varargs (kwargs=<optimized out>, args=<optimized out>, | |
func=<built-in method of PyCapsule object at remote 0x7f86abd2ac60>) | |
at /home/conda/feedstock_root/build_artifacts/python_1587713251558/work/Objects/call.c:742 | |
#7 PyCFunction_Call (func=<built-in method of PyCapsule object at remote 0x7f86abd2ac60>, | |
args=<optimized out>, kwargs=<optimized out>) | |
at /home/conda/feedstock_root/build_artifacts/python_1587713251558/work/Objects/call.c:772 | |
#8 0x00007f86aca25240 in _PyObject_MakeTpCall ( | |
callable=<built-in method of PyCapsule object at remote 0x7f86abd2ac60>, args=<optimized out>, | |
nargs=<optimized out>, keywords=<optimized out>) | |
at /home/conda/feedstock_root/build_artifacts/python_1587713251558/work/Objects/call.c:159 | |
#9 0x00007f86ac998ffc in _PyObject_Vectorcall (nargsf=1, kwnames=0x0, args=0x7fff16b23710, | |
callable=<built-in method of PyCapsule object at remote 0x7f86abd2ac60>) | |
at /home/conda/feedstock_root/build_artifacts/python_1587713251558/work/Include/cpython/abstract.h:125 | |
#10 _PyObject_FastCall () | |
at /home/conda/feedstock_root/build_artifacts/python_1587713251558/work/Include/cpython/abstract.h:147 | |
#11 property_descr_get (self=<optimized out>, obj=<optimized out>, type=<optimized out>) | |
at /home/conda/feedstock_root/build_artifacts/python_1587713251558/work/Objects/descrobject.c:1495 | |
#12 0x00007f86aca26b05 in _PyObject_GenericGetAttrWithDict ( | |
obj=<kernel.XInteractiveShell(kernel=<kernel.mock_kernel(comm_manager=<pybind11_type(__init__=<wrapper_descriptor at remote 0x7f86abd69860>, __doc__=None, __module__='kernel', register_target=<built-in method register_target of PyCapsule object at remote 0x7f86abca0900>) at remote 0x5564fc8f57b0>) at remote 0x7f86aa643e00>) at remote 0x7f86aa643ea0>, name='history_manager', dict=0x0, suppress=0) | |
at /home/conda/feedstock_root/build_artifacts/python_1587713251558/work/Objects/object.c:1254 | |
#13 0x00007f86acaaf9d5 in _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) | |
at /home/conda/feedstock_root/build_artifacts/python_1587713251558/work/Python/ceval.c:2966 | |
#14 0x00007f86aca219e2 in _PyEval_EvalCodeWithName (_co=<code at remote 0x7f86aa661190>, | |
--Type <RET> for more, q to quit, c to continue without paging--c | |
globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=0x0, kwargs=0x0, kwcount=<optimized out>, kwstep=2, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name=0x0, qualname=0x0) at /home/conda/feedstock_root/build_artifacts/python_1587713251558/work/Python/ceval.c:4298 | |
#15 0x00007f86aca227c4 in PyEval_EvalCodeEx (_co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at /home/conda/feedstock_root/build_artifacts/python_1587713251558/work/Python/ceval.c:4327 | |
#16 0x00007f86acad826c in PyEval_EvalCode (co=co@entry=<code at remote 0x7f86aa661190>, globals=globals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <type at remote 0x5564fc84c200>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f86abe62090>, 'display': <built-in method display of PyCapsule object at remote 0x7f86abdcccf0>, 'get_ipython': <built-in method get_ipython of PyCapsule object at remote 0x7f86aa64f0c0>}, locals=locals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <type at remote 0x5564fc84c200>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f86abe62090>, 'display': <built-in method display of PyCapsule object at remote 0x7f86abdcccf0>, 'get_ipython': <built-in method get_ipython of PyCapsule object at remote 0x7f86aa64f0c0>}) at /home/conda/feedstock_root/build_artifacts/python_1587713251558/work/Python/ceval.c:718 | |
#17 0x00007f86acb2fa80 in builtin_exec_impl.isra.14 (locals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <type at remote 0x5564fc84c200>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f86abe62090>, 'display': <built-in method display of PyCapsule object at remote 0x7f86abdcccf0>, 'get_ipython': <built-in method get_ipython of PyCapsule object at remote 0x7f86aa64f0c0>}, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <type at remote 0x5564fc84c200>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f86abe62090>, 'display': <built-in method display of PyCapsule object at remote 0x7f86abdcccf0>, 'get_ipython': <built-in method get_ipython of PyCapsule object at remote 0x7f86aa64f0c0>}, source=<code at remote 0x7f86aa661190>) at /home/conda/feedstock_root/build_artifacts/python_1587713251558/work/Python/bltinmodule.c:1033 | |
#18 builtin_exec (module=<optimized out>, args=<optimized out>, nargs=<optimized out>) at /home/conda/feedstock_root/build_artifacts/python_1587713251558/work/Python/clinic/bltinmodule.c.h:396 | |
#19 0x00007f86aca28208 in cfunction_vectorcall_FASTCALL (func=<built-in method exec of module object at remote 0x7f86abe62090>, args=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>) at /home/conda/feedstock_root/build_artifacts/python_1587713251558/work/Objects/methodobject.c:421 | |
#20 0x00007f86acaaf4a9 in _PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=0x7f86aa6569d0, callable=<built-in method exec of module object at remote 0x7f86abe62090>) at /home/conda/feedstock_root/build_artifacts/python_1587713251558/work/Include/cpython/abstract.h:127 | |
#21 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x5564fc83b210) at /home/conda/feedstock_root/build_artifacts/python_1587713251558/work/Python/ceval.c:4987 | |
#22 _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at /home/conda/feedstock_root/build_artifacts/python_1587713251558/work/Python/ceval.c:3500 | |
#23 0x00007f86aca219e2 in _PyEval_EvalCodeWithName (_co=<code at remote 0x7f86aa6617c0>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=0x0, kwargs=0x0, kwcount=<optimized out>, kwstep=2, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name=0x0, qualname=0x0) at /home/conda/feedstock_root/build_artifacts/python_1587713251558/work/Python/ceval.c:4298 | |
#24 0x00007f86aca227c4 in PyEval_EvalCodeEx (_co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kws=<optimized out>, kwcount=0, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0) at /home/conda/feedstock_root/build_artifacts/python_1587713251558/work/Python/ceval.c:4327 | |
#25 0x00007f86acad826c in PyEval_EvalCode (co=co@entry=<code at remote 0x7f86aa6617c0>, globals=globals@entry={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <type at remote 0x5564fc84c200>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f86abe62090>, 'display': <built-in method display of PyCapsule object at remote 0x7f86abdcccf0>, 'get_ipython': <built-in method get_ipython of PyCapsule object at remote 0x7f86aa64f0c0>}, locals=locals@entry={'_code_': <code at remote 0x7f86aa661190>, '_scope_': {'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <type at remote 0x5564fc84c200>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f86abe62090>, 'display': <built-in method display of PyCapsule object at remote 0x7f86abdcccf0>, 'get_ipython': <built-in method get_ipython of PyCapsule object at remote 0x7f86aa64f0c0>}}) at /home/conda/feedstock_root/build_artifacts/python_1587713251558/work/Python/ceval.c:718 | |
#26 0x00007f86acaf46cf in run_eval_code_obj (co=0x7f86aa6617c0, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <type at remote 0x5564fc84c200>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f86abe62090>, 'display': <built-in method display of PyCapsule object at remote 0x7f86abdcccf0>, 'get_ipython': <built-in method get_ipython of PyCapsule object at remote 0x7f86aa64f0c0>}, locals={'_code_': <code at remote 0x7f86aa661190>, '_scope_': {'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <type at remote 0x5564fc84c200>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f86abe62090>, 'display': <built-in method display of PyCapsule object at remote 0x7f86abdcccf0>, 'get_ipython': <built-in method get_ipython of PyCapsule object at remote 0x7f86aa64f0c0>}}) at /home/conda/feedstock_root/build_artifacts/python_1587713251558/work/Python/pythonrun.c:1125 | |
#27 0x00007f86acb2f684 in run_mod (mod=<optimized out>, filename=<optimized out>, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <type at remote 0x5564fc84c200>, '__spec__': None, | |
'__annotations__': {}, '__builtins__': <module at remote 0x7f86abe62090>, 'display': <built-in method display of PyCapsule object at remote 0x7f86abdcccf0>, 'get_ipython': <built-in method get_ipython of PyCapsule object at remote 0x7f86aa64f0c0>}, locals={'_code_': <code at remote 0x7f86aa661190>, '_scope_': {'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <type at remote 0x5564fc84c200>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f86abe62090>, 'display': <built-in method display of PyCapsule object at remote 0x7f86abdcccf0>, 'get_ipython': <built-in method get_ipython of PyCapsule object at remote 0x7f86aa64f0c0>}}, flags=<optimized out>, arena=<optimized out>) at /home/conda/feedstock_root/build_artifacts/python_1587713251558/work/Python/pythonrun.c:1147 | |
#28 0x00007f86acb2f71d in PyRun_StringFlags (str=0x5564fcc2d550 "# -*- coding: utf-8 -*-\nexec(_code_, _scope_, _scope_)", start=257, globals={'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <type at remote 0x5564fc84c200>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f86abe62090>, 'display': <built-in method display of PyCapsule object at remote 0x7f86abdcccf0>, 'get_ipython': <built-in method get_ipython of PyCapsule object at remote 0x7f86aa64f0c0>}, locals={'_code_': <code at remote 0x7f86aa661190>, '_scope_': {'__name__': '__main__', '__doc__': None, '__package__': None, '__loader__': <type at remote 0x5564fc84c200>, '__spec__': None, '__annotations__': {}, '__builtins__': <module at remote 0x7f86abe62090>, 'display': <built-in method display of PyCapsule object at remote 0x7f86abdcccf0>, 'get_ipython': <built-in method get_ipython of PyCapsule object at remote 0x7f86aa64f0c0>}}, flags=0x0) at /home/conda/feedstock_root/build_artifacts/python_1587713251558/work/Python/pythonrun.c:1034 | |
#29 0x00007f86acce5078 in pybind11::eval (local=..., global=..., expr=...) at /home/bartosz/.pyenv/versions/miniconda3-latest/envs/xeus-new/include/pybind11/eval.h:46 | |
#30 pybind11::eval (s=..., local=..., global=...) at /home/bartosz/.pyenv/versions/miniconda3-latest/envs/xeus-new/include/pybind11/eval.h:57 | |
#31 pybind11::exec (s=..., local=..., global=...) at /home/bartosz/.pyenv/versions/miniconda3-latest/envs/xeus-new/include/pybind11/eval.h:66 | |
#32 xpyt::exec (code=..., scope=...) at /home/bartosz/repos/libraries/xeus-python/src/xutils.cpp:141 | |
#33 0x00007f86accb4956 in xpyt::interpreter::execute_request_impl (this=0x5564fc8a3330, execution_count=1, code=..., silent=<optimized out>, allow_stdin=true) at /home/bartosz/repos/libraries/xeus-python/src/xinterpreter.cpp:171 | |
#34 0x00007f86ac8aa281 in xeus::xinterpreter::execute_request(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, bool, nlohmann::basic_json<std::map, std::vector, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool, long, unsigned long, double, std::allocator, nlohmann::adl_serializer>, bool) () from /home/bartosz/.pyenv/versions/miniconda3-latest/envs/xeus-new/lib/libxeus.so.1 | |
#35 0x00007f86ac8c1d56 in xeus::xkernel_core::execute_request(xeus::xmessage const&, xeus::channel) () from /home/bartosz/.pyenv/versions/miniconda3-latest/envs/xeus-new/lib/libxeus.so.1 | |
#36 0x00007f86ac8c3080 in xeus::xkernel_core::dispatch(zmq::multipart_t&, xeus::channel) () from /home/bartosz/.pyenv/versions/miniconda3-latest/envs/xeus-new/lib/libxeus.so.1 | |
#37 0x00007f86ac8c8ee7 in xeus::xshell::run() () from /home/bartosz/.pyenv/versions/miniconda3-latest/envs/xeus-new/lib/libxeus.so.1 | |
#38 0x00007f86ac8af36e in xeus::xserver_shell_main::start_impl(zmq::multipart_t&) () from /home/bartosz/.pyenv/versions/miniconda3-latest/envs/xeus-new/lib/libxeus.so.1 | |
#39 0x00007f86ac8a836c in xeus::xkernel::start() () from /home/bartosz/.pyenv/versions/miniconda3-latest/envs/xeus-new/lib/libxeus.so.1 | |
#40 0x00005564fbbaf651 in main (argc=<optimized out>, argv=<optimized out>) at /home/bartosz/repos/libraries/xeus-python/src/main.cpp:176 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment