Assets : Crash when duplicating a linked asset collection after undo, with drivers in shader node tree #108967

Closed
opened 2023-06-14 11:56:38 +02:00 by Benoit Alexis · 6 comments

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.94

Blender Version
Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: e1ccd9d4a1d3
Worked: (newest version of Blender that worked as expected)
I have not been able to reproduce this exact same crash with those specific files in 3.6 or Master, but I did get the same crashes with more complex drivers in Master, though not as reproductible, hence why I am reporting this bug for 3.5.1.

Short description of error
After importing a specific asset collection from the asset browser as Linked, once the library override is made on Selected and Content, duplicating this collection, then undo, then re-duplicating the collection will crash Blender.

Exact steps for others to reproduce the error
The blender file provided is to be used in an asset library. To reproduce the crash :
In a new file, drag and drop this collection asset in the scene, be sure to uncheck "Instance collection".
On the asset collection in the outliner, right click and Library override -> Make -> Selected and Content.
Duplicate the collection (right click in outliner).
Undo
Duplicate the collection over again -> Crash.

I started investigating this crash after I had a hard time working with multiple asset collections based on a fairly complex camera/light rig. I have narrowed down the culprit to be drivers within the shader node. If I delete the drivers in the shader node, I don't get the crash anymore. I have simplified my rig to the bare minimum to be able to share it and as long as I have a driver in the shader node of an object, related to another object I get this crash.

This particular asset file seems to be working fine in 3.6 and 4.0 so far. But I do get some intermittent crashes when working with the aforementionned camera/light rig (mainly when Library overrinding, but not always...). I have not been able to narrow down what causes those crashes, and unfortunately I would rather not share the rig publicaly as it is the property of my employer.
I hope this can help.

Thanks in advance

**System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA GeForce RTX 2080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 516.94 **Blender Version** Broken: version: 3.5.1, branch: blender-v3.5-release, commit date: 2023-04-24 18:11, hash: `e1ccd9d4a1d3` Worked: (newest version of Blender that worked as expected) I have not been able to reproduce this exact same crash with those specific files in 3.6 or Master, but I did get the same crashes with more complex drivers in Master, though not as reproductible, hence why I am reporting this bug for 3.5.1. **Short description of error** After importing a specific asset collection from the asset browser as Linked, once the library override is made on Selected and Content, duplicating this collection, then undo, then re-duplicating the collection will crash Blender. **Exact steps for others to reproduce the error** The blender file provided is to be used in an asset library. To reproduce the crash : In a new file, drag and drop this collection asset in the scene, be sure to uncheck "Instance collection". On the asset collection in the outliner, right click and Library override -> Make -> Selected and Content. Duplicate the collection (right click in outliner). Undo Duplicate the collection over again -> Crash. I started investigating this crash after I had a hard time working with multiple asset collections based on a fairly complex camera/light rig. I have narrowed down the culprit to be drivers within the shader node. If I delete the drivers in the shader node, I don't get the crash anymore. I have simplified my rig to the bare minimum to be able to share it and as long as I have a driver in the shader node of an object, related to another object I get this crash. This particular asset file seems to be working fine in 3.6 and 4.0 so far. But I do get some intermittent crashes when working with the aforementionned camera/light rig (mainly when Library overrinding, but not always...). I have not been able to narrow down what causes those crashes, and unfortunately I would rather not share the rig publicaly as it is the property of my employer. I hope this can help. Thanks in advance
Benoit Alexis added the
Status
Needs Triage
Type
Report
Priority
Normal
labels 2023-06-14 11:56:39 +02:00

Hey, can you also attach C:\Users\SHOWROOM\AppData\Local\Temp\blender.crash.txt?

Hey, can you also attach `C:\Users\SHOWROOM\AppData\Local\Temp\blender.crash.txt`?
Iliya Katushenock added the
Interest
Asset Browser
Interest
Nodes & Physics
Interest
Undo
labels 2023-06-14 13:51:47 +02:00
Author

Sure here it is

Sure here it is
Iliya Katushenock added the
Interest
Asset Browser Project Overview
label 2023-06-14 14:05:58 +02:00
Member

Hi, I can redo the crash in 3.5 but 3.6-4.0 does not trigger the crash.

This particular asset file seems to be working fine in 3.6 and 4.0 so far

Good to hear that you're also not observing crash anymore.


But I do get some intermittent crashes when working with the aforementionned camera/light rig (mainly when Library overrinding, but not always...)

Unless we have access to the affected file, further investigation will be difficult.
Could you try to recreate the scenario/file which you can share publicly?

Hi, I can redo the crash in 3.5 but 3.6-4.0 does not trigger the crash. > This particular asset file seems to be working fine in 3.6 and 4.0 so far Good to hear that you're also not observing crash anymore. - - - > But I do get some intermittent crashes when working with the aforementionned camera/light rig (mainly when Library overrinding, but not always...) Unless we have access to the affected file, further investigation will be difficult. Could you try to recreate the scenario/file which you can share publicly?
Author

Hi, "unfortunately" I have a hard time getting any crash with 3.6 anymore. Which is good ! I've tried so many combinations I can't recall which was causing the crashes. I changed some things in my rig, but I also suspect that saving the asset itself with 3.6 instead of 3.5 made it more stable. I wasn't too keen on using the beta right now but I guess I can manage for a couple of weeks. If the crashes come up again in 3.6 I'll break the rig on purpose and share it. Thanks !

Hi, "unfortunately" I have a hard time getting any crash with 3.6 anymore. Which is good ! I've tried so many combinations I can't recall which was causing the crashes. I changed some things in my rig, but I also suspect that saving the asset itself with 3.6 instead of 3.5 made it more stable. I wasn't too keen on using the beta right now but I guess I can manage for a couple of weeks. If the crashes come up again in 3.6 I'll break the rig on purpose and share it. Thanks !
Author

Alright I crashed 3.6 in slightly different conditions. Importing "Link" assets works fine it's the "Append" that's giving trouble. I'm making a new report since it's not the same title...

Alright I crashed 3.6 in slightly different conditions. Importing "Link" assets works fine it's the "Append" that's giving trouble. I'm making a new report since it's not the same title...
Member

Thanks.

Importing "Link" assets works fine it's the "Append" that's giving trouble. I'm making a new report since it's not the same title...

Can we close this instance if crash is not occurring anymore as described above?
We can of course open it anytime when crash reappears.

Thanks. > Importing "Link" assets works fine it's the "Append" that's giving trouble. I'm making a new report since it's not the same title... Can we close this instance if crash is not occurring anymore as described above? We can of course open it anytime when crash reappears.
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-06-15 11:44:27 +02: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
3 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#108967
No description provided.