Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blender on MacOS crashes on exit #3128

Open
9t8 opened this issue Feb 10, 2025 · 0 comments
Open

Blender on MacOS crashes on exit #3128

9t8 opened this issue Feb 10, 2025 · 0 comments
Labels
bug This issue describes a bug

Comments

@9t8
Copy link

9t8 commented Feb 10, 2025

Description
Blender on MacOS with Armory added crashes on exit. This does not happen without Armory.

To Reproduce

  1. Install Armory as documented. I unpacked the SDK to ~/bin.
  2. Reopen and quit Blender. Blender crashes.

System
Blender: 4.2.6 LTS
Armory: 2025.1
OS: MacOS 15.3
Graphics card: M4 Max

Console output

WARN (bgl): source/blender/python/generic/bgl.cc:2676 BPyInit_bgl: 'bgl' imported without an OpenGL backend. Please update your add-ons to use the 'gpu' module.
register_class(...):
Info: Registering menu class: 'ARM_MT_NodeAddOverride', bl_idname 'NODE_MT_add' has been registered before, unregistering previous
Running Armory SDK from /Users/davidli/bin/armory/
2025-02-10 14:57:57.210 Blender[7761:126685] +[IMKClient subclass]: chose IMKClient_Modern
2025-02-10 14:57:57.210 Blender[7761:126685] +[IMKInputSession subclass]: chose IMKInputSession_Modern
Saved session recovery to "/var/folders/p6/tt1mydhx45z58y_vs4dhnhmr0000gn/T/quit.blend"
Writing: /var/folders/p6/tt1mydhx45z58y_vs4dhnhmr0000gn/T/blender.crash.txt
zsh: segmentation fault  /Applications/Blender.app/Contents/MacOS/Blender

blender.crash.txt

# Blender 4.2.6, Commit date: 2025-01-20 15:04, Hash 6dc30a3be3cf

# backtrace
0   Blender                             0x0000000104bbce64 BLI_system_backtrace + 56
1   Blender                             0x00000001042f2e28 _ZL16sig_handle_crashi + 364
2   libsystem_platform.dylib            0x000000019de66de4 _sigtramp + 56
3   Blender                             0x000000010501b65c _Z25RNA_struct_free_extensionP9StructRNAP12ExtensionRNA + 28
4   Blender                             0x00000001050b3b20 _ZL38rna_NodeTreeInterfaceSocket_unregisterP4MainP9StructRNA + 44
5   Blender                             0x00000001051ec414 _ZL22pyrna_unregister_classP7_objectS0_ + 624
6   Blender                             0x0000000108b66aa0 _PyEval_EvalFrameDefault + 36788
7   Blender                             0x0000000108b5d91c PyEval_EvalCode + 272
8   Blender                             0x0000000108bb0604 run_mod + 152
9   Blender                             0x0000000108baf714 PyRun_StringFlags + 124
10  Blender                             0x00000001051d676c _ZL19bpy_run_string_implP8bContextPPKcS2_i + 124
11  Blender                             0x0000000104c2f398 _Z10WM_exit_exP8bContextbb + 488
12  Blender                             0x0000000104c2ef58 _Z7WM_exitP8bContexti + 48
13  Blender                             0x0000000104c2f1b0 _Z10WM_exit_exP8bContextbb + 0
14  Blender                             0x0000000104c1decc _ZL21wm_handlers_do_internP8bContextP8wmWindowP7wmEventP8ListBase + 3584
15  Blender                             0x0000000104c1cb48 _ZL14wm_handlers_doP8bContextP7wmEventP8ListBase + 72
16  Blender                             0x0000000104c1c0f0 _Z20wm_event_do_handlersP8bContext + 2216
17  Blender                             0x0000000104c11990 _Z7WM_mainP8bContext + 36
18  Blender                             0x00000001042ee1b8 main + 920
19  dyld                                0x000000019dab0274 start + 2840

# Python backtrace
  File "/Applications/Blender.app/Contents/Resources/4.2/scripts/modules/bpy/utils/__init__.py", line 938 in unregister
  File "/Users/davidli/bin/armory/armory/blender/arm/nodes_logic.py", line 460 in unregister
  File "/Users/davidli/bin/armory/armory/blender/start.py", line 86 in unregister
  File "/Users/davidli/Library/Application Support/Blender/4.2/scripts/addons/armory.py", line 893 in stop_armory
  File "/Users/davidli/Library/Application Support/Blender/4.2/scripts/addons/armory.py", line 941 in unregister
  File "/Applications/Blender.app/Contents/Resources/4.2/scripts/modules/addon_utils.py", line 562 in disable
  File "/Applications/Blender.app/Contents/Resources/4.2/scripts/modules/addon_utils.py", line 649 in disable_all
  File "<string>", line 1 in <module>
@9t8 9t8 added the bug This issue describes a bug label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue describes a bug
Projects
None yet
Development

No branches or pull requests

1 participant