Maniphest T59395

Subdivision modifier with quality 1 crashes blender.
Closed, ResolvedBUG

Assigned To
Sergey Sharybin (sergey)
Authored By
Jorge Vásquez Pérez (yorch)
Dec 15 2018, 12:21 AM
Tags
  • BF Blender
Subscribers
Brecht Van Lommel (brecht)
Jacques Lucke (JacquesLucke)
Jorge Vásquez Pérez (yorch)
Milan Jaros (jar091)
Sergey Sharybin (sergey)

Description

System Information
Operating system:
Linux 4.19.2-arch1-1-ARCH #1 x86_64 GNU/Linux
Graphics card:
NVIDIA Corporation GP104 [GeForce GTX 1070] (rev a1), drivers for linux ( 410.73-3 )

Blender Version
Broken:
2.80 (sub 37), branch: blender2.8, commit date: 2018-12-14 16:40, hash: ccc09ec1246, type: Release
Worked: (optional)
2.80 (sub 31), branch: blender2.8, commit date: 2018-11-16 18:26, hash: 2c347ebbba9, type: Release

Short description of error
Subdivision modifier crashes blender in some cases when using the simple algorithm.

Exact steps for others to reproduce the error

  1. open attached file.

  1. click in the "Simple" button of the Subdivision modifier.
  2. if crash doesn't occur inmediately, repeat #2 as neede.

Revisions and Commits

rB Blender

Related Objects

Mentioned In
rB5b8503425a49: Fix subdivision surface wrong for non-limit surface and subdivision level 1
D9076: First level of subdiv in non-adaptive mode is wrong.
T60140: Crash ( wild guess) in Deps Graph Evaluation
Mentioned Here
rBccc09ec12463: Merge branch 'master' into blender2.8

Event Timeline

Jorge Vásquez Pérez (yorch) created this task.Dec 15 2018, 12:21 AM
Jorge Vásquez Pérez (yorch) added a project: BF Blender: 2.8.
Jorge Vásquez Pérez (yorch) updated the task description.Dec 15 2018, 1:40 AM
Brecht Van Lommel (brecht) removed a project: BF Blender: 2.8.Dec 17 2018, 11:41 AM
Jacques Lucke (JacquesLucke) assigned this task to Sergey Sharybin (sergey).Dec 17 2018, 4:55 PM
Jacques Lucke (JacquesLucke) lowered the priority of this task from 90 to 50.
Jacques Lucke (JacquesLucke) added subscribers: Sergey Sharybin (sergey), Jacques Lucke (JacquesLucke).

Sry, something for you again @Sergey Sharybin (sergey).

Sergey Sharybin (sergey) added a comment.Dec 18 2018, 5:06 PM

This is actually caused by bug in OpenSubdiv. Good news: it was fixed in upstream revision 0520fc53ffd. Will check with OpenSubdiv team if there is any release planned soon. or whether it's fine to update to a current development branch.

Jorge Vásquez Pérez (yorch) added a comment.Dec 18 2018, 7:51 PM

As always guys, thanks for looking into it.

Sergey Sharybin (sergey) renamed this task from Subdivision modifier with simple algorithm crashes blender. to Subdivision modifier with quality 1 crashes blender..Jan 7 2019, 11:31 AM
Sergey Sharybin (sergey) added a comment.Jan 7 2019, 11:33 AM

Promoting this report to be an entry point to all related issues.

The root of the problem is following:

  • Specific non-quad topology.
  • Infinitely sharp patches which we request from OpenSubdiv.
  • Creases.
  • Subdivision Quality 1 (simple subdivision is a creased mesh with quality 1).

Trying to figure out good solution which is possible without waiting for the next release of OpenSubdiv (which is will take some time, and is not very stable/recommended for production yet) .

Sergey Sharybin (sergey) raised the priority of this task from 50 to High.Jan 7 2019, 11:33 AM
Sergey Sharybin (sergey) merged a task: T60233: Blender crashes using subsurf.
Sergey Sharybin (sergey) added subscribers: Milan Jaros (jar091), Brecht Van Lommel (brecht).
Sergey Sharybin (sergey) changed the task status from Unknown Status to Resolved by committing rBd6d101feca09: Fix T59395: Subdivision modifier with quality 1 crashes blender.Jan 22 2019, 11:57 AM
Sergey Sharybin (sergey) added a commit: rBd6d101feca09: Fix T59395: Subdivision modifier with quality 1 crashes blender.
Brecht Van Lommel (brecht) mentioned this in rB5b8503425a49: Fix subdivision surface wrong for non-limit surface and subdivision level 1.Oct 1 2020, 5:47 PM