Maniphest T93508

Shift+F1 to switch to asset browser randomly crashes
Closed, Resolved

Assigned To
Julian Eisel (Severin)
Authored By
Nahuel Belich (belich)
Nov 30 2021, 12:00 PM
Tags
  • BF Blender
  • Asset Browser
  • User Interface
Subscribers
Julian Eisel (Severin)
Nahuel Belich (belich)
Pratik Borhade (PratikPB2123)
TonyG (TonyG)

Description

System Information
Operating system: Linux-5.11.0-40-generic-x86_64-with-glibc2.31 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.106.00

Blender Version
Broken: version: 3.1.0 Alpha, branch: master, commit date: 2021-11-30 10:17, hash: rBe1cb2a226cfc
Worked: (newest version of Blender that worked as expected)

Short description of error
Pressing Shift+F1 to switch editors from X to "file browser" to "asset browser" crashes blender. Unfortunately as far as i can see it seems random, there is a bit of info in the crash report but i don't know what it means to keep testing in that direction.

Exact steps for others to reproduce the error
1- Open blender
2- Start pressing shift+f1 a few times to switch editors,
the crash seems random but every time it crashes it does when switching to asset browser

If doesn't crash in the first few tries, close blender and repeat, any work file should have same probability of crashing

https://youtu.be/hfAw9zqb1Ck

blender.exe         :0x00007FF6B2B91280  file_highlight_invoke C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\editors\space_file\file_ops.c:1452
blender.exe         :0x00007FF6B21C3CE0  wm_operator_invoke C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.c:1354
blender.exe         :0x00007FF6B21C18D0  wm_handler_operator_call C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.c:2365
blender.exe         :0x00007FF6B21C30F0  wm_handlers_do_keymap_with_keymap_handler C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.c:2718
blender.exe         :0x00007FF6B21C28C0  wm_handlers_do_intern C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.c:3045
blender.exe         :0x00007FF6B21C1EF0  wm_handlers_do C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.c:3183
blender.exe         :0x00007FF6B21BF030  wm_event_do_handlers C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.c:3746
blender.exe         :0x00007FF6B21A97F0  WM_main C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm.c:656
blender.exe         :0x00007FF6B21A4FD0  main C:\Users\Pratik\Desktop\BlenderOSP\blender\source\creator\creator.c:563
blender.exe         :0x00007FF6B2F9E198  __scrt_common_main_seh d:\A01\_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
KERNEL32.DLL        :0x00007FF8D9FD7020  BaseThreadInitThunk
ntdll.dll           :0x00007FF8DABE2630  RtlUserThreadStart

Revisions and Commits

rB Blender

Event Timeline

Nahuel Belich (belich) created this task.Nov 30 2021, 12:00 PM
Nahuel Belich (belich) updated the task description.
Nahuel Belich (belich) updated the task description.Nov 30 2021, 12:03 PM
Julian Eisel (Severin) added a subscriber: Julian Eisel (Severin).Nov 30 2021, 12:51 PM

Tried hard, but couldn't get it to crash (also Linux). Let's see if somebody else can.

Julian Eisel (Severin) added a project: Asset Browser.Nov 30 2021, 12:52 PM
TonyG (TonyG) added a subscriber: TonyG (TonyG).Nov 30 2021, 1:14 PM

I can reproduce !
MacOS 11.6 / MacBookAir ARM
Blender 3.0.0 ARM version (2021-11-26)

I can also confirm that strangely it either happens in the first 2-10 tries, or never happens.
The speed at which I press shift+f1 also seems to play a part.

Below :

  • crash report
  • video demonstrating the crash


Pratik Borhade (PratikPB2123) added a subscriber: Pratik Borhade (PratikPB2123).Nov 30 2021, 1:20 PM
Nahuel Belich (belich) added a comment.EditedNov 30 2021, 1:40 PM

@Julian Eisel (Severin) I just found out a consistent way to trigger the bug, cursor movement.
1 Open blender
2 start moving the mouse cursor
3 While moving the mouse cursor press shift+f1 twice

as its mention if it doesn't crash first try, start again
thanks @TonyG (TonyG) your video gave me the idea to try out

https://youtu.be/hfAw9zqb1Ck

Pratik Borhade (PratikPB2123) added a comment.EditedNov 30 2021, 1:55 PM

Hi, thanks for clarifying. I can confirm the crash on current master: 2f7bec04e8e7e423f11767535b469cdeb5062b14

blender.exe         :0x00007FF6B2B91280  file_highlight_invoke C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\editors\space_file\file_ops.c:1452
blender.exe         :0x00007FF6B21C3CE0  wm_operator_invoke C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.c:1354
blender.exe         :0x00007FF6B21C18D0  wm_handler_operator_call C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.c:2365
blender.exe         :0x00007FF6B21C30F0  wm_handlers_do_keymap_with_keymap_handler C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.c:2718
blender.exe         :0x00007FF6B21C28C0  wm_handlers_do_intern C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.c:3045
blender.exe         :0x00007FF6B21C1EF0  wm_handlers_do C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.c:3183
blender.exe         :0x00007FF6B21BF030  wm_event_do_handlers C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.c:3746
blender.exe         :0x00007FF6B21A97F0  WM_main C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm.c:656
blender.exe         :0x00007FF6B21A4FD0  main C:\Users\Pratik\Desktop\BlenderOSP\blender\source\creator\creator.c:563
blender.exe         :0x00007FF6B2F9E198  __scrt_common_main_seh d:\A01\_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
KERNEL32.DLL        :0x00007FF8D9FD7020  BaseThreadInitThunk
ntdll.dll           :0x00007FF8DABE2630  RtlUserThreadStart
Pratik Borhade (PratikPB2123) changed the task status from Needs Triage to Confirmed.Nov 30 2021, 2:06 PM
Pratik Borhade (PratikPB2123) updated the task description.
Pratik Borhade (PratikPB2123) added a project: User Interface.
Julian Eisel (Severin) closed this task as Resolved by committing rB8cf0d15b6021: Fix T93508: Shift+F1 to switch to asset browser randomly crashes.Nov 30 2021, 2:35 PM
Julian Eisel (Severin) claimed this task.
Julian Eisel (Severin) added a commit: rB8cf0d15b6021: Fix T93508: Shift+F1 to switch to asset browser randomly crashes.
Philipp Oeser (lichtwerk) added a commit: rB256a2d1e986e: Fix T93508: Shift+F1 to switch to asset browser randomly crashes.Jan 10 2022, 5:04 PM