Page MenuHome

[Bug] Keymap filter crashed Blender
Closed, ResolvedPublic

Description

System Information
Operating system: MacOs High Sierra 10.13.2
Graphics card: Intel Iris Graphics 6100

Blender Version
2.90.0 Alpha

Short description of error
Keymap filter crashed Blender

Exact steps for others to reproduce the error

  1. Open Blender preferences
  2. Select keymap option
  3. Write to filter search filed (For example "E").
  4. Blender crashed
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   org.blenderfoundation.blender 	0x00000001042c7e9d ui_block_align_calc + 365
1   org.blenderfoundation.blender 	0x00000001042bd6fd UI_block_end_ex + 1085
2   org.blenderfoundation.blender 	0x0000000103fef7bc ed_panel_draw + 956
3   org.blenderfoundation.blender 	0x0000000103fef143 ED_region_panels_layout_ex + 1075
4   org.blenderfoundation.blender 	0x00000001089ed758 userpref_main_region_layout + 184
5   org.blenderfoundation.blender 	0x0000000103c10525 wm_draw_update + 1205
6   org.blenderfoundation.blender 	0x0000000103c0e330 WM_main + 48
7   org.blenderfoundation.blender 	0x00000001038d360d main + 909
8   libdyld.dylib                 	0x00007fff7af08115 start + 1

Event Timeline

James Baxter (Pegacy) updated the task description. (Show Details)
Robert Guetzkow (rjg) changed the task status from Needs Triage to Needs Information from User.Jul 5 2020, 7:34 PM

I can't reproduce this on Windows with the latest master. What commit hash is the build you're using based on? In case you don't know what I mean, you can save the system information in Blender through Help > Save System Info and upload the file by clicking on the upload button, as shown in the screenshot below, or via drag-and-drop.

I can't reproduce this on Windows with the latest master. What commit hash is the build you're using based on? In case you don't know what I mean, you can save the system information in Blender through Help > Save System Info and upload the file by clicking on the upload button, as shown in the screenshot below, or via drag-and-drop.


Robert Guetzkow (rjg) changed the task status from Needs Information from User to Needs Triage.Jul 6 2020, 10:11 AM

Worked version: 2.90.0 Alpha, branch: master, commit date: 2020-06-18 19:05, hash: rBb89898cbd381
Broken version: 2.90.0 Alpha, branch: master, commit date: 2020-07-01 20:17, hash: rB52b125a790e3

Searching by "Name" (not "Key-Binding") will crash.
It crashed with some single letter, for example "E" or "T", but not if you paste word, example "Extrude".

@Yevgeny Makarov (jenkm) Are you reproducing this on macOS as well?

Yes, macOS.

Operating system: Darwin-19.4.0-x86_64-i386-64bit 64 Bits
Graphics card: AMD Radeon Pro 455 OpenGL Engine ATI Technologies Inc. 4.1 ATI-3.8.24

It looks like too many search results, I tried to expand all categories, and at some point it crashed.

Can't reproduce as well.

Just to be sure, does this happen when you click on File > Defaults > Load factory Settings?

On macOS we add Cmd along with Ctrl, so there are a lot more keys here. Without this code, there is no crash.

if platform == 'darwin':
    from bl_keymap_utils.platform_helpers import keyconfig_data_oskey_from_ctrl_for_macos
    keyconfig_data = keyconfig_data_oskey_from_ctrl_for_macos(keyconfig_data)

Exported default "Blender" keymap on macOS:

Brecht Van Lommel (brecht) triaged this task as High priority.Jul 8 2020, 4:58 PM
Evan Wilson (EAW) changed the task status from Needs Triage to Confirmed.Jul 14 2020, 5:51 AM

Three people have reported this issue, and it has been set to High priority and placed on the Blender 2.90 workboard, so setting this to confirmed.