Hard Crash while baking Line Art Modifier for Geometry Nodes object #126692

Open
opened 2024-08-23 15:35:59 +02:00 by Df · 5 comments

System Information
Operating system: Windows-10-10.0.19045-SP0 64 Bits
Graphics card: NVIDIA TITAN X (Pascal)/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 555.85

Blender Version
Broken: version: 4.2.1 LTS, branch: blender-v4.2-release, commit date: 2024-08-19 11:21, hash: 396f546c9d82
Broken: 4.1.1
Worked: 4.0.2

Short description of error
When I hit the Bake Line Art button on the Grease Pencil Line Art Modifier on the object named LineArt Blender Crashes.

Exact steps for others to reproduce the error

  1. Load attached blend file
  2. Select the object named LineArt
  3. Go to the Modifiers tab of the Properties panel
  4. Click Bake Line Art
  5. Crash! Crashes every time on my machine, log attached

The source object is quirky in a few ways, not sure if they're related to anything

  • it has geometry nodes modifier
  • it has shape keys
  • it has completely overlapping edges in places

One more note - no idea if this is relevant but this file was created on 4.2.0, then I upgraded to 4.2.1 LTS - I'd been having some problems with the grease pencil not showing up in the render without first baking, thought updating might fix it - then stumbled on this issue.

Thanks!

d

**System Information** Operating system: Windows-10-10.0.19045-SP0 64 Bits Graphics card: NVIDIA TITAN X (Pascal)/PCIe/SSE2 NVIDIA Corporation 4.6.0 NVIDIA 555.85 **Blender Version** Broken: version: 4.2.1 LTS, branch: blender-v4.2-release, commit date: 2024-08-19 11:21, hash: `396f546c9d82` Broken: 4.1.1 Worked: 4.0.2 **Short description of error** When I hit the Bake Line Art button on the Grease Pencil Line Art Modifier on the object named LineArt Blender Crashes. **Exact steps for others to reproduce the error** 1. Load attached blend file 2. Select the object named LineArt 3. Go to the Modifiers tab of the Properties panel 4. Click Bake Line Art 5. Crash! Crashes every time on my machine, log attached The source object is quirky in a few ways, not sure if they're related to anything - it has geometry nodes modifier - it has shape keys - it has completely overlapping edges in places One more note - no idea if this is relevant but this file was created on 4.2.0, then I upgraded to 4.2.1 LTS - I'd been having some problems with the grease pencil not showing up in the render without first baking, thought updating might fix it - then stumbled on this issue. Thanks! d
Df added the
Severity
Normal
Type
Bug
Status
Needs Triage
labels 2024-08-23 15:36:00 +02:00
Member

Can confirm.

Can confirm.
Philipp Oeser added
Status
Confirmed
Interest
Line Art
Module
Grease Pencil
and removed
Status
Needs Triage
labels 2024-08-23 16:54:11 +02:00
Member

Looks like this broke between 3df7939eec & 82811cf489.

f2d08d2cbe possibly @ChengduLittleA ?

Looks like this broke between 3df7939eec96 & 82811cf489f4. f2d08d2cbea6477cdd489b75491e4620f66a7de8 possibly @ChengduLittleA ?
Philipp Oeser added
Severity
High
and removed
Severity
Normal
labels 2024-08-23 16:59:23 +02:00
Iliya Katushenock added the
Interest
Geometry Nodes
Interest
Nodes & Physics
labels 2024-08-23 18:33:25 +02:00
Iliya Katushenock added this to the 4.2 LTS milestone 2024-08-23 18:33:46 +02:00
Member

Yepp... Will take a look and see what exact setup caused this to happen.

Yepp... Will take a look and see what exact setup caused this to happen.
YimingWu self-assigned this 2024-08-26 06:28:21 +02:00
Member

Looks like it's crashing in DRW_draw_render_loop_2d_ex > deg_iterator_objects_step where check_datablock_expanded has a null id_cow. Not exactly sure if it's triggered by that change, seems to be that the interface is refreshing (in a input locked state).

the crashing ID seems to be a a node tree named "Reduce With Limit" where the id_node->id_cow is NULL.

Looks like it's crashing in `DRW_draw_render_loop_2d_ex` > `deg_iterator_objects_step` where `check_datablock_expanded` has a null `id_cow`. Not exactly sure if it's triggered by that change, seems to be that the interface is refreshing (in a input locked state). the crashing ID seems to be a a node tree named `"Reduce With Limit"` where the `id_node->id_cow` is NULL.
Member

Hummm I'm not able to reliably reproduce this, what I found is that if I:

  • Open File
  • Goto Modelling workspace and open a geometry nodes editor
  • Switch to the plane object
  • Switch to line art and bake
    • It won't crash no matter how many times I try.
    • However if you go back to the script workspace and bake again, it will crash.
  • Removing that Reduce With Limit node group seems to allow line art to not crash as well.

Not sure what to make of this. I need some depsgraph magicians here :(

Hummm I'm not able to reliably reproduce this, what I found is that if I: - Open File - Goto Modelling workspace and open a geometry nodes editor - Switch to the plane object - Switch to line art and bake - It won't crash no matter how many times I try. - However if you go back to the script workspace and bake again, it will crash. - Removing that `Reduce With Limit` node group seems to allow line art to not crash as well. Not sure what to make of this. I need some depsgraph magicians here :(
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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#126692
No description provided.