Maniphest T97361

Crash on very specific modifier stack (involving GeoNodes)
Closed, DuplicateBUG

Assigned To
None
Authored By
Demeter Dzadik (Mets)
Apr 15 2022, 6:22 PM
Tags
  • BF Blender
  • EEVEE & Viewport
Subscribers
Demeter Dzadik (Mets)
Hans Goudey (HooglyBoogly)
Kévin Dietrich (kevindietrich)

Description

System Information
Operating system: Linux-5.16.15-76051615-generic-x86_64-with-glibc2.34 64 Bits
Graphics card: NVIDIA GeForce RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 470.86

Blender Version
Broken: version: 3.2.0 Alpha, branch: master, commit date: 2022-04-15 15:15, hash: rB7484f274dcdc

Short description of error
I found a 100% reproducible crash, although it seems to be VERY specific. The modifier stack from top to bottom is Armature, Subsurf, GeoNode, Subsurf, GeoNode, with the latter 4 disabled. If enabling the FIRST subsurf modifier, Blender always crashes. If any of the modifiers are enabled or removed first, then everything is fine.

Exact steps for others to reproduce the error

  • File:
  • Enable the "enable me!" modifier.

Event Timeline

Demeter Dzadik (Mets) created this task.Apr 15 2022, 6:22 PM
Hans Goudey (HooglyBoogly) changed the task status from Needs Triage to Confirmed.Apr 15 2022, 7:28 PM
Hans Goudey (HooglyBoogly) triaged this task as High priority.
Hans Goudey (HooglyBoogly) changed the subtype of this task from "Report" to "Bug".
Hans Goudey (HooglyBoogly) added a project: EEVEE & Viewport.
Hans Goudey (HooglyBoogly) added subscribers: Kévin Dietrich (kevindietrich), Hans Goudey (HooglyBoogly).

I can confirm this. Looks like the crash is in GPU subdivision code: do_subdiv_traversal. I'm not sure if the "original indices" there refer to CD_ORIGINDEX or just the course mesh. @Kévin Dietrich (kevindietrich), maybe you want to take a look?

Since this is a crash I'll raise the priority.

Kévin Dietrich (kevindietrich) added a comment.Apr 15 2022, 8:09 PM

This is the same issue as T96283, also the subsurf modifier called enable me! is enabled, it is the last one (disabled, with levels set to 0) that is selected for GPU subdivision. The crash gets fixed if you set the levels on the other disabled modifier to 1 though.