Crash [or faulty eevee render] when opening UDIM_monster #93797
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#93797
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Linux-5.13.0-7620-generic-x86_64-with-glibc2.33 64 Bits
Graphics card: Radeon RX Vega (VEGA10, DRM 3.41.0, 5.13.0-7620-generic, LLVM 12.0.0) AMD 4.6 (Core Profile) Mesa 21.2.2
Blender Version
Broken: version: 3.1.0 Alpha, branch: master, commit date: 2021-12-07 07:55, hash:
1de3636624
Worked: before
d5efda72f5
The crash is that during preview rendering NTscales where the second node refers to uninitialized memory. (0xffffffffff).
node_shader_tree.cc#localize
Short description of error
When opening UDIM_monster from the command line blender crashes.
Exact steps for others to reproduce the error
--open-last
option and it crashes.Additional: seems to crash now always.... even release builds.
system-info.txt
Added subscriber: @Jeroen-Bakker
Crash when opening file from command line.to Crash when opening UDIM_monsterAdded subscriber: @lichtwerk
Hm, seems like I cannot repro here
Added subscriber: @deadpin
Here's the ASAN report and it more or less matches the initial stack above:
udim-crash.txt
Changed status from 'Needs Triage' to: 'Confirmed'
Added subscriber: @Blendify
What I do see though that the monster renders differently in Eevee (and for that, that file can be opened "normally", meaning you dont have to do the dance with
--open-last
), Cycles is fine though:before
d5efda72f5
after
d5efda72f5
CC @Blendify
Crash when opening UDIM_monsterto Crash [or fauly eevee render] when opening UDIM_monsterCrash [or fauly eevee render] when opening UDIM_monsterto Crash [or faulty eevee render] when opening UDIM_monsterThe code in localize was changed. Fixing that will fix the crash, but the result is still broken and looks like Philipp's above. Haven't been able to find out the reason though.
Before
This issue was referenced by
ae5a89e80a
Changed status from 'Confirmed' to: 'Resolved'
Thanks guys for the analysis, with that it was trivial to fix the crash/undefined-behavior. There are still the differences in rendering, but this is better handled as a separate issue.
For the record, the Cube Diorama demo file is also broken now. This is how it looks currently: This is how it should look (older 3.0 build, so ignore other differences):
Are we sure that this issue also comes from the same commit?
There's at least one more "mutable" iterator that needs fixup from that same commit, so I'd say so :)
Line ~465 of node_shader_tree.cc
Fixing that one gets this bug, #93798, and the diorama fixed up.
yes
If we close something like this, can we please make sure to have another report open for the remaining issue(s)?
In the end, this might boild down to #93798 (Eevee: Group node shaders do not get compiled when using Mix Shader node), just saying we risk something slipping through this way...
@deadpin : great, could you post a diff or something in #93798 then?
Yes we were actively looking at it and discussing the situation (in person in the Studio & in #blender-coders). Decision is to revert the commit and let it go through a proper review first (to catch these errors and address other C++ code style problems).