[3dprinter-general] Bug#900678: slic3r: Segfaults at start since new wxwidgets.

Tobias Frost tobi at debian.org
Sun Jun 3 11:03:41 BST 2018


Package: slic3r
Version: 1.3.0+dfsg1-2
Severity: important

Hi,

Slic3r segfaults immediatly after launching.

Triaging into it is seems that the update of wxwidgets
causes this, at least I can reproduce on my other machine
that when I update wxwidgets slic3r begins to fail.

Attached is a gdb trace

About the wxwdgets triaging:
I've downgraded to the version I had before the segfault on the
other machine. I did not invesitage if an intermediate version fixes it.
The version I've downgraded to was: 3.0.3.1+dfsg2-1. (via snapshot.d.o)

This is the aptitude log file for the downgrade:
$ cat /var/log/aptitude
Aptitude 0.8.10: log report
Sun, Jun  3 2018 12:00:38 +0200

  IMPORTANT: this log only lists intended actions; actions which fail
  due to dpkg problems may not be completed.

Will install 11 packages, and remove 11 packages.
114 MB of disk space will be freed
========================================
[REMOVE, NOT USED] fonts-freefont-ttf:amd64 20120503-8
[REMOVE, NOT USED] libalut0:amd64 1.1.0-5+b2
[REMOVE, NOT USED] libftgl2:amd64 2.1.3~rc5-4+nmu1.2
[REMOVE, NOT USED] libwxgtk-media3.0-gtk3-0v5:amd64 3.0.4+dfsg-4
[REMOVE, NOT USED] libwxgtk-media3.0-gtk3-dev:amd64 3.0.4+dfsg-4
[REMOVE, NOT USED] libwxgtk3.0-gtk3-dev:amd64 3.0.4+dfsg-4
[INSTALL, DEPENDENCIES] libwxgtk-media3.0-0v5:amd64 3.0.3.1+dfsg2-1
[INSTALL, DEPENDENCIES] libwxgtk-media3.0-dev:amd64 3.0.3.1+dfsg2-1
[INSTALL, DEPENDENCIES] libwxgtk3.0-dev:amd64 3.0.3.1+dfsg2-1
[DOWNGRADE] libalien-wxwidgets-perl:amd64 0.69+dfsg-2 -> 0.67+dfsg-3+b5
[DOWNGRADE] libwx-glcanvas-perl:amd64 0.09-5 -> 0.09-3+b5
[DOWNGRADE] libwx-perl:amd64 1:0.9932-4 -> 1:0.9932-2
[DOWNGRADE] libwxbase3.0-0v5:amd64 3.0.4+dfsg-4 -> 3.0.3.1+dfsg2-1
[DOWNGRADE] libwxbase3.0-dev:amd64 3.0.4+dfsg-4 -> 3.0.3.1+dfsg2-1
[DOWNGRADE] libwxgtk3.0-0v5:amd64 3.0.4+dfsg-4 -> 3.0.3.1+dfsg2-1
[DOWNGRADE] wx-common:amd64 3.0.4+dfsg-4 -> 3.0.3.1+dfsg2-1
[DOWNGRADE] wx3.0-headers:amd64 3.0.4+dfsg-4 -> 3.0.3.1+dfsg2-1
[REMOVE] darkradiant:amd64 2.6.0-2
[REMOVE] darkradiant-plugins-darkmod:amd64 2.6.0-2
[REMOVE] libwxgtk3.0-gtk3-0v5:amd64 3.0.4+dfsg-4
[REMOVE] libwxgtk3.0-gtk3-0v5-dbgsym:amd64 3.0.4+dfsg-4
[REMOVE] libx11-6-dbgsym:amd64 2:1.6.5-1
========================================

Log complete.

Let me know if I can somehow help to triage this further.

--
tobi


-- 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_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages slic3r depends on:
ii  libboost-filesystem1.62.0              1.62.0+dfsg-5.1
ii  libboost-geometry-utils-perl           0.15-2+b6
ii  libboost-system1.62.0                  1.62.0+dfsg-5.1
ii  libboost-thread1.62.0                  1.62.0+dfsg-5.1
ii  libc6                                  2.27-3
ii  libencode-locale-perl                  1.05-1
ii  libexpat1                              2.2.5-3
ii  libgcc1                                1:8.1.0-5
ii  libio-stringy-perl                     2.111-2
ii  libmath-convexhull-monotonechain-perl  0.1-1+b6
ii  libmath-geometry-voronoi-perl          1.3-3
ii  libmath-planepath-perl                 126-1
ii  libmoo-perl                            2.003004-1
ii  libstdc++6                             8.1.0-5
pn  libstorable-perl                       <none>
ii  perl [libtime-hires-perl]              5.26.2-5
ii  perl-base [perlapi-5.26.2]             5.26.2-5

Versions of packages slic3r recommends:
ii  libclass-xsaccessor-perl  1.19-2+b12
ii  libio-all-perl            0.87-1
ii  libopengl-perl            0.7000+dfsg-1
ii  libpdf-api2-perl          2.033-1
ii  libsvg-perl               2.84-1
ii  libwx-glcanvas-perl       0.09-5
ii  libwx-perl                1:0.9932-4
ii  libxml-sax-expatxs-perl   1.33-2+b4

slic3r suggests no packages.

-- no debconf information
-------------- next part --------------
Starting program: /usr/bin/perl /usr/bin/slic3r
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffe839e700 (LWP 19422)]
[New Thread 0x7fffe7b9d700 (LWP 19423)]
[New Thread 0x7fffe739c700 (LWP 19424)]

Thread 1 "perl" received signal SIGSEGV, Segmentation fault.
0x00007ffff0858c49 in XQueryExtension (dpy=0x5555568d7900, name=0x7fffe43b7cc6 "GLX", major_opcode=0x7fffe40730b4, 
    first_event=0x7fffffffcdb4, first_error=0x7fffe40730b8) at ../../src/QuExt.c:43
43	../../src/QuExt.c: No such file or directory.
#0  0x00007ffff0858c49 in XQueryExtension (dpy=0x5555568d7900, name=0x7fffe43b7cc6 "GLX", major_opcode=0x7fffe40730b4, first_event=0x7fffffffcdb4, first_error=0x7fffe40730b8) at ../../src/QuExt.c:43
#1  0x00007fffe43b43b2 in  () at /usr/lib/x86_64-linux-gnu/libGLX.so.0
#2  0x00007fffe43b0415 in glXQueryVersion () at /usr/lib/x86_64-linux-gnu/libGLX.so.0
#3  0x00007fffd7bf0e95 in wxGLCanvasX11::GetGLXVersion() () at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_gl-3.0.so.0
#4  0x00007fffd7bf1535 in wxGLCanvasX11::ConvertWXAttrsToGL(int const*, int*, unsigned long) ()
    at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_gl-3.0.so.0
#5  0x00007fffd7bf1d68 in wxGLCanvasX11::InitXVisualInfo(int const*, __GLXFBConfigRec***, XVisualInfo**) ()
    at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_gl-3.0.so.0
#6  0x00007fffd7bf2e70 in wxGLCanvas::Create(wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&, int const*, wxPalette const&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_gl-3.0.so.0
#7  0x00007fffd7bf3013 in wxGLCanvas::wxGLCanvas(wxWindow*, int, int const*, wxPoint const&, wxSize const&, long, wxString const&, wxPalette const&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_gl-3.0.so.0
#8  0x00007fffd7dfd2af in  () at /usr/lib/x86_64-linux-gnu/perl5/5.26/auto/Wx/GLCanvas/GLCanvas.so
#9  0x0000555555630431 in Perl_pp_entersub ()
#10 0x0000555555628266 in Perl_runops_standard ()
#11 0x00005555555a10bf in Perl_call_sv ()
#12 0x00007fffd7dfc65a in  () at /usr/lib/x86_64-linux-gnu/perl5/5.26/auto/Wx/GLCanvas/GLCanvas.so
#13 0x0000555555630431 in Perl_pp_entersub ()
#14 0x0000555555628266 in Perl_runops_standard ()
#15 0x00005555555a129f in Perl_call_sv ()
#16 0x00007ffff35a1c88 in  () at /usr/lib/x86_64-linux-gnu/perl5/5.26/auto/Wx/Wx.so
#17 0x0000555555630431 in Perl_pp_entersub ()
#18 0x0000555555628266 in Perl_runops_standard ()
#19 0x00005555555a92e7 in perl_run ()
#20 0x00005555555803a2 in main ()
#0  0x00007ffff0858c49 in XQueryExtension (dpy=0x5555568d7900, name=0x7fffe43b7cc6 "GLX", major_opcode=0x7fffe40730b4, first_event=0x7fffffffcdb4, first_error=0x7fffe40730b8) at ../../src/QuExt.c:43
        rep = 
          {type = 0 '\000', pad1 = 0 '\000', sequenceNumber = 0, length = 0, present = 80 'P', major_opcode = 254 '\376', first_event = 1 '\001', first_error = 0 '\000', pad3 = 0, pad4 = 262368, pad5 = 0, pad6 = 4150405368, pad7 = 32767}
        req = <optimized out>
#1  0x00007fffe43b43b2 in  () at /usr/lib/x86_64-linux-gnu/libGLX.so.0
#2  0x00007fffe43b0415 in glXQueryVersion () at /usr/lib/x86_64-linux-gnu/libGLX.so.0
#3  0x00007fffd7bf0e95 in wxGLCanvasX11::GetGLXVersion() () at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_gl-3.0.so.0
#4  0x00007fffd7bf1535 in wxGLCanvasX11::ConvertWXAttrsToGL(int const*, int*, unsigned long) ()
    at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_gl-3.0.so.0
#5  0x00007fffd7bf1d68 in wxGLCanvasX11::InitXVisualInfo(int const*, __GLXFBConfigRec***, XVisualInfo**) ()
    at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_gl-3.0.so.0
#6  0x00007fffd7bf2e70 in wxGLCanvas::Create(wxWindow*, int, wxPoint const&, wxSize const&, long, wxString const&, int const*, wxPalette const&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_gl-3.0.so.0
#7  0x00007fffd7bf3013 in wxGLCanvas::wxGLCanvas(wxWindow*, int, int const*, wxPoint const&, wxSize const&, long, wxString const&, wxPalette const&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_gl-3.0.so.0
#8  0x00007fffd7dfd2af in  () at /usr/lib/x86_64-linux-gnu/perl5/5.26/auto/Wx/GLCanvas/GLCanvas.so
#9  0x0000555555630431 in Perl_pp_entersub ()
#10 0x0000555555628266 in Perl_runops_standard ()
#11 0x00005555555a10bf in Perl_call_sv ()
#12 0x00007fffd7dfc65a in  () at /usr/lib/x86_64-linux-gnu/perl5/5.26/auto/Wx/GLCanvas/GLCanvas.so
#13 0x0000555555630431 in Perl_pp_entersub ()
#14 0x0000555555628266 in Perl_runops_standard ()
#15 0x00005555555a129f in Perl_call_sv ()
#16 0x00007ffff35a1c88 in  () at /usr/lib/x86_64-linux-gnu/perl5/5.26/auto/Wx/Wx.so
#17 0x0000555555630431 in Perl_pp_entersub ()
#18 0x0000555555628266 in Perl_runops_standard ()
#19 0x00005555555a92e7 in perl_run ()
#20 0x00005555555803a2 in main ()
Undefined command: "x86_64-linux-gnu".  Try "help".


More information about the 3dprinter-general mailing list