[3dprinter-general] Bug#915347: slic3r segfaulting under wayland

Bernhard √úbelacker bernhardu at mailbox.org
Fri Dec 7 00:50:10 GMT 2018


Dear Maintainer,
this issue seems to be caused by wxGLCanvas not being yet ready
for wayland. At least in version current version in testing.

There are already bugs [1] and [2], the first one also for slic3r.
Both are forwarded to [3].
And all describing as workaround using something like
"GDK_BACKEND=x11 slic3r" to start affected applications.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900678
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=904753
[3] https://trac.wxwidgets.org/ticket/17702

Kind regards,
Bernhard



Thread 1 "perl" received signal SIGSEGV, Segmentation fault.
0x00007fff00000001 in ?? ()
(gdb) bt
#0  0x00007fff00000001 in ?? ()
#1  0x00007ffff570600b in XQueryExtension (dpy=dpy at entry=0x55555682e000, name=name at entry=0x7fffe2e26006 "GLX", major_opcode=major_opcode at entry=0x555558c063d4, first_event=first_event at entry=0x7fffffffd184, first_error=first_error at entry=0x555558c063d8) at ../../src/QuExt.c:43
#2  0x00007fffe2e21862 in InitDisplayInfoEntry (dpy=0x55555682e000) at ../../../src/GLX/libglxmapping.c:641
#3  __glXLookupDisplay (dpy=<optimized out>, dpy at entry=0x55555682e000) at ../../../src/GLX/libglxmapping.c:733
#4  0x00007fffe2e1d8e5 in glXQueryVersion (dpy=0x55555682e000, major=0x7fffffffd230, minor=0x7fffffffd234) at ../../../src/GLX/libglx.c:1170
#5  0x00007fffe2d51e55 in wxGLCanvasX11::GetGLXVersion () at ../include/wx/utils.h:780
#6  0x00007fffe2d52455 in wxGLCanvasX11::ConvertWXAttrsToGL (wxattrs=0x555558c065c0, glattrs=0x7fffffffd3d0, n=512) at ../src/unix/glx11.cpp:343
#7  0x00007fffe2d52b68 in wxGLCanvasX11::InitXVisualInfo (attribList=attribList at entry=0x555558c065c0, pFBC=pFBC at entry=0x55555660ac20, pXVisual=pXVisual at entry=0x55555660ac28) at ../src/unix/glx11.cpp:498
#8  0x00007fffe2d52c59 in wxGLCanvasX11::InitVisual (this=this at entry=0x55555660a970, attribList=attribList at entry=0x555558c065c0) at ../src/unix/glx11.cpp:226
#9  0x00007fffe2d53b5f in wxGLCanvas::Create (this=this at entry=0x55555660a970, parent=parent at entry=0x555558ba1e80, id=id at entry=-1, pos=..., size=..., style=style at entry=0, name=..., attribList=0x555558c065c0, palette=...) at ../src/gtk/glcanvas.cpp:233
#10 0x00007fffe2d53d03 in wxGLCanvas::wxGLCanvas (this=0x55555660a970, parent=0x555558ba1e80, id=-1, attribList=0x555558c065c0, pos=..., size=..., style=0, name=..., palette=...) at ../src/gtk/glcanvas.cpp:157
#11 0x00007ffff002d5d9 in XS_Wx__GLCanvas_newDefault (my_perl=0x555555867260, cv=<optimized out>) at GLCanvas.xs:132
#12 0x000055555563fd11 in Perl_pp_entersub ()
#13 0x0000555555636026 in Perl_runops_standard ()
#14 0x00005555555a9cf5 in Perl_call_sv ()
#15 0x00007ffff002c8ba in XS_Wx__GLCanvas_new (my_perl=0x555555867260, cv=<optimized out>) at GLCanvas.xs:113
#16 0x000055555563fd11 in Perl_pp_entersub ()
#17 0x0000555555636026 in Perl_runops_standard ()
#18 0x00005555555a9f02 in Perl_call_sv ()
#19 0x00007ffff6f0b188 in call_oninit (sub=0x5555566a4208, This=0x555556c3ac60, my_perl=0x555555867260) at Wx.c:134
#20 XS_Wx___App_Start (my_perl=0x555555867260, cv=<optimized out>) at Wx.c:14746
#21 0x000055555563fd11 in Perl_pp_entersub ()
#22 0x0000555555636026 in Perl_runops_standard ()
#23 0x00005555555b2097 in perl_run ()
#24 0x0000555555588402 in main ()

(gdb) up
#1  0x00007ffff570600b in XQueryExtension (dpy=dpy at entry=0x55555682e000, name=name at entry=0x7fffe2e26006 "GLX", major_opcode=major_opcode at entry=0x555558c063d4, first_event=first_event at entry=0x7fffffffd184, first_error=first_error at entry=0x555558c063d8) at ../../src/QuExt.c:43
43          LockDisplay(dpy);
(gdb) print dpy
$1 = (Display *) 0x55555682e000
(gdb) print dpy->lock_fns 
$2 = (struct _XLockPtrs *) 0x55555682e980
(gdb) print dpy->lock_fns->lock_display 
$3 = (void (*)(Display *)) 0x7fff00000001



More information about the 3dprinter-general mailing list