Hello,
I happen to have some random crashes on macOS when closing a window. I found this old topic that it’s the same behavior Crash on Window.Close in 64 bit with AutoQuit=true but I do not have AllowAutoQuit=true on macOS
The issue is that there is no pattern at all and it crash randomly on any window that we are closing
It does that with the debug or build version and there is no data in the debugger after the crash to the source of that. The only thing I am doing in the closing event is to disconnect the URLConnections that were ongoing (if any)
From a build app, we get a crash report and the only thing is that:
"exception" : {"codes":"0x0000000000000001, 0x0000000000000019","rawCodes":[1,25],"type":"EXC_BAD_ACCESS","signal":"SIGSEGV","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000019"},
"termination" : {"flags":0,"code":11,"namespace":"SIGNAL","indicator":"Segmentation fault: 11","byProc":"exc handler","byPid":1076},
How could I try to find the origin of this ?
We were not aware of this on previous Xojo Release (2024rX) and there is no pattern except opening and closing the window again and again. Sometimes it happens quite quickly (after few minutes) and sometimes after hours of use.
Some time ago, we had the exact same problem on Windows and it was related to cleaning of objects on Xojo framework (if I am not mistaken) and the option we found at the moment was to add a timer to delay the closing by a few milliseconds.
Xojo version is 2025r1.1
macos sonoma/sequoia
Thanks
Please show the relevant section of the crash log.
I think I had a crash for URLConnections on quitting the app some weeks ago. Let me check that.
These are some ips file from macos. There are 5 files there
ips-files-crash.zip (68.5 KB)
Example of a full ips file
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: Laby [3857]
Path: /Applications/Laby 1.8.1 b4.1.app/Contents/MacOS/Laby
Identifier: io.laby
Version: 1.8.1 (1.8.1.3.27)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 502
Date/Time: 2025-05-16 12:19:58.0714 +0200
OS Version: macOS 15.4.1 (24E263)
Report Version: 12
Anonymous UUID: 86062FD4-6226-A005-6296-5CD95ED598FB
Sleep/Wake UUID: 47B4F0F0-275F-4D23-B3ED-EA8344D2E4BA
Time Awake Since Boot: 5200 seconds
Time Since Wake: 2058 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 0x0000007ca0080021
Exception Codes: 0x0000000000000001, 0x0000007ca0080021
Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [3857]
VM Region Info: 0x7ca0080021 is not in any region. Bytes after previous region: 54224486434 Bytes before following region: 105017855442911
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
commpage (reserved) 1000000000-7000000000 [384.0G] ---/--- SM=NUL reserved VM address space (unallocated)
---> GAP OF 0x5f9000000000 BYTES
MALLOC_NANO 600000000000-600020000000 [512.0M] rw-/rwx SM=PRV
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 XojoFramework 0x110e849d0 0x110d14000 + 1509840
1 XojoFramework 0x110e84964 0x110d14000 + 1509732
2 XojoFramework 0x110f0d21c RuntimeControl::ReleaseData() + 132
3 Laby 0x104b53b4c DesktopControl.__Exit%%o<DesktopControl> + 36
4 XojoFramework 0x110f88654 RuntimeUnlockObject + 532
5 XojoFramework 0x110e8be20 RuntimeViewWindow::Close() + 428
6 XojoFramework 0x110e8e0f0 RuntimeView::UnifiedClose(bool) + 556
7 XojoFramework 0x110e15d40 0x110d14000 + 1056064
8 AppKit 0x18b3e5f20 __19-[NSWindow __close]_block_invoke + 148
9 AppKit 0x18b3e5e5c -[NSWindow __close] + 376
10 AppKit 0x18b2c9040 -[NSApplication(NSResponder) sendAction:to:from:] + 560
11 AppKit 0x18b2c8de0 -[NSControl sendAction:to:] + 72
12 AppKit 0x18b2c8d24 __26-[NSCell _sendActionFrom:]_block_invoke + 100
13 AppKit 0x18b2c8c4c -[NSCell _sendActionFrom:] + 204
14 AppKit 0x18b2c8b48 -[NSButtonCell _sendActionFrom:] + 96
15 AppKit 0x18b2c60f4 NSControlTrackMouse + 1492
16 AppKit 0x18b2c5af4 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 144
17 AppKit 0x18b2c596c -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 580
18 AppKit 0x18b2c4e18 -[NSControl mouseDown:] + 492
19 AppKit 0x18b2c3c74 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 3664
20 AppKit 0x18b24fce0 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 492
21 AppKit 0x18b24f92c -[NSWindow(NSEventRouting) sendEvent:] + 288
22 XojoFramework 0x110e0af60 0x110d14000 + 1011552
23 AppKit 0x18bac7094 -[NSApplication(NSEventRouting) sendEvent:] + 1504
24 XojoFramework 0x110dfa9ac 0x110d14000 + 944556
25 Laby 0x104b51fe0 DesktopApplication._CallFunctionWithExceptionHandling%%o<DesktopApplication>p + 164
26 XojoFramework 0x110f85d24 CallFunctionWithExceptionHandling(void (*)()) + 180
27 XojoFramework 0x110dfa95c 0x110d14000 + 944476
28 AppKit 0x18b6c64a4 -[NSApplication _handleEvent:] + 60
29 AppKit 0x18b11cc8c -[NSApplication run] + 520
30 XojoFramework 0x110f84414 RuntimeRun + 60
31 Laby 0x104c02904 REALbasic._RuntimeRun + 28
32 Laby 0x10d95adbc _Main + 476
33 Laby 0x10d9577d4 main + 36
34 dyld 0x18704eb4c start + 6000
Thread 1:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x1873abc34 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1873be308 mach_msg2_internal + 76
2 libsystem_kernel.dylib 0x1873b4764 mach_msg_overwrite + 484
3 libsystem_kernel.dylib 0x1873abfa8 mach_msg + 24
4 CoreFoundation 0x1874d8f8c __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x1874d78a8 __CFRunLoopRun + 1208
6 CoreFoundation 0x1874d6d68 CFRunLoopRunSpecific + 572
7 AppKit 0x18b24d818 _NSEventThread + 140
8 libsystem_pthread.dylib 0x1873edc0c _pthread_start + 136
9 libsystem_pthread.dylib 0x1873e8b80 thread_start + 8
Thread 2:: WebCore: Scrolling
0 libsystem_kernel.dylib 0x1873abc34 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1873be308 mach_msg2_internal + 76
2 libsystem_kernel.dylib 0x1873b4764 mach_msg_overwrite + 484
3 libsystem_kernel.dylib 0x1873abfa8 mach_msg + 24
4 CoreFoundation 0x1874d8f8c __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x1874d78a8 __CFRunLoopRun + 1208
6 CoreFoundation 0x1874d6d68 CFRunLoopRunSpecific + 572
7 CoreFoundation 0x187550864 CFRunLoopRun + 64
8 JavaScriptCore 0x1a5f20a08 WTF::Detail::CallableWrapper<WTF::RunLoop::create(WTF::ASCIILiteral, WTF::ThreadType, WTF::Thread::QOS)::$_0, void>::call() + 52
9 JavaScriptCore 0x1a5f57c08 WTF::Thread::entryPoint(WTF::Thread::NewThreadContext*) + 240
10 JavaScriptCore 0x1a5d6e958 WTF::wtfThreadEntryPoint(void*) + 16
11 libsystem_pthread.dylib 0x1873edc0c _pthread_start + 136
12 libsystem_pthread.dylib 0x1873e8b80 thread_start + 8
Thread 3:: com.apple.CFNetwork.CustomProtocols
0 libsystem_kernel.dylib 0x1873abc34 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1873be308 mach_msg2_internal + 76
2 libsystem_kernel.dylib 0x1873b4764 mach_msg_overwrite + 484
3 libsystem_kernel.dylib 0x1873abfa8 mach_msg + 24
4 CoreFoundation 0x1874d8f8c __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x1874d78a8 __CFRunLoopRun + 1208
6 CoreFoundation 0x1874d6d68 CFRunLoopRunSpecific + 572
7 CFNetwork 0x18cf0e6a0 +[__CFN_CoreSchedulingSetRunnable _run:] + 416
8 Foundation 0x1887b9ba8 __NSThread__start__ + 732
9 libsystem_pthread.dylib 0x1873edc0c _pthread_start + 136
10 libsystem_pthread.dylib 0x1873e8b80 thread_start + 8
Thread 4:
0 libsystem_pthread.dylib 0x1873e8b6c start_wqthread + 0
Thread 5:
0 libsystem_pthread.dylib 0x1873e8b6c start_wqthread + 0
Thread 6:
0 libsystem_pthread.dylib 0x1873e8b6c start_wqthread + 0
Thread 7:: JavaScriptCore libpas scavenger
0 libsystem_kernel.dylib 0x1873af3cc __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x1873ee0e0 _pthread_cond_wait + 984
2 JavaScriptCore 0x1a7438288 scavenger_thread_main + 1584
3 libsystem_pthread.dylib 0x1873edc0c _pthread_start + 136
4 libsystem_pthread.dylib 0x1873e8b80 thread_start + 8
Thread 8:
0 libsystem_pthread.dylib 0x1873e8b6c start_wqthread + 0
Thread 9:
0 libsystem_pthread.dylib 0x1873e8b6c start_wqthread + 0
Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x00006000007c75a0 x1: 0x00006000007c75a0 x2: 0x0000000000000000 x3: 0x00006000007c75d0
x4: 0x0000000000000002 x5: 0x00000000b362991f x6: 0x00000000000035a0 x7: 0x0000000000000037
x8: 0x00006000007c75c8 x9: 0x0000007ca0080001 x10: 0x80006000015c9740 x11: 0x0000007ca0080001
x12: 0x0000000000000030 x13: 0x00006000017c711c x14: 0x00000000001ff800 x15: 0x00000000000007fb
x16: 0x0000000187426f20 x17: 0x00000001f7332bf0 x18: 0x0000000000000000 x19: 0x00006000007c75a0
x20: 0x00006000007c75a0 x21: 0x0000000000000001 x22: 0x000000011107434b x23: 0x000000011120c530
x24: 0x00000001110fc878 x25: 0x000000011120c000 x26: 0x000000012a815200 x27: 0x000000011106025d
x28: 0x000060000078f120 fp: 0x000000016b5fa570 lr: 0x0000000110e84964
sp: 0x000000016b5fa560 pc: 0x0000000110e849d0 cpsr: 0x80001000
far: 0x0000007ca0080021 esr: 0x92000005 (Data Abort) byte read Translation fault
Binary Images:
0x104804000 - 0x10e017fff io.laby (1.8.1) <21e14536-bd0b-3d65-8d03-3e06d73ec3ca> /Applications/Laby 1.8.1 b4.1.app/Contents/MacOS/Laby
0x110d14000 - 0x111097fff com.xojo.XojoFramework (1.0) <eb3ef9cd-47d1-3275-a398-4c630abd5bf6> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/XojoFramework.framework/Versions/A/XojoFramework
0x110268000 - 0x11026ffff libSearchControl.dylib (*) <08e853fe-df48-33bf-a9b4-0fd2034074d0> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/libSearchControl.dylib
0x110280000 - 0x110283fff Shell.dylib (*) <55aca122-41ea-33ac-a441-32480c5f87aa> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/Shell.dylib
0x110294000 - 0x11029bfff GUIKitCocoa.dylib (*) <0011eadf-1ddb-3dd2-821b-64b2f9110738> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/GUIKitCocoa.dylib
0x110234000 - 0x110243fff libGzip.dylib (*) <be7242c0-a1ad-31a6-84d6-6f10f05cec6c> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/libGzip.dylib
0x1102dc000 - 0x1102e3fff libCalendarControl.dylib (*) <e1b2d7b3-ec81-3338-858e-3c0ad49668df> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/libCalendarControl.dylib
0x110808000 - 0x11088ffff Crypto.dylib (*) <ade70a75-ee39-3a10-ab6d-08758c48357f> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/Crypto.dylib
0x110254000 - 0x110257fff InternetEncodings.dylib (*) <806bd3d9-81e6-32fb-be0a-37973e963a53> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/InternetEncodings.dylib
0x1108b0000 - 0x1108e7fff RegEx.dylib (*) <6e3e2385-c466-3f11-a056-e2b87a322149> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/RegEx.dylib
0x1102ac000 - 0x1102b7fff HTMLViewerCocoa.dylib (*) <925611e3-6d64-3f0c-b9a6-2591b416373f> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/HTMLViewerCocoa.dylib
0x110cd8000 - 0x110cebfff AppearancePakCocoa.dylib (*) <dd9d2bf8-def8-365e-b48c-d659b51e0aac> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/AppearancePakCocoa.dylib
0x11170c000 - 0x11177bfff XML.dylib (*) <26b1f42b-09dd-3372-bca7-a24ac9fa1745> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/XML.dylib
0x111390000 - 0x1113a3fff EHPictureButton.dylib (*) <1e05fa39-e272-364a-add6-e0cef16c50f5> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/EHPictureButton.dylib
0x128000000 - 0x128893fff MBS_DynaPDF_dynapdf_Plugin_21206.dylib (*) <bd3a1f64-9700-3e78-8f02-3cd5830874c4> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_DynaPDF_dynapdf_Plugin_21206.dylib
0x1116a8000 - 0x1116d7fff MBS_MacBase_NSAttributedString_Plugin_21206.dylib (*) <3e6beced-b394-3b9a-9d6b-1b7e546e8414> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_MacBase_NSAttributedString_Plugin_21206.dylib
0x1113d0000 - 0x1113e7fff MBS_MacBase_NSFont_Plugin_21206.dylib (*) <dfc33a41-ed82-3135-8e94-0867e676b1ad> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_MacBase_NSFont_Plugin_21206.dylib
0x111600000 - 0x11163ffff MBS_MacBase_NSImage_Plugin_21206.dylib (*) <dfaed86a-dc3b-34ee-9715-89394e407982> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_MacBase_NSImage_Plugin_21206.dylib
0x111674000 - 0x111683fff MBS_MacBase_NSNotification_Plugin_21206.dylib (*) <b4ea9c6a-67b1-37af-9903-2bd6469b31e6> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_MacBase_NSNotification_Plugin_21206.dylib
0x111790000 - 0x1117c3fff MBS_MacBase_NSUtil_Plugin_21206.dylib (*) <c0e54438-cec7-368e-a8ff-99f73efcaefe> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_MacBase_NSUtil_Plugin_21206.dylib
0x116350000 - 0x1163a3fff MBS_MacBase_NSView_Plugin_21206.dylib (*) <cf39f21d-aeab-3432-994e-18a74f50576d> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_MacBase_NSView_Plugin_21206.dylib
0x116244000 - 0x11624bfff MBS_Main_ExceptionHandler_Plugin_21206.dylib (*) <dfd015a2-74a9-30e9-9fba-3b34273a2a9d> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_Main_ExceptionHandler_Plugin_21206.dylib
0x116218000 - 0x116223fff MBS_Main_NSAffineTransform_Plugin_21206.dylib (*) <f0fe5e15-0493-31e5-a75b-b440db383bb3> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_Main_NSAffineTransform_Plugin_21206.dylib
0x1163f4000 - 0x116427fff MBS_Main_NSBase_Plugin_21206.dylib (*) <a353b372-ac98-325e-bf6b-f8e9db477810> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_Main_NSBase_Plugin_21206.dylib
0x1162bc000 - 0x1162dbfff MBS_Main_Registration_Plugin_21206.dylib (*) <7a6fcd53-8517-3db5-9e11-8fcfd88dd09e> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_Main_Registration_Plugin_21206.dylib
0x1162ec000 - 0x1162fffff MBS_Util_Folderitems_Plugin_21206.dylib (*) <6cce324d-70e4-367a-92d6-7017dfda91c3> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_Util_Folderitems_Plugin_21206.dylib
0x1166e8000 - 0x1167b7fff MBS_Util_JSON2_Plugin_21206.dylib (*) <f9a173dc-219d-3f5a-bcd5-19b234d94ca0> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_Util_JSON2_Plugin_21206.dylib
0x116314000 - 0x116327fff MBS_Util_Main_Plugin_21206.dylib (*) <bc785575-0c2f-3003-b281-7916db97c315> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_Util_Main_Plugin_21206.dylib
0x116450000 - 0x116463fff MBS_Util_Math_Plugin_21206.dylib (*) <3f9ec9b3-08ec-35f9-9a00-adce65179252> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_Util_Math_Plugin_21206.dylib
0x116478000 - 0x116487fff MBS_Util_Process_Plugin_21206.dylib (*) <c3b12255-6ab1-3f06-be6c-2ef4a8fe17ea> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_Util_Process_Plugin_21206.dylib
0x11649c000 - 0x1164abfff MBS_Util_Signal_Plugin_21206.dylib (*) <1ca75e4b-eb36-30e2-b4f1-6d6c0fbed70c> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_Util_Signal_Plugin_21206.dylib
0x116580000 - 0x1165c7fff MBS_Util_String_Plugin_21206.dylib (*) <cfff877d-9a38-3479-bc29-b493645fe0fe> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_Util_String_Plugin_21206.dylib
0x1164c0000 - 0x1164cffff MBS_Util_SystemInformation_Plugin_21206.dylib (*) <597c1a73-4cc3-3fb1-a80b-04c66d11285c> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_Util_SystemInformation_Plugin_21206.dylib
0x1164e4000 - 0x11653bfff MBS_Util_Util_Plugin_21206.dylib (*) <b7f47ad2-8caa-3985-bcb8-613c838cf8f7> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_Util_Util_Plugin_21206.dylib
0x116294000 - 0x11629ffff MBS_Util_UUID_Plugin_21206.dylib (*) <217659b0-5101-3bde-a48a-6839d84bdc6d> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_Util_UUID_Plugin_21206.dylib
0x11655c000 - 0x116567fff MBS_Util_Variant_Plugin_21206.dylib (*) <945c9e35-1783-37bb-a74a-90bbcd14050a> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_Util_Variant_Plugin_21206.dylib
0x11625c000 - 0x11626bfff MBS_Util_Window_Plugin_21206.dylib (*) <d6cc4bd0-1ff9-3f4a-8985-75cc947999bd> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_Util_Window_Plugin_21206.dylib
0x11665c000 - 0x11666bfff EHObjectArray.dylib (*) <3ac74bbc-1701-377b-a448-abf42a9dfda8> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/EHObjectArray.dylib
0x116688000 - 0x116697fff EHObjectCollection.dylib (*) <e1f3875a-1df8-3644-89d5-6bfe22f8634c> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/EHObjectCollection.dylib
0x116600000 - 0x116617fff EHRawBitmap.dylib (*) <b031ab0f-f8ff-3a6d-85a5-53527acd4677> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/EHRawBitmap.dylib
0x1166b4000 - 0x1166c3fff EHRawBitmapConverter.dylib (*) <5ebf7ab7-a1dc-3b87-b4f6-3644b5b175cc> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/EHRawBitmapConverter.dylib
0x12d800000 - 0x12ddfffff MBS_XL_XL_Plugin_21206.dylib (*) <6b5b472a-73d5-3374-84ee-0026a48a466e> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_XL_XL_Plugin_21206.dylib
0x116ca0000 - 0x116e6bfff MBS_Compression_Archive_Plugin_21206.dylib (*) <c6a7736b-a445-3d7c-856c-ab3ec0e9d511> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_Compression_Archive_Plugin_21206.dylib
0x1168a4000 - 0x1168c3fff MBS_MacControls_NSToolbar_Plugin_21206.dylib (*) <b39b9aee-9727-3d7e-9000-67fff58a4c6d> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_MacControls_NSToolbar_Plugin_21206.dylib
0x11682c000 - 0x116843fff EHCustomButton.dylib (*) <a5dbf82c-babd-32c7-a4e9-1dec13567d7c> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/EHCustomButton.dylib
0x116950000 - 0x11696ffff MBS_MacCocoa_NSApplicationDelegate_Plugin_21206.dylib (*) <31fc1e49-9130-3f4c-b96d-9118c868200a> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_MacCocoa_NSApplicationDelegate_Plugin_21206.dylib
0x1168e4000 - 0x1168fffff MBS_MacCocoa_NSCell_Plugin_21206.dylib (*) <3c1da7fc-8002-3452-9e71-374fb1c08e09> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_MacCocoa_NSCell_Plugin_21206.dylib
0x116a10000 - 0x116a37fff MBS_MacCocoa_NSControl_Plugin_21206.dylib (*) <0ee99025-ee90-341c-99e5-75edc89ee6e8> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_MacCocoa_NSControl_Plugin_21206.dylib
0x116638000 - 0x116647fff MBS_MacCocoa_NSDrag_Plugin_21206.dylib (*) <80e6308e-f7d3-3421-8212-6ad66dda434e> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_MacCocoa_NSDrag_Plugin_21206.dylib
0x116870000 - 0x11687ffff MBS_MacCocoa_NSGraphics_Plugin_21206.dylib (*) <68bbd17b-06fb-3500-80e3-f9e1921bcabc> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_MacCocoa_NSGraphics_Plugin_21206.dylib
0x116a58000 - 0x116a73fff MBS_MacCocoa_NSTabView_Plugin_21206.dylib (*) <b5d4c798-3914-30ee-a2d2-db7644e6543d> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_MacCocoa_NSTabView_Plugin_21206.dylib
0x116b98000 - 0x116bebfff MBS_MacCocoa_NSText_Plugin_21206.dylib (*) <2a6c965a-ccbb-3def-9996-84b27f57ef67> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_MacCocoa_NSText_Plugin_21206.dylib
0x116a8c000 - 0x116aaffff MBS_MacCocoa_NSWorkspace_Plugin_21206.dylib (*) <1999014b-06cd-3cc5-bb4c-558e30b54070> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_MacCocoa_NSWorkspace_Plugin_21206.dylib
0x116ad0000 - 0x116af3fff MBS_DataTypes_LargeNumber_Plugin_21206.dylib (*) <047cdf46-7317-35cc-854b-c4ffede0591b> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_DataTypes_LargeNumber_Plugin_21206.dylib
0x116920000 - 0x11692ffff WindowSplitter.dylib (*) <542c195f-494a-32d2-96b8-5c4b73a1cdc5> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/WindowSplitter.dylib
0x1169cc000 - 0x1169dbfff MBS_WinFrameworks_WebView2_Plugin_21206.dylib (*) <db4d6506-3fbf-347a-b30b-7b5f33e62dc8> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_WinFrameworks_WebView2_Plugin_21206.dylib
0x116b0c000 - 0x116b1bfff MBS_MacFrameworks_FSEvents_Plugin_21206.dylib (*) <f3bf04c7-79f1-3f01-ba06-dc6dad412de2> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_MacFrameworks_FSEvents_Plugin_21206.dylib
0x116b30000 - 0x116b3ffff MBS_MacFrameworks_NSVisualEffect_Plugin_21206.dylib (*) <879e2a09-407f-3c08-a416-491a8a1e06a4> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_MacFrameworks_NSVisualEffect_Plugin_21206.dylib
0x116988000 - 0x1169a7fff MBS_MacFrameworks_QuickLookUI_Plugin_21206.dylib (*) <2322b3e2-c304-3ca4-8767-965ce16bc001> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_MacFrameworks_QuickLookUI_Plugin_21206.dylib
0x116b54000 - 0x116b63fff TimeControl.dylib (*) <124315b8-6bc2-39a8-abe8-9cac2482d65c> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/TimeControl.dylib
0x11706c000 - 0x11711bfff MBS_Barcode_zint_Plugin_21206.dylib (*) <3ee2a947-c326-3027-8f8d-9be4cbbb8130> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_Barcode_zint_Plugin_21206.dylib
0x116fb8000 - 0x116febfff EHJSONIII.dylib (*) <1a7f5d1f-76c0-35e0-8974-c5dc6c7b5c08> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/EHJSONIII.dylib
0x116f50000 - 0x116f6ffff TreeView.dylib (*) <abc2e671-42ea-3cce-9e9c-7cd0d7cd5bee> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/TreeView.dylib
0x116c68000 - 0x116c77fff MBS_Picture_Icon_Plugin_21206.dylib (*) <a3e3d613-80c4-3c5e-934e-3c19dddd9832> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_Picture_Icon_Plugin_21206.dylib
0x1169f0000 - 0x1169fbfff MBS_Win_PreviewHandler_Plugin_21206.dylib (*) <60abe3cc-3599-3394-af00-f44eef320c1e> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_Win_PreviewHandler_Plugin_21206.dylib
0x1102c8000 - 0x1102cbfff MBS_Win_WindowsDirectoryWatcher_Plugin_21206.dylib (*) <c2cc5c8e-e8f7-381a-aaa4-200aa9ff140b> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_Win_WindowsDirectoryWatcher_Plugin_21206.dylib
0x117138000 - 0x11714ffff DateControl.dylib (*) <26be1ce2-20e2-3f5a-9fb0-f280bb009ea1> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/DateControl.dylib
0x116ebc000 - 0x116f0bfff EHSvg.dylib (*) <64178e59-d94c-3a26-8eb3-ee1368654305> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/EHSvg.dylib
0x117034000 - 0x117043fff MBS_MacCF_Darwin_Plugin_21206.dylib (*) <3c7407e1-e513-3580-b2be-2ec1897d3953> /Applications/Laby 1.8.1 b4.1.app/Contents/Frameworks/MBS_MacCF_Darwin_Plugin_21206.dylib
0x110d00000 - 0x110d0bfff libobjc-trampolines.dylib (*) <fb6f2685-3c65-37ec-8ee3-8adba6e1995f> /usr/lib/libobjc-trampolines.dylib
0x12f000000 - 0x12f693fff com.apple.AGXMetal13-3 (325.34.1) <ad3ca3f7-e4bf-3442-9cd2-cc68b440f074> /System/Library/Extensions/AGXMetal13_3.bundle/Contents/MacOS/AGXMetal13_3
0x128ae8000 - 0x128aebfff com.apple.textencoding.unicode (8.0) <dedabb22-d6c8-3a5e-90c3-44d57f765233> /System/Library/TextEncodings/Unicode Encodings.bundle/Contents/MacOS/Unicode Encodings
0x166534000 - 0x16659bfff com.apple.AppleMetalOpenGLRenderer (1.0) <c56b4a08-939d-334a-b846-aa9542ebcb21> /System/Library/Extensions/AppleMetalOpenGLRenderer.bundle/Contents/MacOS/AppleMetalOpenGLRenderer
0x153158000 - 0x15316bfff com.apple.qldisplay.Web2 (5.0) <66803513-4b4f-3390-a3c6-23b4bef24bce> /System/Library/Frameworks/QuickLookUI.framework/Versions/A/PlugIns/Web2.qldisplay/Contents/MacOS/Web2
0x18b0ef000 - 0x18c57fdff com.apple.AppKit (6.9) <1d6df541-4a74-3a0e-8a8f-15aee6f93da9> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x187048000 - 0x1870e2a83 dyld (*) <aca43a8d-6369-3a2c-af92-3d4c458523d6> /usr/lib/dyld
0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???
0x187424000 - 0x18742bb4f libsystem_platform.dylib (*) <27ed40c8-6b18-3266-93a7-387fb33ca186> /usr/lib/system/libsystem_platform.dylib
0x1873ab000 - 0x1873e630b libsystem_kernel.dylib (*) <225cb279-20a9-381d-a163-d2be263f5327> /usr/lib/system/libsystem_kernel.dylib
0x18745c000 - 0x18799afff com.apple.CoreFoundation (6.9) <39e0f63a-3ab8-39e9-97f8-333cde9a7ba4> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x1873e7000 - 0x1873f3a47 libsystem_pthread.dylib (*) <8d27ec9a-d919-31a4-8df8-31a2fd2e593c> /usr/lib/system/libsystem_pthread.dylib
0x1a5d68000 - 0x1a7645ddf com.apple.JavaScriptCore (20621) <115dd41c-68d2-316d-9f03-bed3ee71bb44> /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore
0x18ccba000 - 0x18d083e9f com.apple.CFNetwork (1.0) <aae99588-a593-30b8-926a-5063a4845e92> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x188766000 - 0x18956523f com.apple.Foundation (6.9) <5ab66e9b-19c0-3fe8-9793-d5156d1c7050> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
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.9G resident=0K(0%) swapped_out_or_unallocated=1.9G(100%)
Writable regions: Total=6.0G written=4996K(0%) resident=1044K(0%) swapped_out=3952K(0%) unallocated=6.0G(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Accelerate framework 256K 2
Activity Tracing 256K 1
CG image 17.7M 160
CG raster data 864K 14
ColorSync 688K 37
CoreAnimation 33.0M 592
CoreGraphics 64K 4
CoreImage 16K 1
CoreUI image data 5152K 54
Foundation 144K 3
Image IO 48K 2
Kernel Alloc Once 32K 1
MALLOC 1.7G 106
MALLOC guard page 480K 30
SQLite page cache 384K 3
STACK GUARD 56.2M 10
Stack 12.8M 10
VM_ALLOCATE 288K 15
VM_ALLOCATE (reserved) 4.0G 1 reserved VM address space (unallocated)
WebKit Malloc 193.0M 26
__AUTH 5927K 717
__AUTH_CONST 79.0M 966
__CTF 824 1
__DATA 33.7M 1027
__DATA_CONST 30.0M 1045
__DATA_DIRTY 2779K 343
__FONT_DATA 2352 1
__GLSLBUILTINS 5174K 1
__INFO_FILTER 8 1
__LINKEDIT 661.9M 75
__OBJC_RO 61.3M 1
__OBJC_RW 2391K 1
__TEXT 1.3G 1066
__TPRO_CONST 128K 2
__XOJO 304K 1
dyld private memory 4864K 4
libnetwork 15.6M 72
mapped file 361.9M 69
page table in kernel 1044K 1
shared memory 992K 21
=========== ======= =======
TOTAL 8.5G 6487
TOTAL, minus reserved VM space 4.5G 6487
(Removed the end on the paste at the end before the length was too big)
Also to rephrase what you are saying, the user is not quitting the app but closing a window.
Regards
How do you open the windows ?
Windows are usually SheetWindow
or Document
and are opened like that
var tWP as new w_picker(Optional params there)
tWP.ShowModal(pParentwindow)
Or
var tWP as new w_picker(Optional params there)
tWP.Show()
Julien Courtes:
RuntimeUnlockObject
Do a search in the forum and the tracker for this keyword. The crash shows up now and then. This is not the URLConnection crashing, though, which I had 3 weeks ago:
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 XojoFramework 0x1073c0650 0x1071d8000 + 2000464
1 CFNetwork 0x18dd709e8 65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 60
2 CFNetwork 0x18dd70918 -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 172
3 CFNetwork 0x18dd70844 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 56
4 CFNetwork 0x18dd7502c _NSURLConnectionDidReceiveData(_CFURLConnection*, __CFData const*, long, void const*) + 100
5 CFNetwork 0x18dd8ddc4 invocation function for block in URLConnectionClient_Classic::_delegate_didReceiveDataArray() + 472
6 CFNetwork 0x18ded6e98 invocation function for block in URLConnectionClient_Classic::_withDelegateAsync(char const*, void (_CFURLConnection*, CFURLConnectionClientCurrent_VMax const*) block_pointer) + 136
7 libdispatch.dylib 0x18829f85c _dispatch_client_callout + 16
8 libdispatch.dylib 0x18828ab30 _dispatch_block_invoke_direct + 284
9 CFNetwork 0x18dd48518 RunloopBlockContext::_invoke_block(void const*, void*) + 44
10 CoreFoundation 0x1884ea7dc CFArrayApplyFunction + 72
11 CFNetwork 0x18dd4840c RunloopBlockContext::perform() + 128
12 CFNetwork 0x18dd482bc MultiplexerSource::_perform(void*) + 332
13 CoreFoundation 0x188528de4 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 28
Looked a bit on the forum and issues, found some things regarding what you said but there was no clear workaround or solution. But it’s something that somes users are experiencing (maybe not always related to URLConnection)