Package: slic3r
Version: 1.3.0+dfsg1-3+b1
Severity: important

Dear Maintainer,

I have recently tried to run slic3r under a wayland session.

Slic3r is segfaulting straight away:

$ slic3r
Segmentation fault
$

GDB is giving me the following stack trace:

$ gdb /usr/bin/perl
GNU gdb (Debian 8.1-4+b1) 8.1
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/perl...Reading symbols from
/usr/lib/debug//usr/bin/perl...done.
done.
(gdb) run /usr/bin/slic3r
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 0x7ffff18da700 (LWP 18878)]
[New Thread 0x7ffff10d9700 (LWP 18879)]
[New Thread 0x7ffff0895700 (LWP 18880)]
[New Thread 0x7fffe3fff700 (LWP 18881)]

Thread 1 "perl" received signal SIGSEGV, Segmentation fault.
0x00007fffe4004f10 in ?? ()
(gdb) bt
#0  0x00007fffe4004f10 in  ()
#1  0x00007ffff554a00b in XQueryExtension ()
    at /usr/lib/x86_64-linux-gnu/libX11.so.6
#2  0x00007fffe2a99862 in  () at /usr/lib/x86_64-linux-gnu/libGLX.so.0
#3  0x00007fffe2a958e5 in glXQueryVersion ()
    at /usr/lib/x86_64-linux-gnu/libGLX.so.0
#4  0x00007fffe331ce55 in wxGLCanvasX11::GetGLXVersion() ()
    at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_gl-3.0.so.0
#5  0x00007fffe331d455 in wxGLCanvasX11::ConvertWXAttrsToGL(int const*, int*,
unsigned long) () at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_gl-3.0.so.0
#6  0x00007fffe331db68 in wxGLCanvasX11::InitXVisualInfo(int const*,
__GLXFBConfigRec***, XVisualInfo**) ()
    at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_gl-3.0.so.0
#7  0x00007fffe331eb5f 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
#8  0x00007fffe331ed03 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
#9  0x00007fffe332a5d9 in  ()
    at /usr/lib/x86_64-linux-gnu/perl5/5.28/auto/Wx/GLCanvas/GLCanvas.so
#10 0x000055555563f891 in Perl_pp_entersub (my_perl=0x555555867260)
    at pp_hot.c:5232
#11 0x0000555555635ba6 in Perl_runops_standard (my_perl=0x555555867260)
    at run.c:42
#12 0x00005555555a9bb5 in Perl_call_sv (my_perl=0x555555867260,
sv=0x555558ca0468, flags=<optimized out>) at perl.c:3004
#13 0x00007fffe33298ba in  ()
    at /usr/lib/x86_64-linux-gnu/perl5/5.28/auto/Wx/GLCanvas/GLCanvas.so
#14 0x000055555563f891 in Perl_pp_entersub (my_perl=0x555555867260)
    at pp_hot.c:5232
#15 0x0000555555635ba6 in Perl_runops_standard (my_perl=0x555555867260)
    at run.c:42
#16 0x00005555555a9dc2 in Perl_call_sv (my_perl=<optimized out>,
sv=0x555556699e48, flags=<optimized out>) at perl.c:3021
#17 0x00007ffff6d72188 in  ()
    at /usr/lib/x86_64-linux-gnu/perl5/5.28/auto/Wx/Wx.so
#18 0x000055555563f891 in Perl_pp_entersub (my_perl=0x555555867260)
    at pp_hot.c:5232
---Type <return> to continue, or q <return> to quit---
#19 0x0000555555635ba6 in Perl_runops_standard (my_perl=0x555555867260)
    at run.c:42
#20 0x00005555555b1c57 in S_run_body (oldscope=<optimized out>,
my_perl=<optimized out>) at perl.c:2694
#21 0x00005555555b1c57 in perl_run (my_perl=0x555555867260) at perl.c:2617
#22 0x00005555555883f2 in main (argc=<optimized out>, argv=<optimized out>,
env=<optimized out>) at perlmain.c:122
(gdb)



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

Kernel: Linux 4.18.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)
LSM: AppArmor: enabled

Versions of packages slic3r depends on:
ii  libboost-filesystem1.67.0              1.67.0-10
ii  libboost-geometry-utils-perl           0.15-2+b7
ii  libboost-system1.67.0                  1.67.0-10
ii  libboost-thread1.67.0                  1.67.0-10
ii  libc6                                  2.27-8
ii  libencode-locale-perl                  1.05-1
ii  libexpat1                              2.2.6-1
ii  libgcc1                                1:8.2.0-9
ii  libio-stringy-perl                     2.111-2
ii  libmath-convexhull-monotonechain-perl  0.1-1+b7
ii  libmath-geometry-voronoi-perl          1.3-3+b1
ii  libmath-planepath-perl                 126-1
ii  libmoo-perl                            2.003004-2
ii  libstdc++6                             8.2.0-9
pn  libstorable-perl                       <none>
ii  perl [libtime-hires-perl]              5.28.0-4
ii  perl-base [perlapi-5.28.0]             5.28.0-4

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

slic3r suggests no packages.

-- no debconf information

Reply via email to