2023R4 IDE Crashes

I’m getting a lot of crashes of the ID in 2023R4 on MacOS 14.3 on M1 mac. Seems to be on entering a new property type. Getting a little frustrating.

Am I the only one?

Top few lines of a crash report:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x186cee0dc __pthread_kill + 8
1 libsystem_pthread.dylib 0x186d25cc0 pthread_kill + 288
2 libsystem_c.dylib 0x186c31a40 abort + 180
3 libswiftCore.dylib 0x1969816c8 swift::fatalErrorv(unsigned int, char const*, char*) + 128
4 libswiftCore.dylib 0x1969816e8 swift::fatalError(unsigned int, char const*, …) + 32
5 libswiftCore.dylib 0x196981cec swift::runtime::AccessSet::insert(swift::runtime::Access*, void*, void*, swift::ExclusivityFlags) + 536
6 libswiftCore.dylib 0x196981d40 swift_beginAccess + 84
7 AppKit 0x18a98c134 0x18a5a7000 + 4084020
8 AppKit 0x18a98c4bc 0x18a5a7000 + 4084924
9 AppKit 0x18ac24b84 -[NSViewBackingLayer display] + 820
10 AppKit 0x18b07ae04 __25-[NSView displayIfNeeded]_block_invoke + 184
11 AppKit 0x18a622b40 NSPerformVisuallyAtomicChange + 108
12 AppKit 0x18a688be8 -[NSView displayIfNeeded] + 96
13 Xojo 0x104c8f188 Window.Refresh%%ob + 56

OK, found the culprit.
Enter a constant.
Duplicate that constant - adds “1” to the name.
Delete the 1, enter. Crash.

Looking at Issues there are a couple of related crashes in Sonoma that will be fixed on the next release. Maybe this one is related.

It looks like you are in the Testers group, maybe you can check if this is the case or you need to open a new issue.

for what it’s worth, am not seeing this crash on Ventura, I just get the error message:
image

Correct, the crashes are only on Sonoma.

Xojo team advises bug is fixed in 2024R1.

1 Like

That’s very interesting, seems like Apple is using Swift under the hood now for system services. I wonder if you could get the same crash using their SwiftUI rather than Xojo, atop Objective-C, atop Swift.