File will not append, error "EXCEPTION_ACCESS_VIOLATION" due to 0 <= 0 #52099

Closed
opened 2017-07-18 01:34:58 +02:00 by Karl · 15 comments

System Information
Blender 2.78c, latest version from downloads page, Windows 8.1, this test has been repeated on several systems with varying hardware but the same blender versions and operating system

Blender Version
Blender 2.78c suffers problems, earlier versions (tested 2.65a and 2.77a) don't but those older don't support all rig features included in this file (bendy bones)

Short description of error and steps to reproduce it
Upon attempting to append the attached file (all objects selected) into another blender file (one already containing objects or a blank one), using the default options for appending but with "active layer" unticked, blender crashes. Using the command prompt lets me find errors including:

ID user decrement error: ACPoseLib (from 'D:\Users[username]\Downloads[folder2][folder1]\fileSmall.blend'): 0 <= 0
ID user decrement error: MEshape.IK.Pole.Arm.L (from 'D:\Users[username]\Downloads[folder2][folder1]\fileSmall.blend'): 0 <= 0
Error: EXCEPTION_ACCESS_VIOLATION

and

ID user decrement error: MECube.002 (from 'D:\Users[username][folder][folder][folder][filename].blend'): 0 <= 0
Error: EXCEPTION_ACCESS_VIOLATION

If the pose library is deleted from the object Pilot_Metarig then the ACPoseLib error doesn't occur, but the others still occur.

Attempting to append any single object alone, or certain groups of objects at once, does not cause such a crash.

Attempts were made to get full error logs using, in command line, blender.exe --debug-all but too much text in the command line was generated so could not be copied to post here.

File which causes the bug is attached, please do not share, I hope to delete this file from here once the bug has been diagnosed
Pilot_16_07_2017_3.zip

Thank you

**System Information** Blender 2.78c, latest version from downloads page, Windows 8.1, this test has been repeated on several systems with varying hardware but the same blender versions and operating system **Blender Version** Blender 2.78c suffers problems, earlier versions (tested 2.65a and 2.77a) don't but those older don't support all rig features included in this file (bendy bones) **Short description of error and steps to reproduce it** Upon attempting to append the attached file (all objects selected) into another blender file (one already containing objects or a blank one), using the default options for appending but with "active layer" unticked, blender crashes. Using the command prompt lets me find errors including: ID user decrement error: ACPoseLib (from 'D:\Users\[username]\Downloads\[folder2]\[folder1]\fileSmall.blend'): 0 <= 0 ID user decrement error: MEshape.IK.Pole.Arm.L (from 'D:\Users\[username]\Downloads\[folder2]\[folder1]\fileSmall.blend'): 0 <= 0 Error: EXCEPTION_ACCESS_VIOLATION and ID user decrement error: MECube.002 (from 'D:\Users\[username]\[folder]\[folder]\[folder]\[filename].blend'): 0 <= 0 Error: EXCEPTION_ACCESS_VIOLATION If the pose library is deleted from the object Pilot_Metarig then the ACPoseLib error doesn't occur, but the others still occur. Attempting to append any single object alone, or certain groups of objects at once, does not cause such a crash. Attempts were made to get full error logs using, in command line, blender.exe --debug-all but too much text in the command line was generated so could not be copied to post here. File which causes the bug is attached, please do not share, I hope to delete this file from here once the bug has been diagnosed [Pilot_16_07_2017_3.zip](https://archive.blender.org/developer/F670407/Pilot_16_07_2017_3.zip) Thank you
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @Test0004

Added subscriber: @Test0004

Added subscriber: @mont29

Added subscriber: @mont29

Please always try the latest build from our buildbot, will be much more up-to-date than latest official release usually.

Please always try the latest build from [our buildbot](https://builder.blender.org/download), will be much more up-to-date than latest official release usually.
Author

Ok, it seems to work with the latest build from the top row of the bot (blender-2.78-66383ea-win64\blender-2.78.0-git.66383ea-windows64). But I need to know whether that means that there is a bug in my file (if so how can I trace it to an exact thing I need to correct?) or whether it is just a problem with the 2.78c blender version and whether the next stable release of blender will happily append my file? I don't think I can start using the latest build from the build bot for my continued work as this file is part of a project, so I need to either know whether it will work with the next blender release (and future versions) or how to fix it so it can work with the current 2.78 stale release. If it's a bug in my file can you point to any detailed guides on how to track down exactly what is wrong?
Thanks

Ok, it seems to work with the latest build from the top row of the bot (blender-2.78-66383ea-win64\blender-2.78.0-git.66383ea-windows64). But I need to know whether that means that there is a bug in my file (if so how can I trace it to an exact thing I need to correct?) or whether it is just a problem with the 2.78c blender version and whether the next stable release of blender will happily append my file? I don't think I can start using the latest build from the build bot for my continued work as this file is part of a project, so I need to either know whether it will work with the next blender release (and future versions) or how to fix it so it can work with the current 2.78 stale release. If it's a bug in my file can you point to any detailed guides on how to track down exactly what is wrong? Thanks

Added subscriber: @CadenMitchell-3

Added subscriber: @CadenMitchell-3

I get this error on 2.8 when using cell fracture.

I get this error on 2.8 when using cell fracture.

@CadenMitchell-3 please do not mix totally different things, “using cellfracture in 2.8” has most certainly nothing to see with “appending some data in 2.78c”…

@Test0004 It means this was a bug in 2.78 that has already been fixed in master (and hence will not exist anymore in 2.79). Anyway, thanks for the report, but we ca

@CadenMitchell-3 please do not mix totally different things, “using cellfracture in 2.8” has most certainly nothing to see with “appending some data in 2.78c”… @Test0004 It means this was a bug in 2.78 that has already been fixed in master (and hence will not exist anymore in 2.79). Anyway, thanks for the report, but we ca

@CadenMitchell-3 please do not mix totally different things, “using cellfracture in 2.8” has most certainly nothing to see with “appending some data in 2.78c”…

@Test0004 It means this was a bug in 2.78 that has already been fixed in master (and hence will not exist anymore in 2.79). Anyway, thanks for the report, but we ca

@CadenMitchell-3 please do not mix totally different things, “using cellfracture in 2.8” has most certainly nothing to see with “appending some data in 2.78c”… @Test0004 It means this was a bug in 2.78 that has already been fixed in master (and hence will not exist anymore in 2.79). Anyway, thanks for the report, but we ca

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Bastien Montagne self-assigned this 2017-07-19 07:09:22 +02:00

… can close it now. :)

… can close it now. :)
Author

Bastien Montagne: your message cuts off at ", but we ca" is there something you meant to say which isn't loading for me?

So if it's a bug in blender not in my file why has only this file been affected? Is there anything more I can do to track what in my file caused the issue, so I know how to handle things like this without having to wait for the next stable blender version? (This is a file that is part of a project so I need to stick to stable releases for everything except brief tests of things). Are there any good beginners guides to tracking down problems in files?
Thanks

Bastien Montagne: your message cuts off at ", but we ca" is there something you meant to say which isn't loading for me? So if it's a bug in blender not in my file why has only this file been affected? Is there anything more I can do to track what in my file caused the issue, so I know how to handle things like this without having to wait for the next stable blender version? (This is a file that is part of a project so I need to stick to stable releases for everything except brief tests of things). Are there any good beginners guides to tracking down problems in files? Thanks
Author

P.S. Is there any way to delete the attached file now?

P.S. Is there any way to delete the attached file now?
Contributor

Added subscriber: @AndresStephens

Added subscriber: @AndresStephens
Contributor

If loading the scene causes an issue with an Error: EXCEPTION_ACCESS_VIOLATION - it is caused when you load the scene with "Load UI" turned on.

Better turn it off and then load that scene. Then when you append from that same scene, you won't get the issue. I think it may write a tag to the scene or settings that it shouldn't load UI

If you append the group with a scene with this issue, either causing:

'ID user decrement error: ARArmature (from 'V:\path\project\Scenes\RIG\Bunny_Rig_A32.blend'): 0 <= 0'
or
'Error: EXCEPTION_ACCESS_VIOLATION'
or
'ID user count error: OBBottom_Teeth MESH (from 'PATH\Bunny_Rig_A33.blend')'

It's due to that, blender not being able to load the UI from that particular scene. Laod the scene without the UI of that scene, and it will fix it...... don't ask me how I found how, and yes, I spent 8 hours trying to figure it out.

If loading the scene causes an issue with an Error: EXCEPTION_ACCESS_VIOLATION - it is caused when you load the scene with "Load UI" turned on. Better turn it off and then load that scene. Then when you append from that same scene, you won't get the issue. I think it may write a tag to the scene or settings that it shouldn't load UI If you append the group with a scene with this issue, either causing: 'ID user decrement error: ARArmature (from 'V:\path\project\Scenes\RIG\Bunny_Rig_A32.blend'): 0 &lt;= 0' or 'Error: EXCEPTION_ACCESS_VIOLATION' or 'ID user count error: OBBottom_Teeth MESH (from 'PATH\Bunny_Rig_A33.blend')' It's due to that, blender not being able to load the UI from that particular scene. Laod the scene without the UI of that scene, and it will fix it...... don't ask me how I found how, and yes, I spent 8 hours trying to figure it out.
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#52099
No description provided.