Adding subdivision modifier to a certain mesh causes segfault #50931

Closed
opened 2017-03-12 17:35:05 +01:00 by Joel Palmius · 5 comments

System Information

Ubuntu 16.04 (64-bit), geforce nvidia gtx 980 ti + geforce nvidia gtx 980.

Blender Version

Broken: 2.78 (first release, not a, b or c)

Short description of error

A specific mesh is able to cause a segfault in blender when adding a subdivision modifier.

Exact steps for others to reproduce the error

I have imported a mesh using MHX2. When adding a subdivision modivier to the mesh, it disappears (is no longer visible in viewport). Trying to get around this, I join it with a cube, and then add the subdivision modifier. This causes blender to segfault.

I am able to reproduce the error by repeating the whole procedure. I'm here attaching a blend file with the step immediately before the crash. For me, if adding a subdivision modifier as a next step to the toga joined with cube object, the crash happens.

toga_crash.blend

No other mesh I have causes the disappearance nor the segfault.

Also attaching crash log

LightRoom2.crash.txt

**System Information** Ubuntu 16.04 (64-bit), geforce nvidia gtx 980 ti + geforce nvidia gtx 980. **Blender Version** Broken: 2.78 (first release, not a, b or c) **Short description of error** A specific mesh is able to cause a segfault in blender when adding a subdivision modifier. **Exact steps for others to reproduce the error** I have imported a mesh using MHX2. When adding a subdivision modivier to the mesh, it disappears (is no longer visible in viewport). Trying to get around this, I join it with a cube, and then add the subdivision modifier. This causes blender to segfault. I am able to reproduce the error by repeating the whole procedure. I'm here attaching a blend file with the step immediately before the crash. For me, if adding a subdivision modifier as a next step to the toga joined with cube object, the crash happens. [toga_crash.blend](https://archive.blender.org/developer/F507827/toga_crash.blend) No other mesh I have causes the disappearance nor the segfault. Also attaching crash log [LightRoom2.crash.txt](https://archive.blender.org/developer/F507828/LightRoom2.crash.txt)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @joepal

Added subscriber: @joepal

Added subscriber: @mont29

Added subscriber: @mont29

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Bastien Montagne self-assigned this 2017-03-14 15:13:53 +01:00

That mesh is invalid (use C.object.data.validate(1) in py console with said mesh active, and see messages in system console - it will also fix its issues…).

That mesh is invalid (use `C.object.data.validate(1)` in py console with said mesh active, and see messages in system console - it will also fix its issues…).
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
No Assignees
2 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#50931
No description provided.