Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slicer crashes during gcode generation #13930

Open
2 tasks done
rcmaniac25 opened this issue Jan 8, 2025 · 8 comments
Open
2 tasks done

Slicer crashes during gcode generation #13930

rcmaniac25 opened this issue Jan 8, 2025 · 8 comments

Comments

@rcmaniac25
Copy link

Description of the bug

I loaded a multi-color painted model (https://www.myminifactory.com/object/3d-print-bamboo-dragon-cinderwing3d-x-bambulab-354514) and after setting up with the desired print settings, waited for it to slice. During the generating g-code stage, the slicer simply closed.

Project file & How to reproduce

  1. Get the files from https://www.myminifactory.com/object/3d-print-bamboo-dragon-cinderwing3d-x-bambulab-354514
  2. Load in the "MMU_Prusa.3mf" version. If you try to open this as a project, it will simply load the model. So make sure to have the MMU printer selected or it will show up as single color.
  3. Update every object to have wipe into infill
  4. Let it slice

Project (only plate 1 has the issue. Plate 2 does not have the issue)
Bamboo Dragon-Upload.zip

Screen visual
image

Checklist of files included above

  • Project file
  • Screenshot

Version of PrusaSlicer

Version 2.9.0

Operating system

Windows 10

Printer model

Prusa MK4S+MMU3

@rcmaniac25
Copy link
Author

Minor update: I tried to slice this some 5+ times and it crashed every time. I opened it again, took the screenshot, and then wrote this ticket. When I finished... it had finished slicing without crashing. I spent the next hour or so trying to figure out what situation let it slice without crashing and could not figure it out. Not sure if sometimes it works, but the only time it sliced without crashing was after a screenshot and writing this ticket... if I have a moment, I'll try again to see if I can get a "crashes all the time EXCEPT..." case

@murk-sy
Copy link

murk-sy commented Jan 9, 2025

If I had to guess it sounds like you have an 13th/14th gen Intel processor.

The reason it didn't crash once is (I believe) the fact that it went from a highly multithreaded to highly singlethreaded workload very quickly. If you sliced while running something else CPU intensive (like Prime95 stress test or something) I believe you should be able to slice reliably.

Check these:

Duplicate issues:

@rcmaniac25
Copy link
Author

rcmaniac25 commented Jan 9, 2025

If I had to guess it sounds like you have an 13th/14th gen Intel processor.

6th Gen Intel

@murk-sy
Copy link

murk-sy commented Jan 9, 2025

The one time I predict it's a 14th gen thing without explicitly testing it ends up being not the problem... bah humbug

Reproducible reliably, I'll try to see if I can minimise the issue to fewer parts.

@rcmaniac25
Copy link
Author

rcmaniac25 commented Jan 9, 2025

I have tried combinations of the following

  • Unfocusing application (click away but still visible)
  • Backgrounding application (hide behind another window)
  • leaving the models selected (when a 3mf is first loaded, all the models are selected)
  • unselecting the models
  • plater view
  • slice view
  • leave on bed 1
  • changing to the other bed before changing back (has the fun of not always showing that it's slicing, or sometimes just not slicing unless slice view is opened)

The one time it didn't crash it was background + plater view + unselected model + never clicked away from first bed. Same arrangement has not resulted in anything other then crashes.

I'm more wondering if it has to do with wipe into infill, as I know that is only processed during gcode generation phase and when I first made the project, it sliced without issue. But "click on 1-2 things and let slice" is a lot less mental occupation then "uncheck every wipe into infill" option to test if it doesn't crash then.

Until PS maintains multi-color painting when doing cut/merge/split, I can't do a "merge" of all the individual objects without loosing the multi-color painting, otherwise I would merge everything into one object and set the wipe into infill (like the 2nd bed). Otherwise I'd test that as a viable option.

@murk-sy
Copy link

murk-sy commented Jan 9, 2025

Somewhat minimised project.

Bamboo Dragon-minimised-issue13930.zip

When you just slice, it crashes on generating gcode.

Removing a particular part can cause an "access violation" error without closing. Readding the parts again (with undo) will cause "access violation" to appear on the original files as well.

@rcmaniac25
Copy link
Author

I've been having issues compiling the project for some reason and it's probably a me thing, else I would make a ticket... but last time I managed to compile it, the debug version would give you the error without closing the application. But with release builds would simply close the application. So you're probably hitting a/the issue, but just with the debug build.

@Jan-Soustruznik
Copy link
Collaborator

Hello, @rcmaniac25, thank you for your report. I was able to reproduce your issue. I created an internal issue, no. SPE-2640.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants