Trimmed curve with subsurf crashes Blender #79207

Closed
opened 2020-07-23 23:13:20 +02:00 by Serge Lyatin · 9 comments

System Information
Operating system: win10

Blender Version
Broken: (2.90.2 Alpha, 2.79b)

Short description of error
Curve has 2 beveled splines, one is zero length (see it in edit mode), end is trimmed at 0.99 value with "spline" mode (see curve's data tab).
Enabling subsurf modifier in viewport crashes Blender. Other trimming modes works w/o issue.

Exact steps for others to reproduce the error

  • In an empty scene, add the biezer curve
  • Go to Edit mode
  • Duplicate and move the spline ({key Shift D})
  • Set handle type of the new spline to free ({key V})
  • Scale this new spline to zero ({key S 0})
  • Exit edit mode
  • In Object Data Properties -> Geometry -> Bevel set:
  • Depth: 1.0
  • Bevel End: 0.99
  • Bevel Mapping Start: Spline
  • Bevel Mapping End: Spline
  • Add the subsurf modifier -> crash
    or:
  • Open attached file
  • enable subsurf modifier in viewport -> crash

Curve_subsurf.blend

**System Information** Operating system: win10 **Blender Version** Broken: (2.90.2 Alpha, 2.79b) **Short description of error** Curve has 2 beveled splines, one is zero length (see it in edit mode), end is trimmed at 0.99 value with "spline" mode (see curve's data tab). Enabling subsurf modifier in viewport crashes Blender. Other trimming modes works w/o issue. **Exact steps for others to reproduce the error** - In an empty scene, add the biezer curve - Go to Edit mode - Duplicate and move the spline ({key Shift D}) - Set handle type of the new spline to `free` ({key V}) - Scale this new spline to zero ({key S 0}) - Exit edit mode - In `Object Data Properties` -> `Geometry` -> `Bevel` set: - `Depth`: 1.0 - `Bevel End`: 0.99 - `Bevel Mapping Start`: Spline - `Bevel Mapping End`: Spline - Add the subsurf modifier -> crash or: - Open attached file - enable subsurf modifier in viewport -> crash [Curve_subsurf.blend](https://archive.blender.org/developer/F8716817/Curve_subsurf.blend)
Author

Added subscriber: @SergeL

Added subscriber: @SergeL

Added subscriber: @mano-wii

Added subscriber: @mano-wii

I can confirm. But I can't say if the problem is a corrupted data.
It would be interesting if you described the steps to achieve that curve.

I can confirm. But I can't say if the problem is a corrupted data. It would be interesting if you described the steps to achieve that curve.
Author

It's a result from Animation Nodes, I've fixed zero-length splines (is it considered as corrupted data?) inside it and everything is ok. But still thinking Blender should not crash that hard.

It's a result from Animation Nodes, I've fixed zero-length splines (is it considered as corrupted data?) inside it and everything is ok. But still thinking Blender should not crash that hard.

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

After investigating further I figured out how to recreate the curve.
I edited the description.
Thanks for the report.
Confirming.

After investigating further I figured out how to recreate the curve. I edited the description. Thanks for the report. Confirming.
Sybren A. Stüvel self-assigned this 2020-07-27 15:58:34 +02:00

This issue was referenced by 2c68c92524

This issue was referenced by 2c68c925243707df50f54fbc49f43916f9bc1e4a

This issue was referenced by 2bc017ece1

This issue was referenced by 2bc017ece147bd5556ca524fb9989ab79789f30c

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
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
4 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#79207
No description provided.