Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#75384 - [superslicer] 2.4.58.3-1 crashes with a segfault on startup when using wxwidgets 3.2.0-4
Attached to Project:
Community Packages
Opened by David Flemström (dflemstr) - Wednesday, 20 July 2022, 20:34 GMT
Last edited by Maxime Gauduin (Alucryd) - Thursday, 28 July 2022, 08:59 GMT
Opened by David Flemström (dflemstr) - Wednesday, 20 July 2022, 20:34 GMT
Last edited by Maxime Gauduin (Alucryd) - Thursday, 28 July 2022, 08:59 GMT
|
DetailsDescription:
The program segfaults due to a call to `wxTranslations::Get()->SetLanguage(wxLANGUAGE_DEFAULT);`, it turns out that `wxTranslations::Get()` returns nullptr in this context. Additional info: This is unique to the wxwidgets/superslicer combination used on archlinux in particular; the upstream precompiled version works fine out of the box with its bundled wxwidgets. Maybe related upstream bug: https://github.com/prusa3d/PrusaSlicer/issues/8299 I recompiled the superslicer package with debug symbols to get this backtrace: ``` #0 std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_assign(std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > const&) (this=0x0, __str=L"") at /usr/include/c++/12.1.0/bits/basic_string.tcc:279 #1 0x00007ffff546237b in wxTranslations::SetLanguage(wxLanguage) (this=0x0, lang=lang@entry=wxLANGUAGE_DEFAULT) at /usr/src/debug/wxWidgets-3.2.0/src/common/translation.cpp:1384 #2 0x000055555601247f in Slic3r::GUI::GUI_App::load_language(wxString, bool) (this=0x5555572828a0, language=..., initial=<optimized out>) at /usr/src/debug/SuperSlicer/src/slic3r/GUI/GUI_App.cpp:2287 #3 0x00005555560148fc in Slic3r::GUI::GUI_App::on_init_inner() (this=0x5555572828a0) at /usr/include/wx-3.2/wx/string.h:3603 #4 0x0000555556017c3b in Slic3r::GUI::GUI_App::OnInit() (this=<optimized out>) at /usr/src/debug/SuperSlicer/src/slic3r/GUI/GUI_App.cpp:1066 #5 0x00007ffff5423fe2 in wxEntry(int&, wchar_t**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/wxWidgets-3.2.0/src/common/init.cpp:487 #6 0x0000555555ff5f9b in Slic3r::GUI::GUI_Run(Slic3r::GUI::GUI_InitParams&) (params=...) at /usr/src/debug/SuperSlicer/src/slic3r/GUI/GUI_Init.cpp:80 #7 0x0000555555801cfd in Slic3r::CLI::run(int, char**) (this=<optimized out>, argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/SuperSlicer/src/PrusaSlicer.cpp:625 #8 0x00005555557ce079 in main(int, char**) (argc=1, argv=0x7fffffffd398) at /usr/src/debug/SuperSlicer/src/PrusaSlicer.cpp:834 ``` Steps to reproduce: * Update to the specified package versions * Run superslicer * The program crashes with a segfault |
This task depends upon
Closed by Maxime Gauduin (Alucryd)
Thursday, 28 July 2022, 08:59 GMT
Reason for closing: Fixed
Additional comments about closing: 1:2.4.58.3-2
Thursday, 28 July 2022, 08:59 GMT
Reason for closing: Fixed
Additional comments about closing: 1:2.4.58.3-2
[1] https://github.com/archlinux/svntogit-community/commit/143531d4