(2.83.6 Beta) Crash when switching to Edit Mode #80530
Operating system: Darwin-19.5.0-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 455 OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.9.15
Broken: version: 2.83.6 Beta
Short description of error
Crash when switching to Edit Mode,
or when switching workspace to Modeling, UV Editing.
I can confirm same issue. with recent 2.83.6 build (As I reported) (LTS version not crash)
I supposed if it only happen with some Nvidia video cards, but it seems not.
I may close my report, if it is confirmed by developer, as duplicate.
If need to send movie which reploduce it, I already made, so ask me please. (but I think quite a few user easy reproduce this crash with current 2.83.6
Changed status from 'Needs Triage' to: 'Confirmed'
Can confirm in the 2.83 branch
me->runtime.edit_data is NULL
1 mesh_render_data_create draw_cache_extract_mesh.c 155 0x3458324 2 mesh_buffer_cache_create_requested draw_cache_extract_mesh.c 4672 0x34788c9 3 DRW_mesh_batch_cache_create_requested draw_cache_impl_mesh.c 1412 0x34300c9 4 uvedit_get_batches uvedit_draw.c 210 0xaca7c89 5 ED_uvedit_draw_main uvedit_draw.c 545 0xaca8de3 6 image_main_region_draw space_image.c 679 0x3d5734e 7 ED_region_do_draw area.c 538 0x3754401 8 wm_draw_window_offscreen wm_draw.c 688 0x305abc3 9 wm_draw_window wm_draw.c 809 0x305b0bf 10 wm_draw_update wm_draw.c 1016 0x305b70d 11 WM_main wm.c 456 0x3058203 12 main creator.c 528 0x2bfc3a0
Changed status from 'Confirmed' to: 'Needs Triage'
Oops. @lichtwerk please correct the status/priority.
Changed status from 'Needs Triage' to: 'Confirmed'
Btw if I start scene without any mesh, then change layout as UV editing, (start from empty scene), crash not happen.
Then I load mesh , activate go to edit-mode to check UV blender crash.
I haven't refreshed page before merging. I can reproduce crash in 2.91 following these steps:
- New General template
- Go to UV Editing workspace
- Toggle to object mode
- Save File
- Open file
- Go to Sculpting > UV Editing > Sculpting workspace
> blender.exe!MEM_lockfree_freeN(void * vmemh) Line 131 C blender.exe!CustomData_free(CustomData * data, int totelem) Line 2326 C blender.exe!BM_mesh_bm_to_me(Main * bmain, BMesh * bm, Mesh * me, const BMeshToMeshParams * params) Line 610 C blender.exe!EDBM_mesh_load_ex(Main * bmain, Object * ob, bool free_data) Line 379 C blender.exe!ED_object_editmode_load_ex(Main * bmain, Object * obedit, const bool freedata) Line 524 C blender.exe!ED_object_editmode_exit_ex(Main * bmain, Scene * scene, Object * obedit, int flag) Line 615 C blender.exe!ED_object_editmode_exit(bContext * C, int flag) Line 661 C blender.exe!editmode_toggle_exec(bContext * C, wmOperator * op) Line 800 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 1313 C blender.exe!wm_operator_call_internal(bContext * C, wmOperatorType * ot, PointerRNA * properties, ReportList * reports, const short context, const bool poll_only, wmEvent * event) Line 1514 C blender.exe!WM_operator_name_call_ptr(bContext * C, wmOperatorType * ot, short context, PointerRNA * properties) Line 1563 C blender.exe!WM_operator_name_call(bContext * C, const unsigned char * opstring, short context, PointerRNA * properties) Line 1568 C blender.exe!ED_object_mode_compat_set(bContext * C, Object * ob, eObjectMode mode, ReportList * reports) Line 160 C blender.exe!sculpt_mode_toggle_exec(bContext * C, wmOperator * op) Line 8261 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 1313 C blender.exe!wm_operator_call_internal(bContext * C, wmOperatorType * ot, PointerRNA * properties, ReportList * reports, const short context, const bool poll_only, wmEvent * event) Line 1514 C blender.exe!WM_operator_name_call_ptr(bContext * C, wmOperatorType * ot, short context, PointerRNA * properties) Line 1563 C blender.exe!ED_object_mode_set_ex(bContext * C, eObjectMode mode, bool use_undo, ReportList * reports) Line 211 C blender.exe!ED_object_mode_set(bContext * C, eObjectMode mode) Line 227 C blender.exe!ED_workspace_change(WorkSpace * workspace_new, bContext * C, wmWindowManager * wm, wmWindow * win) Line 159 C blender.exe!WM_window_set_active_workspace(bContext * C, wmWindow * win, WorkSpace * workspace) Line 2406 C blender.exe!wm_event_do_notifiers(bContext * C) Line 449 C blender.exe!WM_main(bContext * C) Line 488 C blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 531 C [External Code]
First I got similar backtrace to what @lichtwerk posted. But it looks that it is quite random. So I am not quite sure if it's same issue as reported here or if it is even same issue as reported in #80287.
There was a mistake applying the fix to
2.83-LTS as this bug doesn't exist in master, see
79945c8126 for detail (fix attached).
I ran into some bugs in master relating to switching workspaces that look closer to the backtrace from @iss, although they don't involve edit-mode, so I'll open a new report for that.
This issue was referenced by
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?