CLI multi-extruder slicing fails on H2/H2D (filament_ids validation error and assemble_list segfault) #115

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

Originally created by @GummyLight on 3/28/2026

Is there an existing issue for this problem?

  • I have searched the existing issues

OrcaSlicer Version

2.3.2 (macOS build)

Operating System (OS)

macOS

OS Version

macOS Tahoe 26.3.1

Additional system information

CPU: Apple Silicon (M-4)
RAM: 16 GB
GPU: integrated Apple GPU

Printer

Bambu Lab H2D

How to reproduce

  1. Filament IDs path (fails with exit 254)

FIL="/Applications/OrcaSlicer.app/Contents/Resources/profiles/BBL/filament/Bambu PLA Basic @BBL H2D.json"
/Applications/OrcaSlicer.app/Contents/MacOS/OrcaSlicer
--load-settings "/Applications/OrcaSlicer.app/Contents/Resources/profiles/BBL/machine/Bambu Lab H2D 0.4 nozzle.json;/Applications/OrcaSlicer.app/Contents/Resources/profiles/BBL/process/0.20mm Standard @BBL H2D.json"
--load-filaments "$FIL;$FIL;$FIL;$FIL;$FIL"
--load-filament-ids "1,1,1,1,1"
--slice 0
--export-3mf output/cube1_cli_orca.3mf
model/cube1.st

2.Assemble list path (segfault exit 139)
FIL="/Applications/OrcaSlicer.app/Contents/Resources/profiles/BBL/filament/Bambu PLA Basic @BBL H2D.json" &&
/Applications/OrcaSlicer.app/Contents/MacOS/OrcaSlicer
--load-assemble-list assemble_list.json
--load-settings "/Applications/OrcaSlicer.app/Contents/Resources/profiles/BBL/machine/Bambu Lab H2D 0.4 nozzle.json;/Applications/OrcaSlicer.app/Contents/Resources/profiles/BBL/process/0.12mm Fine @BBL H2D.json"
--load-filaments "$FIL;$FIL;$FIL;$FIL;$FIL"
--slice 0
--export-3mf output/cube1_cli_orca_assemble.3mf

Actual results

Repro 1: CLI aborts with loaded_filament_ids size 5 should be the same with input files size 1 (exit code 254). It appears filament_ids count is being validated against input file count instead of extruder count.
Repro 2: CLI crashes with segmentation fault (exit code 139) when using --load-assemble-list.
GUI with the same machine/process/filament profiles slices successfully and produces 3MF.

Expected results

CLI should accept multiple filament_ids for a single STL/plate when the machine has multiple extruders.
--load-assemble-list should complete without crashing and produce the same output as GUI for identical profiles.

Project file & Debug log uploads

orca_cli_bug_bundle.zip

Checklist of files to include

  • Log file
  • Project file

Anything else?

Machine profile used: Bambu Lab H2D 0.4 nozzle.
Process profile used: 0.20mm Standard @BBL H2D.
Filament profile used: Bambu PLA Basic @BBL H2D (five copies to match extruder count).
CLI parity with GUI would unblock automated multi-extruder slicing for H2/H2D.

*Originally created by @GummyLight on 3/28/2026* ### Is there an existing issue for this problem? - [x] I have searched the existing issues ### OrcaSlicer Version 2.3.2 (macOS build) ### Operating System (OS) macOS ### OS Version macOS Tahoe 26.3.1 ### Additional system information CPU: Apple Silicon (M-4) RAM: 16 GB GPU: integrated Apple GPU ### Printer Bambu Lab H2D ### How to reproduce 1. Filament IDs path (fails with exit 254) FIL="/Applications/OrcaSlicer.app/Contents/Resources/profiles/BBL/filament/Bambu PLA Basic @BBL H2D.json" \ /Applications/OrcaSlicer.app/Contents/MacOS/OrcaSlicer \ --load-settings "/Applications/OrcaSlicer.app/Contents/Resources/profiles/BBL/machine/Bambu Lab H2D 0.4 nozzle.json;/Applications/OrcaSlicer.app/Contents/Resources/profiles/BBL/process/0.20mm Standard @BBL H2D.json" \ --load-filaments "$FIL;$FIL;$FIL;$FIL;$FIL" \ --load-filament-ids "1,1,1,1,1" \ --slice 0 \ --export-3mf output/cube1_cli_orca.3mf \ model/cube1.st 2.Assemble list path (segfault exit 139) FIL="/Applications/OrcaSlicer.app/Contents/Resources/profiles/BBL/filament/Bambu PLA Basic @BBL H2D.json" && \ /Applications/OrcaSlicer.app/Contents/MacOS/OrcaSlicer \ --load-assemble-list assemble_list.json \ --load-settings "/Applications/OrcaSlicer.app/Contents/Resources/profiles/BBL/machine/Bambu Lab H2D 0.4 nozzle.json;/Applications/OrcaSlicer.app/Contents/Resources/profiles/BBL/process/0.12mm Fine @BBL H2D.json" \ --load-filaments "$FIL;$FIL;$FIL;$FIL;$FIL" \ --slice 0 \ --export-3mf output/cube1_cli_orca_assemble.3mf ### Actual results Repro 1: CLI aborts with loaded_filament_ids size 5 should be the same with input files size 1 (exit code 254). It appears filament_ids count is being validated against input file count instead of extruder count. Repro 2: CLI crashes with segmentation fault (exit code 139) when using --load-assemble-list. GUI with the same machine/process/filament profiles slices successfully and produces 3MF. ### Expected results CLI should accept multiple filament_ids for a single STL/plate when the machine has multiple extruders. --load-assemble-list should complete without crashing and produce the same output as GUI for identical profiles. ### Project file & Debug log uploads [orca_cli_bug_bundle.zip](https://github.com/user-attachments/files/26320107/orca_cli_bug_bundle.zip) ### Checklist of files to include - [x] Log file - [x] Project file ### Anything else? Machine profile used: Bambu Lab H2D 0.4 nozzle. Process profile used: 0.20mm Standard @BBL H2D. Filament profile used: Bambu PLA Basic @BBL H2D (five copies to match extruder count). CLI parity with GUI would unblock automated multi-extruder slicing for H2/H2D.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/OrcaSlicer#115