Ventura and Xojo 2022r1.1 Debugging Crash

I am running a test app which just sets an integer to 3

dim i as integer

i = 3

And put a break point on i = 3 and app crashes out everytime.


Translated Report (Full Report Below)

Process: tes.debug [10011]
Path: /var/folders/*/tes.debug.app/Contents/MacOS/tes.debug
Identifier: tes.debug
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2022-11-22 13:22:53.3301 -0800
OS Version: macOS 13.0.1 (22A400)
Report Version: 12
Bridge OS Version: 7.0 (20P420)
Anonymous UUID: 83F0360D-BA1E-7624-2D76-876716BCE76A

Time Awake Since Boot: 55000 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 0x00007ff880c15178
Exception Codes: 0x0000000000000001, 0x00007ff880c15178

Termination Reason: Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process: exc handler [10011]

VM Region Info: 0x7ff880c15178 is not in any region. Bytes after previous region: 860336505 Bytes before following region: 147394184
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
unused __DATA 7ff84d796e38-7ff84d79a000 [ 12K] rw-/rwx SM=COW …ed lib __DATA
—> GAP OF 0x3c10c000 BYTES
__LINKEDIT 7ff8898a6000-7ff894dfa000 [181.3M] r–/r-- SM=COW …ed __LINKEDIT

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 XojoFramework 0x101f5581b DecodeMachOTraceback(void const*, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >&, unsigned long*) + 625
1 XojoFramework 0x101f37c6c 0x101d97000 + 1707116
2 XojoFramework 0x10204bca9 0x101d97000 + 2837673
3 XojoFramework 0x10204bc61 StackContext::Crawl(StackBounds, std::__1::function<bool (long, long)>) const + 125
4 XojoFramework 0x101f321c8 0x101d97000 + 1683912
5 XojoFramework 0x101f2fc4f DSDelegate::DebuggerConnectionMessage(DebuggerPacketParser const&) + 17
6 XojoFramework 0x101f2df6d DebuggerConnection::ProcessMessage(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator >) + 67
7 XojoFramework 0x101ffd750 TCPSocketConnection::SocketDataReceived(TCPSocket*) + 328
8 XojoFramework 0x101eb5c5f TCPSocket::FireEvents() + 123
9 XojoFramework 0x101eb29a4 TCPSocketPosix::Poll() + 1114
10 XojoFramework 0x101f36759 0x101d97000 + 1701721
11 XojoFramework 0x101f365de DebuggerHook + 591
12 tes.debug 0x101261cb1 Window1.Window1.Event_Open%%o<Window1.Window1> + 129 (/Window1:50)
13 XojoFramework 0x102010909 FireWindowOpenEvents + 231
14 tes.debug 0x10117e11c Window.Constructor%%o + 60
15 tes.debug 0x1012620cd Window1.Window1%o<Window1.Window1>% + 589 (/Window1:63)
16 tes.debug 0x10126794a _MakeDefaultView + 106 (/#main:60)
17 tes.debug 0x101267baf _LateStartup + 79 (/#main:93)
18 XojoFramework 0x101e79b8b CocoaFinishApplicationStartup() + 185
19 XojoFramework 0x101e787ed 0x101d97000 + 923629
20 CoreFoundation 0x7ff809d41424 CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER + 137
21 CoreFoundation 0x7ff809ddb45a ___CFXRegistrationPost_block_invoke + 88
22 CoreFoundation 0x7ff809ddb3a9 _CFXRegistrationPost + 536
23 CoreFoundation 0x7ff809d14969 _CFXNotificationPost + 735
24 Foundation 0x7ff80ab4cf2c -[NSNotificationCenter postNotificationName:object:userInfo:] + 82
25 AppKit 0x7ff80ce74874 -[NSApplication _postDidFinishNotification] + 305
26 AppKit 0x7ff80ce745c6 -[NSApplication _sendFinishLaunchingNotification] + 208
27 AppKit 0x7ff80ce6cf33 _DPSNextEvent + 1929
28 AppKit 0x7ff80ce6b9b8 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
29 XojoFramework 0x101e7a31c 0x101d97000 + 930588
30 XojoFramework 0x101e7a360 0x101d97000 + 930656
31 tes.debug 0x1011a6995 Application._CallFunctionWithExceptionHandling%%op + 181
32 XojoFramework 0x101ffc860 CallFunctionWithExceptionHandling(void (*)()) + 254
33 XojoFramework 0x101e7a2c9 0x101d97000 + 930505
34 AppKit 0x7ff80ce5dff3 -[NSApplication run] + 586
35 XojoFramework 0x101ffb1aa RuntimeRun + 41
36 tes.debug 0x1012170b3 REALbasic._RuntimeRun + 19
37 tes.debug 0x101267f5e _Main + 846 (/#main:101)
38 tes.debug 0x101267393 main + 19
39 dyld 0x7ff809940310 start + 2432

Does not crash if i do not debug. Am i missing a setting to allow Xojo TCP access somewhere?

Running on Intel MacBook Pro.

Our current source base is built with this version of Xojo.

Cheers

Graham

Try 2022r3.2 a lot was fixed between r1.1 and r3.2, especially with Ventura.

1 Like

I was trying to avoid changing xojo versions at this moment, to avoid any unnecessary bugs.

1 Like

2022r3.2 fixes a lot of known bugs with earlier versions and Ventura.

1 Like

I will just add a parallels image with macOS 12 to build the current release. I have moved next major release of our products to use Xojo 2022r3.2.

I presume that fixed your problem?

Yes in Xojo 2022r3.2 on macOS 13 i can add a breakpoint.

Good