Crash dragging a collection over Outliner with active filter without matches #85027

Closed
opened 2021-01-24 22:02:05 +01:00 by Georg K · 6 comments

System Information
Operating system: Linux-5.10.2-2-MANJARO-x86_64-with-arch-Manjaro-Linux 64 Bits
Graphics card: AMD VERDE (DRM 2.50.0, 5.10.2-2-MANJARO, LLVM 11.0.0) AMD 4.5 (Core Profile) Mesa 20.3.1

Blender Version
Broken: version:

  • 2.93.0 Alpha, branch: master, commit date: 2021-01-24 20:29, hash: c8d6e2dfa0
  • 2.92.0
  • 2.91.0
  • 2.90.1
  • 2.83.10
  • 2.82
  • 2.81
  • 2.80
    Worked: Never

Short description of error
If there is a second Outliner with a filter that does not match anything and you drag a collection from the first outliner over the second outliner, dragging gets stuck and Blender crashes (Segmentation fault (core dumped)).
Crash dragging a collection over Outliner with active filter without matches.jpg

Content of blender.crash.txt:

# Blender 2.93.0, Commit date: 2021-01-24 20:29, Hash c8d6e2dfa0e0
bpy.context.space_data.filter_text = "test"  # Property
bpy.ops.outliner.item_rename()  # Operator
bpy.ops.outliner.item_activate(extend=False, deselect_all=True)  # Operator

# backtrace
./blender(BLI_system_backtrace+0x33) [0x86d2573]
./blender() [0xe85ebe]
/usr/lib/libc.so.6(+0x3d6a0) [0x7f13000956a0]
./blender() [0x1c6bf01]
./blender() [0x1c6bfc4]
./blender() [0x1c6c1d1]
./blender() [0x1214727]
./blender(wm_drags_check_ops+0x154) [0x1214b84]
./blender(wm_event_do_handlers+0x73b) [0x121e53b]
./blender(WM_main+0x20) [0x1214680]
./blender(main+0x330) [0xdc3760]
/usr/lib/libc.so.6(__libc_start_main+0xf2) [0x7f1300080152]
./blender(_start+0x2e) [0xe8262e]

Exact steps for others to reproduce the error
In the default scene, split the Outliner area in two,
add a search term to the new Outliner that does not match anything (like "8" or "[" or "test"),
drag a collection from the first Outliner down towards the buttons area.
Dragging will stop at the bottom of the header of the second Outliner and Blender will crash shortly after.

**System Information** Operating system: Linux-5.10.2-2-MANJARO-x86_64-with-arch-Manjaro-Linux 64 Bits Graphics card: AMD VERDE (DRM 2.50.0, 5.10.2-2-MANJARO, LLVM 11.0.0) AMD 4.5 (Core Profile) Mesa 20.3.1 **Blender Version** Broken: version: - 2.93.0 Alpha, branch: master, commit date: 2021-01-24 20:29, hash: `c8d6e2dfa0` - 2.92.0 - 2.91.0 - 2.90.1 - 2.83.10 - 2.82 - 2.81 - 2.80 Worked: Never **Short description of error** If there is a second Outliner with a filter that does not match anything and you drag a collection from the first outliner over the second outliner, dragging gets stuck and Blender crashes (Segmentation fault (core dumped)). ![Crash dragging a collection over Outliner with active filter without matches.jpg](https://archive.blender.org/developer/F9595785/Crash_dragging_a_collection_over_Outliner_with_active_filter_without_matches.jpg) Content of blender.crash.txt: ``` # Blender 2.93.0, Commit date: 2021-01-24 20:29, Hash c8d6e2dfa0e0 bpy.context.space_data.filter_text = "test" # Property bpy.ops.outliner.item_rename() # Operator bpy.ops.outliner.item_activate(extend=False, deselect_all=True) # Operator # backtrace ./blender(BLI_system_backtrace+0x33) [0x86d2573] ./blender() [0xe85ebe] /usr/lib/libc.so.6(+0x3d6a0) [0x7f13000956a0] ./blender() [0x1c6bf01] ./blender() [0x1c6bfc4] ./blender() [0x1c6c1d1] ./blender() [0x1214727] ./blender(wm_drags_check_ops+0x154) [0x1214b84] ./blender(wm_event_do_handlers+0x73b) [0x121e53b] ./blender(WM_main+0x20) [0x1214680] ./blender(main+0x330) [0xdc3760] /usr/lib/libc.so.6(__libc_start_main+0xf2) [0x7f1300080152] ./blender(_start+0x2e) [0xe8262e] ``` **Exact steps for others to reproduce the error** In the default scene, split the Outliner area in two, add a search term to the new Outliner that does not match anything (like "8" or "[" or "test"), drag a collection from the first Outliner down towards the buttons area. Dragging will stop at the bottom of the header of the second Outliner and Blender will crash shortly after.
Author

Added subscriber: @georgK

Added subscriber: @georgK

Added subscriber: @rjg

Added subscriber: @rjg

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

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

I can confirm this issue.

Stack trace for 2.93.0 Alpha, branch: master, commit date: 2021-01-25 10:10, hash: 7cb65a1e67

outliner_drop_insert_find(bContext * C, const wmEvent * event, TreeElementInsertType * r_insert_type) Line 179	C
outliner_drop_insert_collection_find(bContext * C, const wmEvent * event, TreeElementInsertType * r_insert_type) Line 226	C
collection_drop_init(bContext * C, wmDrag * drag, const wmEvent * event, CollectionDrop * data) Line 1116	C
collection_drop_poll(bContext * C, wmDrag * drag, const wmEvent * event, const unsigned char * * r_tooltip) Line 1181	C
dropbox_active(bContext * C, ListBase * handlers, wmDrag * drag, const wmEvent * event) Line 228	C
wm_dropbox_active(bContext * C, wmDrag * drag, const wmEvent * event) Line 259	C
wm_drop_operator_options(bContext * C, wmDrag * drag, const wmEvent * event) Line 285	C
wm_drags_check_ops(bContext * C, const wmEvent * event) Line 304	C
wm_event_do_handlers(bContext * C) Line 3402	C
WM_main(bContext * C) Line 640	C
main(int argc, const unsigned char * * UNUSED_argv_c) Line 526	C
I can confirm this issue. Stack trace for 2.93.0 Alpha, branch: master, commit date: 2021-01-25 10:10, hash: `7cb65a1e67` ```lines outliner_drop_insert_find(bContext * C, const wmEvent * event, TreeElementInsertType * r_insert_type) Line 179 C outliner_drop_insert_collection_find(bContext * C, const wmEvent * event, TreeElementInsertType * r_insert_type) Line 226 C collection_drop_init(bContext * C, wmDrag * drag, const wmEvent * event, CollectionDrop * data) Line 1116 C collection_drop_poll(bContext * C, wmDrag * drag, const wmEvent * event, const unsigned char * * r_tooltip) Line 1181 C dropbox_active(bContext * C, ListBase * handlers, wmDrag * drag, const wmEvent * event) Line 228 C wm_dropbox_active(bContext * C, wmDrag * drag, const wmEvent * event) Line 259 C wm_drop_operator_options(bContext * C, wmDrag * drag, const wmEvent * event) Line 285 C wm_drags_check_ops(bContext * C, const wmEvent * event) Line 304 C wm_event_do_handlers(bContext * C) Line 3402 C WM_main(bContext * C) Line 640 C main(int argc, const unsigned char * * UNUSED_argv_c) Line 526 C ```

This issue was referenced by 5c490bcbc8

This issue was referenced by 5c490bcbc82b43487f2e08978b69f1900e8bfce5
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Julian Eisel self-assigned this 2021-01-25 14:38:53 +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
4 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#85027
No description provided.