[Debian-med-packaging] Bug#901562: invesalius: Segmentation fault at startup

Torquil Macdonald Sørensen torquil at gmail.com
Wed Jun 20 19:54:59 BST 2018


Package: invesalius
Version: 3.1.1-3
Followup-For: Bug #901562

Running the python file wxVTKRenderWindowInteractor.py also gives a segfault:

$ python wxVTKRenderWindowInteractor.py
Segmentation fault
$

Here is a gdb backtrace:

(gdb) set args wxVTKRenderWindowInteractor.py
(gdb) run
Starting program: /usr/bin/python wxVTKRenderWindowInteractor.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fff8fce5700 (LWP 2097)]
[New Thread 0x7fff8f4e4700 (LWP 2098)]

Thread 1 "python" received signal SIGSEGV, Segmentation fault.
0x00007ffff3827202 in gdk_window_has_impl (window=<optimized out>) at ./debian/build/deb/gdk/../../../../gdk/gdkwindow.c:677
677	./debian/build/deb/gdk/../../../../gdk/gdkwindow.c: No such file or directory.
(gdb) bt full
#0  0x00007ffff3827202 in gdk_window_has_impl (window=<optimized out>) at ./debian/build/deb/gdk/../../../../gdk/gdkwindow.c:677
No locals.
#1  _gdk_window_has_impl (window=window at entry=0x0) at ./debian/build/deb/gdk/../../../../gdk/gdkwindow.c:678
No locals.
#2  0x00007ffff385d47e in gdk_x11_window_get_xid (window=0x0) at ./debian/build/deb/gdk/x11/../../../../../gdk/x11/gdkwindow-x11.c:5566
        __func__ = "gdk_x11_window_get_xid"
#3  0x00007ffff6742251 in ?? () from /usr/lib/python2.7/dist-packages/wx-3.0-gtk3/wx/_core_.x86_64-linux-gnu.so
No symbol table info available.
#4  0x000055555564f874 in PyEval_EvalFrameEx ()
No symbol table info available.
#5  0x0000555555646c7a in PyEval_EvalCodeEx ()
No symbol table info available.
#6  0x000055555564edb4 in PyEval_EvalFrameEx ()
No symbol table info available.
#7  0x000055555564e3e2 in PyEval_EvalFrameEx ()
No symbol table info available.
#8  0x0000555555646c7a in PyEval_EvalCodeEx ()
No symbol table info available.
#9  0x0000555555662b09 in ?? ()
No symbol table info available.
#10 0x000055555567b2be in ?? ()
No symbol table info available.
#11 0x000055555563290e in PyObject_Call ()
No symbol table info available.
#12 0x00005555556529f0 in PyEval_CallObjectWithKeywords ()
No symbol table info available.
#13 0x00007ffff66cae99 in wxPyCallback::EventThunker(wxEvent&) () from /usr/lib/python2.7/dist-packages/wx-3.0-gtk3/wx/_core_.x86_64-linux-gnu.so
No symbol table info available.
#14 0x00007ffff4b648ce in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
No symbol table info available.
#15 0x00007ffff4b64cda in wxEvtHandler::SearchDynamicEventTable(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
No symbol table info available.
#16 0x00007ffff4b64d6f in wxEvtHandler::TryHereOnly(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
No symbol table info available.
#17 0x00007ffff4b64e23 in wxEvtHandler::ProcessEventLocally(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
No symbol table info available.
#18 0x00007ffff4b64e85 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
No symbol table info available.
#19 0x00007ffff4b64be7 in wxEvtHandler::SafelyProcessEvent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
No symbol table info available.
#20 0x00007ffff54f5557 in wxWindow::DoSetSize(int, int, int, int, int) () from /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
No symbol table info available.
#21 0x00007ffff568429a in wxBoxSizer::RecalcSizes() () from /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
No symbol table info available.
#22 0x00007ffff568211e in wxSizer::Layout() () from /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
No symbol table info available.
#23 0x00007ffff56b6436 in wxWindowBase::Layout() () from /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
No symbol table info available.
#24 0x00007ffff6745395 in ?? () from /usr/lib/python2.7/dist-packages/wx-3.0-gtk3/wx/_core_.x86_64-linux-gnu.so
No symbol table info available.
#25 0x000055555564f874 in PyEval_EvalFrameEx ()
No symbol table info available.
#26 0x0000555555646c7a in PyEval_EvalCodeEx ()
No symbol table info available.
#27 0x000055555564edb4 in PyEval_EvalFrameEx ()
No symbol table info available.
#28 0x000055555564e3e2 in PyEval_EvalFrameEx ()
No symbol table info available.
#29 0x0000555555646c7a in PyEval_EvalCodeEx ()
No symbol table info available.
#30 0x0000555555646709 in PyEval_EvalCode ()
No symbol table info available.
#31 0x000055555567771f in ?? ()
No symbol table info available.
#32 0x0000555555672472 in PyRun_FileExFlags ()
No symbol table info available.
#33 0x00005555556718ed in PyRun_SimpleFileExFlags ()
No symbol table info available.
#34 0x0000555555620a2b in Py_Main ()
No symbol table info available.
#35 0x00007ffff6e69a87 in __libc_start_main (main=0x555555620390 <main>, argc=2, argv=0x7fffffffdaa8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, 
    stack_end=0x7fffffffda98) at /build/glibc-kAz5Pl/glibc-2.27/csu/../csu/libc-start.c:310
        result = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {0, 5714558618308793267, 93824993067648, 140737488345760, 0, 0, 1881209273895179187, 1881229127293293491}, mask_was_saved = 0}}, priv = {
            pad = {0x0, 0x0, 0x7fffffffdac0, 0x7ffff7ffe170}, data = {prev = 0x0, cleanup = 0x0, canceltype = -9536}}}
        not_first_call = <optimized out>
#36 0x00005555556202aa in _start ()
No symbol table info available.
(gdb)

Best regards,
Torquil Sørensen

-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.16.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages invesalius depends on:
ii  invesalius-bin             3.1.1-3
ii  python                     2.7.15-3
ii  python-concurrent.futures  3.2.0-1
ii  python-configparser        3.5.0-1
ii  python-gdcm                2.8.6-2
ii  python-nibabel             2.3.0-1
ii  python-numpy               1:1.14.5-1
ii  python-pil                 5.1.0-1
ii  python-psutil              5.4.6-1
ii  python-scipy               0.19.1-2
ii  python-serial              3.4-3
ii  python-skimage             0.13.1-3
ii  python-vtk6                6.3.0+dfsg2-2+b2
ii  python-vtkgdcm             2.8.6-2
ii  python-wxgtk3.0            3.0.2.0+dfsg-8
ii  python2.7                  2.7.15-1

invesalius recommends no packages.

invesalius suggests no packages.

-- no debconf information


More information about the Debian-med-packaging mailing list