Crash on undo or deleting an armature #40998

Closed
opened 2014-07-09 03:17:51 +02:00 by Yousef Harfoush · 10 comments

System Information
windows 8.1 x64, geforce 660

Blender Version
Broken: since 2.70
Worked: 2.69

Short description of error
Crash on undo or deleting an armature

Exact steps for others to reproduce the error
in the armature in the attached file, try to delete it, or move in pose mode and undo, it will crash.

compiled using scons and mingw, also tested msvc2013

the file:
ep1_err.blend

**System Information** windows 8.1 x64, geforce 660 **Blender Version** Broken: since 2.70 Worked: 2.69 **Short description of error** Crash on undo or deleting an armature **Exact steps for others to reproduce the error** in the armature in the attached file, try to delete it, or move in pose mode and undo, it will crash. compiled using scons and mingw, also tested msvc2013 the file: [ep1_err.blend](https://archive.blender.org/developer/F97135/ep1_err.blend)
Author
Member

Changed status to: 'Open'

Changed status to: 'Open'
Author
Member

Added subscriber: @bat3a

Added subscriber: @bat3a

Added subscriber: @Sergey

Added subscriber: @Sergey

This is actually a corrupted file. It worked before because of some specifics of old memory allocator we used. The same behavior you'll have running blender with --debug-memory command line argument.

But the root of the issue comes to the fact that your object has an unknown type of constraint. You can see it by running this in the python console: C.object.constraints[0]

In order to fix the issue we need to know how exactly to reproduce such a situation from scratch.

This is actually a corrupted file. It worked before because of some specifics of old memory allocator we used. The same behavior you'll have running blender with --debug-memory command line argument. But the root of the issue comes to the fact that your object has an unknown type of constraint. You can see it by running this in the python console: C.object.constraints[0] In order to fix the issue we need to know how exactly to reproduce such a situation from scratch.
Author
Member
In order to fix the issue we need to know how exactly to reproduce such a situation from scratch.

it's a simple armature with ik constraint nothing more, made in 2.5x series, and there are no error in 2.69 and works as expected, if the file is corrupt i imported the rig in an new file, and had the same error after v.2.69, does this help?

is there anything i can help with?

thank you.

``` In order to fix the issue we need to know how exactly to reproduce such a situation from scratch. ``` it's a simple armature with ik constraint nothing more, made in 2.5x series, and there are no error in 2.69 and works as expected, if the file is corrupt i imported the rig in an new file, and had the same error after v.2.69, does this help? is there anything i can help with? thank you.

No, it does not help. As said -- we need to know how to reproduce such a corrupted file from a file which is NOT corrupted. We can't do anything about this file really.

Blender 2.69 worked because it used different memory allocator, which is now available if you use --debug-memory command line argument. Blender 2.69 just silently ignored the whole bunch of errors in this case, you can see all of them if you open the console. This was changed in order to make memory allocator much more friendly for threading (as a part of threaded depsgraph project).

So in order to solve the actual issue we need to fix a bug which allowed you to corrupt constraints stack, but for this we really do need to know how to produce such situation from scratch (or at least non-corrupted file).

No, it does not help. As said -- we need to know how to reproduce such a corrupted file from a file which is NOT corrupted. We can't do anything about this file really. Blender 2.69 worked because it used different memory allocator, which is now available if you use `--debug-memory` command line argument. Blender 2.69 just silently ignored the whole bunch of errors in this case, you can see all of them if you open the console. This was changed in order to make memory allocator much more friendly for threading (as a part of threaded depsgraph project). So in order to solve the actual issue we need to fix a bug which allowed you to corrupt constraints stack, but for this we really do need to know how to produce such situation from scratch (or at least non-corrupted file).
Author
Member

so importing the old file in a new file doesn't solve the corruption, then do you recommend anything to rescue my file?

thank you.

so importing the old file in a new file doesn't solve the corruption, then do you recommend anything to rescue my file? thank you.

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2014-07-10 00:12:06 +02:00

Go to 2.69, add a new armature with single bone, go object data buttons, change armature datablock from Armature to afkar.Arm.001, delete old armature, save. File should work fine in new blender as well.

You would probably want to copy-paste pose as well.

This is all rather workaround, as said -- real fix could only be done when we know for sure how to produce such a file. For until then i'm gonna to archive the report.

Go to 2.69, add a new armature with single bone, go object data buttons, change armature datablock from Armature to afkar.Arm.001, delete old armature, save. File should work fine in new blender as well. You would probably want to copy-paste pose as well. This is all rather workaround, as said -- real fix could only be done when we know for sure how to produce such a file. For until then i'm gonna to archive the report.
Author
Member

that worked.

thanks

that worked. thanks
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#40998
No description provided.