CLI segfault when slicing 3MF with paint_color and --load-filaments (2+ filaments) #643

Open
opened 2026-04-05 16:24:53 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @pzfreo on 2/22/2026

Is there an existing issue for this problem?

  • I have searched the existing issues

OrcaSlicer Version

2.3.1 stable

Operating System (OS)

macOS, Linux

OS Version

15.7.4 (24G517), Ubuntu 24.04 Docker

Additional system information

No response

Printer

Bambu P1S

How to reproduce

The CLI crashes with SIGSEGV when slicing a 3MF that contains paint_color triangle attributes and --load-filaments is passed with 2 or more filament
profiles. The same 3MF slices fine in the GUI with multiple filaments and paint colours visible.

Reproduction:

  1. Create or open a 3MF with per-triangle paint_color attributes (e.g. from multi-colour painting in the GUI)
  2. Slice via CLI:

orca-slicer
--load-settings "machine.json;process.json"
--load-filaments "filament1.json;filament2.json"
--slice 0 --outputdir output painted.3mf

I have created a reproduction zip

cli-bug-repro.zip

Actual results

Result: exit code 139 (SIGSEGV)

Expected results

It should produce gcode

Project file & Debug log uploads

Please see zip attached

cli-bug-repro.zip

Log
[2026-02-22 21:29:43.388482] [0x00007ff8539af100] [trace] Initializing StaticPrintConfigs
./repro.sh: line 16: 60042 Segmentation fault: 11 "$ORCA" --load-settings "$DIR/machine.json;$DIR/process.json" --load-filaments "$DIR/filament1.json;$DIR/filament2.json" --slice 0 --outputdir "$OUT" "$DIR/painted.3mf" 2>&1
Exit code: 139

Checklist of files to include

  • Log file
  • Project file

Anything else?

I hope its ok that I had AI help in creating this bug report (it created the reproduction example)

*Originally created by @pzfreo on 2/22/2026* ### Is there an existing issue for this problem? - [x] I have searched the existing issues ### OrcaSlicer Version 2.3.1 stable ### Operating System (OS) macOS, Linux ### OS Version 15.7.4 (24G517), Ubuntu 24.04 Docker ### Additional system information _No response_ ### Printer Bambu P1S ### How to reproduce The CLI crashes with SIGSEGV when slicing a 3MF that contains paint_color triangle attributes and --load-filaments is passed with 2 or more filament profiles. The same 3MF slices fine in the GUI with multiple filaments and paint colours visible. Reproduction: 1. Create or open a 3MF with per-triangle paint_color attributes (e.g. from multi-colour painting in the GUI) 2. Slice via CLI: orca-slicer \ --load-settings "machine.json;process.json" \ --load-filaments "filament1.json;filament2.json" \ --slice 0 --outputdir output painted.3mf I have created a reproduction zip [cli-bug-repro.zip](https://github.com/user-attachments/files/25472716/cli-bug-repro.zip) ### Actual results Result: exit code 139 (SIGSEGV) ### Expected results It should produce gcode ### Project file & Debug log uploads Please see zip attached [cli-bug-repro.zip](https://github.com/user-attachments/files/25472727/cli-bug-repro.zip) Log [2026-02-22 21:29:43.388482] [0x00007ff8539af100] [trace] Initializing StaticPrintConfigs ./repro.sh: line 16: 60042 Segmentation fault: 11 "$ORCA" --load-settings "$DIR/machine.json;$DIR/process.json" --load-filaments "$DIR/filament1.json;$DIR/filament2.json" --slice 0 --outputdir "$OUT" "$DIR/painted.3mf" 2>&1 Exit code: 139 ### Checklist of files to include - [x] Log file - [x] Project file ### Anything else? I hope its ok that I had AI help in creating this bug report (it created the reproduction example)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#643