[3dprinter-general] Bug#917780: slic3r: Segfault in stl_fix_normal_directions
Philipp Marek
philipp at marek.priv.at
Sun Dec 30 09:30:20 GMT 2018
Package: slic3r
Version: 1.3.0+dfsg1-3+b1
Severity: normal
Running slic3r non-interactively (with an STL file on the command line)
works as expected.
Starting it without arguments makes it display an X window; but trying to
load the same STL file that works in batch mode then crashes the
application with a segfault:
Thread 1 "perl" received signal SIGSEGV, Segmentation fault.
0x00007f0f4098d049 in stl_fix_normal_directions () from /usr/lib/slic3r/auto/Slic3r/XS/XS.so
(gdb) bt
#0 0x00007f0f4098d049 in stl_fix_normal_directions () at /usr/lib/slic3r/auto/Slic3r/XS/XS.so
#1 0x00007f0f40b40427 in Slic3r::TriangleMesh::repair() () at /usr/lib/slic3r/auto/Slic3r/XS/XS.so
#2 0x00007f0f4097c2a8 in Slic3r::ModelObject::repair() () at /usr/lib/slic3r/auto/Slic3r/XS/XS.so
#3 0x00007f0f4088146f in () at /usr/lib/slic3r/auto/Slic3r/XS/XS.so
#4 0x00005646e33f9d11 in Perl_pp_entersub ()
#5 0x00005646e33f0026 in Perl_runops_standard ()
#6 0x00005646e3363f02 in Perl_call_sv ()
#7 0x00007f0f4011cfcd in wxPliEventCallback::Handler(wxEvent&) () at /usr/lib/x86_64-linux-gnu/perl5/5.28/auto/Wx/Wx.so
#8 0x00007f0f3f60e7ae in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#9 0x00007f0f3f60eb2a in wxEvtHandler::SearchDynamicEventTable(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#10 0x00007f0f3f60ebc0 in wxEvtHandler::TryHereOnly(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#11 0x00007f0f3f60ec73 in wxEvtHandler::ProcessEventLocally(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#12 0x00007f0f3f60ed11 in wxEvtHandler::ProcessEvent(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#13 0x00007f0f3fb2440b in wxWindowBase::TryAfter(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#14 0x00007f0f3f60eab7 in wxEvtHandler::SafelyProcessEvent(wxEvent&) () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#15 0x00007f0f3fadb9e5 in wxMenuBase::SendEvent(int, int) () at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#16 0x00007f0f3f9db10b in () at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#17 0x00007f0f3ea10b6d in g_closure_invoke () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007f0f3ea238f3 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007f0f3ea2c882 in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007f0f3ea2cecf in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007f0f3f05caba in gtk_widget_activate () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#22 0x00007f0f3ef30276 in gtk_menu_shell_activate_item () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#23 0x00007f0f3ef30513 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#24 0x00007f0f3f0ac434 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#25 0x00007f0f3ea10da6 in () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#26 0x00007f0f3ea2c32b in g_signal_emit_valist () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#27 0x00007f0f3ea2cecf in g_signal_emit () at /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#28 0x00007f0f3f05a554 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#29 0x00007f0f3ef1b1c6 in () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#30 0x00007f0f3ef1d2e3 in gtk_main_do_event () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#31 0x00007f0f3ec1e435 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#32 0x00007f0f3ec4eeb2 in () at /usr/lib/x86_64-linux-gnu/libgdk-3.so.0
#33 0x00007f0f3e930c3e in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f0f3e930ed8 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f0f3e9311d2 in g_main_loop_run () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f0f3ef1c365 in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-3.so.0
#37 0x00007f0f3f9671d5 in wxGUIEventLoop::DoRun() () at /usr/lib/x86_64-linux-gnu/libwx_gtk3u_core-3.0.so.0
#38 0x00007f0f3f4e448d in wxEventLoopBase::Run() () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#39 0x00007f0f3f4ad616 in wxAppConsoleBase::MainLoop() () at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#40 0x00007f0f40067a39 in wxPliApp::MainLoop() () at /usr/lib/x86_64-linux-gnu/perl5/5.28/auto/Wx/Wx.so
#41 0x00007f0f40024fe1 in () at /usr/lib/x86_64-linux-gnu/perl5/5.28/auto/Wx/Wx.so
#42 0x00005646e33f9d11 in Perl_pp_entersub ()
#43 0x00005646e33f0026 in Perl_runops_standard ()
#44 0x00005646e336c097 in perl_run ()
Loading that file interactively in "slic3r-prusa" works, too, so I don't think
that the file's contents are at fault.
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'testing-debug'), (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.19.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=de_AT.UTF-8, LC_CTYPE=de_AT.UTF-8 (charmap=UTF-8), LANGUAGE=de_AT:de (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-11
ii libboost-geometry-utils-perl 0.15-2+b7
ii libboost-system1.67.0 1.67.0-11
ii libboost-thread1.67.0 1.67.0-11
ii libc6 2.28-2
ii libencode-locale-perl 1.05-1
ii libexpat1 2.2.6-1
ii libgcc1 1:8.2.0-13
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-13
pn libstorable-perl <none>
pn libtime-hires-perl <none>
ii perl 5.28.1-3
pn perlapi-5.28.0 <none>
Versions of packages slic3r recommends:
ii libclass-xsaccessor-perl 1.19-3+b2
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
--
More information about the 3dprinter-general
mailing list