Page MenuHome

Crash when typing certain keys in search bar
Closed, ResolvedPublicBUG

Description

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: Intel(R) HD Graphics 4000 Intel 4.0.0 - Build 10.18.10.5100

Blender Version
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-02-12 16:20, hash: rB77d23b0bd76f
Broken: version: 2.82a, 2.83 latest experimental build.
Worked: 2.80, 2.81, 2.81a.

Short description of error
Typing "sy" (for symmetry) on the search bar when the viewport is empty crashes blender. Blender still crashes when there are lights and cameras visible but doesnt crash if one of the other object type is visible.

Exact steps for others to reproduce the error

  1. Open blender
  2. Hide or delete all the objects, so the viewport is empty
  3. Open search bar
  4. Type sy

Works with default startup file

Event Timeline

Rahul Chaudhary (RC12) renamed this task from Crash when typing certain keys in search to Crash when typing certain keys in search bar.Mar 17 2020, 6:43 AM
Ankit Meel (ankitm) changed the task status from Needs Triage to Needs Information from User.Mar 17 2020, 9:39 AM

Which search bar ?

The search function F3 or space

operator search, yeah. Confirmed.

Ankit Meel (ankitm) changed the task status from Needs Information from User to Confirmed.Mar 17 2020, 10:34 AM
#0	0x00000001009a0e0f in sculpt_no_multires_poll ()
#1	0x0000000100a5f75b in operator_search_cb ()
#2	0x0000000100a51e3c in ui_searchbox_update ()
#3	0x0000000100a294bb in ui_do_but_textedit ()
#4	0x0000000100a28c05 in ui_do_but_TEX ()
#5	0x0000000100a1da2f in ui_do_button ()
#6	0x0000000100a27620 in ui_handle_button_event ()
#7	0x0000000100a27c8c in ui_handle_menu_button ()
#8	0x0000000100a2486f in ui_handle_menus_recursive ()
#9	0x0000000100a23789 in ui_popup_handler ()
#10	0x0000000100386494 in wm_handlers_do_intern ()
#11	0x0000000100381dff in wm_handlers_do ()
#12	0x000000010038111f in wm_event_do_handlers ()
#13	0x000000010037ad10 in WM_main ()
#14	0x000000010014a22b in main ()
#15	0x00007fff6ec663d5 in start ()

Just went over 6-7 similar posts in the past. So confirming.

sculpt_no_multires_poll() should check SCULPT_mode_poll() first and short-circuit if it returns false. It has to be ensured that ob isn't NULL when attempting to dereference it.

Philipp Oeser (lichtwerk) triaged this task as High priority.Mar 17 2020, 1:01 PM
Philipp Oeser (lichtwerk) changed the subtype of this task from "Report" to "Bug".