Crash with to_mesh() on tapered bezier curve #86871
Labels
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
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#86871
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows 10 Pro, Build 1909
Graphics card: NVIDIA GeForce GTX 1050 Ti
Blender Version
Broken: 2.93.0,
3ea1779365
master, 2021-03-23Broken since at least 2.90.0
Calling
to_mesh()
more than once on a tapered bezier curve will crash blender, but not if it is launched withblender_debug_log.cmd
.To Reproduce
Follow these steps:
bpy.data.objects["BezierCurve"].to_mesh()
Or use the example .blend file:
crashes.blend
Added subscriber: @kbmille6
Added subscriber: @PratikPB2123
Changed status from 'Needs Triage' to: 'Confirmed'
Thanks for the report , can confirm the crash .
Tested on :
Added subscriber: @lichtwerk
Changed status from 'Confirmed' to: 'Needs User Info'
Cant confirm on linux btw. (both Debug and Release builds).
Would be interesting to know if it also crashes when you free the mesh afterwards using
to_mesh_clear()
[I think you are supposed to]?https://docs.blender.org/api/master/bpy.types.Depsgraph.html#dependency-graph-object-to-mesh
@PratikPB2123 : please remember to tag a module when confirming a report, see https://wiki.blender.org/wiki/Process/A_Bugs_Life
But for now, lets see if this still crashes using
to_mesh_clear()
sure @lichtwerk , I always try to add the tag , but not sure about the tag I should add for this crash ( crash was related freeing memory ) .
So is it still happening when calling
to_mesh_clear()
in between?If so, tag would be
Python API
Added a call
bpy.data.objects["BezierCurve"].to_mesh_clear()
in between twoto_mesh()
call ( Still blender crashes ) .Changed status from 'Needs User Info' to: 'Needs Triage'
Changed status from 'Needs Triage' to: 'Confirmed'
can confirm , crash occurs frequently . Still suggest some windows user to test it .
Added subscriber: @povmaniac
I tested here in 2.93 alpha and the crash don't happend anymore. Anyone can confirm this?
Cheers..
still getting the crash. tested again with version :
2.93.0 alpha
, hash :9975af5ffa7
, commit date :2021-03-29
Hi @povmaniac , are you on Windows ??
Added subscriber: @LazyDodo
@lichtwerk can repro, feels like some kind of heap corruption or use after free business, try reproducing with an ASAN build, should pop right up
Yes, I'm on Windows. Finally I can reproduce also in 2.93 alpha
This issue was referenced by
fa7ddd0f43
Changed status from 'Confirmed' to: 'Resolved'
This issue was referenced by
d18be66a54