Page MenuHome

Geometry Nodes: Crash when selecting attribute name
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.71

Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-07-12 21:24, hash: rBd6b1d35bf874
Worked: (newest version of Blender that worked as expected)
Caused by rB9009ac2c3d62: Geometry Nodes: new Viewer node

Short description of error
Blender crashes when trying to set an attribute name via the search function

Exact steps for others to reproduce the error
Open the attached blend file.

  1. Click the "A" attribute input of the math node as shown here:
  2. Select the "tmp_x" attribute from the search list
  3. Blender crashes in the attribute_search_exec_fn function.

I don't know how it got into this state, but the error is very repeatable. Closing and reopening the blend file does not help. Removing the nodes and adding them "fresh" from the menu does not help. It crashes with various different attribute names and different input sockets.

Event Timeline

The problem appears to be related to the "Viewer Node" mode of the spreadsheet editor. When i set it back to "Evaluated" the attribute search works correctly.
On cursory inspection it looks like geometry nodes destroys the search data during cleanup after execution.

Pratik Borhade (PratikPB2123) changed the task status from Needs Triage to Confirmed.EditedTue, Jul 13, 3:17 AM

I can confirm the crash. Introduced somewhere between rB4eeec6e9b540 - rB62d9dabc7db4.

Edit: I forget to bisect will do that now

Caused by the commit rB9009ac2c3d62: Geometry Nodes: new Viewer node

Hi @Lukas Toenne (lukastoenne), also crash happens with any random events, not just with the mentioned attribute name and input box :)

[I will mark this as a high priority]

Pratik Borhade (PratikPB2123) triaged this task as High priority.Wed, Jul 14, 2:37 PM
Pratik Borhade (PratikPB2123) updated the task description. (Show Details)