Maniphest T94442

Extruding first vertex of a spline with GN modifier enabled causes a crash
Closed, ResolvedBUG

Assigned To
Hans Goudey (HooglyBoogly)
Authored By
slowburn (slowburn)
Dec 28 2021, 5:38 PM
Tags
  • BF Blender
  • Nodes & Physics
  • Geometry Nodes
Subscribers
Hans Goudey (HooglyBoogly)
slowburn (slowburn)

Description

System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 497.09

Blender Version
Broken: version: 3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: rBf1cca3055776
Worked: not sure
Short description of error
I have a file with a simple Geometry Nodes modifier on a curve and extruding first vertex of a spline (based on direction) causes Blender to crash. It doesn't happen 100% of the time, but after a couple of extrudes it eventually crashes. Also it only happens if vertex has handle type set to Vector or spline type is Poly.

Exact steps for others to reproduce the error

  • Use the provided file
  • Extrude first vertex (one on the top in the viewport) on either of the curves
  • Repeat until Blender crashes

Revisions and Commits

rB Blender

Event Timeline

slowburn (slowburn) created this task.Dec 28 2021, 5:38 PM
Hans Goudey (HooglyBoogly) changed the task status from Needs Triage to Confirmed.Dec 28 2021, 7:17 PM
Hans Goudey (HooglyBoogly) claimed this task.
Hans Goudey (HooglyBoogly) changed the subtype of this task from "Report" to "Bug".
Hans Goudey (HooglyBoogly) added projects: Nodes & Physics, Geometry Nodes.
Hans Goudey (HooglyBoogly) added a subscriber: Hans Goudey (HooglyBoogly).

Thanks for the report. I can confirm the crash and I've found a fix.

Hans Goudey (HooglyBoogly) closed this task as Resolved by committing rB4cbcfd22f5d2: Fix T94442: Trim curve node can crash with duplicate point.Dec 28 2021, 7:22 PM
Hans Goudey (HooglyBoogly) added a commit: rB4cbcfd22f5d2: Fix T94442: Trim curve node can crash with duplicate point.
Philipp Oeser (lichtwerk) added a commit: rB512014f04216: Fix T94442: Trim curve node can crash with duplicate point.Jan 11 2022, 10:38 AM