System Information
Operating system: Windows 10
Blender Version
Broken: 2.83 e5ace51295b9; 2.90 eaf7d36d66e5; 2.90 f9d0f59bed4d
Worked: Unknown
Reproduction
- New default file
- Copy & paste Camera and Cube in Outliner
- Ctrl-Z -> crash
System Information
Operating system: Windows 10
Blender Version
Broken: 2.83 e5ace51295b9; 2.90 eaf7d36d66e5; 2.90 f9d0f59bed4d
Worked: Unknown
Reproduction
Does not crash after toggling on the System Console. Does not crash after toggling the console back off.
I can confirm the crash here. Note that this does NOT happen if using the old, legacy, undo system.
base->object is nullptr blender.exe!BKE_scene_object_base_flag_sync_from_base(Base * base) Line 1606 C blender.exe!BKE_scene_set_background(Main * bmain, Scene * scene) Line 786 C blender.exe!setup_app_data(bContext * C, BlendFileData * bfd, const unsigned char * filepath, const BlendFileReadParams * params, ReportList * reports) Line 384 C blender.exe!setup_app_blend_file_data(bContext * C, BlendFileData * bfd, const unsigned char * filepath, const BlendFileReadParams * params, ReportList * reports) Line 414 C blender.exe!BKE_blendfile_read_from_memfile(bContext * C, MemFile * memfile, const BlendFileReadParams * params, ReportList * reports) Line 510 C blender.exe!BKE_memfile_undo_decode(MemFileUndoData * mfu, const int undo_direction, const bool use_old_bmain_data, bContext * C) Line 87 C blender.exe!memfile_undosys_step_decode(bContext * C, Main * bmain, UndoStep * us_p, int undo_direction, bool UNUSED_is_final) Line 192 C blender.exe!undosys_step_decode(bContext * C, Main * bmain, UndoStack * ustack, UndoStep * us, int dir, bool is_final) Line 211 C blender.exe!BKE_undosys_step_undo_with_data_ex(UndoStack * ustack, bContext * C, UndoStep * us, bool use_skip) Line 698 C blender.exe!BKE_undosys_step_undo_with_data(UndoStack * ustack, bContext * C, UndoStep * us) Line 726 C blender.exe!BKE_undosys_step_undo(UndoStack * ustack, bContext * C) Line 731 C blender.exe!ed_undo_step_impl(bContext * C, int step, const unsigned char * undoname, int undo_index, ReportList * reports) Line 200 C blender.exe!ed_undo_step_direction(bContext * C, int step, ReportList * reports) Line 264 C blender.exe!ed_undo_exec(bContext * C, wmOperator * op) Line 399 C blender.exe!wm_operator_invoke(bContext * C, wmOperatorType * ot, wmEvent * event, PointerRNA * properties, ReportList * reports, const bool poll_only, bool use_last_properties) Line 1282 C blender.exe!wm_handler_operator_call(bContext * C, ListBase * handlers, wmEventHandler * handler_base, wmEvent * event, PointerRNA * properties, const unsigned char * kmi_idname) Line 2102 C blender.exe!wm_handlers_do_keymap_with_keymap_handler(bContext * C, wmEvent * event, ListBase * handlers, wmEventHandler_Keymap * handler, wmKeyMap * keymap, const bool do_debug_handler) Line 2412 C blender.exe!wm_handlers_do_intern(bContext * C, wmEvent * event, ListBase * handlers) Line 2707 C blender.exe!wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) Line 2834 C blender.exe!wm_event_do_handlers(bContext * C) Line 3356 C blender.exe!WM_main(bContext * C) Line 453 C