Merge / Delete vertices crashes for some meshes #36923

Closed
opened 2013-10-02 21:58:11 +02:00 by Sv. Lockal · 6 comments
Member

%%%Mesh operations that include that depend on (bmo_delete_exec -> BMO_remove_tagged_context) are unstable in trunk builds.

- Steps for others to reproduce the error (preferably based on attached .blend file) ---

Any of these combination sequences will crash blender.

With torus:
Shift+A 1 0 Tab X 1
Shift+A 1 0 Tab X 2
Shift+A 1 0 Tab X 3

Shift+A 1 0 Tab Alt+M 1
Shift+A 1 0 Tab Alt+M 2
Shift+A 1 0 Tab Alt+M 3
... etc ...

Or with 2 suzannes: Shift+A 1 9 Tab Shift+D Enter A A Alt+M 1

Tested with r60509.

ASAN logs for X1 and Alt+M1 attached.%%%

%%%Mesh operations that include that depend on (bmo_delete_exec -> BMO_remove_tagged_context) are unstable in trunk builds. - Steps for others to reproduce the error (preferably based on attached .blend file) --- Any of these combination sequences will crash blender. With torus: Shift+A 1 0 Tab X 1 Shift+A 1 0 Tab X 2 Shift+A 1 0 Tab X 3 Shift+A 1 0 Tab Alt+M 1 Shift+A 1 0 Tab Alt+M 2 Shift+A 1 0 Tab Alt+M 3 ... etc ... Or with 2 suzannes: Shift+A 1 9 Tab Shift+D Enter A A Alt+M 1 Tested with r60509. ASAN logs for X1 and Alt+M1 attached.%%%
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'

%%%can you attach a file right before the crash (so one opens the file and merge to crash)?
I couldn't reproduce the error here, but I may have misinterpreted your instructions.
%%%

%%%can you attach a file right before the crash (so one opens the file and merge to crash)? I couldn't reproduce the error here, but I may have misinterpreted your instructions. %%%
Author
Member

%%%Yes, open torus.blend from attachments and merge at center. Note that this is a heap-use-after-free problem, so it may survive the first attempt (but not with address-sanitizer). If you undo and repeat merge few times, blender will crash in no time.%%%

%%%Yes, open torus.blend from attachments and merge at center. Note that this is a heap-use-after-free problem, so it may survive the first attempt (but not with address-sanitizer). If you undo and repeat merge few times, blender will crash in no time.%%%

%%%it doesn't seem to crash here (OSX). I'll leave for Campbell to handle. It may help to know your OS/building setup and if this happens with the official 2.69RC.%%%

%%%it doesn't seem to crash here (OSX). I'll leave for Campbell to handle. It may help to know your OS/building setup and if this happens with the official 2.69RC.%%%

%%%Strange nobody noticed this before, fixed r60523. and added asserts to catch any other occurrences of this bug (deleting while iterating).%%%

%%%Strange nobody noticed this before, fixed r60523. and added asserts to catch any other occurrences of this bug (deleting while iterating).%%%

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' 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
3 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#36923
No description provided.