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

Inconsistent 3mf export CLI vs UI (Segmentation fault) #6067

Open
2 tasks
atamgp opened this issue Mar 7, 2025 · 1 comment
Open
2 tasks

Inconsistent 3mf export CLI vs UI (Segmentation fault) #6067

atamgp opened this issue Mar 7, 2025 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@atamgp
Copy link

atamgp commented Mar 7, 2025

Bambu Studio Version

1.10.2 (Bambu_Studio_ubuntu-24.04_PR-6001.AppImage)

Where is the application from?

Bambu Lab Official website

OS version

Ubuntu 24

Additional system information

No response

Printer

P1S (not relevant)

How to reproduce

I use example 3mf models from here:
https://github.com/mrdoob/three.js/tree/dev/examples/models/3mf

We will open these and export them again in 3mf.

UI

  1. File -> open model -> select model
  2. File -> Export -> Export Generic 3MF

The exported 3MF you can slice with either UI or CLI with no issues.

CLI

./Bambu_Studio_ubuntu-24.04_PR-6001.AppImage  --outputdir '.' --export-3mf export.3mf --orient 0  --debug 5 
example.3mf

This creates a 3mf file, see logs below.
However, its empty and invalid.

cat result.json

{
"error_string": "Success.",
"export_time": 11,
"plate_index": 0,
"prepare_time": 32,
"return_code": 0
}

Actual results

Test the CLI export
./Bambu_Studio_ubuntu-24.04_PR-6001.AppImage --info --debug 5 export.3mf

->

...
[2025-03-07 08:52:44.000210] [0x00007b79023b5480] [debug] _generate_volumes_new: line 4598, subobject_id 1, shared_mesh_id 1
[2025-03-07 08:52:44.007000] [0x00007b79023b5480] [info] _load_model_from_file:2124import 3mf IMPORT_STAGE_LOADING_PLATES, m_plater_data size 1, m_backup_path /tmp/bamboo_model/Fri_Mar_07/08_52_43#199949#3

[2025-03-07 08:52:44.007015] [0x00007b79023b5480] [info] _load_model_from_file:2169, plate 1, thumbnail_file=, no_light_thumbnail_file=
[2025-03-07 08:52:44.007020] [0x00007b79023b5480] [info] _load_model_from_file:2170, top_thumbnail_file=, pick_thumbnail_file=
[2025-03-07 08:52:44.007024] [0x00007b79023b5480] [info] _load_model_from_file:2227import 3mf IMPORT_STAGE_FINISH
[2025-03-07 08:52:44.007088] [0x00007b79023b5480] [info] the first file is a 3mf, version 1.10.2.75, got plate count 1
Segmentation fault (core dumped)

Expected results

No issue and slice exported 3mf like the UI does.

Project file & Debug log uploads

Logs of CLI export:

[2025-03-07 08:48:37.909364] [0x00007f08357b7480] [trace] Initializing StaticPrintConfigs
[2025-03-07 08:48:38.085296] [0x00007f08357b7480] [warning] cli mode, Current BambuStudio Version 01.10.02.75
[2025-03-07 08:48:38.085320] [0x00007f08357b7480] [info] Will start to read model file now, file count :1

[2025-03-07 08:48:38.085340] [0x00007f08357b7480] [info] allow_multicolor_oneplate 1, allow_rotations 1 skip_modified_gcodes 0 avoid_extrusion_cali_region 0 loaded_filament_ids size 0, clone_objects size 0, skip_useless_pick 1, allow_newer_file 0
[2025-03-07 08:48:38.085350] [0x00007f08357b7480] [info] plate_to_slice=0, normative_check=1, use_first_fila_as_default=0
No such file: export.3mf
[2025-03-07 08:48:38.085624] [0x00007f08357b7480] [info] record_exit_reson:529, saved config to result.json

run found error, return -3, exit...
[2025-03-07 08:48:38.085655] [0x00007f08357b7480] [info] cli_callback_mgr_t::stop enter.
[2025-03-07 08:48:38.085662] [0x00007f08357b7480] [info] cli_callback_mgr_t::stop not started before, return directly.
root@ubuntu:/srv/www/kubify.nl/current/web/slicer# ./Bambu_Studio_ubuntu-24.04_PR-6001.AppImage --outputdir '.' --export-3mf export.3mf --orient 0 --debug 5 /srv/www/kubify.nl/current/web/slicer/models/standard/box.3mf
[2025-03-07 08:50:05.390876] [0x0000752bc6da4480] [trace] Initializing StaticPrintConfigs
[2025-03-07 08:50:05.565171] [0x0000752bc6da4480] [warning] cli mode, Current BambuStudio Version 01.10.02.75
[2025-03-07 08:50:05.565195] [0x0000752bc6da4480] [info] Will start to read model file now, file count :1

[2025-03-07 08:50:05.565215] [0x0000752bc6da4480] [info] allow_multicolor_oneplate 1, allow_rotations 1 skip_modified_gcodes 0 avoid_extrusion_cali_region 0 loaded_filament_ids size 0, clone_objects size 0, skip_useless_pick 1, allow_newer_file 0
[2025-03-07 08:50:05.565226] [0x0000752bc6da4480] [info] plate_to_slice=0, normative_check=1, use_first_fila_as_default=0
[2025-03-07 08:50:05.565241] [0x0000752bc6da4480] [info] read model file:/srv/www/kubify.nl/current/web/slicer/models/standard/box.3mf

[2025-03-07 08:50:05.568250] [0x0000752bc6da4480] [info] model 0x7fff906fb090, id 3, backup_path empty, set to /tmp/bamboo_model/Fri_Mar_07/08_50_05#199910#3
[2025-03-07 08:50:05.568280] [0x0000752bc6da4480] [info] create /3D/Objects in "/tmp/bamboo_model/Fri_Mar_07/08_50_05#199910#3"
[2025-03-07 08:50:05.568442] [0x0000752bc6da4480] [info] create /Metadata in "/tmp/bamboo_model/Fri_Mar_07/08_50_05#199910#3"
[2025-03-07 08:50:05.568487] [0x0000752bc6da4480] [info] create /lock.txt in "/tmp/bamboo_model/Fri_Mar_07/08_50_05#199910#3"
[2025-03-07 08:50:05.568601] [0x0000752bc6da4480] [info] _load_model_from_file:1577import 3mf IMPORT_STAGE_OPEN, m_load_restore=0

[2025-03-07 08:50:05.569389] [0x0000752bc6da4480] [info] _load_model_from_file:1613import 3mf IMPORT_STAGE_READ_FILES

[2025-03-07 08:50:05.571510] [0x0000752bc6da4480] [trace] design_info, load_3mf found Copyright = Copyright (c) 2015 3MF Consortium. All rights reserved.
[2025-03-07 08:50:05.573621] [0x0000752bc6da4480] [info] _load_model_from_file:1766extract 1th file _rels/.rels, total=3
[2025-03-07 08:50:05.573634] [0x0000752bc6da4480] [info] _load_model_from_file:1860, _rels/.rels skipped, already parsed or a directory or not supported

[2025-03-07 08:50:05.573651] [0x0000752bc6da4480] [info] _load_model_from_file:1766extract 2th file 3D/3dmodel.model, total=3
[2025-03-07 08:50:05.573661] [0x0000752bc6da4480] [info] _load_model_from_file:1860, 3D/3dmodel.model skipped, already parsed or a directory or not supported

[2025-03-07 08:50:05.573673] [0x0000752bc6da4480] [info] _load_model_from_file:1766extract 3th file [Content_Types].xml, total=3
[2025-03-07 08:50:05.573680] [0x0000752bc6da4480] [info] _load_model_from_file:1860, [Content_Types].xml skipped, already parsed or a directory or not supported

[2025-03-07 08:50:05.573691] [0x0000752bc6da4480] [info] _load_model_from_file:1870, found 3mf from other vendor, split as instance
[2025-03-07 08:50:05.573698] [0x0000752bc6da4480] [info] _load_model_from_file:1912, process group colors, size 0

[2025-03-07 08:50:05.573705] [0x0000752bc6da4480] [info] _load_model_from_file:1927, begin to assemble objects, size 1

[2025-03-07 08:50:05.573724] [0x0000752bc6da4480] [debug] _generate_volumes_new: line 4598, subobject_id 1, shared_mesh_id 1
[2025-03-07 08:50:05.580735] [0x0000752bc6da4480] [info] _load_model_from_file:2124import 3mf IMPORT_STAGE_LOADING_PLATES, m_plater_data size 0, m_backup_path /tmp/bamboo_model/Fri_Mar_07/08_50_05#199910#3

[2025-03-07 08:50:05.580749] [0x0000752bc6da4480] [info] _load_model_from_file:2227import 3mf IMPORT_STAGE_FINISH

[2025-03-07 08:50:05.580814] [0x0000752bc6da4480] [info] object Object_1, id :5, from stl or other 3mf

[2025-03-07 08:50:05.580826] [0x0000752bc6da4480] [info] run:before load settings, file count=0

[2025-03-07 08:50:05.583005] [0x0000752bc6da4480] [info] current printer , new printer , current process , new process
[2025-03-07 08:50:05.583018] [0x0000752bc6da4480] [info] current printer inherits , new printer inherits , current process inherits , new process inherits
[2025-03-07 08:50:05.583026] [0x0000752bc6da4480] [info] old 3mf, no compatible printers, set to compatible
[2025-03-07 08:50:05.583034] [0x0000752bc6da4480] [info] old printer , inherited from , old process , inherited from ,compatible 1
[2025-03-07 08:50:05.583045] [0x0000752bc6da4480] [warning] no filament colors found in projects
[2025-03-07 08:50:05.583051] [0x0000752bc6da4480] [info] total 1 models, 0 objects

[2025-03-07 08:50:05.587072] [0x0000752bc6da4480] [debug] set_index: plate_id update from 32 to 0
[2025-03-07 08:50:05.587085] [0x0000752bc6da4480] [debug] set_index: plate_id update from 0 to 1
[2025-03-07 08:50:05.587094] [0x0000752bc6da4480] [info] translate_old 0, shrink_to_new_bed 0, old bed size {200, 200, 100}
[2025-03-07 08:50:05.587103] [0x0000752bc6da4480] [info] reset_size:before size: plate_width 0, plate_depth 0, plate_height 0
[2025-03-07 08:50:05.587110] [0x0000752bc6da4480] [info] reset_size:after size: plate_width 200, plate_depth 200, plate_height 100
[2025-03-07 08:50:05.587131] [0x0000752bc6da4480] [info] set_pos_and_size: plate_id 0, before, origin {0,0,0}, plate_width 0, plate_depth 0, plate_height 0
[2025-03-07 08:50:05.587141] [0x0000752bc6da4480] [info] set_pos_and_size: with_instance_move 0, after, origin {0,0,0}, plate_width 200, plate_depth 200, plate_height 100
[2025-03-07 08:50:05.587149] [0x0000752bc6da4480] [info] update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2025-03-07 08:50:05.587158] [0x0000752bc6da4480] [info] set_pos_and_size: plate_id 1, before, origin {0,0,0}, plate_width 0, plate_depth 0, plate_height 0
[2025-03-07 08:50:05.587168] [0x0000752bc6da4480] [info] set_pos_and_size: with_instance_move 0, after, origin {240,0,0}, plate_width 200, plate_depth 200, plate_height 100
[2025-03-07 08:50:05.587175] [0x0000752bc6da4480] [info] update_slice_result_valid_state: plate 1 , update slice result from 0 to 0
[2025-03-07 08:50:05.587182] [0x0000752bc6da4480] [info] update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2025-03-07 08:50:05.587189] [0x0000752bc6da4480] [info] update_slice_result_valid_state: plate 1 , update slice result from 0 to 0
[2025-03-07 08:50:05.588752] [0x0000752bc6da4480] [error] calc_exclude_triangles:Unable to create plate triangles

[2025-03-07 08:50:05.592006] [0x0000752bc6da4480] [info] will start transforms, commands count 1

[2025-03-07 08:50:05.592020] [0x0000752bc6da4480] [info] process transform orient

[2025-03-07 08:50:05.592026] [0x0000752bc6da4480] [info] object Object_1, id :5, no need to orient when setting orient to 0

[2025-03-07 08:50:05.592041] [0x0000752bc6da4480] [info] orient_option 0
[2025-03-07 08:50:05.592048] [0x0000752bc6da4480] [info] finished model pre-process commands

[2025-03-07 08:50:05.592054] [0x0000752bc6da4480] [debug] Before process command, no need to orient, object id :5

[2025-03-07 08:50:05.592066] [0x0000752bc6da4480] [info] before arrange, need_arrange=1, duplicate_count 0, filament_color_changed 0
[2025-03-07 08:50:05.592870] [0x0000752bc6da4480] [debug] preprocess_arrange_polygon: not in any plates, bed_idx 0, translation(x) 5, (y) 10
[2025-03-07 08:50:05.592895] [0x0000752bc6da4480] [debug] arrange bedpts:2100000 2100000, 197900000 2100000, 197900000 197900000, 2100000 197900000
[2025-03-07 08:50:05.592908] [0x0000752bc6da4480] [info] Arrange full params: {"min_obj_distance":0,"accuracy":1.000000,"parallel":1,"allow_rotations":1,"do_final_align":1,"allow_multi_materials_on_same_plate":1,"avoid_extrusion_cali_region":0,"is_seq_print":0,"bed_shrink_x":2.100000,"bed_shrink_y":2.100000,"brim_skirt_distance":2.000000,"clearance_height_to_rod":40.000000,"clearance_height_to_lid":120.000000,"cleareance_radius":68.000000,"printable_height":100.000000,
[2025-03-07 08:50:05.592918] [0x0000752bc6da4480] [info] arrange: items selected before arranging: 1
[2025-03-07 08:50:05.592926] [0x0000752bc6da4480] [trace] Object_1, extruder: 1, bed: 0, trans: 5000000 10000000
[2025-03-07 08:50:05.593475] [0x0000752bc6da4480] [info] arrange: items unselected before arranging: 0
[2025-03-07 08:50:05.593484] [0x0000752bc6da4480] [info] start 1 th arranging...
[2025-03-07 08:50:05.595584] [0x0000752bc6da4480] [debug] Object_1 min_area_boundingbox_rotation=-0, original angle=0
[2025-03-07 08:50:05.597464] [0x0000752bc6da4480] [debug] arrange progress: initial order: Object_1, p=0, bed_temp=35, height=30, area=2.63314e+14
[2025-03-07 08:50:05.597500] [0x0000752bc6da4480] [debug] arrange progress: Object_1 bed_id=0,score=0.200000, score_all_plates=0.200000
[2025-03-07 08:50:05.597518] [0x0000752bc6da4480] [debug] arrange Object_1 succeed!, plate id=0, pos=191.9,186.9, temp_type=1
[2025-03-07 08:50:05.597552] [0x0000752bc6da4480] [info] finished 1 th arranging...
[2025-03-07 08:50:05.597577] [0x0000752bc6da4480] [info] update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2025-03-07 08:50:05.597585] [0x0000752bc6da4480] [info] update_slice_result_valid_state: plate 1 , update slice result from 0 to 0
[2025-03-07 08:50:05.597595] [0x0000752bc6da4480] [debug] postprocess_bed_index_for_selected: bed_idx 0, locked_plate -1, translation(x) 100, (y) 100
[2025-03-07 08:50:05.597602] [0x0000752bc6da4480] [debug] postprocess_bed_index_for_selected:found in plate_index 0, bed_idx 0
[2025-03-07 08:50:05.597610] [0x0000752bc6da4480] [trace] after arrange: name=Object_1,bed_id 0, trans {100,100}

[2025-03-07 08:50:05.597618] [0x0000752bc6da4480] [debug] postprocess_arrange_polygon: bed_idx 0, selected 1, translation(x) 100, (y) 100
[2025-03-07 08:50:05.597628] [0x0000752bc6da4480] [info] rebuild_plates_after_arrangement:before rebuild, plates count 1, recycle_plates 1
[2025-03-07 08:50:05.597635] [0x0000752bc6da4480] [info] update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2025-03-07 08:50:05.597642] [0x0000752bc6da4480] [info] update_slice_result_valid_state: plate 1 , update slice result from 0 to 0
[2025-03-07 08:50:05.597648] [0x0000752bc6da4480] [debug] reload_all_objects: m_model->objects.size() is 1
[2025-03-07 08:50:05.597657] [0x0000752bc6da4480] [debug] add_instance: plate_id 0, add instance obj_id 0, instance_id 0, move_position 0
[2025-03-07 08:50:05.597666] [0x0000752bc6da4480] [info] add_instance: plate 0 , m_ready_for_slice changes to 1
[2025-03-07 08:50:05.597673] [0x0000752bc6da4480] [debug] reload_all_objects: found plate_id 0, for obj_id 0, instance_id 0
[2025-03-07 08:50:05.597679] [0x0000752bc6da4480] [info] rebuild_plates_after_arrangement:after rebuild, plates count 1
[2025-03-07 08:50:05.597691] [0x0000752bc6da4480] [info] store_to_3mf_structure: plate 1 before load, width 0, height 0, size 0!
[2025-03-07 08:50:05.597699] [0x0000752bc6da4480] [info] store_to_3mf_structure: plate 1 after load, width 0, height 0, size 0!
[2025-03-07 08:50:05.597709] [0x0000752bc6da4480] [info] store_to_3mf_structure: plate 0, gcode_filename=, with_slice_info=1, slice_valid 0, object item count 1.
[2025-03-07 08:50:05.597716] [0x0000752bc6da4480] [info] store_to_3mf_structure:stored 1 plates!
[2025-03-07 08:50:05.597727] [0x0000752bc6da4480] [info] thumbnails stage: plate 1's thumbnail data is invalid, check the file exist or not
[2025-03-07 08:50:05.597734] [0x0000752bc6da4480] [info] thumbnails stage: plate 1's thumbnail file also not there, need to regenerate
[2025-03-07 08:50:05.597740] [0x0000752bc6da4480] [info] thumbnails stage: plate 1's no_light_thumbnail_file also not there, need to regenerate
[2025-03-07 08:50:05.597748] [0x0000752bc6da4480] [info] thumbnails stage: plate 1's top_file also not there, need to regenerate
[2025-03-07 08:50:05.599096] [0x0000752bc6da4480] [info] opengl version 3.3.7
[2025-03-07 08:50:05.600759] [0x0000752bc6da4480] [error] error_code 65544, description: Wayland: Failed to connect to display

[2025-03-07 08:50:05.600835] [0x0000752bc6da4480] [error] glfwInit return error, code 65544

[2025-03-07 08:50:05.600846] [0x0000752bc6da4480] [info] plate 1 doesn't have a valid sliced result, skip it
[2025-03-07 08:50:05.600850] [0x0000752bc6da4480] [info] will export 3mf to ./export.3mf

[2025-03-07 08:50:05.600870] [0x0000752bc6da4480] [info] _save_model_to_file:5678,before open zip writer, m_skip_static 0, m_save_gcode 1, m_use_loaded_id 1
[2025-03-07 08:50:05.600907] [0x0000752bc6da4480] [info] _save_model_to_file:5706, before add _add_content_types_file_to_archive

[2025-03-07 08:50:05.601076] [0x0000752bc6da4480] [info] _save_model_to_file:5720,before add thumbnails, count 0
[2025-03-07 08:50:05.601081] [0x0000752bc6da4480] [info] _save_model_to_file:5721,top&&pick thumbnails, count 0
[2025-03-07 08:50:05.601087] [0x0000752bc6da4480] [info] _save_model_to_file:5859,before add calibration thumbnails, count 0

[2025-03-07 08:50:05.601093] [0x0000752bc6da4480] [info] _save_model_to_file:5881,before add calibration boundingbox, count 1

[2025-03-07 08:50:05.601097] [0x0000752bc6da4480] [info] _save_model_to_file:5897, before add models

[2025-03-07 08:50:05.601103] [0x0000752bc6da4480] [info] _add_model_file_to_archive:6365, filename ./export.3mf.tmp, m_split_model 1, sub_model 0
[2025-03-07 08:50:05.601172] [0x0000752bc6da4480] [trace] design_info, save_3mf found designer_cover =
[2025-03-07 08:50:05.602863] [0x0000752bc6da4480] [info] bbs_3mf: save key= Application, value = BambuStudio-01.10.02.75
[2025-03-07 08:50:05.602875] [0x0000752bc6da4480] [info] bbs_3mf: save key= BambuStudio:3mfVersion, value = 1
[2025-03-07 08:50:05.602882] [0x0000752bc6da4480] [info] bbs_3mf: save key= Copyright, value = Copyright (c) 2015 3MF Consortium. All rights reserved.
[2025-03-07 08:50:05.602889] [0x0000752bc6da4480] [info] bbs_3mf: save key= CreationDate, value = 2025-03-07
[2025-03-07 08:50:05.602893] [0x0000752bc6da4480] [info] bbs_3mf: save key= Description, value =
[2025-03-07 08:50:05.602899] [0x0000752bc6da4480] [info] bbs_3mf: save key= Designer, value =
[2025-03-07 08:50:05.602903] [0x0000752bc6da4480] [info] bbs_3mf: save key= DesignerCover, value =
[2025-03-07 08:50:05.602910] [0x0000752bc6da4480] [info] bbs_3mf: save key= DesignerUserId, value =
[2025-03-07 08:50:05.602915] [0x0000752bc6da4480] [info] bbs_3mf: save key= License, value =
[2025-03-07 08:50:05.602924] [0x0000752bc6da4480] [info] bbs_3mf: save key= ModificationDate, value = 2025-03-07
[2025-03-07 08:50:05.602928] [0x0000752bc6da4480] [info] bbs_3mf: save key= Origin, value =
[2025-03-07 08:50:05.602933] [0x0000752bc6da4480] [info] bbs_3mf: save key= Title, value =
[2025-03-07 08:50:05.606368] [0x0000752bc6da4480] [info] _add_model_file_to_archive:6365, filename 3D/Objects/object_1.model, m_split_model 1, sub_model 1
[2025-03-07 08:50:05.606392] [0x0000752bc6da4480] [trace] design_info, save_3mf found designer_cover =
[2025-03-07 08:50:05.606401] [0x0000752bc6da4480] [info] bbs_3mf: save key= BambuStudio:3mfVersion, value = 1
[2025-03-07 08:50:05.606480] [0x0000752bc6da4480] [info] _save_model_to_file:5960, before add custom gcodes

[2025-03-07 08:50:05.606494] [0x0000752bc6da4480] [info] _save_model_to_file:5971, before add project_settings

[2025-03-07 08:50:05.607049] [0x0000752bc6da4480] [info] save_to_json:1397, saved config to /tmp/bamboo_model/Fri_Mar_07/08_50_05#199910#3/_temp_1.config

[2025-03-07 08:50:05.607588] [0x0000752bc6da4480] [info] _add_file_to_archive:6140, add file /tmp/bamboo_model/Fri_Mar_07/08_50_05#199910#3/_temp_1.config to archive Metadata/project_settings.config

[2025-03-07 08:50:05.607598] [0x0000752bc6da4480] [info] _save_model_to_file:5986, before add project embedded settings

[2025-03-07 08:50:05.607696] [0x0000752bc6da4480] [info] _save_model_to_file:6061, before add sliced info to 3mf

[2025-03-07 08:50:05.607729] [0x0000752bc6da4480] [info] _save_model_to_file:6076, before add auxiliary dir to 3mf

[2025-03-07 08:50:05.607746] [0x0000752bc6da4480] [info] create missing sub_path/tmp/bamboo_model/Fri_Mar_07/08_50_05#199910#3//Auxiliaries
[2025-03-07 08:50:05.607816] [0x0000752bc6da4480] [info] _save_model_to_file:6089, before add relation file to 3mf

[2025-03-07 08:50:05.607866] [0x0000752bc6da4480] [info] _save_model_to_file:6111, finished exporting 3mf

[2025-03-07 08:50:05.607897] [0x0000752bc6da4480] [info] Project exported to ./export.3mf

[2025-03-07 08:50:05.607906] [0x0000752bc6da4480] [info] cli_callback_mgr_t::stop enter.
[2025-03-07 08:50:05.607915] [0x0000752bc6da4480] [info] cli_callback_mgr_t::stop not started before, return directly.
[2025-03-07 08:50:05.607926] [0x0000752bc6da4480] [info] remove_backup_path_if_existmodel 0x64fc74b5ab60, id 3 remove backup_path /tmp/bamboo_model/Fri_Mar_07/08_50_05#199910#3
[2025-03-07 08:50:05.608197] [0x0000752bc6da4480] [info] run, Finished

[2025-03-07 08:50:05.608303] [0x0000752bc6da4480] [info] record_exit_reson:529, saved config to ./result.json

[2025-03-07 08:50:05.608325] [0x0000752bc6da4480] [info] update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2025-03-07 08:50:05.608330] [0x0000752bc6da4480] [info] update_slice_result_valid_state: plate 0 , update slice result from 0 to 0
[2025-03-07 08:50:05.610221] [0x0000752bc6da4480] [info] update_slice_result_valid_state: plate 1 , update slice result from 0 to 0
[2025-03-07 08:50:05.610240] [0x0000752bc6da4480] [info] update_slice_result_valid_state: plate 1 , update slice result from 0 to 0

Checklist of files to include

  • Log file
  • Project file
@atamgp atamgp added the bug Something isn't working label Mar 7, 2025
@atamgp
Copy link
Author

atamgp commented Mar 8, 2025

Hi, I have a simpler test-case :)

  1. Download model from https://github.com/mrdoob/three.js/blob/dev/examples/models/3mf/cube_gears.3mf
  2. use cli to read info:
    ./Bambu_Studio_ubuntu-24.04_PR-6001.AppImage --info --debug 5 cube_gears.3mf
    No issues, it works :)
  3. export to 3mf:
    ./Bambu_Studio_ubuntu-24.04_PR-6001.AppImage --orient 0 --arrange 0 --uptodate --allow-newer-file --skip-modified-gcodes --ensure-on-bed --debug 5 --outputdir '.' --export-3mf 'exported.3mf' cube_gears.3mf
    it works, exported.3mf is generated.
  4. use cli to read info but.. of the exported.3mf!
    ./Bambu_Studio_ubuntu-24.04_PR-6001.AppImage --info --debug 5 exported.3mf

Result: [1] 161567 segmentation fault (core dumped)

summary
So --info works on the original non-bambustudio created 3mf, but crashes on its own exported 3mf.
This is probably the base of the issue in my main story where slicing the own exported 3mf also creates a segmentation fault.

@atamgp atamgp changed the title Inconsistent 3mf export CLI vs UI Inconsistent 3mf export CLI vs UI (Segmentation fault) Mar 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants