[Bug] Keymap filter crashed Blender #78636

Closed
opened 2020-07-05 13:00:57 +02:00 by James Baxter · 22 comments

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
**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 ```
Author

Added subscriber: @Pegacy-3

Added subscriber: @Pegacy-3

#78731 was marked as duplicate of this issue

#78731 was marked as duplicate of this issue

Added subscriber: @rjg

Added subscriber: @rjg

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

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.

2019_12_04_upload_icon_developer_blender_org.png

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. ![2019_12_04_upload_icon_developer_blender_org.png](https://archive.blender.org/developer/F8190038/2019_12_04_upload_icon_developer_blender_org.png)
Author

In #78636#973416, @rjg wrote:
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.

system-info.txt
error-info.txt

> In #78636#973416, @rjg wrote: > 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. > [system-info.txt](https://archive.blender.org/developer/F8668218/system-info.txt) [error-info.txt](https://archive.blender.org/developer/F8668225/error-info.txt)

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'

Added subscriber: @jenkm

Added subscriber: @jenkm

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

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".

**Worked** version: 2.90.0 Alpha, branch: master, commit date: 2020-06-18 19:05, hash: `b89898cbd3` **Broken** version: 2.90.0 Alpha, branch: master, commit date: 2020-07-01 20:17, hash: `52b125a790` 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".

@jenkm Are you reproducing this on macOS as well?

@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

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.

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

Added subscriber: @iss

Added subscriber: @iss

Can't reproduce as well.

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

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.

lang=py
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:

all-keymaps.py

On macOS we add Cmd along with Ctrl, so there are a lot more keys here. Without this code, there is no crash. ``` lang=py 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: [all-keymaps.py](https://archive.blender.org/developer/F8677530/all-keymaps.py)

Added subscribers: @info-27, @lichtwerk

Added subscribers: @info-27, @lichtwerk
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

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.

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.

This issue was referenced by de3e797d47

This issue was referenced by de3e797d47e9572e5d558b70fc96b2d67c1b5d17

This issue was referenced by 75520894c7

This issue was referenced by 75520894c72ae8ee96cda7ed8cf8ac642c4f31ab

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Campbell Barton self-assigned this 2020-07-16 08:39:33 +02:00
Thomas Dinges added this to the 2.90 milestone 2023-02-08 16:26:16 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
8 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#78636
No description provided.