Crash opening file with proxy #98344

Closed
opened 2022-05-23 21:49:59 +02:00 by Georg K · 10 comments

System Information
Operating system: Linux-5.17.6-1-MANJARO-x86_64-with-glibc2.35 64 Bits
Graphics card: AMD VERDE (LLVM 13.0.1, DRM 2.50, 5.17.6-1-MANJARO) AMD 4.5 (Core Profile) Mesa 22.0.3

Blender Version
Broken: 3.0.1, version: 3.3.0 Alpha, branch: master, commit date: 2022-05-23 18:11, hash: 9039fbaa9c
Worked: 2.93

Short description of error
Trying to open the file with a proxy crashes Blender.

Exact steps for others to reproduce the error

  • Open the attached file
  • Segmentation fault

CRASH proxy.blend

backtrace
./blender(BLI_system_backtrace+0x33) [0xc00c7e3]
./blender() [0x118f0be]
/usr/lib/libc.so.6(+0x42560) [0x7f9e741b1560]
./blender(BKE_lib_override_library_proxy_convert+0x48) [0x2697498]
./blender(BKE_lib_override_library_main_proxy_convert+0x164) [0x26977b4]
./blender(BKE_blendfile_read_setup_ex+0x349) [0x267eda9]
./blender(WM_file_read+0x1a7) [0x1729c17]
./blender() [0x172a345]
./blender() [0x171ef91]
./blender() [0x1722544]
./blender() [0x1722ecd]
./blender(wm_event_do_handlers+0x3fb) [0x17239db]
./blender(WM_main+0x20) [0x1717e40]
./blender(main+0x33a) [0x10912ca]
/usr/lib/libc.so.6(+0x2d310) [0x7f9e7419c310]
/usr/lib/libc.so.6(__libc_start_main+0x81) [0x7f9e7419c3c1]
./blender(_start+0x25) [0x118b725

**System Information** Operating system: Linux-5.17.6-1-MANJARO-x86_64-with-glibc2.35 64 Bits Graphics card: AMD VERDE (LLVM 13.0.1, DRM 2.50, 5.17.6-1-MANJARO) AMD 4.5 (Core Profile) Mesa 22.0.3 **Blender Version** Broken: 3.0.1, version: 3.3.0 Alpha, branch: master, commit date: 2022-05-23 18:11, hash: `9039fbaa9c` Worked: 2.93 **Short description of error** Trying to open the file with a proxy crashes Blender. **Exact steps for others to reproduce the error** - Open the attached file - Segmentation fault [CRASH proxy.blend](https://archive.blender.org/developer/F13101352/CRASH_proxy.blend) backtrace ./blender(BLI_system_backtrace+0x33) [0xc00c7e3] ./blender() [0x118f0be] /usr/lib/libc.so.6(+0x42560) [0x7f9e741b1560] ./blender(BKE_lib_override_library_proxy_convert+0x48) [0x2697498] ./blender(BKE_lib_override_library_main_proxy_convert+0x164) [0x26977b4] ./blender(BKE_blendfile_read_setup_ex+0x349) [0x267eda9] ./blender(WM_file_read+0x1a7) [0x1729c17] ./blender() [0x172a345] ./blender() [0x171ef91] ./blender() [0x1722544] ./blender() [0x1722ecd] ./blender(wm_event_do_handlers+0x3fb) [0x17239db] ./blender(WM_main+0x20) [0x1717e40] ./blender(main+0x33a) [0x10912ca] /usr/lib/libc.so.6(+0x2d310) [0x7f9e7419c310] /usr/lib/libc.so.6(__libc_start_main+0x81) [0x7f9e7419c3c1] ./blender(_start+0x25) [0x118b725
Author

Added subscriber: @georgK

Added subscriber: @georgK
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
Member

Can confirm, will check

Can confirm, will check
Member

Well, that file should not crash on its own, but noticed that the library //../2019/source.blend is missing.
Can you provide that as well?
Does it still crash if this is located where expected?

Well, that file should not crash on its own, but noticed that the library `//../2019/source.blend` is missing. Can you provide that as well? Does it still crash if this is located where expected?
Author

Yes, it also crashes if the source.blend is available. This is from a larger project that crashed on opening, so I took out everything I could while keeping the crash.
Here I removed everything from source.blend but the linked mesh and merged it down to one point (hope it's still helpful in this state):
source.blend

Yes, it also crashes if the source.blend is available. This is from a larger project that crashed on opening, so I took out everything I could while keeping the crash. Here I removed everything from source.blend but the linked mesh and merged it down to one point (hope it's still helpful in this state): [source.blend](https://archive.blender.org/developer/F13102439/source.blend)
Member

Added subscriber: @mont29

Added subscriber: @mont29
Member

@mont29: for some reason we have a proxy_group on the object, but that in turn has a NULL instance_collection (thus the crash)
Maybe that is_override_instancing_object should check more? (looks like we should/could actually use ob_proxy->proxy->id instead?

1  BKE_lib_override_library_proxy_convert      lib_override_proxy_conversion.c 49   0x63ff20b 
2  lib_override_library_proxy_convert_do       lib_override_proxy_conversion.c 96   0x63ff4e0 
3  BKE_lib_override_library_main_proxy_convert lib_override_proxy_conversion.c 134  0x63ff745 
4  setup_app_data                              blendfile.c                     360  0x63db55b 
5  setup_app_blend_file_data                   blendfile.c                     446  0x63db7ce 
6  BKE_blendfile_read_setup_ex                 blendfile.c                     476  0x63db8c1 
7  BKE_blendfile_read_setup                    blendfile.c                     485  0x63db90c 
8  WM_file_read                                wm_files.c                      932  0x49d46c4 
9  wm_file_read_opwrap                         wm_files.c                      2518 0x49d7e65 
10 wm_open_mainfile__open                      wm_files.c                      2640 0x49d8359 
11 wm_open_mainfile_exec                       wm_files.c                      2674 0x49d8450 
12 wm_handler_fileselect_do                    wm_event_system.c               2633 0x49ca163 
13 wm_handler_fileselect_call                  wm_event_system.c               2730 0x49ca586 
14 wm_handlers_do_intern                       wm_event_system.c               3223 0x49cbbf4 
15 wm_handlers_do                              wm_event_system.c               3279 0x49cbe3a 
16 wm_event_do_handlers                        wm_event_system.c               3869 0x49cdcee 
17 WM_main                                     wm.c                            623  0x49bedde 
18 main                                        creator.c                       547  0x3fcc994 
@mont29: for some reason we have a `proxy_group` on the object, but that in turn has a NULL `instance_collection` (thus the crash) Maybe that `is_override_instancing_object` should check more? (looks like we should/could actually use `ob_proxy->proxy->id` instead? ``` 1 BKE_lib_override_library_proxy_convert lib_override_proxy_conversion.c 49 0x63ff20b 2 lib_override_library_proxy_convert_do lib_override_proxy_conversion.c 96 0x63ff4e0 3 BKE_lib_override_library_main_proxy_convert lib_override_proxy_conversion.c 134 0x63ff745 4 setup_app_data blendfile.c 360 0x63db55b 5 setup_app_blend_file_data blendfile.c 446 0x63db7ce 6 BKE_blendfile_read_setup_ex blendfile.c 476 0x63db8c1 7 BKE_blendfile_read_setup blendfile.c 485 0x63db90c 8 WM_file_read wm_files.c 932 0x49d46c4 9 wm_file_read_opwrap wm_files.c 2518 0x49d7e65 10 wm_open_mainfile__open wm_files.c 2640 0x49d8359 11 wm_open_mainfile_exec wm_files.c 2674 0x49d8450 12 wm_handler_fileselect_do wm_event_system.c 2633 0x49ca163 13 wm_handler_fileselect_call wm_event_system.c 2730 0x49ca586 14 wm_handlers_do_intern wm_event_system.c 3223 0x49cbbf4 15 wm_handlers_do wm_event_system.c 3279 0x49cbe3a 16 wm_event_do_handlers wm_event_system.c 3869 0x49cdcee 17 WM_main wm.c 623 0x49bedde 18 main creator.c 547 0x3fcc994 ```

This issue was referenced by cb3b9358bf

This issue was referenced by cb3b9358bfb482c1968bdd6d3e5d84101c4ecb77

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Bastien Montagne self-assigned this 2022-05-25 11:23:51 +02: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
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#98344
No description provided.