Crash if same object is dragged from asset browser as link and append (reuse data) sequentially. #96916

Closed
opened 2022-03-31 10:30:02 +02:00 by takaaki takeda · 10 comments

System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 471.41

Blender Version
Broken: version: 3.1.1, branch: master, commit date: 2022-03-29 17:50, hash: d91843f3b6
Worked: (newest version of Blender that worked as expected)

Short description of error
If same object is dragged from asset browser as link and append (reuse data), and then dragged one more time (reuse data),
Blender crashes.
I upload a GIF animation below.

AssetCrash.gif

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]
[Based on the default startup or an attached .blend file (as simple as possible)]

  1. Prepare some object and mark it as asset, and save .blend for Asset usage.
  2. Prepare new project and prepare asset file path settings.
  3. Drag object from asset browser, as link.
  4. Drag same object from asset browser, as append (reuse data)
    (* the position of first object behaves strangely here. as shown in above GIF animation. This can be another bug.)
    (* There are two objects with the same name in the scene at this stage, linked and not linked.)
  5. And then drag the same object again as append (reuse data)
  6. Blender crashes.
**System Information** Operating system: Windows-10-10.0.19043-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2060/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 471.41 **Blender Version** Broken: version: 3.1.1, branch: master, commit date: 2022-03-29 17:50, hash: `d91843f3b6` Worked: (newest version of Blender that worked as expected) **Short description of error** If same object is dragged from asset browser as link and append (reuse data), and then dragged one more time (reuse data), Blender crashes. I upload a GIF animation below. ![AssetCrash.gif](https://archive.blender.org/developer/F12959045/AssetCrash.gif) **Exact steps for others to reproduce the error** [Please describe the exact steps needed to reproduce the issue] [Based on the default startup or an attached .blend file (as simple as possible)] 1. Prepare some object and mark it as asset, and save .blend for Asset usage. 2. Prepare new project and prepare asset file path settings. 3. Drag object from asset browser, as link. 4. Drag same object from asset browser, as append (reuse data) (* the position of first object behaves strangely here. as shown in above GIF animation. This can be another bug.) (* There are two objects with the same name in the scene at this stage, linked and not linked.) 6. And then drag the same object again as append (reuse data) 7. Blender crashes.
Author

Added subscriber: @popqjp

Added subscriber: @popqjp
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

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

Can confirm, will check

Can confirm, will check
Member

tries to get the boundingbox of the linked object, but that has no data:

1  BKE_mesh_wrapper_minmax            mesh_wrapper.c    160  0x3e8e560 
2  BKE_mesh_boundbox_get              mesh.cc           1223 0x3e77cd5 
3  BKE_object_boundbox_get            object.cc         3596 0x3ef0306 
4  view3d_ob_drop_matrix_from_snap    space_view3d.c    685  0x5aefc67 
5  view3d_ob_drop_copy_external_asset space_view3d.c    746  0x5aeff27 
6  wm_drop_prepare                    wm_dragdrop.c     419  0x4566a49 
7  wm_handlers_do_intern              wm_event_system.c 3109 0x45722cb 
8  wm_handlers_do                     wm_event_system.c 3216 0x457279d 
9  wm_event_do_region_handlers        wm_event_system.c 3612 0x4573751 
10 wm_event_do_handlers_area_regions  wm_event_system.c 3642 0x4573869 
11 wm_event_do_handlers               wm_event_system.c 3839 0x457435a 
12 WM_main                            wm.c              623  0x4565c8e 
13 main                               creator.c         547  0x3d96774 

It is not a regression, but since it is a crash in a recent feature and not an operation one would only very ralrely run into, will dare setting this to High priority.

tries to get the boundingbox of the linked object, but that has no data: ``` 1 BKE_mesh_wrapper_minmax mesh_wrapper.c 160 0x3e8e560 2 BKE_mesh_boundbox_get mesh.cc 1223 0x3e77cd5 3 BKE_object_boundbox_get object.cc 3596 0x3ef0306 4 view3d_ob_drop_matrix_from_snap space_view3d.c 685 0x5aefc67 5 view3d_ob_drop_copy_external_asset space_view3d.c 746 0x5aeff27 6 wm_drop_prepare wm_dragdrop.c 419 0x4566a49 7 wm_handlers_do_intern wm_event_system.c 3109 0x45722cb 8 wm_handlers_do wm_event_system.c 3216 0x457279d 9 wm_event_do_region_handlers wm_event_system.c 3612 0x4573751 10 wm_event_do_handlers_area_regions wm_event_system.c 3642 0x4573869 11 wm_event_do_handlers wm_event_system.c 3839 0x457435a 12 WM_main wm.c 623 0x4565c8e 13 main creator.c 547 0x3d96774 ``` It is not a regression, but since it is a crash in a recent feature and not an operation one would only very ralrely run into, will dare setting this to High priority.

Added subscriber: @TheBigIvason

Added subscriber: @TheBigIvason

Added subscriber: @mont29

Added subscriber: @mont29

This has been fixed by 4a70561bbd yesterday I believe, thanks for the report.

This has been fixed by 4a70561bbd yesterday I believe, thanks for the report.

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Bastien Montagne self-assigned this 2022-04-14 09:52:22 +02:00

Added subscriber: @hughetop

Added subscriber: @hughetop
Bastien Montagne added this to the Pipeline, Assets & IO project 2023-02-09 15:40:49 +01:00
Bastien Montagne removed this from the Pipeline, Assets & IO project 2023-02-10 12:49:29 +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
5 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#96916
No description provided.