Skin modifier crashes Blender #54342

Closed
opened 2018-03-16 21:59:05 +01:00 by BlenderSpot · 9 comments

Windows 10

Blender 2.79a 8928d99270

Adding the skin modifier to the stack, after boolean modifier with Union and the BMesh solver, crashes blender. (if the solver is Carve, blender doesn't crash)

Have a cube, then have another cube. Unite these cubes with the boolean modifier (the operation has to be Union) the solver has to be BMesh then add the skin modifier to the stack; and then blender will crash.

Windows 10 Blender 2.79a 8928d99270f Adding the skin modifier to the stack, after boolean modifier with Union and the BMesh solver, crashes blender. (if the solver is Carve, blender doesn't crash) Have a cube, then have another cube. Unite these cubes with the boolean modifier (the operation has to be Union) the solver has to be BMesh then add the skin modifier to the stack; and then blender will crash.
Author

Added subscriber: @unimbox

Added subscriber: @unimbox
Member

Added subscribers: @ideasman42, @LazyDodo

Added subscribers: @ideasman42, @LazyDodo
Member

can confirm the issue on latest master.

cubes.blend

to make repro easier, open file, add skin modifier.

@ideasman42 do i need to add this to #47030 ?

can confirm the issue on latest master. [cubes.blend](https://archive.blender.org/developer/F2446879/cubes.blend) to make repro easier, open file, add skin modifier. @ideasman42 do i need to add this to #47030 ?

Added subscriber: @rob_dodd6

Added subscriber: @rob_dodd6

(Disclaimer: I'm completely new to Blender dev, and I randomly picked this bug to have a look at to try to figure out the code. I've think I've tracked it to a certain point, described below, but please use caution when trusting what I say...)

This seems to be caused by the boolean modifier creating a DerivedMesh with a vertData layer of type CD_MVERT_SKIN, but with the radius set to 0 (or actually just never filled in). I've so far failed to find out where that should actually get filled in.

This causes a whole bunch of NAN's to be spat out into the vertex data of the convex hulls of the Skin modifier.

Hope that's helpful! Apologies if it's wrong/obvious.

(Disclaimer: I'm completely new to Blender dev, and I randomly picked this bug to have a look at to try to figure out the code. I've *think* I've tracked it to a certain point, described below, but please use caution when trusting what I say...) This seems to be caused by the boolean modifier creating a DerivedMesh with a vertData layer of type CD_MVERT_SKIN, but with the radius set to 0 (or actually just never filled in). I've so far failed to find out where that should actually get filled in. This causes a whole bunch of NAN's to be spat out into the vertex data of the convex hulls of the Skin modifier. Hope that's helpful! Apologies if it's wrong/obvious.

Added subscriber: @idlecode

Added subscriber: @idlecode

Added subscriber: @mano-wii

Added subscriber: @mano-wii

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Germano Cavalcante self-assigned this 2020-01-20 19:45:03 +01:00

I cannot reproduce this with either blender 2.79b or current development versions of Blender.

I believe the problem has already been solved.

I cannot reproduce this with either blender 2.79b or [current development versions ](https://builder.blender.org/download/) of Blender. I believe the problem has already been solved.
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
5 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#54342
No description provided.