XOJO crashes on startup under macOS 13.1

When I start XOJO 2022r4.1 (r4.0) with about 33 MBS PlugIns, it crashes while loading the PlugIns. EXC_BAD_ACCESS
If I restart XOJO right after the crash, it usually works…

It seems to be about every 2nd start. Once XOJO got stuck while loading a PluIn.

I am using a MacBook Pro M1 Ultra with MacOS 13.1.

Process:               Xojo [14990]
Path:                  /Applications/Xojo 2022 Release 4/Xojo.app/Contents/MacOS/Xojo
Identifier:            com.xojo.xojo
Version:               22.4.0.58767 (22.4.0.3.58767)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               502

Date/Time:             2022-12-22 09:59:32.2095 +0100
OS Version:            macOS 13.1 (22C65)

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   dyld                          	       0x1916c4680 dyld4::RuntimeState::addPermanentRanges(dyld3::Array<dyld4::Loader const*> const&) + 44
1   dyld                          	       0x1916c466c dyld4::RuntimeState::addPermanentRanges(dyld3::Array<dyld4::Loader const*> const&) + 24
2   dyld                          	       0x1916f70b8 dyld4::APIs::dlopen_from(char const*, int, void*)::$_0::operator()() const + 1128
3   dyld                          	       0x1916f0968 dyld4::APIs::dlopen_from(char const*, int, void*) + 892
4   PluginBridgeCocoa.dylib       	       0x111f90a94 0x111f88000 + 35476
5   PluginBridgeCocoa.dylib       	       0x111f92b54 0x111f88000 + 43860
6   PluginBridgeCocoa.dylib       	       0x111f91c80 0x111f88000 + 40064
7   PluginBridgeCocoa.dylib       	       0x111f8eb08 0x111f88000 + 27400
8   Xojo                          	       0x102abceb0 PluginBridge.LoadPlugin%b%o<PluginBridge>o<FolderItem> + 96
9   Xojo                          	       0x105ae04f0 RBLibrary.LoadOnePlugin%o<Document>%o<FolderItem>bb + 4396
10  Xojo                          	       0x105bb0348 RBLibrary.LoadPluginsFromFolder%%o<ProgressIndicator>o<FolderItem>A1o<Document>bb + 2304
11  Xojo                          	       0x105bb1f80 RBLibrary.LoadUserPlugins%%o<ProgressIndicator> + 1512
12  Xojo                          	       0x105aad63c RBLibrary.Load%%o<ProgressIndicator> + 10100
13  Xojo                          	       0x102b0a504 IDEApp.Event_Open%%o<IDEApp> + 64312
14  XojoFramework                 	       0x10f12c0d4 CocoaFinishApplicationStartup() + 184
15  XojoFramework                 	       0x10f12ac08 0x10f044000 + 945160
16  CoreFoundation                	       0x191ab9570 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
17  CoreFoundation                	       0x191b57054 ___CFXRegistrationPost_block_invoke + 88
18  CoreFoundation                	       0x191b56f9c _CFXRegistrationPost + 440
19  CoreFoundation                	       0x191a8ab74 _CFXNotificationPost + 708
20  Foundation                    	       0x19297872c -[NSNotificationCenter postNotificationName:object:userInfo:] + 88
21  AppKit                        	       0x194d4b810 -[NSApplication _postDidFinishNotification] + 284
22  AppKit                        	       0x194d4b5c0 -[NSApplication _sendFinishLaunchingNotification] + 172
23  AppKit                        	       0x194d447c8 _DPSNextEvent + 1564
24  AppKit                        	       0x194d435b4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728
25  XojoFramework                 	       0x10f12c9f4 0x10f044000 + 952820
26  XojoFramework                 	       0x10f12ca7c 0x10f044000 + 952956
27  Xojo                          	       0x1028a9f1c Application._CallFunctionWithExceptionHandling%%o<Application>p + 164
28  XojoFramework                 	       0x10f2b6dec CallFunctionWithExceptionHandling(void (*)()) + 180
29  XojoFramework                 	       0x10f12ca18 0x10f044000 + 952856
30  AppKit                        	       0x194d379e4 -[NSApplication run] + 464
31  XojoFramework                 	       0x10f2b5648 RuntimeRun + 48
32  Xojo                          	       0x102a0ee44 REALbasic._RuntimeRun + 28
33  Xojo                          	       0x10d3690e8 _Main + 384
34  Xojo                          	       0x10d3435fc main + 20
35  dyld                          	       0x1916bbe50 start + 2544

Download latest version 2022 r4.1 :wink:

I have loaded r4.1. That’s what it says above.

Here the crash log

Process:               Xojo [15610]
Path:                  /Applications/Xojo 2022 Release 4.1/Xojo.app/Contents/MacOS/Xojo
Identifier:            com.xojo.xojo
Version:               22.4.1.58860 (22.4.1.3.58860)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               502

Date/Time:             2022-12-22 10:33:23.2207 +0100
OS Version:            macOS 13.1 (22C65)

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   dyld                          	       0x191727190 __abort_with_payload + 8
1   dyld                          	       0x191731a00 abort_with_payload_wrapper_internal + 104
2   dyld                          	       0x191731a34 abort_with_payload + 16
3   dyld                          	       0x1916c00a4 dyld4::halt(char const*) + 328
4   dyld                          	       0x191730584 abort_report_np + 80
5   dyld                          	       0x1917305c0 __assert_rtn + 60
6   dyld                          	       0x19172d768 dyld4::Loader::loadAddress(dyld4::RuntimeState&) const (.cold.1) + 44
7   dyld                          	       0x1916cf2cc dyld4::Loader::loadAddress(dyld4::RuntimeState&) const + 92
8   dyld                          	       0x1916ef81c dyld4::APIs::findImageMappedAt(void const*, dyld3::MachOLoaded const**, bool*, char const**, void const**, unsigned long long*, unsigned char*) + 488
9   dyld                          	       0x1916efc6c dyld4::APIs::dyld_image_path_containing_address(void const*) + 72
10  libsystem_trace.dylib         	       0x19178c2e8 _os_trace_dylib_or_main_executable_was_loaded + 84
11  dyld                          	       0x1916c8624 invocation function for block in dyld4::RuntimeState::notifyLoad(std::__1::span<dyld4::Loader const*, 18446744073709551615ul> const&) + 248
12  dyld                          	       0x1916c39f0 dyld4::RuntimeState::withNotifiersReadLock(void () block_pointer) + 96
13  dyld                          	       0x1916c82cc dyld4::RuntimeState::notifyLoad(std::__1::span<dyld4::Loader const*, 18446744073709551615ul> const&) + 356
14  dyld                          	       0x1916f0a9c dyld4::APIs::dlopen_from(char const*, int, void*) + 1200
15  PluginBridgeCocoa.dylib       	       0x1132a0b34 0x113298000 + 35636
16  PluginBridgeCocoa.dylib       	       0x1132a2bf4 0x113298000 + 44020
17  PluginBridgeCocoa.dylib       	       0x1132a1d20 0x113298000 + 40224
18  PluginBridgeCocoa.dylib       	       0x11329eba8 0x113298000 + 27560
19  Xojo                          	       0x103138ebc PluginBridge.LoadPlugin%b%o<PluginBridge>o<FolderItem> + 96
20  Xojo                          	       0x10615c4fc RBLibrary.LoadOnePlugin%o<Document>%o<FolderItem>bb + 4396
21  Xojo                          	       0x10622c354 RBLibrary.LoadPluginsFromFolder%%o<ProgressIndicator>o<FolderItem>A1o<Document>bb + 2304
22  Xojo                          	       0x10622df8c RBLibrary.LoadUserPlugins%%o<ProgressIndicator> + 1512
23  Xojo                          	       0x106129648 RBLibrary.Load%%o<ProgressIndicator> + 10100
24  Xojo                          	       0x103186510 IDEApp.Event_Open%%o<IDEApp> + 64312
25  XojoFramework                 	       0x10f7a86a4 CocoaFinishApplicationStartup() + 184
26  XojoFramework                 	       0x10f7a71d8 0x10f6c0000 + 946648
27  CoreFoundation                	       0x191ab9570 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 148
28  CoreFoundation                	       0x191b57054 ___CFXRegistrationPost_block_invoke + 88
29  CoreFoundation                	       0x191b56f9c _CFXRegistrationPost + 440
30  CoreFoundation                	       0x191a8ab74 _CFXNotificationPost + 708
31  Foundation                    	       0x19297872c -[NSNotificationCenter postNotificationName:object:userInfo:] + 88
32  AppKit                        	       0x194d4b810 -[NSApplication _postDidFinishNotification] + 284
33  AppKit                        	       0x194d4b5c0 -[NSApplication _sendFinishLaunchingNotification] + 172
34  AppKit                        	       0x194d447c8 _DPSNextEvent + 1564
35  AppKit                        	       0x194d435b4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 728
36  XojoFramework                 	       0x10f7a8fc4 0x10f6c0000 + 954308
37  XojoFramework                 	       0x10f7a904c 0x10f6c0000 + 954444
38  Xojo                          	       0x102f25dd8 Application._CallFunctionWithExceptionHandling%%o<Application>p + 164
39  XojoFramework                 	       0x10f9333bc CallFunctionWithExceptionHandling(void (*)()) + 180
40  XojoFramework                 	       0x10f7a8fe8 0x10f6c0000 + 954344
41  AppKit                        	       0x194d379e4 -[NSApplication run] + 464
42  XojoFramework                 	       0x10f931c18 RuntimeRun + 48
43  Xojo                          	       0x10308ae50 REALbasic._RuntimeRun + 28
44  Xojo                          	       0x10d9e50f8 _Main + 384
45  Xojo                          	       0x10d9bf608 main + 20
46  dyld                          	       0x1916bbe50 start + 2544

Read: System Requirements

There you can read macOS 13.x.

Sorry !

I misread 10.13 instead of 13 ! Bad times for me…

There is a bug in Apple dylib loading mechanism, see this long discussion: Xojo 2022R3.1 crashes galore

A 50% crash quote is quite good and much better than it used to be.

You may install macOS 13.2 Ventura soon.

Thanks for the tip.
I have only had it since Ventura.

Then I hope for 13.2.