Xojo 2022R3 crashes on macOS Ventura beta 11

Already reported at the Testers forum but Xojo 2022R3 release version still keeps crashes on macOS Ventura beta 11.
It makes it unworkable.

Also note that some of my Xojo projects crashes too when running macOS 13 beta 11
And as said before, all my Xcode project never crash on macOS13.
So it’s definitely something Xojo Inc need to address asap - we are looking at a public release from Apple very soon.

FWW I have dozens of crash reports, but here is the latest:


Translated Report (Full Report Below)

Process: Xojo [735]
Path: /Applications/Xojo 2022 Release 3/Xojo.app/Contents/MacOS/Xojo
Identifier: com.xojo.xojo
Version: 22.3.0.58145 (22.3.0.3.58145)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2022-10-13 12:52:55.3042 +0200
OS Version: macOS 13.0 (22A5373b)
Report Version: 12
Anonymous UUID: D84BB2A6-B31B-AB55-0A72-C78B5EA51514

Time Awake Since Boot: 440 seconds

System Integrity Protection: enabled

Notes:
dyld_process_snapshot_create_for_process failed with 5

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

Exception Type: EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00000002994bd090
Exception Codes: 0x0000000000000002, 0x00000002994bd090

VM Region Info: 0x2994bd090 is in 0x299400000-0x299500000; bytes after start: 774288 bytes before end: 274287
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
MALLOC_TINY 299300000-299400000 [ 1024K] rw-/rwx SM=PRV
—> MALLOC_TINY 299400000-299500000 [ 1024K] rw-/rwx SM=PRV
MALLOC_TINY 299500000-299600000 [ 1024K] rw-/rwx SM=PRV

Error Formulating Crash Report:
dyld_process_snapshot_create_for_process failed with 5

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 ??? 0x2994bd090 ???
1 XojoFramework 0x10ed84b84 RuntimeUnlockObject + 732
2 Xojo 0x10373f448 PainterWindow.PainterWindow.Destroy%%o<PainterWindow.PainterWindow> + 908
3 Xojo 0x10818bad8 UniversalLayoutEditor.UniversalLayoutEditor.Close%%o<UniversalLayoutEditor.UniversalLayoutEditor> + 1500
4 Xojo 0x107277518 StudioMainEditor.StudioMainEditor.Event_PrepareToClose%%o<StudioMainEditor.StudioMainEditor> + 4172
5 Xojo 0x103d0d6d0 EditorPaneImp.InternalClose%%ob + 104
6 Xojo 0x103d0c320 EditorPaneImp.Event_Close%%o + 316
7 Xojo 0x1026ac77c EmbeddedWindowControl.Event_Close%%o + 16
8 XojoFramework 0x10ec87a08 RuntimeViewWindow::FireWindowCloseEvents() + 268
9 XojoFramework 0x10ec877b8 RuntimeViewWindow::Close() + 64
10 XojoFramework 0x10ec89bdc RuntimeView::UnifiedClose(bool) + 588
11 XojoFramework 0x10ec11b64 0x10eb10000 + 1055588
12 AppKit 0x1b0690668 __19-[NSWindow __close]_block_invoke + 136
13 AppKit 0x1b06905cc -[NSWindow __close] + 272
14 AppKit 0x1b056c324 -[NSApplication(NSResponder) sendAction:to:from:] + 440
15 AppKit 0x1b056c13c -[NSControl sendAction:to:] + 72
16 AppKit 0x1b056c080 __26-[NSCell _sendActionFrom:]_block_invoke + 100
17 AppKit 0x1b056bfa8 -[NSCell _sendActionFrom:] + 204
18 AppKit 0x1b056becc -[NSButtonCell _sendActionFrom:] + 88
19 AppKit 0x1b0569490 NSControlTrackMouse + 1480
20 AppKit 0x1b0568e9c -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 144
21 AppKit 0x1b0568d54 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 488
22 AppKit 0x1b0568220 -[NSControl mouseDown:] + 448
23 AppKit 0x1b0566d14 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 3420
24 AppKit 0x1b04f0924 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 1984
25 AppKit 0x1b04eff90 -[NSWindow(NSEventRouting) sendEvent:] + 284
26 XojoFramework 0x10ec06db4 0x10eb10000 + 1011124
27 AppKit 0x1b04ef0c8 -[NSApplication(NSEvent) sendEvent:] + 1920
28 XojoFramework 0x10ebf6894 0x10eb10000 + 944276
29 Xojo 0x1026a03e8 Application._CallFunctionWithExceptionHandling%%op + 164
30 XojoFramework 0x10ed82320 CallFunctionWithExceptionHandling(void (*)()) + 180
31 XojoFramework 0x10ebf6844 0x10eb10000 + 944196
32 AppKit 0x1b0741178 -[NSApplication _handleEvent:] + 60
33 AppKit 0x1b03b6c48 -[NSApplication run] + 500
34 XojoFramework 0x10ed80b98 RuntimeRun + 48
35 Xojo 0x10280616c REALbasic._RuntimeRun + 28
36 Xojo 0x10ce3e678 _Main + 384
37 Xojo 0x10ce18b90 main + 20
38 dyld 0x1acd63e50 start + 2544

Thread 1:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x1ad04edf0 mach_msg2_trap + 8
1 libsystem_kernel.dylib 0x1ad0608d8 mach_msg2_internal + 80
2 libsystem_kernel.dylib 0x1ad057638 mach_msg_overwrite + 540
3 libsystem_kernel.dylib 0x1ad04f16c mach_msg + 24
4 CoreFoundation 0x1ad16dbdc __CFRunLoopServiceMachPort + 160
5 CoreFoundation 0x1ad16c4c8 __CFRunLoopRun + 1232
6 CoreFoundation 0x1ad16b8a4 CFRunLoopRunSpecific + 612
7 AppKit 0x1b04ed27c _NSEventThread + 172
8 libsystem_pthread.dylib 0x1ad08e06c _pthread_start + 148
9 libsystem_pthread.dylib 0x1ad088e2c thread_start + 8

Thread 2:
0 libsystem_pthread.dylib 0x1ad088e18 start_wqthread + 0

Thread 3:
0 libsystem_pthread.dylib 0x1ad088e18 start_wqthread + 0

Thread 4:
0 libsystem_pthread.dylib 0x1ad088e18 start_wqthread + 0

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

Thread 6:
0 libsystem_pthread.dylib 0x1ad088e18 start_wqthread + 0

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

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

Thread 9:
0 libsystem_pthread.dylib 0x1ad088e18 start_wqthread + 0

Thread 10:
0 libsystem_pthread.dylib 0x1ad088e18 start_wqthread + 0

Thread 11:
0 libsystem_pthread.dylib 0x1ad088e18 start_wqthread + 0

Thread 0 crashed with ARM Thread State (64-bit):
x0: 0x00000002845f6e40 x1: 0x00000002994bd090 x2: 0x000000016d9a52a8 x3: 0x00000000000263bc
x4: 0x0000000000000000 x5: 0x0000000000000000 x6: 0x656d616e7373616c x7: 0x0000000000000440
x8: 0x00000002845f6e30 x9: 0x0000000284755a00 x10: 0x0000000000000001 x11: 0x0000000000000000
x12: 0x000000010ed91450 x13: 0x000000010ed913c8 x14: 0x0000000004000011 x15: 0x000000010ee934f8
x16: 0x000000020a87a6b8 x17: 0x115700020a87a6b8 x18: 0x0000000000000000 x19: 0x00000002845f6e00
x20: 0x000000010ef083e8 x21: 0x000000010f01b864 x22: 0x000000010ee6f02d x23: 0x000000010f01b000
x24: 0x000000010ef0b6d0 x25: 0x000000010f01b878 x26: 0x000000010f01b000 x27: 0x000000011fe297e0
x28: 0x0000000000000000 fp: 0x000000016d9a6330 lr: 0x00000001028adbe4
sp: 0x000000016d9a6310 pc: 0x00000002994bd090 cpsr: 0x20001000
far: 0x000000028c8c0020 esr: 0x56000080 Address size fault

Binary Images:
0x0 - 0xffffffffffffffff ??? () <00000000-0000-0000-0000-000000000000> ???
0x10eb10000 - 0x10eea7fff com.xojo.XojoFramework (1.0) /Applications/Xojo 2022 Release 3/Xojo.app/Contents/Frameworks/XojoFramework.framework/Versions/A/XojoFramework
0x102458000 - 0x10d083fff com.xojo.xojo (22.3.0.58145) <6ac4dc22-45ef-313a-b1d7-807360e1dcb2> /Applications/Xojo 2022 Release 3/Xojo.app/Contents/MacOS/Xojo
0x1b038a000 - 0x1b1291fff com.apple.AppKit (6.9) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x1acd5e000 - 0x1acde84b3 dyld (
) <0470f87f-7254-36c1-8a23-32190fd010e1> /usr/lib/dyld
0x1ad04e000 - 0x1ad086ffb libsystem_kernel.dylib () <51299bce-7050-35b4-b763-0e7078b8d2ea> /usr/lib/system/libsystem_kernel.dylib
0x1ad0ec000 - 0x1ad5c3fff com.apple.CoreFoundation (6.9) <0cb1d6ec-b4ee-33d5-9828-29db31cad6fc> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x1ad087000 - 0x1ad093ffb libsystem_pthread.dylib (
) <19a65066-147a-37e1-be56-bd78821ef285> /usr/lib/system/libsystem_pthread.dylib

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

FWW Ventura Release candidate still results in crashes.

Is Xojo Inc working on this?

We did find an issue with the SearchField control that we’re addressing. Are there any SearchField controls on your layout perhaps? Also if you’re using any MBS Plugins make sure you are using the new set that Christian has provided, see https://tracker.xojo.com/xojoinc/xojo/-/issues/69179

@William_Yu Is that only on Web or Desktop also:
https://tracker.xojo.com/xojoinc/xojo/-/issues/69880

Ventura is said to be released until October 31, that means, basically, next week. Please, make sure to release a Xojo 2022 R3.1 with stability patches concurrently, we won’t desire to wait the R4 cycle for that while having crashing apps everywhere.

1 Like

This was an issue only for Desktop projects.

Is that my bug report then? I look forward to a beta to test it.
https://tracker.xojo.com/xojoinc/xojo/-/issues/69880

October 24, actually. https://www.macrumors.com/2022/10/18/macos-ventura-october-24/

1 Like

5 days left before customers discover issues with Ventura that you haven’t!

2 Likes

My projects do not use the searchfield control.
And I have installed the latest beta from that link.

Hi @Ian_Kennedy

Yes, that should be fixed now.

Are your projects using MBS plugins? If so, please make sure you’re using the latest ones provided by Christian: https://tracker.xojo.com/xojoinc/xojo/-/issues/69179

As already confirmed, I am using the latest MBS plugins from that link.

Maybe NSTableControlMBS or NSOutlineControlMBS?

Yes, I do use NSTableViewMBS

And are you using this one? https://www.dropbox.com/sh/u2m6fksuzfqjci9/AAB_J_4ohUKJbOOfh6cDNts4a?dl=1

That crash was in the IDE but never with the built app.

Is this a widespread problem with R3 and Ventura? For once I’ve completely avoided the macOS betas but I am/was planning on installing Ventura when it publicly releases next week. Obviously I don’t want to do this if Xojo crashes lots since Xojo is the number 1 app I use on my Mac.

Both Xojo and my Xojo compiled apps do crash with the same error as above.
Next week I am expecting a lot of mails of my users complaining. So I’m not amused.

It is related to Xojo for sure. My Xcode projects are working fine.

As always, a case # and an example project showing the problem would greatly help to track it. Have you reported it already in Issues, @ChristopheDV ?

And, please, have you tried to reproduce it using https://www.dropbox.com/sh/u2m6fksuzfqjci9/AAB_J_4ohUKJbOOfh6cDNts4a?dl=1?