Maniphest T96123

Crash when click-dragging across the visibility icons
Closed, Resolved

Assigned To
Campbell Barton (campbellbarton)
Authored By
Steffen Dünner (SteffenD)
Mar 2 2022, 12:48 PM
Tags
  • BF Blender
  • User Interface
Subscribers
Campbell Barton (campbellbarton)
Pratik Borhade (PratikPB2123)
Steffen Dünner (SteffenD)

Description

System Information
Operating system: Linux-5.13.0-30-generic-x86_64-with-glibc2.31 64 Bits
Graphics card: NVIDIA GeForce RTX 2070 Super/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.103.01

Blender Version
Broken: version: 3.2.0 Alpha, branch: master, commit date: 2022-03-02 11:14, hash: rBc2e8e68b6517
Worked: latest buildbot blender-3.2.0-alpha+master.eabdcdcd44b9-linux.x86_64-release
Caused by rBaa71414dfca7: Fix click-drag events for dragging markers

Short description of error
When click-dragging across the visibility icons (or what they are called) in the Outliner to e.g. change the visibility and the selectability with a single mouse click, Blender instantly crashes / closes.
This must be a rather new problem, might be related to this https://developer.blender.org/T96120

Exact steps for others to reproduce the error

  • Open Blender (very latest master)
  • Go to Outliner and click-drag across the visibility icons of the default cube or the camera:

  • Crash

Revisions and Commits

rB Blender

Related Objects

Mentioned Here
rBaa71414dfca7: Fix click-drag events for dragging markers
rBc23ec04b4e30: BLI: add scoped-defer utility to add RAII-like behavior to C types
rBeabdcdcd44b9: Merge remote-tracking branch 'origin/blender-v3.1-release'
rBcf428b2ebdda: Fix ignored click-drag events when operators pass-through & finished
rB4986f718482b: Event System: remove tweak events in favor of click-drag
T96120: Crash when trying to drag and drop from the file browser

Event Timeline

Steffen Dünner (SteffenD) created this task.Mar 2 2022, 12:48 PM
Steffen Dünner (SteffenD) updated the task description.Mar 2 2022, 12:55 PM
Pratik Borhade (PratikPB2123) added a subscriber: Pratik Borhade (PratikPB2123).Mar 2 2022, 1:25 PM
Campbell Barton (campbellbarton) added a subscriber: Campbell Barton (campbellbarton).Mar 2 2022, 1:38 PM

I can't redo this, tested f74249eaf435dd7e7e71feaf9c996a96e83448e4 and c23ec04b4e30f300a670f1cb1dc882e0608d09ad.

  • Does this happen with factory settings?
  • Does this crash both single-click and dragging? (the report mentions both)
Pratik Borhade (PratikPB2123) changed the task status from Needs Triage to Confirmed.EditedMar 2 2022, 1:54 PM
Pratik Borhade (PratikPB2123) added a project: User Interface.

@Campbell Barton (campbellbarton) , I can reproduce on present master c23ec04b4e30f300a670f1cb1dc882e0608d09ad

For reproducing

  • Click on any Icon (and hold the left click)
  • Move your mouse while holding LMB
blender.exe         :0x00007FF7724BD8E0  handler_region_v2d_mask_test C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.c:4187
blender.exe         :0x00007FF7724C2900  wm_handlers_do_intern C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.c:2994
blender.exe         :0x00007FF7724C1F70  wm_handlers_do C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.c:3188
blender.exe         :0x00007FF7724BEF70  wm_event_do_handlers C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm_event_system.c:3754
blender.exe         :0x00007FF7724A9880  WM_main C:\Users\Pratik\Desktop\BlenderOSP\blender\source\blender\windowmanager\intern\wm.c:625
blender.exe         :0x00007FF7724A5060  main C:\Users\Pratik\Desktop\BlenderOSP\blender\source\creator\creator.c:549
blender.exe         :0x00007FF773453A84  __scrt_common_main_seh d:\a01\_work\12\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288
KERNEL32.DLL        :0x00007FF946207020  BaseThreadInitThunk
ntdll.dll           :0x00007FF946882630  RtlUserThreadStart
Steffen Dünner (SteffenD) added a comment.Mar 2 2022, 1:55 PM

Yes it happens with factory-startup, too.

It doesn't happen when I single-click each of the icons one after the other. It happens only when I click and hold / drag across several of them. For example, if I click on the selectability icon, hold the mouse button and drag it to the right.

Pratik Borhade (PratikPB2123) triaged this task as High priority.Mar 2 2022, 2:27 PM
Pratik Borhade (PratikPB2123) updated the task description.

Bisecting points to rBaa71414dfca7: Fix click-drag events for dragging markers
@Campbell Barton (campbellbarton) ^

Campbell Barton (campbellbarton) closed this task as Resolved by committing rB47396ea81edb: Fix T96123: Crash when click-dragging across the visibility icons.Mar 2 2022, 3:16 PM
Campbell Barton (campbellbarton) claimed this task.
Campbell Barton (campbellbarton) added a commit: rB47396ea81edb: Fix T96123: Crash when click-dragging across the visibility icons.