Page MenuHome

Crash when opening the Add > Mesh menu or pressing SHIFT+A
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1650/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.89

Blender Version
Broken: version: 2.92.0 Alpha, branch: master, commit date: 2020-12-15 23:20, hash: rB977bd7937a07
Worked: 2.92.0 Alpha, branch: master, commit date: 2020-12-14 13:00, hash: rB732d0b458b6f9024b285747a643cacb128888b8c

Short description of error
SHIFT+A crashes latest experimental build of Blender.

Exact steps for others to reproduce the error

  • Open Blender
  • Enable Archipack
  • Press SHIFT+A

The problem can be reproduce by pressing F3.


BKE_previewimg_id_supports_jobs(const ID * id) Line 436	C++
icon_set_image(const bContext * C, Scene * scene, ID * id, PreviewImage * prv_img, eIconSizes size, const bool use_job) Line 1419	C
ui_id_preview_image_render_size(const bContext * C, Scene * scene, ID * id, PreviewImage * pi, int size, const bool use_job) Line 1951	C
ui_icon_ensure_deferred(const bContext * C, const int icon_id, const bool big) Line 1358	C
ui_def_but_icon(uiBut * but, const int icon, const int flag) Line 4128	C
uiDefIconTextMenuBut(uiBlock * block, void(*)(bContext *, uiLayout *, void *) func, void * arg, int icon, const unsigned char * str, int x, int y, short width, short height, const unsigned char * tip) Line 6396	C
ui_item_menu(uiLayout * layout, const unsigned char * name, int icon, void(*)(bContext *, uiLayout *, void *) func, void * arg, void * argN, const unsigned char * tip, bool force_menu) Line 2882	C
uiItemM_ptr(uiLayout * layout, MenuType * mt, const unsigned char * name, int icon) Line 2929	C
uiItemM(uiLayout * layout, const unsigned char * menuname, const unsigned char * name, int icon) Line 2939	C
rna_uiItemM(uiLayout * layout, const unsigned char * menuname, const unsigned char * name, const unsigned char * text_ctxt, bool translate, int icon, int icon_value) Line 442	C
UILayout_menu_call(bContext * C, ReportList * reports, PointerRNA * _ptr, ParameterList * _parms) Line 2304	C
RNA_function_call(bContext * C, ReportList * reports, PointerRNA * ptr, FunctionRNA * func, ParameterList * parms) Line 7529	C
pyrna_func_call(BPy_FunctionRNA * self, _object * args, _object * kw) Line 6317	C
 	[External Code]	
bpy_class_call(bContext * C, PointerRNA * ptr, FunctionRNA * func, ParameterList * parms) Line 8522	C
menu_draw(const bContext * C, Menu * menu) Line 875	C
UI_menutype_draw(bContext * C, MenuType * mt, uiLayout * layout) Line 5745	C
ui_item_menutype_func(bContext * C, uiLayout * layout, void * arg_mt) Line 2825	C
ui_block_func_POPUP(bContext * C, uiPopupBlockHandle * handle, void * arg_pup) Line 182	C
ui_popup_block_refresh(bContext * C, uiPopupBlockHandle * handle, ARegion * butregion, uiBut * but) Line 590	C
ui_popup_block_create(bContext * C, ARegion * butregion, uiBut * but, uiBlock *(*)(bContext *, ARegion *, void *) create_func, uiBlock *(*)(bContext *, uiPopupBlockHandle *, void *) handle_create_func, void * arg, void(*)(void *) arg_free) Line 824	C
ui_popup_menu_create(bContext * C, ARegion * butregion, uiBut * but, void(*)(bContext *, uiLayout *, void *) menu_func, void * arg) Line 356	C
ui_block_open_begin(bContext * C, uiBut * but, uiHandleButtonData * data) Line 4094	C
button_activate_state(bContext * C, uiBut * but, uiHandleButtonState state) Line 8007	C
ui_handle_button_event(bContext * C, const wmEvent * event, uiBut * but) Line 8797	C
ui_handle_menu_button(bContext * C, const wmEvent * event, uiPopupBlockHandle * menu) Line 9520	C
ui_handle_menu_event(bContext * C, const wmEvent * event, uiPopupBlockHandle * menu, int level, const bool is_parent_inside, const bool is_parent_menu, const bool is_floating) Line 10151	C
ui_handle_menus_recursive(bContext * C, const wmEvent * event, uiPopupBlockHandle * menu, int level, const bool is_parent_inside, const bool is_parent_menu, const bool is_floating) Line 10642	C
ui_handler_region_menu(bContext * C, const wmEvent * event, void * UNUSED_userdata) Line 10787	C
wm_handler_ui_call(bContext * C, wmEventHandler_UI * handler, const wmEvent * event, int always_pass) Line 636	C
wm_handlers_do_intern(bContext * C, wmEvent * event, ListBase * handlers) Line 2762	C
wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) Line 2870	C
wm_event_do_handlers(bContext * C) Line 3293	C
WM_main(bContext * C) Line 638	C
main(int argc, const unsigned char * * UNUSED_argv_c) Line 526	C
 	[External Code]

Event Timeline

I can't reproduce this on Linux or Windows.

I can reproduce this issue, but like T83776 it requires an add-on like archipack to be enabled. The id was NULL.

BKE_previewimg_id_supports_jobs(const ID * id) Line 436	C++
icon_set_image(const bContext * C, Scene * scene, ID * id, PreviewImage * prv_img, eIconSizes size, const bool use_job) Line 1419	C
ui_id_preview_image_render_size(const bContext * C, Scene * scene, ID * id, PreviewImage * pi, int size, const bool use_job) Line 1951	C
ui_icon_ensure_deferred(const bContext * C, const int icon_id, const bool big) Line 1358	C
ui_def_but_icon(uiBut * but, const int icon, const int flag) Line 4128	C
uiDefIconTextMenuBut(uiBlock * block, void(*)(bContext *, uiLayout *, void *) func, void * arg, int icon, const unsigned char * str, int x, int y, short width, short height, const unsigned char * tip) Line 6396	C
ui_item_menu(uiLayout * layout, const unsigned char * name, int icon, void(*)(bContext *, uiLayout *, void *) func, void * arg, void * argN, const unsigned char * tip, bool force_menu) Line 2882	C
uiItemM_ptr(uiLayout * layout, MenuType * mt, const unsigned char * name, int icon) Line 2929	C
uiItemM(uiLayout * layout, const unsigned char * menuname, const unsigned char * name, int icon) Line 2939	C
rna_uiItemM(uiLayout * layout, const unsigned char * menuname, const unsigned char * name, const unsigned char * text_ctxt, bool translate, int icon, int icon_value) Line 442	C
UILayout_menu_call(bContext * C, ReportList * reports, PointerRNA * _ptr, ParameterList * _parms) Line 2304	C
RNA_function_call(bContext * C, ReportList * reports, PointerRNA * ptr, FunctionRNA * func, ParameterList * parms) Line 7529	C
pyrna_func_call(BPy_FunctionRNA * self, _object * args, _object * kw) Line 6317	C
 	[External Code]	
bpy_class_call(bContext * C, PointerRNA * ptr, FunctionRNA * func, ParameterList * parms) Line 8522	C
menu_draw(const bContext * C, Menu * menu) Line 875	C
UI_menutype_draw(bContext * C, MenuType * mt, uiLayout * layout) Line 5745	C
ui_item_menutype_func(bContext * C, uiLayout * layout, void * arg_mt) Line 2825	C
ui_block_func_POPUP(bContext * C, uiPopupBlockHandle * handle, void * arg_pup) Line 182	C
ui_popup_block_refresh(bContext * C, uiPopupBlockHandle * handle, ARegion * butregion, uiBut * but) Line 590	C
ui_popup_block_create(bContext * C, ARegion * butregion, uiBut * but, uiBlock *(*)(bContext *, ARegion *, void *) create_func, uiBlock *(*)(bContext *, uiPopupBlockHandle *, void *) handle_create_func, void * arg, void(*)(void *) arg_free) Line 824	C
ui_popup_menu_create(bContext * C, ARegion * butregion, uiBut * but, void(*)(bContext *, uiLayout *, void *) menu_func, void * arg) Line 356	C
ui_block_open_begin(bContext * C, uiBut * but, uiHandleButtonData * data) Line 4094	C
button_activate_state(bContext * C, uiBut * but, uiHandleButtonState state) Line 8007	C
ui_handle_button_event(bContext * C, const wmEvent * event, uiBut * but) Line 8797	C
ui_handle_menu_button(bContext * C, const wmEvent * event, uiPopupBlockHandle * menu) Line 9520	C
ui_handle_menu_event(bContext * C, const wmEvent * event, uiPopupBlockHandle * menu, int level, const bool is_parent_inside, const bool is_parent_menu, const bool is_floating) Line 10151	C
ui_handle_menus_recursive(bContext * C, const wmEvent * event, uiPopupBlockHandle * menu, int level, const bool is_parent_inside, const bool is_parent_menu, const bool is_floating) Line 10642	C
ui_handler_region_menu(bContext * C, const wmEvent * event, void * UNUSED_userdata) Line 10787	C
wm_handler_ui_call(bContext * C, wmEventHandler_UI * handler, const wmEvent * event, int always_pass) Line 636	C
wm_handlers_do_intern(bContext * C, wmEvent * event, ListBase * handlers) Line 2762	C
wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) Line 2870	C
wm_event_do_handlers(bContext * C) Line 3293	C
WM_main(bContext * C) Line 638	C
main(int argc, const unsigned char * * UNUSED_argv_c) Line 526	C
 	[External Code]

Before I can confirm this ticket, I will have to check what version worked properly before.

Robert Guetzkow (rjg) changed the task status from Needs Triage to Confirmed.Dec 16 2020, 11:31 AM
Robert Guetzkow (rjg) triaged this task as High priority.
Robert Guetzkow (rjg) updated the task description. (Show Details)
Robert Guetzkow (rjg) renamed this task from SHIFT+A crashes Blender to Crash when opening the Add > Mesh menu or pressing SHIFT+A.Dec 16 2020, 11:34 AM
Robert Guetzkow (rjg) updated the task description. (Show Details)