segmentation fault in PrusaSlicer (command-line)
 
Benachrichtigungen
Alles löschen

segmentation fault in PrusaSlicer (command-line)  

  RSS
dcorbin13
(@dcorbin13)
Eminent Member
segmentation fault in PrusaSlicer (command-line)

I'm invoking the slicer from the command line to generate .gcode like this:

"/Applications/Original Prusa Drivers/PrusaSlicer.app/Contents/MacOS/PrusaSlicer" --export-gcode --output hack.gcode --load hack.ini hack.stl

and I'm getting a segmentation fault.  It works fine with this print configuration when I load the slicer, import the .STL, and generate the .GCODE in the GUI.

I tried to do binary search to find a problem entry in the .ini file, and it seems like there isn't one -- it works fine (no crash) if I reduce the .ini to about 10 lines, but it doesn't seem to matter which 10 lines.  This is with 2.9.1, though I think i saw this is in 2.9.0, and I know it worked in earlier versions (though I can't swear to the last version it worked in with out crashing).

hack.ini is attached, and it doesn't seem to matter which .STL file is used.

The .ini file is newly generated from a fresh install of PrusaSlicer with only about 4 or 5 setting changed, and they were changed in the GUI.

 

Dieses Thema wurde geändert Vor 4 days von dcorbin13
Veröffentlicht : 14/03/2025 6:27 pm
Diem
 Diem
(@diem)
Illustrious Member

No sign of your file(s) - you need to zip them before posting.

Cheerio,

Veröffentlicht : 15/03/2025 6:27 pm
dcorbin13
(@dcorbin13)
Eminent Member
Themenstarter answered:
RE: segmentation fault in PrusaSlicer (command-line)

Seems like the post should fail when the attachment isn't zipped if that's a requirement.

 

Here it is.

Veröffentlicht : 15/03/2025 6:36 pm
Diem
 Diem
(@diem)
Illustrious Member

@foxrun3d - can you help with this;  I think you run Macs & Mk4?

@dcorbin13 - Your call is OK once I replace the file paths with mine.

... and that's about as far as I can go. Prusa have not yet updated the flatpak repository, I just checked; so 2.9.0 is the latest version on linux - and I don't run Mk4's so I can't properly test your .ini

Cheerio,

 

Veröffentlicht : 16/03/2025 12:21 pm
_KaszpiR_
(@_kaszpir_)
Prominent Member
RE:

Running it under Linux does not crash but exists without an error, which is also weird.

Maybe report it to GitHub?

See my GitHub and printables.com for some 3d stuff that you may like.

Veröffentlicht : 17/03/2025 12:04 am
dcorbin13
(@dcorbin13)
Eminent Member
Themenstarter answered:
RE: segmentation fault in PrusaSlicer (command-line)

What error were you expecting?

Veröffentlicht : 17/03/2025 12:18 am
_KaszpiR_
(@_kaszpir_)
Prominent Member
RE: segmentation fault in PrusaSlicer (command-line)

Config load error or something. It just quits not doing anything at all. Haven't tried the debug/trace, though because doing it in flatpak is a bit cumbersome.

See my GitHub and printables.com for some 3d stuff that you may like.

Veröffentlicht : 17/03/2025 7:24 am
dcorbin13
(@dcorbin13)
Eminent Member
Themenstarter answered:
RE: segmentation fault in PrusaSlicer (command-line)

I looked on GitHub and found this:  https://github.com/prusa3d/PrusaSlicer/issues/13864 which ironically lead me to this: https://github.com/prusa3d/PrusaSlicer/issues/13864 (where I reported a similar problem, but maybe not the same) 2 years ago.  Trying to see if I can figure out if it's the same problem or not.  Looks like there's a fix waiting for the original problem:  https://github.com/prusa3d/PrusaSlicer/pull/13885

Veröffentlicht : 17/03/2025 1:01 pm
dcorbin13
(@dcorbin13)
Eminent Member
Themenstarter answered:
RE: segmentation fault in PrusaSlicer (command-line)

Turns out that fix is the one I need.

Veröffentlicht : 17/03/2025 3:02 pm
Teilen: