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

Fix crash when reloading model #450

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

timothyschoen
Copy link

@timothyschoen timothyschoen commented Oct 10, 2024

Found a bug while porting Gem over to plugdata, it also seems to affect the regular pure-data version of Gem.

When we stop rendering, we need to destroy the model data, because otherwise it will hold on to VBOs that are no longer valid after the openGL context is destroyed. This causes all examples that use models to crash if you close and re-open the window.

@rnkn
Copy link

rnkn commented Dec 22, 2024

I'm still getting the same crashes:

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               pd [78107]
Path:                  /Users/USER/*/Pd.app/Contents/Resources/bin/pd
Identifier:            pd
Version:               ???
Code Type:             ARM-64 (Native)
Parent Process:        Pd [78099]
Responsible:           Pd [78099]
User ID:               501

Date/Time:             2024-12-22 13:33:31.7189 +1000
OS Version:            macOS 15.2 (24C101)
Report Version:        12
Anonymous UUID:        7070DC16-F2F8-86E1-7D78-B88E6A6DBD97

Sleep/Wake UUID:       F4F1CBCD-9F69-41F1-AE5D-D200EE4A10FE

Time Awake Since Boot: 720000 seconds
Time Since Wake:       248 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes:       0x0000000000000001, 0x0000000000000000

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [78107]

VM Region Info: 0 is not in any region.  Bytes before following region: 4374020096
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      104b64000-104c60000    [ 1008K] r-x/r-x SM=COW  /Users/USER/*/Pd.app/Contents/Resources/bin/pd

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   GLEngine                      	       0x1e37367b4 gleRunVertexSubmitImmediate + 6600
1   GLEngine                      	       0x1e36d08b0 gleDrawArraysOrElements_ExecCore + 620
2   GLEngine                      	       0x1e36d08b0 gleDrawArraysOrElements_ExecCore + 620
3   GLEngine                      	       0x1e363ac2c glDrawArrays_Exec + 396
4   Gem.d_fat                     	       0x107c64f04 gem::modelGL::render(std::__1::vector<unsigned int, std::__1::allocator<unsigned int>>&) + 972
5   Gem.d_fat                     	       0x107c64a94 gem::modelGL::render() + 296
6   Gem.d_fat                     	       0x107cfc478 model::render(GemState*) + 308
7   Gem.d_fat                     	       0x107cc8da0 GemBase::gem_renderMess(GemCache*, GemState*) + 388
8   pd                            	       0x104bcfc30 outlet_anything + 192
9   Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
10  pd                            	       0x104bcfc30 outlet_anything + 192
11  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
12  pd                            	       0x104bcfc30 outlet_anything + 192
13  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
14  pd                            	       0x104bcfc30 outlet_anything + 192
15  Gem.d_fat                     	       0x107ce72ac gemhead::receive(_symbol*, int, _atom*) + 360
16  Gem.d_fat                     	       0x107ce9b04 gemreceive::proxyCallback(_gemreceive_proxy*, _symbol*, int, _atom*) + 72
17  pd                            	       0x104bcfc30 outlet_anything + 192
18  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
19  pd                            	       0x104bcfc30 outlet_anything + 192
20  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
21  pd                            	       0x104bcfc30 outlet_anything + 192
22  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
23  pd                            	       0x104bcfc30 outlet_anything + 192
24  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
25  pd                            	       0x104bcfc30 outlet_anything + 192
26  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
27  pd                            	       0x104bcfc30 outlet_anything + 192
28  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
29  pd                            	       0x104bcfc30 outlet_anything + 192
30  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
31  pd                            	       0x104bcfc30 outlet_anything + 192
32  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
33  pd                            	       0x104bcfc30 outlet_anything + 192
34  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
35  pd                            	       0x104bcfc30 outlet_anything + 192
36  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
37  pd                            	       0x104bcfc30 outlet_anything + 192
38  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
39  pd                            	       0x104bcfc30 outlet_anything + 192
40  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
41  pd                            	       0x104bcfc30 outlet_anything + 192
42  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
43  pd                            	       0x104bcfc30 outlet_anything + 192
44  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
45  pd                            	       0x104bcfc30 outlet_anything + 192
46  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
47  pd                            	       0x104bcfc30 outlet_anything + 192
48  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
49  pd                            	       0x104bcfc30 outlet_anything + 192
50  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
51  pd                            	       0x104bcfc30 outlet_anything + 192
52  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
53  pd                            	       0x104bcfc30 outlet_anything + 192
54  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
55  pd                            	       0x104bcfc30 outlet_anything + 192
56  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
57  pd                            	       0x104bcfc30 outlet_anything + 192
58  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
59  pd                            	       0x104bcfc30 outlet_anything + 192
60  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
61  pd                            	       0x104bcfc30 outlet_anything + 192
62  Gem.d_fat                     	       0x107cc8dac GemBase::gem_renderMess(GemCache*, GemState*) + 400
63  pd                            	       0x104bcfc30 outlet_anything + 192
64  pd                            	       0x104bcf87c outlet_bang + 144
65  pd                            	       0x104bcf87c outlet_bang + 144
66  pd                            	       0x104bcfb64 outlet_list + 192
67  pd                            	       0x104bcf87c outlet_bang + 144
68  pd                            	       0x104bcf87c outlet_bang + 144
69  pd                            	       0x104bd5338 socketreceiver_read + 1124

Thread 1:
0   libsystem_pthread.dylib       	       0x1865b30e8 start_wqthread + 0

Thread 2:: caulk.messenger.shared:17
0   libsystem_kernel.dylib        	       0x186576ed0 semaphore_wait_trap + 8
1   caulk                         	       0x1916ccff4 caulk::semaphore::timed_wait(double) + 220
2   caulk                         	       0x1916ccea0 caulk::concurrent::details::worker_thread::run() + 36
3   caulk                         	       0x1916ccb74 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*) + 96
4   libsystem_pthread.dylib       	       0x1865b82e4 _pthread_start + 136
5   libsystem_pthread.dylib       	       0x1865b30fc thread_start + 8

Thread 3:: caulk.messenger.shared:high
0   libsystem_kernel.dylib        	       0x186576ed0 semaphore_wait_trap + 8
1   caulk                         	       0x1916ccff4 caulk::semaphore::timed_wait(double) + 220
2   caulk                         	       0x1916ccea0 caulk::concurrent::details::worker_thread::run() + 36
3   caulk                         	       0x1916ccb74 void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*) + 96
4   libsystem_pthread.dylib       	       0x1865b82e4 _pthread_start + 136
5   libsystem_pthread.dylib       	       0x1865b30fc thread_start + 8

Thread 4::  Dispatch queue: com.apple.opengl.cvmDoWork
0   libsystem_kernel.dylib        	       0x186576f54 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x186589604 mach_msg2_internal + 80
2   libsystem_kernel.dylib        	       0x18657faf8 mach_msg_overwrite + 480
3   libsystem_kernel.dylib        	       0x18657729c mach_msg + 24
4   libdispatch.dylib             	       0x1864207b0 _dispatch_mach_send_and_wait_for_reply + 544
5   libdispatch.dylib             	       0x186420b50 dispatch_mach_send_with_result_and_wait_for_reply + 60
6   libxpc.dylib                  	       0x1862c4e68 xpc_connection_send_message_with_reply_sync + 280
7   libCoreVMClient.dylib         	       0x1e3424db4 cvms_element_build_and_get_internal + 256
8   libCVMSPluginSupport.dylib    	       0x1e343bce4 cvm_deferred_build_modular(void*) + 412
9   libdispatch.dylib             	       0x1864055b4 _dispatch_client_callout + 20
10  libdispatch.dylib             	       0x18640cbd8 _dispatch_lane_serial_drain + 768
11  libdispatch.dylib             	       0x18640d730 _dispatch_lane_invoke + 380
12  libdispatch.dylib             	       0x1864189a0 _dispatch_root_queue_drain_deferred_wlh + 288
13  libdispatch.dylib             	       0x1864181ec _dispatch_workloop_worker_thread + 540
14  libsystem_pthread.dylib       	       0x1865b43d8 _pthread_wqthread + 288
15  libsystem_pthread.dylib       	       0x1865b30f0 start_wqthread + 8

Thread 5:
0   libsystem_pthread.dylib       	       0x1865b30e8 start_wqthread + 0

Thread 6:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	       0x186576f54 mach_msg2_trap + 8
1   libsystem_kernel.dylib        	       0x186589604 mach_msg2_internal + 80
2   libsystem_kernel.dylib        	       0x18657faf8 mach_msg_overwrite + 480
3   libsystem_kernel.dylib        	       0x18657729c mach_msg + 24
4   CoreFoundation                	       0x1866a0a3c __CFRunLoopServiceMachPort + 160
5   CoreFoundation                	       0x18669f29c __CFRunLoopRun + 1212
6   CoreFoundation                	       0x18669e724 CFRunLoopRunSpecific + 588
7   AppKit                        	       0x18a32da20 _NSEventThread + 148
8   libsystem_pthread.dylib       	       0x1865b82e4 _pthread_start + 136
9   libsystem_pthread.dylib       	       0x1865b30fc thread_start + 8

Thread 7:
0   libsystem_pthread.dylib       	       0x1865b30e8 start_wqthread + 0

Thread 8:
0   libsystem_pthread.dylib       	       0x1865b30e8 start_wqthread + 0


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x00000001300d0000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000000
    x4: 0x0000000000000000   x5: 0x0000600002ec1910   x6: 0x0000600001bad890   x7: 0x0000000000000403
    x8: 0x0000000000000000   x9: 0x0000000800060a02  x10: 0x0000003000000000  x11: 0x0000003000000000
   x12: 0x00000001300d0000  x13: 0x000000a000000100  x14: 0x0000000000000000  x15: 0x0000000000000001
   x16: 0x00000001e37367b0  x17: 0x00000001e3735c48  x18: 0x0000000000000000  x19: 0x0000600002ec1910
   x20: 0x0000000000000010  x21: 0x0000000000000000  x22: 0x0000000000000000  x23: 0x00000c3300001000
   x24: 0x0000000000000006  x25: 0x0000000000000000  x26: 0x0000000000000003  x27: 0x0000000000000000
   x28: 0x0000600002ec1910   fp: 0x000000016b295180   lr: 0x00000001e36d08b0
    sp: 0x000000016b294fb0   pc: 0x00000001e37367b4 cpsr: 0x80001000
   far: 0x0000000000000000  esr: 0x92000006 (Data Abort) byte read Translation fault

Binary Images:
       0x104b64000 -        0x104c5ffff pd (*) <22680c65-3712-3ce3-921a-2611456c3fa0> /Users/USER/*/Pd.app/Contents/Resources/bin/pd
       0x107ba0000 -        0x107e57fff Gem.d_fat (*) <45e62c3d-9f6b-3715-8f1b-3d0eb21d0f3d> /Users/USER/*/Gem.d_fat
       0x104dd8000 -        0x104debfff libftgl.2.dylib (*) <f7a21e28-ccb1-317f-b9f1-df71775949d8> /Users/USER/*/libftgl.2.dylib
       0x104f5c000 -        0x104fd7fff libfreetype.6.dylib (*) <18ba8b42-d2d4-31da-b131-9a200cb61085> /Users/USER/*/libfreetype.6.dylib
       0x104d7c000 -        0x104d9ffff libpng16.16.dylib (*) <2ca06217-f990-361e-a46c-65147f023cce> /Users/USER/*/libpng16.16.dylib
       0x104db4000 -        0x104dbbfff gem_filmAVF.darwin-fat.so (*) <9ee8c34d-9da8-3bf0-86f4-dd0d70bc3c69> /Users/USER/*/gem_filmAVF.darwin-fat.so
       0x104e38000 -        0x104e3bfff gem_imageIO.darwin-fat.so (*) <d2d080b9-7c40-3852-b0a0-1ec657195be6> /Users/USER/*/gem_imageIO.darwin-fat.so
       0x104e08000 -        0x104e0ffff gem_imageSGI.darwin-fat.so (*) <fcc4b271-8c16-33f5-854a-d78669be91f5> /Users/USER/*/gem_imageSGI.darwin-fat.so
       0x104ed8000 -        0x104efbfff gem_imageSTB.darwin-fat.so (*) <6046f143-7e6a-3091-b646-cba265998b35> /Users/USER/*/gem_imageSTB.darwin-fat.so
       0x104e90000 -        0x104e97fff gem_modelASSIMP3.darwin-fat.so (*) <f644d973-709b-3668-ad1b-005f19670a7f> /Users/USER/*/gem_modelASSIMP3.darwin-fat.so
       0x107024000 -        0x107607fff libassimp.5.dylib (*) <9f3e4ade-62f6-3123-93d8-f2af0a18b31e> /Users/USER/*/libassimp.5.dylib
       0x104e50000 -        0x104e5bfff gem_modelOBJ.darwin-fat.so (*) <569090d3-156a-3c81-8052-56f0d17621dc> /Users/USER/*/gem_modelOBJ.darwin-fat.so
       0x104eb0000 -        0x104ebbfff gem_recordDECKLINK.darwin-fat.so (*) <a04504fd-f719-3c0c-874b-df1141449ef7> /Users/USER/*/gem_recordDECKLINK.darwin-fat.so
       0x104e74000 -        0x104e77fff gem_recordNDI.darwin-fat.so (*) <2faf14f6-b196-300d-9f69-591e61e8b270> /Users/USER/*/gem_recordNDI.darwin-fat.so
       0x105000000 -        0x105003fff gem_recordPNM.darwin-fat.so (*) <108d9e16-3818-3b1e-a970-789ff0d1a13c> /Users/USER/*/gem_recordPNM.darwin-fat.so
       0x105018000 -        0x10501ffff gem_videoAVF.darwin-fat.so (*) <a5159826-4763-3168-bf58-ae77059392d6> /Users/USER/*/gem_videoAVF.darwin-fat.so
       0x104f1c000 -        0x104f23fff gem_videoDECKLINK.darwin-fat.so (*) <f6901e30-0a9c-358c-9409-059d375686a6> /Users/USER/*/gem_videoDECKLINK.darwin-fat.so
       0x104f3c000 -        0x104f3ffff gem_videoNDI.darwin-fat.so (*) <5bc2a474-3721-34ce-b5ae-8f9ed46f1dfa> /Users/USER/*/gem_videoNDI.darwin-fat.so
       0x107918000 -        0x10791bfff gemglfw3window.d_fat (*) <f547cedb-3efb-3d8c-83cd-b278696b79e7> /Users/USER/*/gemglfw3window.d_fat
       0x1079ac000 -        0x1079cffff libglfw.3.dylib (*) <9b9e57f5-2893-3ad6-9205-59e8767553f1> /Users/USER/*/libglfw.3.dylib
       0x111fdc000 -        0x111fe7fff libobjc-trampolines.dylib (*) <fcf9b985-2748-371b-98d3-37a06a9bf107> /usr/lib/libobjc-trampolines.dylib
       0x113988000 -        0x11402bfff com.apple.AGXMetal13-3 (323.15) <0253a4e5-17e3-37f5-acf3-f698f08fa3a9> /System/Library/Extensions/AGXMetal13_3.bundle/Contents/MacOS/AGXMetal13_3
       0x112a9c000 -        0x112b03fff com.apple.AppleMetalOpenGLRenderer (1.0) <d066b74f-d423-38de-9a8d-16b1bcddb1c7> /System/Library/Extensions/AppleMetalOpenGLRenderer.bundle/Contents/MacOS/AppleMetalOpenGLRenderer
       0x1e3618000 -        0x1e3776ff7 GLEngine (*) <05f45e3d-9c8d-34ae-8be1-86591024276a> /System/Library/Frameworks/OpenGL.framework/Versions/A/Resources/GLEngine.bundle/GLEngine
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
       0x1865b1000 -        0x1865bdfff libsystem_pthread.dylib (*) <f1661613-b1c8-320d-b69d-97f174130e29> /usr/lib/system/libsystem_pthread.dylib
       0x186576000 -        0x1865b0ff7 libsystem_kernel.dylib (*) <dfc9530c-e75b-3d1c-a9a6-85c8a709d6a7> /usr/lib/system/libsystem_kernel.dylib
       0x1916cb000 -        0x1916f2fff com.apple.audio.caulk (1.0) <fb56c10c-7eed-3e31-99bf-2e083c6e8e0b> /System/Library/PrivateFrameworks/caulk.framework/Versions/A/caulk
       0x186401000 -        0x186447fff libdispatch.dylib (*) <9c7ff4a8-9d78-3aed-b64d-979574a26d8f> /usr/lib/system/libdispatch.dylib
       0x1862b8000 -        0x186302fff libxpc.dylib (*) <daaac055-2ed3-3b40-bafb-39bb74137dd8> /usr/lib/system/libxpc.dylib
       0x1e3423000 -        0x1e3428fff libCoreVMClient.dylib (*) <13c68489-a092-3895-8ef0-3b6155934aaa> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
       0x1e343a000 -        0x1e343cfff libCVMSPluginSupport.dylib (*) <75c63f30-c445-3288-bff0-94dcc9de4efc> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
       0x186623000 -        0x186b17fff com.apple.CoreFoundation (6.9) <41fdd393-3acc-328d-8108-e59a3a947ec5> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x18a1ce000 -        0x18b606fff com.apple.AppKit (6.9) <4251ee1c-062c-3b9a-b6e2-751f77ef9f4a> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=1.6G resident=0K(0%) swapped_out_or_unallocated=1.6G(100%)
Writable regions: Total=1.1G written=658K(0%) resident=658K(0%) swapped_out=0K(0%) unallocated=1.1G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               128K        1 
Activity Tracing                   256K        1 
CG image                            96K        5 
ColorSync                          656K       31 
CoreAnimation                      416K       23 
CoreGraphics                        32K        2 
CoreUI image data                 1184K        9 
Foundation                          16K        1 
Kernel Alloc Once                   32K        1 
MALLOC                             1.1G       53 
MALLOC guard page                  288K       18 
STACK GUARD                       56.1M        9 
Stack                             12.2M        9 
VM_ALLOCATE                        416K       14 
__AUTH                            5130K      656 
__AUTH_CONST                      69.3M      898 
__CTF                               824        1 
__DATA                            24.5M      901 
__DATA_CONST                      24.7M      928 
__DATA_DIRTY                      2755K      334 
__FONT_DATA                        2352        1 
__GLSLBUILTINS                    5174K        1 
__INFO_FILTER                         8        1 
__LINKEDIT                       614.2M       24 
__OBJC_RW                         2373K        1 
__TEXT                             1.0G      949 
__TPRO_CONST                       272K        2 
mapped file                      209.9M       22 
owned unmapped memory              272K        1 
page table in kernel               658K        1 
shared memory                      896K       16 
===========                     =======  ======= 
TOTAL                              3.1G     4914 



-----------
Full Report
-----------

{"app_name":"pd","timestamp":"2024-12-22 13:33:32.00 +1000","app_version":"","slice_uuid":"22680c65-3712-3ce3-921a-2611456c3fa0","build_version":"","platform":1,"share_with_app_devs":0,"is_first_party":1,"bug_type":"309","os_version":"macOS 15.2 (24C101)","roots_installed":0,"incident_id":"8E163C2F-FCFB-4802-8720-DAB9DAAE11AB","name":"pd"}
{
  "uptime" : 720000,
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookAir10,1",
  "coalitionID" : 105676,
  "osVersion" : {
    "train" : "macOS 15.2",
    "build" : "24C101",
    "releaseType" : "User"
  },
  "captureTime" : "2024-12-22 13:33:31.7189 +1000",
  "codeSigningMonitor" : 1,
  "incident" : "8E163C2F-FCFB-4802-8720-DAB9DAAE11AB",
  "pid" : 78107,
  "translated" : false,
  "cpuType" : "ARM-64",
  "roots_installed" : 0,
  "bug_type" : "309",
  "procLaunch" : "2024-12-22 13:32:37.5522 +1000",
  "procStartAbsTime" : 17285087468430,
  "procExitAbsTime" : 17286387176618,
  "procName" : "pd",
  "procPath" : "\/Users\/USER\/*\/Pd.app\/Contents\/Resources\/bin\/pd",
  "parentProc" : "Pd",
  "parentPid" : 78099,
  "coalitionName" : "org.puredata.pd.pd-gui",
  "crashReporterKey" : "7070DC16-F2F8-86E1-7D78-B88E6A6DBD97",
  "responsiblePid" : 78099,
  "responsibleProc" : "Pd",
  "codeSigningID" : "pd",
  "codeSigningTeamID" : "",
  "codeSigningFlags" : 570556929,
  "codeSigningValidationCategory" : 10,
  "codeSigningTrustLevel" : 4294967295,
  "instructionByteStream" : {"beforePC":"C\/CvUmoBihokAAAUGQCAUgABQL3g4wC9AAVAveDnAL0v\/f8XGQCAUg==","atPC":"AAFAveDjAL0ABUC94OcAvQAJQL3g6wC9J\/3\/FxkAgFIAAUC94OMAvQ=="},
  "bootSessionUUID" : "21B9A965-EB72-47D5-888F-B1D70DCCBA3C",
  "wakeTime" : 248,
  "sleepWakeUUID" : "F4F1CBCD-9F69-41F1-AE5D-D200EE4A10FE",
  "sip" : "enabled",
  "vmRegionInfo" : "0 is not in any region.  Bytes before following region: 4374020096\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      104b64000-104c60000    [ 1008K] r-x\/r-x SM=COW  \/Users\/USER\/*\/Pd.app\/Contents\/Resources\/bin\/pd",
  "exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000000"},
  "termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":78107},
  "vmregioninfo" : "0 is not in any region.  Bytes before following region: 4374020096\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      104b64000-104c60000    [ 1008K] r-x\/r-x SM=COW  \/Users\/USER\/*\/Pd.app\/Contents\/Resources\/bin\/pd",
  "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
  "faultingThread" : 0,
  "threads" : [{"triggered":true,"id":27016834,"threadState":{"x":[{"value":5101125632},{"value":0},{"value":0},{"value":0},{"value":0},{"value":105553165293840},{"value":105553145288848},{"value":1027},{"value":0},{"value":34360134146},{"value":206158430208},{"value":206158430208},{"value":5101125632},{"value":687194767616},{"value":0},{"value":1},{"value":8110958512,"symbolLocation":6596,"symbol":"gleRunVertexSubmitImmediate"},{"value":8110955592,"symbolLocation":3676,"symbol":"gleRunVertexSubmitImmediate"},{"value":0},{"value":105553165293840},{"value":16},{"value":0},{"value":0},{"value":13413182869504},{"value":6},{"value":0},{"value":3},{"value":0},{"value":105553165293840}],"flavor":"ARM_THREAD_STATE64","lr":{"value":8110540976},"cpsr":{"value":2147487744},"fp":{"value":6092837248},"sp":{"value":6092836784},"esr":{"value":2449473542,"description":"(Data Abort) byte read Translation fault"},"pc":{"value":8110958516,"matchesCrashFrame":1},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":1173428,"symbol":"gleRunVertexSubmitImmediate","symbolLocation":6600,"imageIndex":23},{"imageOffset":755888,"symbol":"gleDrawArraysOrElements_ExecCore","symbolLocation":620,"imageIndex":23},{"imageOffset":755888,"symbol":"gleDrawArraysOrElements_ExecCore","symbolLocation":620,"imageIndex":23},{"imageOffset":142380,"symbol":"glDrawArrays_Exec","symbolLocation":396,"imageIndex":23},{"imageOffset":806660,"symbol":"gem::modelGL::render(std::__1::vector<unsigned int, std::__1::allocator<unsigned int>>&)","symbolLocation":972,"imageIndex":1},{"imageOffset":805524,"symbol":"gem::modelGL::render()","symbolLocation":296,"imageIndex":1},{"imageOffset":1426552,"symbol":"model::render(GemState*)","symbolLocation":308,"imageIndex":1},{"imageOffset":1215904,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":388,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1340076,"symbol":"gemhead::receive(_symbol*, int, _atom*)","symbolLocation":360,"imageIndex":1},{"imageOffset":1350404,"symbol":"gemreceive::proxyCallback(_gemreceive_proxy*, _symbol*, int, _atom*)","symbolLocation":72,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":1215916,"symbol":"GemBase::gem_renderMess(GemCache*, GemState*)","symbolLocation":400,"imageIndex":1},{"imageOffset":441392,"symbol":"outlet_anything","symbolLocation":192,"imageIndex":0},{"imageOffset":440444,"symbol":"outlet_bang","symbolLocation":144,"imageIndex":0},{"imageOffset":440444,"symbol":"outlet_bang","symbolLocation":144,"imageIndex":0},{"imageOffset":441188,"symbol":"outlet_list","symbolLocation":192,"imageIndex":0},{"imageOffset":440444,"symbol":"outlet_bang","symbolLocation":144,"imageIndex":0},{"imageOffset":440444,"symbol":"outlet_bang","symbolLocation":144,"imageIndex":0},{"imageOffset":463672,"symbol":"socketreceiver_read","symbolLocation":1124,"imageIndex":0}]},{"id":27016838,"frames":[{"imageOffset":8424,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":25}],"threadState":{"x":[{"value":6093418496},{"value":4867},{"value":6092881920},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6093418496},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6549090536},"far":{"value":0}}},{"id":27016840,"name":"caulk.messenger.shared:17","threadState":{"x":[{"value":14},{"value":105553139108314},{"value":0},{"value":6094565482},{"value":105553139108288},{"value":25},{"value":0},{"value":0},{"value":0},{"value":4294967295},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":18446744073709551580},{"value":8460730584},{"value":0},{"value":105553165336816},{"value":105553165336816},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6734794740},"cpsr":{"value":2147487744},"fp":{"value":6094565248},"sp":{"value":6094565216},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6548844240},"far":{"value":0}},"frames":[{"imageOffset":3792,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":26},{"imageOffset":8180,"symbol":"caulk::semaphore::timed_wait(double)","symbolLocation":220,"imageIndex":27},{"imageOffset":7840,"symbol":"caulk::concurrent::details::worker_thread::run()","symbolLocation":36,"imageIndex":27},{"imageOffset":7028,"symbol":"void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*)","symbolLocation":96,"imageIndex":27},{"imageOffset":29412,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":25},{"imageOffset":8444,"symbol":"thread_start","symbolLocation":8,"imageIndex":25}]},{"id":27016841,"name":"caulk.messenger.shared:high","threadState":{"x":[{"value":14},{"value":105553139133116},{"value":0},{"value":6095138924},{"value":105553139133088},{"value":27},{"value":0},{"value":0},{"value":0},{"value":4294967295},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":18446744073709551580},{"value":8460730584},{"value":0},{"value":105553165320432},{"value":105553165320432},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6734794740},"cpsr":{"value":2147487744},"fp":{"value":6095138688},"sp":{"value":6095138656},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6548844240},"far":{"value":0}},"frames":[{"imageOffset":3792,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":26},{"imageOffset":8180,"symbol":"caulk::semaphore::timed_wait(double)","symbolLocation":220,"imageIndex":27},{"imageOffset":7840,"symbol":"caulk::concurrent::details::worker_thread::run()","symbolLocation":36,"imageIndex":27},{"imageOffset":7028,"symbol":"void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*>>>(void*)","symbolLocation":96,"imageIndex":27},{"imageOffset":29412,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":25},{"imageOffset":8444,"symbol":"thread_start","symbolLocation":8,"imageIndex":25}]},{"id":27017032,"threadState":{"x":[{"value":0},{"value":17297326606},{"value":0},{"value":80899},{"value":0},{"value":200175540764672},{"value":16384},{"value":0},{"value":18446744073709550527},{"value":16384},{"value":0},{"value":0},{"value":0},{"value":46607},{"value":1049137},{"value":1},{"value":18446744073709551569},{"value":8460742992},{"value":0},{"value":0},{"value":16384},{"value":200175540764672},{"value":0},{"value":80899},{"value":6093973008},{"value":0},{"value":17297326606},{"value":17297326606},{"value":117457422}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6548919812},"cpsr":{"value":4096},"fp":{"value":6093972672},"sp":{"value":6093972592},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6548844372},"far":{"value":0}},"queue":"com.apple.opengl.cvmDoWork","frames":[{"imageOffset":3924,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":26},{"imageOffset":79364,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":26},{"imageOffset":39672,"symbol":"mach_msg_overwrite","symbolLocation":480,"imageIndex":26},{"imageOffset":4764,"symbol":"mach_msg","symbolLocation":24,"imageIndex":26},{"imageOffset":128944,"symbol":"_dispatch_mach_send_and_wait_for_reply","symbolLocation":544,"imageIndex":28},{"imageOffset":129872,"symbol":"dispatch_mach_send_with_result_and_wait_for_reply","symbolLocation":60,"imageIndex":28},{"imageOffset":52840,"symbol":"xpc_connection_send_message_with_reply_sync","symbolLocation":280,"imageIndex":29},{"imageOffset":7604,"symbol":"cvms_element_build_and_get_internal","symbolLocation":256,"imageIndex":30},{"imageOffset":7396,"symbol":"cvm_deferred_build_modular(void*)","symbolLocation":412,"imageIndex":31},{"imageOffset":17844,"symbol":"_dispatch_client_callout","symbolLocation":20,"imageIndex":28},{"imageOffset":48088,"symbol":"_dispatch_lane_serial_drain","symbolLocation":768,"imageIndex":28},{"imageOffset":50992,"symbol":"_dispatch_lane_invoke","symbolLocation":380,"imageIndex":28},{"imageOffset":96672,"symbol":"_dispatch_root_queue_drain_deferred_wlh","symbolLocation":288,"imageIndex":28},{"imageOffset":94700,"symbol":"_dispatch_workloop_worker_thread","symbolLocation":540,"imageIndex":28},{"imageOffset":13272,"symbol":"_pthread_wqthread","symbolLocation":288,"imageIndex":25},{"imageOffset":8432,"symbol":"start_wqthread","symbolLocation":8,"imageIndex":25}]},{"id":27017047,"frames":[{"imageOffset":8424,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":25}],"threadState":{"x":[{"value":6095712256},{"value":47363},{"value":6095175680},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6095712256},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6549090536},"far":{"value":0}}},{"id":27017070,"name":"com.apple.NSEventThread","threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592},{"value":373846838345728},{"value":0},{"value":373846838345728},{"value":2},{"value":4294967295},{"value":18446744073709550527},{"value":2},{"value":0},{"value":0},{"value":0},{"value":87043},{"value":0},{"value":0},{"value":18446744073709551569},{"value":8460724200},{"value":0},{"value":4294967295},{"value":2},{"value":373846838345728},{"value":0},{"value":373846838345728},{"value":6096281704},{"value":8589934592},{"value":21592279046},{"value":21592279046},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6548919812},"cpsr":{"value":4096},"fp":{"value":6096281552},"sp":{"value":6096281472},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6548844372},"far":{"value":0}},"frames":[{"imageOffset":3924,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":26},{"imageOffset":79364,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":26},{"imageOffset":39672,"symbol":"mach_msg_overwrite","symbolLocation":480,"imageIndex":26},{"imageOffset":4764,"symbol":"mach_msg","symbolLocation":24,"imageIndex":26},{"imageOffset":514620,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":32},{"imageOffset":508572,"symbol":"__CFRunLoopRun","symbolLocation":1212,"imageIndex":32},{"imageOffset":505636,"symbol":"CFRunLoopRunSpecific","symbolLocation":588,"imageIndex":32},{"imageOffset":1440288,"symbol":"_NSEventThread","symbolLocation":148,"imageIndex":33},{"imageOffset":29412,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":25},{"imageOffset":8444,"symbol":"thread_start","symbolLocation":8,"imageIndex":25}]},{"id":27017073,"frames":[{"imageOffset":8424,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":25}],"threadState":{"x":[{"value":6097432576},{"value":0},{"value":6096896000},{"value":0},{"value":278532},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6097432576},"esr":{"value":0,"description":" Address size fault"},"pc":{"value":6549090536},"far":{"value":0}}},{"id":27017074,"frames":[{"imageOffset":8424,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":25}],"threadState":{"x":[{"value":6096859136},{"value":0},{"value":6096322560},{"value":0},{"value":278532},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6096859136},"esr":{"value":0,"description":" Address size fault"},"pc":{"value":6549090536},"far":{"value":0}}}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4374020096,
    "size" : 1032192,
    "uuid" : "22680c65-3712-3ce3-921a-2611456c3fa0",
    "path" : "\/Users\/USER\/*\/Pd.app\/Contents\/Resources\/bin\/pd",
    "name" : "pd"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4424597504,
    "size" : 2850816,
    "uuid" : "45e62c3d-9f6b-3715-8f1b-3d0eb21d0f3d",
    "path" : "\/Users\/USER\/*\/Gem.d_fat",
    "name" : "Gem.d_fat"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4376592384,
    "size" : 81920,
    "uuid" : "f7a21e28-ccb1-317f-b9f1-df71775949d8",
    "path" : "\/Users\/USER\/*\/libftgl.2.dylib",
    "name" : "libftgl.2.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4378181632,
    "size" : 507904,
    "uuid" : "18ba8b42-d2d4-31da-b131-9a200cb61085",
    "path" : "\/Users\/USER\/*\/libfreetype.6.dylib",
    "name" : "libfreetype.6.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4376215552,
    "size" : 147456,
    "uuid" : "2ca06217-f990-361e-a46c-65147f023cce",
    "path" : "\/Users\/USER\/*\/libpng16.16.dylib",
    "name" : "libpng16.16.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4376444928,
    "size" : 32768,
    "uuid" : "9ee8c34d-9da8-3bf0-86f4-dd0d70bc3c69",
    "path" : "\/Users\/USER\/*\/gem_filmAVF.darwin-fat.so",
    "name" : "gem_filmAVF.darwin-fat.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4376985600,
    "size" : 16384,
    "uuid" : "d2d080b9-7c40-3852-b0a0-1ec657195be6",
    "path" : "\/Users\/USER\/*\/gem_imageIO.darwin-fat.so",
    "name" : "gem_imageIO.darwin-fat.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4376788992,
    "size" : 32768,
    "uuid" : "fcc4b271-8c16-33f5-854a-d78669be91f5",
    "path" : "\/Users\/USER\/*\/gem_imageSGI.darwin-fat.so",
    "name" : "gem_imageSGI.darwin-fat.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4377640960,
    "size" : 147456,
    "uuid" : "6046f143-7e6a-3091-b646-cba265998b35",
    "path" : "\/Users\/USER\/*\/gem_imageSTB.darwin-fat.so",
    "name" : "gem_imageSTB.darwin-fat.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4377346048,
    "size" : 32768,
    "uuid" : "f644d973-709b-3668-ad1b-005f19670a7f",
    "path" : "\/Users\/USER\/*\/gem_modelASSIMP3.darwin-fat.so",
    "name" : "gem_modelASSIMP3.darwin-fat.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4412555264,
    "size" : 6176768,
    "uuid" : "9f3e4ade-62f6-3123-93d8-f2af0a18b31e",
    "path" : "\/Users\/USER\/*\/libassimp.5.dylib",
    "name" : "libassimp.5.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4377083904,
    "size" : 49152,
    "uuid" : "569090d3-156a-3c81-8052-56f0d17621dc",
    "path" : "\/Users\/USER\/*\/gem_modelOBJ.darwin-fat.so",
    "name" : "gem_modelOBJ.darwin-fat.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4377477120,
    "size" : 49152,
    "uuid" : "a04504fd-f719-3c0c-874b-df1141449ef7",
    "path" : "\/Users\/USER\/*\/gem_recordDECKLINK.darwin-fat.so",
    "name" : "gem_recordDECKLINK.darwin-fat.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4377231360,
    "size" : 16384,
    "uuid" : "2faf14f6-b196-300d-9f69-591e61e8b270",
    "path" : "\/Users\/USER\/*\/gem_recordNDI.darwin-fat.so",
    "name" : "gem_recordNDI.darwin-fat.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4378853376,
    "size" : 16384,
    "uuid" : "108d9e16-3818-3b1e-a970-789ff0d1a13c",
    "path" : "\/Users\/USER\/*\/gem_recordPNM.darwin-fat.so",
    "name" : "gem_recordPNM.darwin-fat.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4378951680,
    "size" : 32768,
    "uuid" : "a5159826-4763-3168-bf58-ae77059392d6",
    "path" : "\/Users\/USER\/*\/gem_videoAVF.darwin-fat.so",
    "name" : "gem_videoAVF.darwin-fat.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4377919488,
    "size" : 32768,
    "uuid" : "f6901e30-0a9c-358c-9409-059d375686a6",
    "path" : "\/Users\/USER\/*\/gem_videoDECKLINK.darwin-fat.so",
    "name" : "gem_videoDECKLINK.darwin-fat.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4378050560,
    "size" : 16384,
    "uuid" : "5bc2a474-3721-34ce-b5ae-8f9ed46f1dfa",
    "path" : "\/Users\/USER\/*\/gem_videoNDI.darwin-fat.so",
    "name" : "gem_videoNDI.darwin-fat.so"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4421943296,
    "size" : 16384,
    "uuid" : "f547cedb-3efb-3d8c-83cd-b278696b79e7",
    "path" : "\/Users\/USER\/*\/gemglfw3window.d_fat",
    "name" : "gemglfw3window.d_fat"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4422549504,
    "size" : 147456,
    "uuid" : "9b9e57f5-2893-3ad6-9205-59e8767553f1",
    "path" : "\/Users\/USER\/*\/libglfw.3.dylib",
    "name" : "libglfw.3.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4596809728,
    "size" : 49152,
    "uuid" : "fcf9b985-2748-371b-98d3-37a06a9bf107",
    "path" : "\/usr\/lib\/libobjc-trampolines.dylib",
    "name" : "libobjc-trampolines.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4623728640,
    "CFBundleShortVersionString" : "323.15",
    "CFBundleIdentifier" : "com.apple.AGXMetal13-3",
    "size" : 6963200,
    "uuid" : "0253a4e5-17e3-37f5-acf3-f698f08fa3a9",
    "path" : "\/System\/Library\/Extensions\/AGXMetal13_3.bundle\/Contents\/MacOS\/AGXMetal13_3",
    "name" : "AGXMetal13_3",
    "CFBundleVersion" : "323.15"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4608081920,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.AppleMetalOpenGLRenderer",
    "size" : 425984,
    "uuid" : "d066b74f-d423-38de-9a8d-16b1bcddb1c7",
    "path" : "\/System\/Library\/Extensions\/AppleMetalOpenGLRenderer.bundle\/Contents\/MacOS\/AppleMetalOpenGLRenderer",
    "name" : "AppleMetalOpenGLRenderer",
    "CFBundleVersion" : "1"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 8109785088,
    "size" : 1437688,
    "uuid" : "05f45e3d-9c8d-34ae-8be1-86591024276a",
    "path" : "\/System\/Library\/Frameworks\/OpenGL.framework\/Versions\/A\/Resources\/GLEngine.bundle\/GLEngine",
    "name" : "GLEngine"
  },
  {
    "size" : 0,
    "source" : "A",
    "base" : 0,
    "uuid" : "00000000-0000-0000-0000-000000000000"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6549082112,
    "size" : 53248,
    "uuid" : "f1661613-b1c8-320d-b69d-97f174130e29",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6548840448,
    "size" : 241656,
    "uuid" : "dfc9530c-e75b-3d1c-a9a6-85c8a709d6a7",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6734786560,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.audio.caulk",
    "size" : 163840,
    "uuid" : "fb56c10c-7eed-3e31-99bf-2e083c6e8e0b",
    "path" : "\/System\/Library\/PrivateFrameworks\/caulk.framework\/Versions\/A\/caulk",
    "name" : "caulk"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6547312640,
    "size" : 290816,
    "uuid" : "9c7ff4a8-9d78-3aed-b64d-979574a26d8f",
    "path" : "\/usr\/lib\/system\/libdispatch.dylib",
    "name" : "libdispatch.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6545965056,
    "size" : 307200,
    "uuid" : "daaac055-2ed3-3b40-bafb-39bb74137dd8",
    "path" : "\/usr\/lib\/system\/libxpc.dylib",
    "name" : "libxpc.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 8107732992,
    "size" : 24576,
    "uuid" : "13c68489-a092-3895-8ef0-3b6155934aaa",
    "path" : "\/System\/Library\/Frameworks\/OpenGL.framework\/Versions\/A\/Libraries\/libCoreVMClient.dylib",
    "name" : "libCoreVMClient.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 8107827200,
    "size" : 12288,
    "uuid" : "75c63f30-c445-3288-bff0-94dcc9de4efc",
    "path" : "\/System\/Library\/Frameworks\/OpenGL.framework\/Versions\/A\/Libraries\/libCVMSPluginSupport.dylib",
    "name" : "libCVMSPluginSupport.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6549549056,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5197824,
    "uuid" : "41fdd393-3acc-328d-8108-e59a3a947ec5",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "3208"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6612115456,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 21204992,
    "uuid" : "4251ee1c-062c-3b9a-b6e2-751f77ef9f4a",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2575.30.19"
  }
],
  "sharedCache" : {
  "base" : 6544605184,
  "size" : 4861722624,
  "uuid" : "e36100c7-89e7-3970-8938-8483ccd7019a"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.6G resident=0K(0%) swapped_out_or_unallocated=1.6G(100%)\nWritable regions: Total=1.1G written=658K(0%) resident=658K(0%) swapped_out=0K(0%) unallocated=1.1G(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework               128K        1 \nActivity Tracing                   256K        1 \nCG image                            96K        5 \nColorSync                          656K       31 \nCoreAnimation                      416K       23 \nCoreGraphics                        32K        2 \nCoreUI image data                 1184K        9 \nFoundation                          16K        1 \nKernel Alloc Once                   32K        1 \nMALLOC                             1.1G       53 \nMALLOC guard page                  288K       18 \nSTACK GUARD                       56.1M        9 \nStack                             12.2M        9 \nVM_ALLOCATE                        416K       14 \n__AUTH                            5130K      656 \n__AUTH_CONST                      69.3M      898 \n__CTF                               824        1 \n__DATA                            24.5M      901 \n__DATA_CONST                      24.7M      928 \n__DATA_DIRTY                      2755K      334 \n__FONT_DATA                        2352        1 \n__GLSLBUILTINS                    5174K        1 \n__INFO_FILTER                         8        1 \n__LINKEDIT                       614.2M       24 \n__OBJC_RW                         2373K        1 \n__TEXT                             1.0G      949 \n__TPRO_CONST                       272K        2 \nmapped file                      209.9M       22 \nowned unmapped memory              272K        1 \npage table in kernel               658K        1 \nshared memory                      896K       16 \n===========                     =======  ======= \nTOTAL                              3.1G     4914 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "logWritingSignature" : "b7d12ccb9215d313a7967593416e584dd77f8bbf",
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "60186475825c62000ccf5450",
      "factorPackIds" : {

      },
      "deploymentId" : 240000083
    },
    {
      "rolloutId" : "642da32dea3b2418c750f848",
      "factorPackIds" : {

      },
      "deploymentId" : 240000004
    }
  ],
  "experiments" : [
    {
      "treatmentId" : "45f4e2a5-551b-4bc2-a2dc-19c244dda8f8",
      "experimentId" : "6643969b3099cf28e049862f",
      "deploymentId" : 400000007
    }
  ]
}
}

Model: MacBookAir10,1, BootROM 11881.61.3, proc 8:4:4 processors, 8 GB, SMC 
Graphics: Apple M1, Apple M1, Built-In
Display: Color LCD, 2560 x 1600 Retina, Main, MirrorOff, Online
Memory Module: LPDDR4, Hynix
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x4378), wl0: Sep 28 2024 04:40:32 version 18.20.462.0.7.8.175 FWID 01-10fa77df
IO80211_driverkit-1345.8 "IO80211_driverkit-1345.8" Nov  9 2024 17:02:32
AirPort: 
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB31Bus
USB Device: USB31Bus
Thunderbolt Bus: MacBook Air, Apple Inc.
Thunderbolt Bus: MacBook Air, Apple Inc.

@umlaeute
Copy link
Owner

as this PR has not been merged yet (i haven't found the time), it is not wonder that it still crashes.

@rnkn
Copy link

rnkn commented Dec 26, 2024

Hi @umlaeute sorry I mean that I applied the patch locally, recompiled, and still got this crash. Please let me know if there's anything else I can do to help.

@rnkn
Copy link

rnkn commented Dec 27, 2024

I'm not getting the crash now built with the patch and with gemdefaultwindow as gemglfw3window instead of gemglutwindow but I could have been doing something wrong the first time round.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants