Crash on file open #69054

Closed
opened 2019-08-22 16:20:58 +02:00 by Samer Muar · 17 comments

System Information
Operating system: macos 10.14.6 (18G87)
Graphics card:

  • Radeon Pro Vega 20 4 GB
  • Intel UHD Graphics 630 1536 MB

Blender Version
Broken:

  • 2.80 ,official release (2019-07-30)
  • 2.81.0 189aa32a3a, 2019-08-21

Short description of error
First Crash happened while working on Action Animations.
File won't open any longer (crashes everytime)

Exact steps for others to reproduce the error

  • low poly mesh with Low res UV, (texture and material node setup)
  • eevee
  • Armature
  • two open windows (main + side), side has 6 3d views, main has 3d view, timeline and dropsheet (action editor) open
  • multiple set actions

Crashed while trying to set locRotScale on bones
FantasyRivals.crash.txt

SystemCrashTrace.txt

FantasyRivals.blend

**System Information** Operating system: macos 10.14.6 (18G87) Graphics card: - Radeon Pro Vega 20 4 GB - Intel UHD Graphics 630 1536 MB **Blender Version** Broken: - 2.80 ,official release (2019-07-30) - 2.81.0 189aa32a3ac0, 2019-08-21 **Short description of error** First Crash happened while working on Action Animations. File won't open any longer (crashes everytime) **Exact steps for others to reproduce the error** - low poly mesh with Low res UV, (texture and material node setup) - eevee - Armature - two open windows (main + side), side has 6 3d views, main has 3d view, timeline and dropsheet (action editor) open - multiple set actions Crashed while trying to set locRotScale on bones [FantasyRivals.crash.txt](https://archive.blender.org/developer/F7686905/FantasyRivals.crash.txt) [SystemCrashTrace.txt](https://archive.blender.org/developer/F7686909/SystemCrashTrace.txt) [FantasyRivals.blend](https://archive.blender.org/developer/F7686906/FantasyRivals.blend)
Author

Added subscriber: @ardicilliq

Added subscriber: @ardicilliq

Added subscriber: @AbidMaqbool

Added subscriber: @AbidMaqbool

@ardicilliq Umm! By following same steps you can reproduce the error again?
This file is crashing...

@ardicilliq Umm! By following same steps you can reproduce the error again? This file is crashing...
Author

@AbidMaqbool it's the second time it happened with this project... the first time it happened I managed to reopen it by recovering the last session, but this time I accidentally clicked on another project first and I can't open the file now.... I tried to open it on windows as well (2.81 2019-08-22)....
I can try to reproduce it with a new project.... but I really hope to save this one... :(

@AbidMaqbool it's the second time it happened with this project... the first time it happened I managed to reopen it by recovering the last session, but this time I accidentally clicked on another project first and I can't open the file now.... I tried to open it on windows as well (2.81 2019-08-22).... I can try to reproduce it with a new project.... but I really hope to save this one... :(

Added subscriber: @dfelinto

Added subscriber: @dfelinto

It certainly help a lot if you can reproduce from scratch. Regardless, was this file made entirely with 2.80 official release?

This seems like a bug in the derived mesh code generation of normals. Maybe a race condition. It breaks consistently:

Thread 7 "blender" received signal SIGSEGV, Segmentation fault.
#0  mesh_calc_normals_poly_prepare_cb (userdata=0x7fff9a8b74b0, pidx=1024, UNUSED_tls=0x7fff9c8bc4d0) at //source/blender/blenkernel/intern/mesh_evaluate.c:255

Full thread 7 backtrace: P1080
And from other threads: P1079

Or even better, when running with -t 1 --debug-depsgraph-no-threads: P1081

It certainly help a lot if you can reproduce from scratch. Regardless, was this file made entirely with 2.80 official release? This seems like a bug in the derived mesh code generation of normals. Maybe a race condition. It breaks consistently: ``` Thread 7 "blender" received signal SIGSEGV, Segmentation fault. #0 mesh_calc_normals_poly_prepare_cb (userdata=0x7fff9a8b74b0, pidx=1024, UNUSED_tls=0x7fff9c8bc4d0) at //source/blender/blenkernel/intern/mesh_evaluate.c:255 ``` Full thread 7 backtrace: [P1080](https://archive.blender.org/developer/P1080.txt) And from other threads: [P1079](https://archive.blender.org/developer/P1079.txt) Or even better, when running with `-t 1 --debug-depsgraph-no-threads`: [P1081](https://archive.blender.org/developer/P1081.txt)
Author

I'm currently trying to repro from scratch... although haven't been able to yet...
The project was originally created with one of the 2.8 beta version... Unfortunately I can't remember which one and I already deleted It (because of the first crash I described above) I pretty sure it was a version from 2019-03-30~
after the first crash it occurred to be that there might be newer versions so I then downloaded the official 2.80...
The model wasn't started from scratch though ... It's from a fbx file (adding file to comment: SK_BR_Character_RedDemon_01.fbx)
and here is the texture it's using: FantasyRivals_Texture_01_A.png

I'm currently trying to repro from scratch... although haven't been able to yet... The project was originally created with one of the 2.8 beta version... Unfortunately I can't remember which one and I already deleted It (because of the first crash I described above) I pretty sure it was a version from 2019-03-30~ after the first crash it occurred to be that there might be newer versions so I then downloaded the official 2.80... The model wasn't started from scratch though ... It's from a fbx file (adding file to comment: [SK_BR_Character_RedDemon_01.fbx](https://archive.blender.org/developer/F7687352/SK_BR_Character_RedDemon_01.fbx)) and here is the texture it's using: ![FantasyRivals_Texture_01_A.png](https://archive.blender.org/developer/F7687356/FantasyRivals_Texture_01_A.png)
Author
that's the link to the download of the blender: https://builder.blender.org/download/blender-2.80-047081841113-OSX-10.9-x86_64.zip

Added subscriber: @ideasman42

Added subscriber: @ideasman42

If the bad file was created with a beta version and you cannot reproduce with 2.80 and on there may be nothing we can do. We are to remove DerivedMesh entirely maybe that will help your case.
@ideasman42 any 2 cents here?

If the bad file was created with a beta version and you cannot reproduce with 2.80 and on there may be nothing we can do. We are to remove DerivedMesh entirely maybe that will help your case. @ideasman42 any 2 cents here?
Author

@dfelinto So there is no way newer release can fix this file or at least make it open so I can somehow export the animations?
Is it possible to somehow get the beta version and try it there? because the crash happened in the official version (the crash that happened in the official version is the one the corrupted it)

@dfelinto So there is no way newer release can fix this file or at least make it open so I can somehow export the animations? Is it possible to somehow get the beta version and try it there? because the crash happened in the official version (the crash that happened in the official version is the one the corrupted it)
Author

Can I manually remove DerivedMesh if I download the source code? can I compile the a local version and fix it there? or somehow comment the crashing code so I can at least save the contents of the file?

Can I manually remove DerivedMesh if I download the source code? can I compile the a local version and fix it there? or somehow comment the crashing code so I can at least save the contents of the file?

Animations are fine, the issue is somewhere in the mesh. So you can just open a new file and Append the actions from your problematic file.
Here, your FBX imported with the Actions appended from your original .blend:

FantasyRivals_animations.blend

Animations are fine, the issue is somewhere in the mesh. So you can just open a new file and Append the actions from your problematic file. Here, your FBX imported with the Actions appended from your original .blend: [FantasyRivals_animations.blend](https://archive.blender.org/developer/F7689857/FantasyRivals_animations.blend)
Author

@dfelinto Omg I can't thank you enough! Im already knees deep in trying to debug the whole thing, I've already built the project and everything...
So the mesh is problematic?
Should I fix something there?
Do you think it might happen again with this mesh?
And how can I export the animations like you did in case in happens again?

Thanks a lot of the effort again... really appreciate it...

@dfelinto Omg I can't thank you enough! Im already knees deep in trying to debug the whole thing, I've already built the project and everything... So the mesh is problematic? Should I fix something there? Do you think it might happen again with this mesh? And how can I export the animations like you did in case in happens again? Thanks a lot of the effort again... really appreciate it...

Since you will now work from the official, stable 2.80 from scratch, I really hope you don't run into any issues. If you do, though, we will be more able to tackle it as a bug.

So the mesh is problematic?

Yes. It seems corrupted.

Should I fix something there?

Not really, just carry on using Blender.

Do you think it might happen again with this mesh?

No idea. I hope it does so we can find and fix the bug, if there is one ;)

And how can I export the animations like you did in case in happens again?

I didn't export. I imported them in the other file. Look at the Blender manual on Appending datablocks from other .blend files.

Since you will now work from the official, stable 2.80 from scratch, I really hope you don't run into any issues. If you do, though, we will be more able to tackle it as a bug. > So the mesh is problematic? Yes. It seems corrupted. > Should I fix something there? Not really, just carry on using Blender. > Do you think it might happen again with this mesh? No idea. I hope it does so we can find and fix the bug, if there is one ;) > And how can I export the animations like you did in case in happens again? I didn't export. I imported them in the other file. Look at the Blender manual on Appending datablocks from other .blend files.
Author

Googled How to do it :D
Should work for me.. I'll just have to save often so I won't lose too much progress if it happens again (hopefully it won't with a new created project)

So you can close the ticket I guess, if you say it's lost anyways and I got my animations :D.

Googled How to do it :D Should work for me.. I'll just have to save often so I won't lose too much progress if it happens again (hopefully it won't with a new created project) So you can close the ticket I guess, if you say it's lost anyways and I got my animations :D.

Closed as duplicate of #68629

Closed as duplicate of #68629
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#69054
No description provided.