Page MenuHome

Geometry Nodes: Attribute Capture crash in specific circumstances
Closed, ArchivedPublic

Description

System Information
Operating system: Windows 10 Pro
Graphics card: NVidia GTX 1060

Blender Version
Broken: 3.0.0 Alpha, branch: master, commit date: 2021-10-02 22:34, hash: 34cf33eb1209, type: release

As per attached blend file, Attribute Capture is causing EXCEPTION_ACCESS_VIOLATION in specific circumstances. Most actions within Geometry Nodes can trigger the crash. It's not guaranteed but it's extremely frequent (within a few actions such as add node, connect node, delete node). However the easiest way is to adjust the input sliders in the Geometry Nodes modifier. It should crash within one second.

I've pinned it down to these circumstances:

  • The Attribute Capture domain is Point
  • The Attribute Capture selected type is NOT float
  • An output attribute exists and has been given a name

Therefore, I've confirmed that any one of these changes will prevent the attached file from crashing when making Geometry Nodes related changes:

  • Change the domain away from Point
  • Change the type to float
  • Clear the name of the output attribute in the Geometry Nodes modifier

Steps to reproduce

  1. Open file
  2. Adjust the input sliders in the Geometry Nodes modifier

Seems to crash only in release build.

Event Timeline

Richard Antalik (ISS) changed the task status from Needs Triage to Needs Information from User.Oct 3 2021, 11:54 PM

I wasn't able to reproduce crash. If I understand this correctly, steps needed are only tweak input values for modifier?

Correct, all I need to do to crash it is adjust any of the input values 1-10 times (dragging any of them with the mouse makes this very fast).

Richard Antalik (ISS) changed the task status from Needs Information from User to Confirmed.Oct 4 2021, 12:57 AM

Can reproduce crash, but only in release build.

I was reminded of T90916 which had similar trace. Checked with ASAN (on MSVC) and got no trace of anything wrong here.

Can you still reproduce the bug? I can't.

I can't reproduce it the beta.

Thanks for checking :)

I have the same crash error on a different node setup T93782
In my case, it is triggered when I stack 2 or more geometry nodes modifiers with a similar setup and try to MODIFY the name of the output attribute in the modifier panel.

I have the same crash error on a different node setup T93782
In my case, it is triggered when I stack 2 or more geometry nodes modifiers with a similar setup and try to MODIFY the name of the output attribute in the modifier panel.

Please create new report.