Maniphest T93611

Crash on edit mesh with a curve modifier with both a vertex group assigned and the edit mode display option enabled
Closed, Resolved

Assigned To
Philipp Oeser (lichtwerk)
Authored By
Connor Broad (warlrus)
Dec 3 2021, 9:20 PM
Tags
  • BF Blender
  • Modeling
  • Modifiers
Subscribers
Connor Broad (warlrus)
Hans Goudey (HooglyBoogly)
Miles Holt (milesholt)
Philipp Oeser (lichtwerk)

Description

System Information
Operating system: Windows-10-10.0.19043-SP0 64 Bits
Graphics card: NVIDIA GeForce GTX 1080/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: 2.93.6

Caused by rB3b6ee8cee708: Refactor: Move vertex group names to object data

Short description of error
Blender crashes on mesh edit if the mesh has a curve modifier with both a vertex group set and the edit mode display option toggled on.
The crash seems to depend on both being set, both options work normally when used independently (remove the vertex group or turn off the edit mode display option on the modifier and edit will still work).

Exact steps for others to reproduce the error
Open attached .blend file.
Select the plane.
Press tab to go into edit mode - Blender will crash.
Either remove the vertex group or turn off the edit mode display option on the modifier and it won't crash.
Thank you!

Revisions and Commits

rB Blender
D13487
D13487

Event Timeline

Connor Broad (warlrus) created this task.Dec 3 2021, 9:20 PM
Philipp Oeser (lichtwerk) changed the task status from Needs Triage to Confirmed.Dec 6 2021, 9:24 AM
Philipp Oeser (lichtwerk) added projects: Modeling, Modifiers.
Philipp Oeser (lichtwerk) added a subscriber: Philipp Oeser (lichtwerk).

Can confirm, will check.

Philipp Oeser (lichtwerk) claimed this task.Dec 6 2021, 9:48 AM
Philipp Oeser (lichtwerk) triaged this task as High priority.Dec 6 2021, 11:47 AM
Philipp Oeser (lichtwerk) updated the task description.
Philipp Oeser (lichtwerk) added a subscriber: Hans Goudey (HooglyBoogly).

Supposed to inform author of breaking commit, so CC @Hans Goudey (HooglyBoogly) [fix is already in D13487]

Philipp Oeser (lichtwerk) closed this task as Resolved by committing rB0e52af097f9f: Fix T93611: Curve modifier crash in editmode in certain situations.Dec 6 2021, 3:49 PM
Philipp Oeser (lichtwerk) added a commit: rB0e52af097f9f: Fix T93611: Curve modifier crash in editmode in certain situations.
Philipp Oeser (lichtwerk) added a subscriber: Miles Holt (milesholt).
Miles Holt (milesholt) added a comment.EditedDec 16 2021, 1:38 PM

Hi Philipp, thanks for looking into this. But surely it's not resolved if the solution is to not enable it or remove the vertex group? As in my case I need to use the vertex group, but also work with it in edit mode, so both need to be enabled.

Philipp Oeser (lichtwerk) added a comment.Dec 16 2021, 1:42 PM

@Miles Holt (milesholt) : have you checked this in a fresh 3.1 daily build from https://builder.blender.org/download/daily/?

Miles Holt (milesholt) added a comment.Dec 16 2021, 1:48 PM

Ah I see, sorry I was responding to this - 'Either remove the vertex group or turn off the edit mode display option on the modifier and it won't crash.' I'll take a look, thanks!

Philipp Oeser (lichtwerk) added a commit: rB46f5b305e4a6: Fix T93611: Curve modifier crash in editmode in certain situations.Jan 10 2022, 5:04 PM
Philipp Oeser (lichtwerk) added a commit: rB46f5b305e4a6: Fix T93611: Curve modifier crash in editmode in certain situations.