Created attachment 856774 [details] Test stl file that demonstrates issue PrusaSlicer crashes when attempting to slice an STL file into a gcode file. Steps to reproduce: - emerge prusaslicer (can be stable or ~amd64) - open a terminal and run the following two commands # Known to reproduce with a default config and my config, the next step may not be required mv ~/.config/PrusaSlicer ~/.config/orig-PrusaSlicer prusa-slicer - In Prusa Slicer that comes up: - Select Finish on the wizard that pops up - Press "Ctrl-I" to import an STL - Choose the STL that is attached (any STL may work - this is a small bracket I designed that I was trying to slice and print) - Click on "Slice now" button. Window should disappear. In the terminal window, you will see something like this: ------------------ (prusa-slicer:4431): Gtk-CRITICAL **: 13:33:10.000: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar 01:33:10 PM: Debug: window wxTreeCtrl(0x55c6948e4bb0, ) lost focus even though it didn't have it 01:33:10 PM: Debug: window wxTreeCtrl(0x55c6948e4bb0, ) lost focus even though it didn't have it /usr/lib/gcc/x86_64-pc-linux-gnu/12/include/g++-v12/bits/unique_ptr.h:445: typename std::add_lvalue_reference<_Tp>::type std::unique_ptr<_Tp, _Dp>::operator*() const [with _Tp = Slic3r::SpiralVase; _Dp = std::default_delete<Slic3r::SpiralVase>; typename std::add_lvalue_reference<_Tp>::type = Slic3r::SpiralVase&]: Assertion 'get() != pointer()' failed. Aborted ------------------ - I found that this issue is described on PrusaSlicer's github issue 9128 (I can't include links presently, as this is a new bugzilla account) - I applied the patch from PrusaSlicer's github with the commit has of 4b686af12db49500205ca15038fb7d651ccc4295 Added to ebuild, compiled, and now slicing works (and the resulting gcode prints on my Ender). (attaching additional files in updates)
Created attachment 856784 [details] emerge --info
Created attachment 856786 [details, diff] The patch that fixed the issue (from the PrusaSlicer repo - single commit extracted)
Created attachment 856788 [details] ebuild that does not exhibit the issue (same as -r2, but with additional patch)
2.5.1 and 2.5.2 continue to exhibit the same issue for me. The same patch continues to fix it.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca86126321ec717b0bc04009904515dbc447e4e4 commit ca86126321ec717b0bc04009904515dbc447e4e4 Author: Miroslav Šulc <fordfrog@gentoo.org> AuthorDate: 2023-04-22 10:59:42 +0000 Commit: Miroslav Šulc <fordfrog@gentoo.org> CommitDate: 2023-04-22 11:03:23 +0000 media-gfx/prusaslicer: fixed crash during slicing thanks to Caleb Jorden for the fix Bug: https://bugs.gentoo.org/900340 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org> .../files/prusaslicer-2.5.2-fix-slicing.patch | 76 ++++++++++++++++++++++ ...er-2.5.2.ebuild => prusaslicer-2.5.2-r1.ebuild} | 1 + 2 files changed, 77 insertions(+)
Confirmed fixed in PrusaSlicer-2.5.2-r1, as referenced by Miroslav Šulc. Thanks!