Relocate library crashes to desktop in Blender 3.3 #101250

Closed
opened 2022-09-21 13:55:48 +02:00 by David Gilson · 10 comments

System Information
Operating system: Win10
Graphics card: GTX 1060 (mobile)

Blender Version
Broken: 3.3.0 / 2022-09-06 15:39 / 0759f671ce / master
Worked: 3.2.2 / 2022-08-02 18:15 / bcfdb14560 / master

Short description of error
In certain cases, relocating a library (via Outliner-Blender File), will trigger a crash to desktop.

Exact steps for others to reproduce the error
I am unable to supply the blend files that triggers this problem because they contain client data, and I'm unable to create a synthetic case to upload here. However, I do have two crash.txt files that might help.

In general, I have a large library of assets, which I use link into client projects. I am attempting to relocate linked libraries by the following method:

  • Open file
  • Go to outliner and switch to "Blender file view"
  • Right click on a linked library reference/path, and select "relocate"
  • Select alternative blender file for given library.

Both of my crash files contain the following exception record. See the attached files for full Blender crash reports.

Exception Record:

ExceptionCode         : EXCEPTION_ACCESS_VIOLATION
Exception Address     : 0x00007FF68EA0F5CC
Exception Module      : blender.exe
Exception Flags       : 0x00000000
Exception Parameters  : 0x2
	Parameters[0] : 0x0000000000000000
	Parameters[1] : 0x0000000000000028

Case_02.crash.txt

Case_01.crash.txt

**System Information** Operating system: Win10 Graphics card: GTX 1060 (mobile) **Blender Version** Broken: 3.3.0 / 2022-09-06 15:39 / 0759f671ce1f / master Worked: 3.2.2 / 2022-08-02 18:15 / bcfdb14560e7 / master **Short description of error** In certain cases, relocating a library (via Outliner-Blender File), will trigger a crash to desktop. **Exact steps for others to reproduce the error** I am unable to supply the blend files that triggers this problem because they contain client data, and I'm unable to create a synthetic case to upload here. However, I do have two crash.txt files that might help. In general, I have a large library of assets, which I use link into client projects. I am attempting to relocate linked libraries by the following method: - Open file - Go to outliner and switch to "Blender file view" - Right click on a linked library reference/path, and select "relocate" - Select alternative blender file for given library. Both of my crash files contain the following exception record. See the attached files for full Blender crash reports. ``` Exception Record: ExceptionCode : EXCEPTION_ACCESS_VIOLATION Exception Address : 0x00007FF68EA0F5CC Exception Module : blender.exe Exception Flags : 0x00000000 Exception Parameters : 0x2 Parameters[0] : 0x0000000000000000 Parameters[1] : 0x0000000000000028 ``` [Case_02.crash.txt](https://archive.blender.org/developer/F13543218/Case_02.crash.txt) [Case_01.crash.txt](https://archive.blender.org/developer/F13543217/Case_01.crash.txt)
Author

Added subscriber: @DavidGilson-1

Added subscriber: @DavidGilson-1
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

I am unable to supply the blend files that triggers this problem because they contain client data

Thanks for the report. If crash happens in particular file, please upload them. You could simplify them further. Normally .blend files can be simplified by removing most objects and disabling settings, until the problem reveals itself more clearly.
Tried to reproduce the crash locally but no success in 3.4

> I am unable to supply the blend files that triggers this problem because they contain client data Thanks for the report. If crash happens in particular file, please upload them. You could simplify them further. Normally .blend files can be simplified by removing most objects and disabling settings, until the problem reveals itself more clearly. Tried to reproduce the crash locally but no success in 3.4
Member

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Member

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed.

Thanks again for the report. If the problem persists please open a new report with the required information.

No activity for more than a week. As per the tracker policy we assume the issue is gone and can be closed. Thanks again for the report. If the problem persists please open a new report with the required information.

Added subscriber: @WilsonP

Added subscriber: @WilsonP

Given I work along side Mr Gilson(the OP) I thought I'd add some information given I am experiencing the same issue..

I'm not a developer of any calibre so quite happy to take direction however I know a tiny bit so here is a stack trace of the issue...

blender.exe!lib_override_sort_libraries_func(LibraryIDLinkCallbackData * cb_data) Line 2659 C++

blender.exe!BKE_lib_query_foreachid_process(LibraryForeachIDData * data, ID * * id_pp, int cb_flag) Line 87	C
blender.exe!library_foreach_id(ID * id, LibraryForeachIDData * data) Line 57	C
blender.exe!library_foreach_ID_link(Main * bmain, ID * id_owner, ID * id, int(*)(LibraryIDLinkCallbackData *) callback, void * user_data, int flag, LibraryForeachIDData * inherit_data) Line 336	C
blender.exe!BKE_library_foreach_ID_link(Main * bmain, ID * id, int(*)(LibraryIDLinkCallbackData *) callback, void * user_data, int flag) Line 354	C
blender.exe!lib_override_libraries_index_define(Main * bmain) Line 2685	C++
blender.exe!BKE_lib_override_library_main_resync(Main * bmain, Scene * scene, ViewLayer * view_layer, BlendFileReadReport * reports) Line 2726	C++
blender.exe!BKE_blendfile_library_relocate(BlendfileLinkAppendContext * lapp_context, ReportList * reports, Library * library, const bool do_reload) Line 1638	C
blender.exe!wm_lib_relocate_exec_do(bContext * C, wmOperator * op, bool do_reload) Line 766	C
blender.exe!wm_lib_relocate_exec(bContext * C, wmOperator * op) Line 793	C
blender.exe!wm_handler_fileselect_do(bContext * C, ListBase * handlers, wmEventHandler_Op * handler, int val) Line 2689	C++
blender.exe!wm_handler_fileselect_call(bContext * C, ListBase * handlers, wmEventHandler_Op * handler, const wmEvent * event) Line 2787	C++
blender.exe!wm_handlers_do_intern(bContext * C, wmWindow * win, wmEvent * event, ListBase * handlers) Line 3280	C++
blender.exe!wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) Line 3334	C++
blender.exe!wm_event_do_handlers(bContext * C) Line 3925	C++
blender.exe!WM_main(bContext * C) Line 643	C
blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 579	C
[External Code]	
Given I work along side Mr Gilson(the OP) I thought I'd add some information given I am experiencing the same issue.. I'm not a developer of any calibre so quite happy to take direction however I know a tiny bit so here is a stack trace of the issue... > blender.exe!lib_override_sort_libraries_func(LibraryIDLinkCallbackData * cb_data) Line 2659 C++ blender.exe!BKE_lib_query_foreachid_process(LibraryForeachIDData * data, ID * * id_pp, int cb_flag) Line 87 C blender.exe!library_foreach_id(ID * id, LibraryForeachIDData * data) Line 57 C blender.exe!library_foreach_ID_link(Main * bmain, ID * id_owner, ID * id, int(*)(LibraryIDLinkCallbackData *) callback, void * user_data, int flag, LibraryForeachIDData * inherit_data) Line 336 C blender.exe!BKE_library_foreach_ID_link(Main * bmain, ID * id, int(*)(LibraryIDLinkCallbackData *) callback, void * user_data, int flag) Line 354 C blender.exe!lib_override_libraries_index_define(Main * bmain) Line 2685 C++ blender.exe!BKE_lib_override_library_main_resync(Main * bmain, Scene * scene, ViewLayer * view_layer, BlendFileReadReport * reports) Line 2726 C++ blender.exe!BKE_blendfile_library_relocate(BlendfileLinkAppendContext * lapp_context, ReportList * reports, Library * library, const bool do_reload) Line 1638 C blender.exe!wm_lib_relocate_exec_do(bContext * C, wmOperator * op, bool do_reload) Line 766 C blender.exe!wm_lib_relocate_exec(bContext * C, wmOperator * op) Line 793 C blender.exe!wm_handler_fileselect_do(bContext * C, ListBase * handlers, wmEventHandler_Op * handler, int val) Line 2689 C++ blender.exe!wm_handler_fileselect_call(bContext * C, ListBase * handlers, wmEventHandler_Op * handler, const wmEvent * event) Line 2787 C++ blender.exe!wm_handlers_do_intern(bContext * C, wmWindow * win, wmEvent * event, ListBase * handlers) Line 3280 C++ blender.exe!wm_handlers_do(bContext * C, wmEvent * event, ListBase * handlers) Line 3334 C++ blender.exe!wm_event_do_handlers(bContext * C) Line 3925 C++ blender.exe!WM_main(bContext * C) Line 643 C blender.exe!main(int argc, const unsigned char * * UNUSED_argv_c) Line 579 C [External Code]
Member

@WilsonP hi, we'll either need a .blend or exact way of recreating the file from scratch.
It is nearly impossible to fix the crash without being able to reproduce it locally.

@WilsonP hi, we'll either need a .blend or exact way of recreating the file from scratch. It is nearly impossible to fix the crash without being able to reproduce it locally.

@PratikPB2123 Ok let me get this together, but it could take me a little while to get this sorted out as it's quite a large library and I am quite busy..

@PratikPB2123 Ok let me get this together, but it could take me a little while to get this sorted out as it's quite a large library and I am quite busy..
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#101250
No description provided.