prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.72k stars 1.93k forks source link

Crash - paint-on supports and reload from disk (2.7.1) #11917

Open the-ress opened 10 months ago

the-ress commented 10 months ago

Description of the bug

PS crashed when I tried to remove paint-on supports after reloading a STL from disk.

Crash dump: prusa-slicer.exe.23392.zip

Project file & How to reproduce

  1. I had a model opened in PS and used 'paint-on supports' to block supports from a part of it
  2. I made some tweaks in Fusion 360 and re-exported the model
  3. I right-clicked the model and selected 'reload from disk' (the painting tool was still active)
  4. The painted 'block supports' areas survived the reload (I expected them to be removed), but they didn't seem to affect the generated supports
  5. I tried painting some more 'block supports' areas, but it was behaving weirdly
  6. So I clicked 'remove all selection'
  7. PS immediately crashed

Now that I think of it, the red 'block supports' areas might have had the shape of the model before reload.

project.zip

image image

Checklist of files included above

Version of PrusaSlicer

Version 2.7.1+win64

Operating system

Windows 11 (22631.2787)

Printer model

Prusa MK4

the-ress commented 10 months ago

I think I managed to reproduce it: prusa-slicer.exe.27452.zip (This time it crashed during painting more supports after reload.)