PrusaSlicer icon indicating copy to clipboard operation
PrusaSlicer copied to clipboard

Access Violation when slicing file (2.6.0-alpha3)

Open jsmith59 opened this issue 2 years ago • 2 comments
trafficstars

Description of the bug

Encountered error when slicing file in PrusaSlicer 2.6.0-alpha3. Fatal error: Access Violation. Slices without error in version 2.5.0. Screenshot 2023-02-10 192450

Project file & How to reproduce

Load file in PrusaSlicer and press Slice now. cat bathroom sign MK3S.zip

Checklist of files included above

  • [X] Project file
  • [X] Screenshot

Version of PrusaSlicer

PrusaSlicer 2.6.0-alpha3+win64

Operating system

Windows 11

Printer model

MK3S+ with MMU2S

jsmith59 avatar Feb 11 '23 01:02 jsmith59

Hi, I can reproduce the issue. Thanks

kubispe1 avatar Feb 13 '23 09:02 kubispe1

Still crashes in db77331 (2.6.0-alpha3+42). The crash happens in process_layer_single_object on const LayerSlice &lslice = layer->lslices_ex[idx]; (the vector has a single element, idx is 1).

lukasmatena avatar Feb 13 '23 10:02 lukasmatena

SPE-1474

lukasmatena avatar Feb 15 '23 15:02 lukasmatena

You had "clip multi-part objects" disabled. Did you have a reason for that?

bubnikv avatar Feb 16 '23 14:02 bubnikv

I didn't realize it was disabled. I thought I was using a default profile. I am currently out of town so I can't try slicing the model with the feature enabled.

On Thu, Feb 16, 2023, 8:36 AM Vojtěch Bubník @.***> wrote:

You had "clip multi-part objects" disabled. Did you have a reason for that?

— Reply to this email directly, view it on GitHub https://github.com/prusa3d/PrusaSlicer/issues/9679#issuecomment-1433184799, or unsubscribe https://github.com/notifications/unsubscribe-auth/AILOHKEODR55WLMHC5MLZ6DWXY3PTANCNFSM6AAAAAAUYM6FOQ . You are receiving this because you authored the thread.Message ID: @.***>

jsmith59 avatar Feb 16 '23 14:02 jsmith59

Fixing with edd6c7c9d95aa2f46abe293c9bc89d619ec2491a and f78a2c0bf662af807bacc938b005279448a1aab9

The first commit removes the obscure "clip_multipart_objects" option, which caused more harm than good and it is not\compatible with the new layer island Z graph.

The second commit improves robustness of the Z graph.

bubnikv avatar Feb 16 '23 15:02 bubnikv