Xojo foobared on BS

I have been running 2019r3.2 and things to come successfully on macOS BS in the last weeks. Yesterday I installed the latest MBS version. Today I wanted to prepare for beta 3 of BS and quit Xojo. I then noticed that the download would take 8 hours and wanted to restart Xojo. But both Xojo versions hang on loading plugins. I could see a window blinking every couple of seconds. With a screenrecorder I could see that one of the MBS plugins did a check.

I deleted all Xojo files in the cache folder. But Xojo didn’t start.

I installed an older version of MBS and did a reboot. The story could have a happy ending because Xojo started fine. But then I tried to open my main project and got a nice hard crash.

What else can I try?

I removed all plugins and let Xojo compile my project. Then I loaded the plugins again, the project loads fine. Unfortunately, now Xojo crashes on run:

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

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
Performing @selector(menuItemAction:) from sender NSMenuItem 0x600003cff090
Assertion failed: (I != TypeMap.end() && “Type not in ValueEnumerator!”), function getTypeID, file /go/pipelines/LLVM/source/lib/Bitcode/Writer/ValueEnumerator.h, line 170.

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff6be97842 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff6bf5d671 pthread_kill + 263
2 libsystem_c.dylib 0x00007fff6be0a7c0 abort + 120
3 libsystem_c.dylib 0x00007fff6be09a76 __assert_rtn + 314
4 SpawnCompiler.dylib 0x00000001251fb5b5 0x124336000 + 15488437
5 SpawnCompiler.dylib 0x000000012520a2fb 0x124336000 + 15549179
6 SpawnCompiler.dylib 0x00000001251f1871 0x124336000 + 15448177
7 SpawnCompiler.dylib 0x00000001251ecbd3 0x124336000 + 15428563
8 SpawnCompiler.dylib 0x00000001251f2bb1 0x124336000 + 15453105
9 SpawnCompiler.dylib 0x0000000125834e17 0x124336000 + 22015511
10 SpawnCompiler.dylib 0x000000012583558b 0x124336000 + 22017419
11 SpawnCompiler.dylib 0x00000001258084c6 0x124336000 + 21832902
12 SpawnCompiler.dylib 0x00000001257ff546 0x124336000 + 21796166
13 com.xojo.xojo 0x000000010d4c892b Compiler.Build%b%ooA1ooo + 171
14 com.xojo.xojo 0x0000000110b39bb0 SpawnCompiler.Build%b%ooA1ooo + 656
15 com.xojo.xojo 0x0000000111bc28ee DebugCompileThread.Run%%o + 180174
16 com.xojo.xojo 0x0000000112f1c645 StudioMainWindow.StudioMainWindow.RunApp%b%o<StudioMainWindow.StudioMainWindow>bbi8<DebuggerUtilities.OSDebugger> + 8085
17 com.xojo.xojo 0x0000000112ef6a1c StudioMainWindow.StudioMainWindow.HandleCommand%b%o<StudioMainWindow.StudioMainWindow>o<Commands.Command> + 722396
18 com.xojo.xojo 0x000000010e8693a4 Commands.Dispatch%%o<Commands.Command> + 7780
19 com.xojo.xojo 0x000000010e869eda Commands.Dispatch%%s + 74
20 com.xojo.xojo 0x000000010deb83a0 DocWindow._StudioProjectRun_Action%b%o + 272
21 com.xojo.XojoFramework 0x000000011da02604 InvokeMenuHandler(RunMenuItem*, unsigned char, Window*, unsigned char&) + 1092
22 com.xojo.XojoFramework 0x000000011da028b0 RuntimeMenuItemClick(RunMenuItem*, unsigned char, Window*, unsigned char*) + 94
23 com.xojo.XojoFramework 0x000000011d90139c CocoaMenu::_MenuItemAction(NSMenuItem*) + 72
24 com.xojo.XojoFramework 0x000000011d90190c 0x11d83b000 + 813324
25 com.apple.AppKit 0x00007fff291e38c9 -[NSApplication(NSResponder) sendAction:to:from:] + 283
26 com.apple.AppKit 0x00007fff292e70ef -[NSMenuItem _corePerformAction] + 267
27 com.apple.AppKit 0x00007fff292e6ea0 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 95
28 com.apple.AppKit 0x00007fff292e5f04 -[NSMenu performKeyEquivalent:] + 412
29 com.apple.AppKit 0x00007fff2972935f routeKeyEquivalent + 521
30 com.apple.AppKit 0x00007fff2914a0d3 -[NSApplication(NSEvent) sendEvent:] + 1155
31 com.xojo.XojoFramework 0x000000011d91ab7b 0x11d83b000 + 916347
32 com.xojo.xojo 0x000000010d2cc4c5 Application._CallFunctionWithExceptionHandling%%op + 181
33 com.xojo.XojoFramework 0x000000011daa6645 CallFunctionWithExceptionHandling(void (*)()) + 262
34 com.xojo.XojoFramework 0x000000011d91aaf6 0x11d83b000 + 916214
35 com.apple.AppKit 0x00007fff294210bf -[NSApplication _handleEvent:] + 65
36 com.apple.AppKit 0x00007fff28fb2b70 -[NSApplication run] + 623
37 com.xojo.XojoFramework 0x000000011daa4a51 RuntimeRun + 42
38 com.xojo.xojo 0x000000010d41ba13 REALbasic._RuntimeRun + 19
39 com.xojo.xojo 0x000000011c7dd646 _Main + 326
40 com.xojo.xojo 0x000000011c7a00d3 main + 19
41 libdyld.dylib 0x00007fff6bd31c71 start + 1[/quote]

And now I’m finished for today.

I’m assuming based on that crash log that your project (or part of your project) is in XML format. We are aware of an issue with the XML plugin reading files from disk in apps running under Rosetta (unfortunately it was filed after 3.2 was released), but at the moment it looks like a macOS bug so we’re waiting for a little bit to see if Apple will actually resolve it on their own.

I’m using a garden variety MacBook Air without Rosetta. The second time around the project was loaded fine. What about the LLVM problem? I’m going to install beta 3 first, then I’ll reinstall Xojo and if that also doesn’t work I’ll try from a second user.

I have been debugging with 2019r3.2 on Big Sur Beta 3, but I have absolutely minimal plugins and I use the binary file format.

After installing beta 3 of BS Xojo 2019r3.2 is working again. Darn app has lost the license again.

Sigh…

Xojo crashed again:

[quote]
Sleep/Wake UUID: E75F548E-8CBC-4EAF-BE54-0FF9DF2B1DDF

Time Awake Since Boot: 11000 seconds
Time Since Wake: 7100 seconds

System Integrity Protection: enabled

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

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: EXC_I386_GPFLT
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
Performing @selector(menuItemAction:) from sender NSMenuItem 0x600001463db0

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 SpawnCompiler.dylib 0x0000000122d57ec8 0x121b6e000 + 18783944
1 SpawnCompiler.dylib 0x0000000122a2c71f 0x121b6e000 + 15460127
2 SpawnCompiler.dylib 0x0000000122a24b8d 0x121b6e000 + 15428493
3 SpawnCompiler.dylib 0x0000000122a2abb1 0x121b6e000 + 15453105
4 SpawnCompiler.dylib 0x000000012306ce17 0x121b6e000 + 22015511
5 SpawnCompiler.dylib 0x000000012306d58b 0x121b6e000 + 22017419
6 SpawnCompiler.dylib 0x00000001230404c6 0x121b6e000 + 21832902
7 SpawnCompiler.dylib 0x0000000123037546 0x121b6e000 + 21796166
8 com.xojo.xojo 0x000000010bd4b92b Compiler.Build%b%ooA1ooo + 171
9 com.xojo.xojo 0x000000010f3bcbb0 SpawnCompiler.Build%b%ooA1ooo + 656
10 com.xojo.xojo 0x00000001104458ee DebugCompileThread.Run%%o + 180174
11 com.xojo.xojo 0x000000011179f645 StudioMainWindow.StudioMainWindow.RunApp%b%o<StudioMainWindow.StudioMainWindow>bbi8<DebuggerUtilities.OSDebugger> + 8085
12 com.xojo.xojo 0x0000000111779a1c StudioMainWindow.StudioMainWindow.HandleCommand%b%o<StudioMainWindow.StudioMainWindow>o<Commands.Command> + 722396
13 com.xojo.xojo 0x000000010d0ec3a4 Commands.Dispatch%%o<Commands.Command> + 7780
14 com.xojo.xojo 0x000000010d0eceda Commands.Dispatch%%s + 74
15 com.xojo.xojo 0x000000010c73b3a0 DocWindow._StudioProjectRun_Action%b%o + 272
16 com.xojo.XojoFramework 0x000000011c281604 InvokeMenuHandler(RunMenuItem*, unsigned char, Window*, unsigned char&) + 1092
17 com.xojo.XojoFramework 0x000000011c2818b0 RuntimeMenuItemClick(RunMenuItem*, unsigned char, Window*, unsigned char*) + 94
18 com.xojo.XojoFramework 0x000000011c18039c CocoaMenu::_MenuItemAction(NSMenuItem*) + 72
19 com.xojo.XojoFramework 0x000000011c18090c 0x11c0ba000 + 813324
20 com.apple.AppKit 0x00007fff24cdb341 -[NSApplication(NSResponder) sendAction:to:from:] + 283
21 com.apple.AppKit 0x00007fff24ddea73 -[NSMenuItem _corePerformAction] + 267
22 com.apple.AppKit 0x00007fff24dde824 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 95
23 com.apple.AppKit 0x00007fff24ddd888 -[NSMenu performKeyEquivalent:] + 412
24 com.apple.AppKit 0x00007fff252221c7 routeKeyEquivalent + 521
25 com.apple.AppKit 0x00007fff24c41c0b -[NSApplication(NSEvent) sendEvent:] + 1155
26 com.xojo.XojoFramework 0x000000011c199b7b 0x11c0ba000 + 916347
27 com.xojo.xojo 0x000000010bb4f4c5 Application._CallFunctionWithExceptionHandling%%op + 181
28 com.xojo.XojoFramework 0x000000011c325645 CallFunctionWithExceptionHandling(void (*)()) + 262
29 com.xojo.XojoFramework 0x000000011c199af6 0x11c0ba000 + 916214
30 com.apple.AppKit 0x00007fff24f18cd6 -[NSApplication _handleEvent:] + 65
31 com.apple.AppKit 0x00007fff24aa9f83 -[NSApplication run] + 623
32 com.xojo.XojoFramework 0x000000011c323a51 RuntimeRun + 42
33 com.xojo.xojo 0x000000010bc9ea13 REALbasic._RuntimeRun + 19
34 com.xojo.xojo 0x000000011b060646 _Main + 326
35 com.xojo.xojo 0x000000011b0230d3 main + 19
36 libdyld.dylib 0x00007fff692cd7d1 start + 1[/quote]

At least I was able to a debug run a couple of times.