Skip to content

--CLI segmentation fault on macOS #9968

@Help3D-Padova

Description

@Help3D-Padova

Bambu Studio Version

02.05.01.52 (even on older version)

Where is the application from?

Bambu Lab GitHub releases

OS version

mac OS 15.6.1

Additional system information

No response

Printer

No printer

Printer Firmware Version

No firmware

How to reproduce

The same CLI command sent in Windows, if sent on macOS gives error

https://github.com/bambulab/BambuStudio/wiki/Command-Line-Usage I used the standard process/filament/machine provided here but the same error appears

Actual results

This is the CMD

/Applications/BambuStudio.app/Contents/MacOS/BambuStudio
--debug 5
--slice 0
--no-check
--outputdir "/Users/username/Desktop/TESTCLI"
--arrange 1
--orient 0
--ensure-on-bed
--load-settings "/Users/username/Desktop/TESTCLI/machine.json;/Users/username/Desktop/TESTCLI/process.json"
--load-filaments "/Users/username/Desktop/TESTCLI/filament.json"
--rotate 0.0
--rotate-x 0.0
--rotate-y 0.0
"/Users/username/Desktop/TESTCLI/Benchy.stl"


I tried with every combination of parameters arrange, orient, ensure on bed (on/off,mixed), but the result is till the same:

[2026-03-14 12:23:46.537034] [0x00000001fc5aa0c0] [info] update filament 1's config to newest, different size 0, name Bambu PLA Basic @bbl X1C, different_settings
[2026-03-14 12:23:46.537080] [0x00000001fc5aa0c0] [info] skip scalar option inherits from filament 1: Bambu PLA Basic @bbl X1C
[2026-03-14 12:23:46.537097] [0x00000001fc5aa0c0] [warning] no filament colors found in projects
[2026-03-14 12:23:46.537101] [0x00000001fc5aa0c0] [info] total 1 models, 0 objects

[2026-03-14 12:23:46.537787] [0x00000001fc5aa0c0] [info] 3869, remove_wrapping_detect 0, old value 0
[2026-03-14 12:23:46.537817] [0x00000001fc5aa0c0] [debug] set_index: plate_id update from 1634494822 to 0
[2026-03-14 12:23:46.537821] [0x00000001fc5aa0c0] [debug] set_index: plate_id update from 0 to 1
[2026-03-14 12:23:46.537828] [0x00000001fc5aa0c0] [info] translate_old 0, shrink_to_new_bed 0, old bed size {256, 256, 250}
[2026-03-14 12:23:46.537833] [0x00000001fc5aa0c0] [info] reset_size:before size: plate_width 0, plate_depth 0, plate_height 0
[2026-03-14 12:23:46.537836] [0x00000001fc5aa0c0] [info] reset_size:after size: plate_width 256, plate_depth 256, plate_height 250
[2026-03-14 12:23:46.537842] [0x00000001fc5aa0c0] [info] set_pos_and_size: plate_id 0, before, origin {0,0,0}, plate_width 0, plate_depth 0, plate_height 0
[2026-03-14 12:23:46.537846] [0x00000001fc5aa0c0] [info] set_pos_and_size: with_instance_move 0, after, origin {0,0,0}, plate_width 256, plate_depth 256, plate_height 250
[2026-03-14 12:23:46.537850] [0x00000001fc5aa0c0] [info] update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2026-03-14 12:23:46.537853] [0x00000001fc5aa0c0] [info] set_pos_and_size: plate_id 1, before, origin {0,0,0}, plate_width 0, plate_depth 0, plate_height 0
[2026-03-14 12:23:46.537858] [0x00000001fc5aa0c0] [info] set_pos_and_size: with_instance_move 0, after, origin {307.2,0,0}, plate_width 256, plate_depth 256, plate_height 250
[2026-03-14 12:23:46.537860] [0x00000001fc5aa0c0] [info] update_slice_result_valid_state: plate 1 , update slice result from 0 to 0
[2026-03-14 12:23:46.537863] [0x00000001fc5aa0c0] [info] update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2026-03-14 12:23:46.537866] [0x00000001fc5aa0c0] [info] update_slice_result_valid_state: plate 1 , update slice result from 0 to 0
zsh: segmentation fault /Applications/BambuStudio.app/Contents/MacOS/BambuStudio --debug 5 --slice 0

"Segmentation fault"

No way to get past this line

[2026-03-14 12:23:46.537866] [0x00000001fc5aa0c0] [info] update_slice_result_valid_state: plate 1 , update slice result from 0 to 0

Expected results

A succesfull log in Windows is like this

[2026-03-13 18:43:19.436113] [0x00009200] [trace] load_default_gcodes_to_config, wrapping_detection_gcode:
[2026-03-13 18:43:19.438116] [0x00009200] [info] update_full_config: config keys count 107
[2026-03-13 18:43:19.438116] [0x00009200] [info] load a new printer, update all the keys, different_settings:
[2026-03-13 18:43:19.438116] [0x00009200] [info] check printer cli safe params, current_printer_name , new_printer_name Bambu Lab H2D 0.4 nozzle, printer_model Bambu Lab H2D
[2026-03-13 18:43:19.438116] [0x00009200] [info] line 3043 , will parse file C:\Program Files\Bambu Studio\resources/profiles/BBL/cli_config.json
[2026-03-13 18:43:19.438116] [0x00009200] [info] can not find machine_limits for printer Bambu Lab H2D in cli_config.json
[2026-03-13 18:43:19.439116] [0x00009200] [info] update process config to newest, different size 0, different_settings:
[2026-03-13 18:43:19.439116] [0x00009200] [info] update_full_config: config keys count 180
[2026-03-13 18:43:19.439116] [0x00009200] [info] load a new process, update all the keys, different_settings:
[2026-03-13 18:43:19.439116] [0x00009200] [error] 3207: nozzle_volume_type not found, when different_extruder or multiple extruder, new_printer_name Bambu Lab H2D 0.4 nozzle, extruder_count 2
[2026-03-13 18:43:19.439116] [0x00009200] [trace] load_default_gcodes_to_config, filament_start_gcodes: ; filament start gcode

[2026-03-13 18:43:19.439116] [0x00009200] [trace] load_default_gcodes_to_config, filament_end_gcode: ; filament end gcode

[2026-03-13 18:43:19.439116] [0x00009200] [info] update filament 1's config to newest, different size 0, name Bambu ABS @bbl H2D, different_settings
[2026-03-13 18:43:19.439116] [0x00009200] [info] skip scalar option inherits from filament 1: Bambu ABS @bbl H2D
[2026-03-13 18:43:19.439116] [0x00009200] [warning] no filament colors found in projects
[2026-03-13 18:43:19.439116] [0x00009200] [info] total 1 models, 0 objects

[2026-03-13 18:43:19.439116] [0x00009200] [error] Slic3r::ExtruderNozzleStat::on_printer_model_change_cli: eid out of bounds, use standard flow
[2026-03-13 18:43:19.439116] [0x00009200] [info] 3869, remove_wrapping_detect 0, old value 0
[2026-03-13 18:43:19.439116] [0x00009200] [debug] Slic3r::GUI::PartPlate::set_index: plate_id update from 991965184 to 0
[2026-03-13 18:43:19.439116] [0x00009200] [debug] Slic3r::GUI::PartPlate::set_index: plate_id update from 0 to 1
[2026-03-13 18:43:19.439116] [0x00009200] [info] Line 3977: shared_printable_size {300, 320, 320}, shared_center {175, 160}
[2026-03-13 18:43:19.439116] [0x00009200] [info] translate_old 0, shrink_to_new_bed 0, old bed size {350, 320, 325}
[2026-03-13 18:43:19.439116] [0x00009200] [info] Slic3r::GUI::PartPlateList::reset_size:before size: plate_width 0, plate_depth 0, plate_height 0
[2026-03-13 18:43:19.439116] [0x00009200] [info] Slic3r::GUI::PartPlateList::reset_size:after size: plate_width 350, plate_depth 320, plate_height 325
[2026-03-13 18:43:19.440116] [0x00009200] [info] Slic3r::GUI::PartPlate::set_pos_and_size: plate_id 0, before, origin {0,0,0}, plate_width 0, plate_depth 0, plate_height 0
[2026-03-13 18:43:19.440116] [0x00009200] [info] Slic3r::GUI::PartPlate::set_pos_and_size: with_instance_move 0, after, origin {0,0,0}, plate_width 350, plate_depth 320, plate_height 325
[2026-03-13 18:43:19.440116] [0x00009200] [info] Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2026-03-13 18:43:19.440116] [0x00009200] [info] Slic3r::GUI::PartPlate::set_pos_and_size: plate_id 1, before, origin {0,0,0}, plate_width 0, plate_depth 0, plate_height 0
[2026-03-13 18:43:19.440116] [0x00009200] [info] Slic3r::GUI::PartPlate::set_pos_and_size: with_instance_move 0, after, origin {420,0,0}, plate_width 350, plate_depth 320, plate_height 325
[2026-03-13 18:43:19.440116] [0x00009200] [info] Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 1 , update slice result from 0 to 0
[2026-03-13 18:43:19.440116] [0x00009200] [info] Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2026-03-13 18:43:19.440116] [0x00009200] [info] Slic3r::GUI::PartPlate::update_slice_result_valid_state: plate 1 , update slice result from 0 to 0
[2026-03-13 18:43:19.440116] [0x00009200] [info] will start transforms, commands count 6

[2026-03-13 18:43:19.440116] [0x00009200] [info] process transform arrange

[2026-03-13 18:43:19.440116] [0x00009200] [info] process transform orient

ecc ecc ecc

Project file & Debug log uploads

No project involved, just a simple benchy

Checklist of files to include

  • Log file
  • Project file

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions