Mac M1 saved files crashing on reload. Maybe Asset Library/Browser related? 3.6.6 LTS #115720

Open
opened 2023-12-03 06:43:21 +01:00 by Stephen Hamacek · 9 comments

System Information
Operating system: macOS-12.6.7-arm64-arm-64bit 64 Bits
Graphics card: Metal API Apple M1 Max 1.2

Blender Version
Broken: version: 3.6.6, branch: blender-v3.6-release, commit date: 2023-11-22 18:47, hash: 064a48ad28e3 (also crashing in 4.0)
Worked: (newest version of Blender that worked as expected) Earlier version of 3.6, issue only arose since 3.6.5 I believe

Short description of error
A number of shot files (with library overrides) crash after save and reload. Haven't found a common factor so far.

Exact steps for others to reproduce the error
Open PosterPoses-01, for me it crashes every time (libraries will be missing, but hoping it still works enough to demonstrate)
PosterPosesremaprelateive-02 loads for me. I just did the remapping as a test, it already was loading.

Attaching here a couple of tracebacks from 2 different crashing files. Also attaching an example full Apple crash log

Many thanks in advance for checking it out!

**System Information** Operating system: macOS-12.6.7-arm64-arm-64bit 64 Bits Graphics card: Metal API Apple M1 Max 1.2 **Blender Version** Broken: version: 3.6.6, branch: blender-v3.6-release, commit date: 2023-11-22 18:47, hash: `064a48ad28e3` (also crashing in 4.0) Worked: (newest version of Blender that worked as expected) Earlier version of 3.6, issue only arose since 3.6.5 I believe **Short description of error** A number of shot files (with library overrides) crash after save and reload. Haven't found a common factor so far. **Exact steps for others to reproduce the error** Open PosterPoses-01, for me it crashes every time (libraries will be missing, but hoping it still works enough to demonstrate) PosterPosesremaprelateive-02 loads for me. I just did the remapping as a test, it already was loading. Attaching here a couple of tracebacks from 2 different crashing files. Also attaching an example full Apple crash log Many thanks in advance for checking it out!
Stephen Hamacek added the
Status
Needs Triage
Priority
Normal
Type
Report
labels 2023-12-03 06:43:22 +01:00
Member

Hi, thanks for the report. Unable to redo the crash locally on Windows. Stack-trace has dependency graph related functions.
Guess we would require linked libraries to trigger the crash.

Hi, thanks for the report. Unable to redo the crash locally on Windows. Stack-trace has dependency graph related functions. Guess we would require linked libraries to trigger the crash.
Pratik Borhade added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-12-04 11:49:02 +01:00
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-12-07 11:50:00 +01:00

Thanks Pratik, I just confirmed the same here. Tried the files on Windows and they open. But on my M1 Mac, PosterPoses-01 crashes every time. Is it possible to test on Mac silicon there? It seems it's a Mac only issue and has happened on a number of shots on my (normally Mac only) production recently.

Thanks Pratik, I just confirmed the same here. Tried the files on Windows and they open. But on my M1 Mac, PosterPoses-01 crashes every time. Is it possible to test on Mac silicon there? It seems it's a Mac only issue and has happened on a number of shots on my (normally Mac only) production recently.
Blender Bot added
Status
Needs Triage
and removed
Status
Archived
labels 2023-12-07 11:51:19 +01:00

Sorry I accidentally closed on my last post

Sorry I accidentally closed on my last post
Member

Guess we would require linked libraries to trigger the crash.

Are they required for crash?

Is it possible to test on Mac silicon there

Unfortunately, I don't have. But @mano-wii may able to check 🙂

> Guess we would require linked libraries to trigger the crash. Are they required for crash? > Is it possible to test on Mac silicon there Unfortunately, I don't have. But @mano-wii may able to check 🙂

The linked libraries are big files. The supplied files will report them missing (as it does on Windows though they still open), but that in itself shouldn't cause the crash.

Poster-Poses-01 gives a seg fault every time on my Mac, and for comparison, Posterposes-02remaprelative opens fine on my Mac.

Would be great if @mano-wii is able to reproduce the crash. Thank you so much!

The linked libraries are big files. The supplied files will report them missing (as it does on Windows though they still open), but that in itself shouldn't cause the crash. Poster-Poses-01 gives a seg fault every time on my Mac, and for comparison, Posterposes-02remaprelative opens fine on my Mac. Would be great if @mano-wii is able to reproduce the crash. Thank you so much!

It loads here, but with tons of information and warnings about linked libraries.
I believe the crash really depends on the linked libraries.
Please try to simplify the files and narrow down the problem by removing most objects and disabling the settings, until the problem reveals itself more clearly.

Unfortunately we can't do much here.

**System Information**
Operating system: macOS-14.2-arm64-arm-64bit 64 Bits
Graphics card: Metal API Apple M1 1.2
It loads here, but with tons of information and warnings about linked libraries. I believe the crash really depends on the linked libraries. Please try to simplify the files and narrow down the problem by removing most objects and disabling the settings, until the problem reveals itself more clearly. Unfortunately we can't do much here. ``` **System Information** Operating system: macOS-14.2-arm64-arm-64bit 64 Bits Graphics card: Metal API Apple M1 1.2 ```
Germano Cavalcante added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-12-08 15:35:32 +01:00

Interesting that it loads for you @mano-wii thank you. I have tried stripping blender back to factory defaults, but still had the crash. And I've just had another shot I was working on, all fine. But then crashes on reload. This is a hard one to troubleshoot, as when it happens, I can no longer open the file.

As suggested, I'll continue trying to narrow down the trigger, maybe adding one asset at a time to a scene file

Interesting that it loads for you @mano-wii thank you. I have tried stripping blender back to factory defaults, but still had the crash. And I've just had another shot I was working on, all fine. But then crashes on reload. This is a hard one to troubleshoot, as when it happens, I can no longer open the file. As suggested, I'll continue trying to narrow down the trigger, maybe adding one asset at a time to a scene file

Ok I've done a lot of experimenting, stripping back of scenes etc. and it seems this is related to the Asset Library/Browser

In brief I found that:

  • crashes seemed to be related to a particular rig
  • scenes where this rig was manually linked in via File>Link menu were fine, BUT if linked in via the Asset Browser, the scene file would crash upon save and reload.

I stripped back that rig (Matil) bit by bit, as I thought it might have been related to some mesh or modifier within the rig file. In the end, with some slightly variable results, the only version that would reliably work (i.e. not trigger a crash) after stripping back had no geometry, only the armature.

So I'm attaching here a small hierarchy with a very stripped down version of the rig, which gives reproducible crashes for me. Here are my step-by-step instructions to reproduce (I hope)

  1. On Mac Silicon (mine is M1 Max Studio) Unzip the MatildaCrashSubmission.zip somewhere convenient, leaving folder structure intact
  2. In your Blender preferences>File Paths>Asset Libraries add the enclosed 'asset' folder to your list and set import method to 'Link'
  3. Open the file 'CrashTestAssetBrowser-01.blend'
  4. In the asset browser select 'uncategorised', you should see MATIL-DAY and MATIL-DANCE (yes two libraries in one file, character variants with shared rig, but this has been normal/useful/essential for my workflow for ages)
  5. Drag and drop MATIL-DAY to the 3D viewport
  6. alt-G to zero out translation, then Object>Library Override>Make
  7. Save the file
  8. Save and Reload or Revert the file >>>> crash (if not the first time, try at least a couple of save-reloads. Sometimes it loads the first time, weirdly) Attaching example crash.txt here.

Assuming you get a crash, you can compare with the manual method, which doesn't seem to crash, i.e.:

(after step 2 above)

  1. Open the file 'CrashTestLink-02.blend'
  2. File>Link ../asset/Matil.blend
  3. Link collection MATIL-DAY
  4. Object>Library Override>Make
  5. Save the file
  6. Save and Reload or Revert (try a few times to confirm). No crash probably

Very much hoping this works for you and sheds some light on what's going on. Is it some sort of corruption in the Asset Library file?

Ok I've done a lot of experimenting, stripping back of scenes etc. and it seems this is related to the Asset Library/Browser In brief I found that: - crashes seemed to be related to a particular rig - scenes where this rig was manually linked in via `File>Link` menu were fine, BUT if linked in via the Asset Browser, the scene file would crash upon save and reload. I stripped back that rig (Matil) bit by bit, as I thought it might have been related to some mesh or modifier within the rig file. In the end, with some slightly variable results, the only version that would reliably work (i.e. not trigger a crash) after stripping back had no geometry, only the armature. So I'm attaching here a small hierarchy with a very stripped down version of the rig, which gives reproducible crashes for me. Here are my step-by-step instructions to reproduce (I hope) 1. On Mac Silicon (mine is M1 Max Studio) Unzip the MatildaCrashSubmission.zip somewhere convenient, leaving folder structure intact 2. In your Blender preferences>File Paths>Asset Libraries add the enclosed 'asset' folder to your list and set import method to 'Link' 3. Open the file 'CrashTestAssetBrowser-01.blend' 4. In the asset browser select 'uncategorised', you should see MATIL-DAY and MATIL-DANCE (yes two libraries in one file, character variants with shared rig, but this has been normal/useful/essential for my workflow for ages) 5. Drag and drop MATIL-DAY to the 3D viewport 6. alt-G to zero out translation, then `Object>Library Override>Make` 7. Save the file 8. Save and Reload or Revert the file >>>> crash (if not the first time, try at least a couple of save-reloads. Sometimes it loads the first time, weirdly) Attaching example crash.txt here. Assuming you get a crash, you can compare with the manual method, which doesn't seem to crash, i.e.: (after step 2 above) 1. Open the file 'CrashTestLink-02.blend' 2. `File>Link` ../asset/Matil.blend 3. Link collection MATIL-DAY 4. `Object>Library Override>Make` 5. Save the file 6. Save and Reload or Revert (try a few times to confirm). No crash probably Very much hoping this works for you and sheds some light on what's going on. Is it some sort of corruption in the Asset Library file?
Stephen Hamacek changed title from Mac M1 saved files crashing on reload. Maybe linked library override related? 3.6.6 LTS to Mac M1 saved files crashing on reload. Maybe Asset Library/Browser related? 3.6.6 LTS 2023-12-11 10:10:06 +01:00

Some further hints based on more experiments:

I hit a situation where manually linking the Matil rig (ie. not with asset browser) still gave crashes on reload.

So I tried again using asset browser. What I have found :

1.Drag and drop etc. then using Menu Object>Library Override>Make is still giving crashes on scene reload frequently (attaching sample crash report)
2. Using RMB menu in outliner Library Override>Make>Selected and Content is giving stable results, no crashes so far.

Let me know if you get a chance to test again @mano-wii or if you want me to try something else.

Best regards, Stephen.

Some further hints based on more experiments: I hit a situation where manually linking the Matil rig (ie. not with asset browser) still gave crashes on reload. So I tried again using asset browser. What I have found : 1.Drag and drop etc. then using Menu `Object>Library Override>Make` is still giving crashes on scene reload frequently (attaching sample crash report) 2. Using RMB menu in outliner `Library Override>Make>Selected and Content` is giving stable results, no crashes so far. Let me know if you get a chance to test again @mano-wii or if you want me to try something else. Best regards, Stephen.
Pratik Borhade added
Status
Needs Triage
and removed
Status
Needs Information from User
labels 2024-02-29 06:54:49 +01:00
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#115720
No description provided.