You are not logged in.

#1 2017-01-08 10:04:17

theLadder
Member
Registered: 2014-10-05
Posts: 18

Slic3r segm. faults on my install but works on a fresh archlinux

Hello
I use a program from AUR called slic3r (for my 3d printer): https://aur.archlinux.org/packages/slic3r/

As soon as i start the GUI i get a segmentation fault and it coredumps on me, but it works fine on a fresh archlinux install, both used nvidia proprietary drivers.

How can i solve this? I have not worked with coredumps before so i'm not sure how to troubleshoot this. I guess i could just reinstall archlinux but that feels like giving up!
Let me know if there is any more helpful logs/info i can provide!

coredumpctl info output:

           PID: [0;1;39m24173[0m (perl)
           UID: 1000 (martin)
           GID: 1000 (martin)
        Signal: 11 (SEGV)
     Timestamp: Sun 2017-01-08 10:48:23 CET (3min 39s ago)
  Command Line: perl /usr/bin/vendor_perl/slic3r.pl
    Executable: [0;1;39m/usr/bin/perl[0m
 Control Group: /user.slice/user-1000.slice/session-c8.scope
          Unit: session-c8.scope
         Slice: user-1000.slice
       Session: c8
     Owner UID: 1000 (martin)
       Boot ID: ...
    Machine ID: ...
      Hostname: martins_dator
       Storage: /var/lib/systemd/coredump/core.perl.1000.2d7cf998e472415496fd95fce6ee002b.24173.1483868903000000000000.lz4
       Message: Process 24173 (perl) of user 1000 dumped core.
                
                Stack trace of thread 24173:
                #0  0x00007fbfa37c9ad0 pthread_mutex_lock (libpthread.so.0)
                #1  0x00007fbf9d7c572a XrmQGetResource (libX11.so.6)
                #2  0x00007fbf9d7a1bb6 XGetDefault (libX11.so.6)
                #3  0x00007fbf9d2e046f n/a (libcairo.so.2)
                #4  0x00007fbf9d2e2940 n/a (libcairo.so.2)
                #5  0x00007fbf9d2b3ee7 cairo_surface_get_font_options (libcairo.so.2)
                #6  0x00007fbf9d26ffdf n/a (libcairo.so.2)
                #7  0x00007fbf9d273374 n/a (libcairo.so.2)
                #8  0x00007fbf9d2645e4 cairo_show_glyphs (libcairo.so.2)
                #9  0x00007fbf9d57621b n/a (libpangocairo-1.0.so.0)
                #10 0x00007fbf9d57659f n/a (libpangocairo-1.0.so.0)
                #11 0x00007fbf9e047179 pango_renderer_draw_glyphs (libpango-1.0.so.0)
                #12 0x00007fbf9d576804 pango_cairo_show_glyph_string (libpangocairo-1.0.so.0)
                #13 0x00007fbf9e047179 pango_renderer_draw_glyphs (libpango-1.0.so.0)
                #14 0x00007fbf9e047e5f pango_renderer_draw_layout_line (libpango-1.0.so.0)
                #15 0x00007fbf9e048085 pango_renderer_draw_layout (libpango-1.0.so.0)
                #16 0x00007fbf9e4be93b gdk_draw_layout_with_colors (libgdk-x11-2.0.so.0)
                #17 0x00007fbf9f4d75a5 _ZN14wxWindowDCImpl17DoDrawRotatedTextERK8wxStringiid (libwx_gtk2u_core-3.0.so.0)
                #18 0x00007fbf9f50c752 _ZN11wxStatusBar13DrawFieldTextER4wxDCRK6wxRectii (libwx_gtk2u_core-3.0.so.0)
                #19 0x00007fbf9f5098cf _ZN11wxStatusBar9DrawFieldER4wxDCii (libwx_gtk2u_core-3.0.so.0)
                #20 0x00007fbf9f50d036 _ZN11wxStatusBar7OnPaintER12wxPaintEvent (libwx_gtk2u_core-3.0.so.0)
                #21 0x00007fbf9edf243e _ZNK16wxAppConsoleBase16CallEventHandlerEP12wxEvtHandlerR14wxEventFunctorR7wxEvent (libwx_baseu-3.0.so.0)
                #22 0x00007fbf9ef78a77 _ZN12wxEvtHandler23ProcessEventIfMatchesIdERK21wxEventTableEntryBasePS_R7wxEvent (libwx_baseu-3.0.so.0)
                #23 0x00007fbf9ef78b6b _ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler (libwx_baseu-3.0.so.0)
                #24 0x00007fbf9ef78f28 _ZN12wxEvtHandler11TryHereOnlyER7wxEvent (libwx_baseu-3.0.so.0)
                #25 0x00007fbf9ef78fb3 _ZN12wxEvtHandler19ProcessEventLocallyER7wxEvent (libwx_baseu-3.0.so.0)
                #26 0x00007fbf9ef79015 _ZN12wxEvtHandler12ProcessEventER7wxEvent (libwx_baseu-3.0.so.0)
                #27 0x00007fbf9ef78d77 _ZN12wxEvtHandler18SafelyProcessEventER7wxEvent (libwx_baseu-3.0.so.0)
                #28 0x00007fbf9f4d1ce9 _ZN8wxWindow18GTKSendPaintEventsEPK10_GdkRegion (libwx_gtk2u_core-3.0.so.0)
                #29 0x00007fbf9f4d2494 n/a (libwx_gtk2u_core-3.0.so.0)
                #30 0x00007fbf9e8777ac n/a (libgtk-x11-2.0.so.0)
                #31 0x00007fbf9dddcf75 g_closure_invoke (libgobject-2.0.so.0)
                #32 0x00007fbf9ddeef82 n/a (libgobject-2.0.so.0)
                #33 0x00007fbf9ddf766f g_signal_emit_valist (libgobject-2.0.so.0)
                #34 0x00007fbf9ddf7faf g_signal_emit (libgobject-2.0.so.0)
                #35 0x00007fbf9e98f8cc n/a (libgtk-x11-2.0.so.0)
                #36 0x00007fbf9e876592 gtk_main_do_event (libgtk-x11-2.0.so.0)
                #37 0x00007fbf9e4d429f n/a (libgdk-x11-2.0.so.0)
                #38 0x00007fbf9e4d4245 n/a (libgdk-x11-2.0.so.0)
                #39 0x00007fbf9e4d0d71 n/a (libgdk-x11-2.0.so.0)
                #40 0x00007fbf9e4d181d gdk_window_process_updates (libgdk-x11-2.0.so.0)
                #41 0x00007fbf9e99e352 n/a (libgtk-x11-2.0.so.0)
                #42 0x00007fbf9dddcf75 g_closure_invoke (libgobject-2.0.so.0)
                #43 0x00007fbf9ddef37d n/a (libgobject-2.0.so.0)
                #44 0x00007fbf9ddf7bcc g_signal_emit_valist (libgobject-2.0.so.0)
                #45 0x00007fbf9ddf7faf g_signal_emit (libgobject-2.0.so.0)
                #46 0x00007fbf9e7fcb50 n/a (libgtk-x11-2.0.so.0)
                #47 0x00007fbf9e4b04b7 n/a (libgdk-x11-2.0.so.0)
                #48 0x00007fbf9db0443a g_main_context_dispatch (libglib-2.0.so.0)
                #49 0x00007fbf9db047f0 n/a (libglib-2.0.so.0)
                #50 0x00007fbf9db04b12 g_main_loop_run (libglib-2.0.so.0)
                #51 0x00007fbf9e8753a7 gtk_main (libgtk-x11-2.0.so.0)
                #52 0x00007fbf9f49d165 _ZN14wxGUIEventLoop5DoRunEv (libwx_gtk2u_core-3.0.so.0)
                #53 0x00007fbf9ee34223 _ZN15wxEventLoopBase3RunEv (libwx_baseu-3.0.so.0)
                #54 0x00007fbf9edf9306 _ZN16wxAppConsoleBase8MainLoopEv (libwx_baseu-3.0.so.0)
                #55 0x00007fbf9ff95ff9 _ZN8wxPliApp8MainLoopEv (Wx.so)
                #56 0x00007fbf9ff4fe31 _ZL19XS_Wx__App_MainLoopP11interpreterP2cv (Wx.so)
                #57 0x00007fbfa3e54d70 Perl_pp_entersub (libperl.so)
                #58 0x00007fbfa3e4d296 Perl_runops_standard (libperl.so)
                #59 0x00007fbfa3dd5305 perl_run (libperl.so)
                #60 0x0000000000400d69 main (perl)
                #61 0x00007fbfa39fd291 __libc_start_main (libc.so.6)
                #62 0x0000000000400daa _start (perl)
                
                Stack trace of thread 24174:
                #0  0x00007fbfa37cd4b8 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0)
                #1  0x00007fbf93b23ad4 n/a (libGLX_nvidia.so.0)
                #2  0x00007fbf9284b3c4 n/a (libnvidia-glcore.so.375.26)
                #3  0x00007fbf93b2300c n/a (libGLX_nvidia.so.0)
                #4  0x00007fbfa37c7454 start_thread (libpthread.so.0)
                #5  0x00007fbfa3ac57df __clone (libc.so.6)
                
                Stack trace of thread 24175:
                #0  0x00007fbfa3abc48d poll (libc.so.6)
                #1  0x00007fbf9db04786 n/a (libglib-2.0.so.0)
                #2  0x00007fbf9db0489c g_main_context_iteration (libglib-2.0.so.0)
                #3  0x00007fbf9db048e1 n/a (libglib-2.0.so.0)
                #4  0x00007fbf9db2c0d5 n/a (libglib-2.0.so.0)
                #5  0x00007fbfa37c7454 start_thread (libpthread.so.0)
                #6  0x00007fbfa3ac57df __clone (libc.so.6)
                
                Stack trace of thread 24176:
                #0  0x00007fbfa3abc48d poll (libc.so.6)
                #1  0x00007fbf9db04786 n/a (libglib-2.0.so.0)
                #2  0x00007fbf9db04b12 g_main_loop_run (libglib-2.0.so.0)
                #3  0x00007fbf9bbff316 n/a (libgio-2.0.so.0)
                #4  0x00007fbf9db2c0d5 n/a (libglib-2.0.so.0)
                #5  0x00007fbfa37c7454 start_thread (libpthread.so.0)
                #6  0x00007fbfa3ac57df __clone (libc.so.6)
Refusing to dump core to tty (use shell redirection or specify --output).

coredump gdb; bt output:

GNU gdb (GDB) 7.12
Copyright (C) 2016 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-pc-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...(no debugging symbols found)...done.
[New LWP 24173]
[New LWP 24174]
[New LWP 24175]
[New LWP 24176]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
Core was generated by `perl /usr/bin/vendor_perl/slic3r.pl'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fbfa37c9ad0 in pthread_mutex_lock () from /usr/lib/libpthread.so.0
[Current thread is 1 (Thread 0x7fbfa4346380 (LWP 24173))]
(gdb) bt
#0  0x00007fbfa37c9ad0 in pthread_mutex_lock () at /usr/lib/libpthread.so.0
#1  0x00007fbf9d7c572a in XrmQGetResource () at /usr/lib/libX11.so.6
#2  0x00007fbf9d7a1bb6 in XGetDefault () at /usr/lib/libX11.so.6
#3  0x00007fbf9d2e046f in  () at /usr/lib/libcairo.so.2
#4  0x00007fbf9d2e2940 in  () at /usr/lib/libcairo.so.2
#5  0x00007fbf9d2b3ee7 in cairo_surface_get_font_options () at /usr/lib/libcairo.so.2
#6  0x00007fbf9d26ffdf in  () at /usr/lib/libcairo.so.2
#7  0x00007fbf9d273374 in  () at /usr/lib/libcairo.so.2
#8  0x00007fbf9d2645e4 in cairo_show_glyphs () at /usr/lib/libcairo.so.2
#9  0x00007fbf9d57621b in  () at /usr/lib/libpangocairo-1.0.so.0
#10 0x00007fbf9d57659f in  () at /usr/lib/libpangocairo-1.0.so.0
#11 0x00007fbf9e047179 in pango_renderer_draw_glyphs () at /usr/lib/libpango-1.0.so.0
#12 0x00007fbf9d576804 in pango_cairo_show_glyph_string () at /usr/lib/libpangocairo-1.0.so.0
#13 0x00007fbf9e047179 in pango_renderer_draw_glyphs () at /usr/lib/libpango-1.0.so.0
#14 0x00007fbf9e047e5f in pango_renderer_draw_layout_line () at /usr/lib/libpango-1.0.so.0
#15 0x00007fbf9e048085 in pango_renderer_draw_layout () at /usr/lib/libpango-1.0.so.0
#16 0x00007fbf9e4be93b in gdk_draw_layout_with_colors () at /usr/lib/libgdk-x11-2.0.so.0
#17 0x00007fbf9f4d75a5 in wxWindowDCImpl::DoDrawRotatedText(wxString const&, int, int, double) ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#18 0x00007fbf9f50c752 in wxStatusBar::DrawFieldText(wxDC&, wxRect const&, int, int) ()
    at /usr/lib/libwx_gtk2u_core-3.0.so.0
#19 0x00007fbf9f5098cf in wxStatusBar::DrawField(wxDC&, int, int) () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#20 0x00007fbf9f50d036 in wxStatusBar::OnPaint(wxPaintEvent&) () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#21 0x00007fbf9edf243e in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const ()
    at /usr/lib/libwx_baseu-3.0.so.0
#22 0x00007fbf9ef78a77 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
    at /usr/lib/libwx_baseu-3.0.so.0
#23 0x00007fbf9ef78b6b in wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*) () at /usr/lib/libwx_baseu-3.0.so.0
#24 0x00007fbf9ef78f28 in wxEvtHandler::TryHereOnly(wxEvent&) () at /usr/lib/libwx_baseu-3.0.so.0
#25 0x00007fbf9ef78fb3 in wxEvtHandler::ProcessEventLocally(wxEvent&) () at /usr/lib/libwx_baseu-3.0.so.0
#26 0x00007fbf9ef79015 in wxEvtHandler::ProcessEvent(wxEvent&) () at /usr/lib/libwx_baseu-3.0.so.0
#27 0x00007fbf9ef78d77 in wxEvtHandler::SafelyProcessEvent(wxEvent&) () at /usr/lib/libwx_baseu-3.0.so.0
#28 0x00007fbf9f4d1ce9 in wxWindow::GTKSendPaintEvents(_GdkRegion const*) () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#29 0x00007fbf9f4d2494 in  () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#30 0x00007fbf9e8777ac in  () at /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#31 0x00007fbf9dddcf75 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#32 0x00007fbf9ddeef82 in  () at /usr/lib/libgobject-2.0.so.0
#33 0x00007fbf9ddf766f in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#34 0x00007fbf9ddf7faf in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#35 0x00007fbf9e98f8cc in  () at /usr/lib/libgtk-x11-2.0.so.0
#36 0x00007fbf9e876592 in gtk_main_do_event () at /usr/lib/libgtk-x11-2.0.so.0
#37 0x00007fbf9e4d429f in  () at /usr/lib/libgdk-x11-2.0.so.0
#38 0x00007fbf9e4d4245 in  () at /usr/lib/libgdk-x11-2.0.so.0
#39 0x00007fbf9e4d0d71 in  () at /usr/lib/libgdk-x11-2.0.so.0
#40 0x00007fbf9e4d181d in gdk_window_process_updates () at /usr/lib/libgdk-x11-2.0.so.0
#41 0x00007fbf9e99e352 in  () at /usr/lib/libgtk-x11-2.0.so.0
#42 0x00007fbf9dddcf75 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#43 0x00007fbf9ddef37d in  () at /usr/lib/libgobject-2.0.so.0
#44 0x00007fbf9ddf7bcc in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#45 0x00007fbf9ddf7faf in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#46 0x00007fbf9e7fcb50 in  () at /usr/lib/libgtk-x11-2.0.so.0
#47 0x00007fbf9e4b04b7 in  () at /usr/lib/libgdk-x11-2.0.so.0
#48 0x00007fbf9db0443a in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#49 0x00007fbf9db047f0 in  () at /usr/lib/libglib-2.0.so.0
#50 0x00007fbf9db04b12 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#51 0x00007fbf9e8753a7 in gtk_main () at /usr/lib/libgtk-x11-2.0.so.0
#52 0x00007fbf9f49d165 in wxGUIEventLoop::DoRun() () at /usr/lib/libwx_gtk2u_core-3.0.so.0
#53 0x00007fbf9ee34223 in wxEventLoopBase::Run() () at /usr/lib/libwx_baseu-3.0.so.0
#54 0x00007fbf9edf9306 in wxAppConsoleBase::MainLoop() () at /usr/lib/libwx_baseu-3.0.so.0
#55 0x00007fbf9ff95ff9 in wxPliApp::MainLoop() () at /usr/lib/perl5/vendor_perl/auto/Wx/Wx.so
#56 0x00007fbf9ff4fe31 in XS_Wx__App_MainLoop(interpreter*, cv*) () at /usr/lib/perl5/vendor_perl/auto/Wx/Wx.so
#57 0x00007fbfa3e54d70 in Perl_pp_entersub () at /usr/lib/perl5/core_perl/CORE/libperl.so
#58 0x00007fbfa3e4d296 in Perl_runops_standard () at /usr/lib/perl5/core_perl/CORE/libperl.so
#59 0x00007fbfa3dd5305 in perl_run () at /usr/lib/perl5/core_perl/CORE/libperl.so
#60 0x0000000000400d69 in main ()
(gdb)

Offline

#2 2017-01-08 11:51:07

theLadder
Member
Registered: 2014-10-05
Posts: 18

Re: Slic3r segm. faults on my install but works on a fresh archlinux

Instead of running slic3r i ran slic3r.pl and got this error message:

slic3r.pl 
12:45:07 PM: Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1010,wx containers,compatible with 2.8).
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
perl: xcb_io.c:165: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted (core dumped)

Anyone got an idea of what i can try?

Offline

#3 2017-01-08 15:17:41

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,678

Re: Slic3r segm. faults on my install but works on a fresh archlinux

you probably want to install and setup the intel microcode. Pthread-mutex  segfaults are usually due to a lack of the microcode updates.

Last edited by V1del (2017-01-08 15:18:17)

Offline

#4 2017-01-08 17:29:36

theLadder
Member
Registered: 2014-10-05
Posts: 18

Re: Slic3r segm. faults on my install but works on a fresh archlinux

I installed intel-ucode (i have an intel processor), ran "grub-mkconfig -o /boot/grub/grub.cfg" and then rebooted. It did not solve my problem sad

Thanks anyway!

Last edited by theLadder (2017-01-08 17:29:51)

Offline

#5 2017-01-08 22:46:57

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,678

Re: Slic3r segm. faults on my install but works on a fresh archlinux

As with many of the current issues, do you use a non-standard version of freetype2? if so switch that to the repo version by specifying all packages that are conflicting with a single pacman transaction.

Offline

#6 2017-01-08 22:51:52

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,355

Re: Slic3r segm. faults on my install but works on a fresh archlinux

Also check pacman -Qm for all non-standard packages you have.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#7 2017-01-08 23:23:47

theLadder
Member
Registered: 2014-10-05
Posts: 18

Re: Slic3r segm. faults on my install but works on a fresh archlinux

I use the standard freetype2:

pacman -Qs freetype
local/freetype2 2.7.1-1
    TrueType font rendering library
local/lib32-freetype2 2.7-2
    TrueType font rendering library (32-bit)
local/libxft 2.3.2-1
    FreeType-based font drawing library for X

This is my list of non-standard packages, does anything look wrong?

pacman -Qm
android-studio 2.2.3.0-1
arcus 2.3.1-2
arduino10 1:1.0.6-6
cura 2.3.1-2
cura-binary-data 2.3.1-2
curaengine 2.3.1-1
downgrade 5.4.0-1
esplorer 0.2.0_rc6-1
esptool-git 1-4
google-earth 7.1.7.2606-1
jdk 8u112-1
ld-lsb 3-7
librepilot 15.09-1
lightdm-webkit-theme-archlinux 0.5.0-1
lightdm-webkit2-greeter 2.2.1-1
megasync 2.9.8.0-2
packer 20150808-1
perl-constant-defer 6-1
perl-extutils-cppguess 0.11-1
perl-extutils-makemaker-aur 7.24-1
perl-extutils-parsexs-aur 3.30-1
perl-extutils-typemap 1.00-1
perl-extutils-typemaps-default 1.05-1
perl-extutils-xspp 0.18-2
perl-math-clipper 1.23-1
perl-math-convexhull 1.04-1
perl-math-convexhull-monotonechain 0.01-1
perl-math-geometry-voronoi 1.3-1
perl-math-libm 1.00-1
perl-math-planepath 123-1
perl-module-build-withxspp 0.14-1
perl-opengl 0.70-2
perl-threads-aur 2.09-1
perl-wx 0.9928-4
perl-wx-glcanvas 0.09-1
profile-sync-daemon 6.31-1
repetier-host 1.6.2-1
slic3r 1.2.9-8
spotify 1.0.45.186-1
svtplay-dl 1.8-2
teamviewer 12.0.71510-6
ttf-oxygen 1:5.4.3-1
uranium 2.3.1-1
vertex-icons-git r16.f27e47e-4
virtualbox-ext-oracle 5.1.12-1

Offline

Board footer

Powered by FluxBB