Page MenuHome

Crash when changing active keying set.
Closed, ResolvedPublicBUG

Description

System Information
Windows 10 64 Bits.
Graphics card GeForce GTX 1080 Ti.

Blender Version
Broken: 2.83.11 hash: 6b24f7d87cba

Short description of error
If you try to change a keying set Blender crashes.
The way it causes the crash is you have to remove it first then select a new one, it doesn't crash if you select from the dropdown list.
I get this error in the console.

Error   : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FF737AC6A49

Exact steps for others to reproduce the error

  • in the timeline-> Keying->Active Keying set.
  • Select a keying set.
  • Remove the set.
  • Select a new one.
  • Crash.

Event Timeline

Ankit Meel (ankitm) changed the task status from Needs Triage to Confirmed.Mar 30 2020, 9:42 AM

but->search_func(C, but->search_arg, but->editstr, &data->items);
but->search_argis NULL

#0	 in ui_rna_collection_search_cb at blender/source/blender/editors/interface/interface_utils.c:399
#1	 in ui_searchbox_update at blender/source/blender/editors/interface/interface_region_search.c:379
#2	 in ui_textedit_begin at blender/source/blender/editors/interface/interface_handlers.c:3368
#3	 in button_activate_state at blender/source/blender/editors/interface/interface_handlers.c:7855
#4	 in ui_do_but_TEX at blender/source/blender/editors/interface/interface_handlers.c:4398
#5	 in ui_do_but_SEARCH_UNLINK at blender/source/blender/editors/interface/interface_handlers.c:4426
#6	 in ui_do_button at blender/source/blender/editors/interface/interface_handlers.c:7558
#7	 in ui_handle_button_event at blender/source/blender/editors/interface/interface_handlers.c:8707
#8	 in ui_handle_menu_button at blender/source/blender/editors/interface/interface_handlers.c:9421
#9	 in ui_handle_menus_recursive at blender/source/blender/editors/interface/interface_handlers.c:10534
#10	 in ui_handler_region_menu at blender/source/blender/editors/interface/interface_handlers.c:10717
#11	 in wm_handler_ui_call at blender/source/blender/windowmanager/intern/wm_event_system.c:617
#12	 in wm_handlers_do_intern at blender/source/blender/windowmanager/intern/wm_event_system.c:2724
#13	 in wm_handlers_do at blender/source/blender/windowmanager/intern/wm_event_system.c:2835
#14	 in wm_event_do_handlers at blender/source/blender/windowmanager/intern/wm_event_system.c:3230
#15	 in WM_main at blender/source/blender/windowmanager/intern/wm.c:447
#16	 in main at blender/source/creator/creator.c:524

Uff, that was a hard nut! Had me running in circles and on wrong paths a few times. Turns out there were actually 3 pretty sneaky bugs involved here. Committed 74fa8787d864 & 1239cab11ff9.