[3dprinter-general] Bug#1020702: prusa-slicer: SEGV on start
Bernhard Übelacker
bernhardu at mailbox.org
Sun Oct 9 20:04:37 BST 2022
Hello,
it looks like following line should expect the Get() call returning a nullptr,
which wxWidget documentation explicitly notes.
2079 wxTranslations::Get()->SetLanguage(wxLANGUAGE_DEFAULT);
I have raised this question to upstream here:
https://github.com/prusa3d/PrusaSlicer/issues/9024
Kind regards,
Bernhard
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x00007f2589f565f3 in std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_data (this=<optimized out>) at /build/gcc-12-GwPmq4/gcc-12-12.2.0/build/x86_64-linux-gnu/libstdc++-v3/include/bits/basic_string.h:234
234 /build/gcc-12-GwPmq4/gcc-12-12.2.0/build/x86_64-linux-gnu/libstdc++-v3/include/bits/basic_string.h: Datei oder Verzeichnis nicht gefunden.
(gdb) bt
#0 0x00007f2589f565f3 in std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_data (this=<optimized out>) at /build/gcc-12-GwPmq4/gcc-12-12.2.0/build/x86_64-linux-gnu/libstdc++-v3/include/bits/basic_string.h:234
#1 std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_is_local (this=<optimized out>) at /build/gcc-12-GwPmq4/gcc-12-12.2.0/build/x86_64-linux-gnu/libstdc++-v3/include/bits/basic_string.h:274
#2 std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::capacity (this=<optimized out>) at /build/gcc-12-GwPmq4/gcc-12-12.2.0/build/x86_64-linux-gnu/libstdc++-v3/include/bits/basic_string.h:1134
#3 std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::_M_assign (this=this at entry=0x0, __str=L"") at /build/gcc-12-GwPmq4/gcc-12-12.2.0/build/x86_64-linux-gnu/libstdc++-v3/include/bits/basic_string.tcc:279
#4 0x00007f258896e05a in std::__cxx11::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >::assign (__str=L"", this=0x0) at /usr/include/c++/12/bits/basic_string.h:1540
#5 0x00007f258896e0c6 in wxTranslations::SetLanguage (this=0x0, lang=lang at entry=wxLANGUAGE_DEFAULT) at ./src/common/translation.cpp:1384
#6 0x0000563e57fb8e26 in Slic3r::GUI::GUI_App::load_language (this=0x563e59d29200, language=..., initial=<optimized out>) at ./src/slic3r/GUI/GUI_App.cpp:2079
#7 0x0000563e57fbaaf5 in Slic3r::GUI::GUI_App::on_init_inner (this=0x563e59d29200) at ./src/slic3r/GUI/GUI_App.cpp:1093
#8 0x0000563e57fbd4c6 in Slic3r::GUI::GUI_App::OnInit (this=<optimized out>) at ./src/slic3r/GUI/GUI_App.cpp:1035
#9 0x00007f258891feda in wxEntry (argc=<optimized out>, argv=<optimized out>) at ./src/common/init.cpp:487
#10 0x0000563e57f9f7b9 in Slic3r::GUI::GUI_Run (params=...) at ./src/slic3r/GUI/GUI_Init.cpp:54
#11 0x0000563e577605de in Slic3r::CLI::run (this=<optimized out>, argc=<optimized out>, argv=<optimized out>) at ./src/PrusaSlicer.cpp:618
#12 0x0000563e57735bf4 in main (argc=<optimized out>, argv=<optimized out>) at ./src/PrusaSlicer.cpp:844
https://docs.wxwidgets.org/3.0/classwx_translations.html#ab384ea68c44e74cfd2cd59e782529540
More information about the 3dprinter-general
mailing list