migueldeicaza / SwiftGodot

New Godot bindings for Swift
https://migueldeicaza.github.io/SwiftGodotDocs/tutorials/swiftgodot-tutorials/
MIT License
1.06k stars 65 forks source link

@Export properties disappear in Godot editor after hot reload #433

Open Nemesisprime opened 5 months ago

Nemesisprime commented 5 months ago

Given a simple class with export variables:

@Godot
class PlayerCharacter: CharacterBody2D {

    @Export var speed: Double = 55
    @Export var accuracy: Double = 55

    func handleInput() {
        let moveDirection = Input.getVector(negativeX: "ui_left", positiveX: "ui_right", negativeY: "ui_up", positiveY: "ui_down").normalized()
        self.velocity = moveDirection * speed
    }

    override func _physicsProcess(delta: Double) {
        self.handleInput()
        self.moveAndSlide()
        super._physicsProcess(delta: delta)
    }

}

Assuming it is attached to a Node and the GDExtension is configured with reloadable = true , after updating the extension libs and hot reloading occurs, the export variables are no longer exposed/visible in the inspector UI until the editor is reloaded.

Seeing this behavior with Godot 4.2.1—I don't see anything about reloadable support in the docs, but saw a few mentions about it in discussion about it so thought this would be worthy to bring up.

Bests!

Nemesisprime commented 5 months ago

I've found another oddity with hot-reloading enabled: I've got a fairly simple project with two classes with a few exported properties to be used by the Godot Editor. When attempting to manually reload the editor (using Project > Reload Current Project) after swapping out binaries, I am seeing a crash. 

This only occurs when I have reloadable = true enabled in my extension, but I am attempting to manually reload the project via the menu item. I am unsure if it's related to the issue I noted above, but its conditions are close enough that I figured commenting here would be better to start.

``` ------------------------------------- Translated Report (Full Report Below) ------------------------------------- Process: Godot [86908] Path: /Applications/Godot.app/Contents/MacOS/Godot Identifier: org.godotengine.godot Version: 4.2.1 (4.2.1) Code Type: ARM-64 (Native) Parent Process: launchd [1] User ID: 502 Date/Time: 2024-03-20 18:02:37.5457 -0500 OS Version: macOS 14.3.1 (23D60) Report Version: 12 Anonymous UUID: C6E0DB0B-51D0-A0FF-5C81-FD6180B54484 Sleep/Wake UUID: 3B9F5689-E9F2-4184-BB16-DFA706D8C70C Time Awake Since Boot: 140000 seconds Time Since Wake: 1414 seconds System Integrity Protection: enabled Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGABRT) Exception Codes: KERN_INVALID_ADDRESS at 0x4d55545a00000008 -> 0x0000545a00000008 (possible pointer authentication failure) Exception Codes: 0x0000000000000001, 0x4d55545a00000008 Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6 Terminating Process: Godot [86908] VM Region Info: 0x545a00000008 is not in any region. Bytes after previous region: 92264487452681 Bytes before following region: 12807592476664 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL commpage (reserved) 1000000000-7000000000 [384.0G] ---/--- SM=NUL ...(unallocated) ---> GAP OF 0x5f9000000000 BYTES MALLOC_NANO 600000000000-600020000000 [512.0M] rw-/rwx SM=PRV Application Specific Information: abort() called Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x18b2ea0dc __pthread_kill + 8 1 libsystem_pthread.dylib 0x18b321cc0 pthread_kill + 288 2 libsystem_c.dylib 0x18b22da40 abort + 180 3 Godot 0x104dd50ec 0x10469c000 + 7573740 4 libsystem_platform.dylib 0x18b351a24 _sigtramp + 56 5 libSwiftGodot.dylib 0x1154b0de4 closure #1 in freeFunc(_:_:) + 92 (Wrapped.swift:392) 6 libSwiftGodot.dylib 0x1154b0de4 closure #1 in freeFunc(_:_:) + 92 (Wrapped.swift:392) 7 libSwiftGodot.dylib 0x1154b261c partial apply for closure #1 in freeFunc(_:_:) + 28 8 libSwiftGodot.dylib 0x115493500 thunk for @callee_guaranteed () -> (@error @owned Error) + 24 9 libSwiftGodot.dylib 0x11549373c partial apply for thunk for @callee_guaranteed () -> (@error @owned Error) + 28 10 libSwiftGodot.dylib 0x1154933c8 NIOLock.withLock(_:) + 100 (NIOLock.swift:234) 11 libSwiftGodot.dylib 0x1154934a8 NIOLock.withLockVoid(_:) + 96 (NIOLock.swift:239) 12 libSwiftGodot.dylib 0x1154af014 freeFunc(_:_:) + 448 (Wrapped.swift:391) 13 libSwiftGodot.dylib 0x1154aee4c @objc freeFunc(_:_:) + 12 14 Godot 0x108394fdc 0x10469c000 + 63934428 15 Godot 0x1067b11f0 0x10469c000 + 34689520 16 Godot 0x108384a4c 0x10469c000 + 63867468 17 Godot 0x1067b11dc 0x10469c000 + 34689500 18 Godot 0x108384a4c 0x10469c000 + 63867468 19 Godot 0x105cb18b0 0x10469c000 + 23156912 20 Godot 0x105dc7630 0x10469c000 + 24294960 21 Godot 0x1067b411c 0x10469c000 + 34701596 22 Godot 0x1067b4028 0x10469c000 + 34701352 23 Godot 0x1067b9938 0x10469c000 + 34724152 24 Godot 0x1067eb138 0x10469c000 + 34926904 25 Godot 0x104dd162c 0x10469c000 + 7558700 26 Godot 0x104e02a1c 0x10469c000 + 7760412 27 dyld 0x18afa10e0 start + 2360 Thread 1: 0 libsystem_kernel.dylib 0x18b2e506c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18b3225fc _pthread_cond_wait + 1228 2 libc++.1.dylib 0x18b2494dc std::__1::condition_variable::wait(std::__1::unique_lock&) + 28 3 Godot 0x107f9ceec _IP_ResolverPrivate::_thread_function(void*) + 152 4 Godot 0x107ea737c 0x10469c000 + 58766204 5 Godot 0x107ea76e4 0x10469c000 + 58767076 6 libsystem_pthread.dylib 0x18b322034 _pthread_start + 136 7 libsystem_pthread.dylib 0x18b31ce3c thread_start + 8 Thread 2: 0 libsystem_kernel.dylib 0x18b2e506c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18b3225fc _pthread_cond_wait + 1228 2 libc++.1.dylib 0x18b2494dc std::__1::condition_variable::wait(std::__1::unique_lock&) + 28 3 Godot 0x1083cc0dc 0x10469c000 + 64159964 4 Godot 0x107ea737c 0x10469c000 + 58766204 5 Godot 0x107ea76e4 0x10469c000 + 58767076 6 libsystem_pthread.dylib 0x18b322034 _pthread_start + 136 7 libsystem_pthread.dylib 0x18b31ce3c thread_start + 8 Thread 3: 0 libsystem_kernel.dylib 0x18b2e506c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18b3225fc _pthread_cond_wait + 1228 2 libc++.1.dylib 0x18b2494dc std::__1::condition_variable::wait(std::__1::unique_lock&) + 28 3 Godot 0x1083cc0dc 0x10469c000 + 64159964 4 Godot 0x107ea737c 0x10469c000 + 58766204 5 Godot 0x107ea76e4 0x10469c000 + 58767076 6 libsystem_pthread.dylib 0x18b322034 _pthread_start + 136 7 libsystem_pthread.dylib 0x18b31ce3c thread_start + 8 Thread 4: 0 libsystem_kernel.dylib 0x18b2e506c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18b3225fc _pthread_cond_wait + 1228 2 libc++.1.dylib 0x18b2494dc std::__1::condition_variable::wait(std::__1::unique_lock&) + 28 3 Godot 0x1083cc0dc 0x10469c000 + 64159964 4 Godot 0x107ea737c 0x10469c000 + 58766204 5 Godot 0x107ea76e4 0x10469c000 + 58767076 6 libsystem_pthread.dylib 0x18b322034 _pthread_start + 136 7 libsystem_pthread.dylib 0x18b31ce3c thread_start + 8 Thread 5: 0 libsystem_kernel.dylib 0x18b2e506c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18b3225fc _pthread_cond_wait + 1228 2 libc++.1.dylib 0x18b2494dc std::__1::condition_variable::wait(std::__1::unique_lock&) + 28 3 Godot 0x1083cc0dc 0x10469c000 + 64159964 4 Godot 0x107ea737c 0x10469c000 + 58766204 5 Godot 0x107ea76e4 0x10469c000 + 58767076 6 libsystem_pthread.dylib 0x18b322034 _pthread_start + 136 7 libsystem_pthread.dylib 0x18b31ce3c thread_start + 8 Thread 6: 0 libsystem_kernel.dylib 0x18b2e506c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18b3225fc _pthread_cond_wait + 1228 2 libc++.1.dylib 0x18b2494dc std::__1::condition_variable::wait(std::__1::unique_lock&) + 28 3 Godot 0x1083cc0dc 0x10469c000 + 64159964 4 Godot 0x107ea737c 0x10469c000 + 58766204 5 Godot 0x107ea76e4 0x10469c000 + 58767076 6 libsystem_pthread.dylib 0x18b322034 _pthread_start + 136 7 libsystem_pthread.dylib 0x18b31ce3c thread_start + 8 Thread 7: 0 libsystem_kernel.dylib 0x18b2e506c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18b3225fc _pthread_cond_wait + 1228 2 libc++.1.dylib 0x18b2494dc std::__1::condition_variable::wait(std::__1::unique_lock&) + 28 3 Godot 0x1083cc0dc 0x10469c000 + 64159964 4 Godot 0x107ea737c 0x10469c000 + 58766204 5 Godot 0x107ea76e4 0x10469c000 + 58767076 6 libsystem_pthread.dylib 0x18b322034 _pthread_start + 136 7 libsystem_pthread.dylib 0x18b31ce3c thread_start + 8 Thread 8: 0 libsystem_kernel.dylib 0x18b2e506c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18b3225fc _pthread_cond_wait + 1228 2 libc++.1.dylib 0x18b2494dc std::__1::condition_variable::wait(std::__1::unique_lock&) + 28 3 Godot 0x1083cc0dc 0x10469c000 + 64159964 4 Godot 0x107ea737c 0x10469c000 + 58766204 5 Godot 0x107ea76e4 0x10469c000 + 58767076 6 libsystem_pthread.dylib 0x18b322034 _pthread_start + 136 7 libsystem_pthread.dylib 0x18b31ce3c thread_start + 8 Thread 9: 0 libsystem_kernel.dylib 0x18b2e506c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18b3225fc _pthread_cond_wait + 1228 2 libc++.1.dylib 0x18b2494dc std::__1::condition_variable::wait(std::__1::unique_lock&) + 28 3 Godot 0x1083cc0dc 0x10469c000 + 64159964 4 Godot 0x107ea737c 0x10469c000 + 58766204 5 Godot 0x107ea76e4 0x10469c000 + 58767076 6 libsystem_pthread.dylib 0x18b322034 _pthread_start + 136 7 libsystem_pthread.dylib 0x18b31ce3c thread_start + 8 Thread 10: 0 libsystem_kernel.dylib 0x18b2e506c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18b3225fc _pthread_cond_wait + 1228 2 libc++.1.dylib 0x18b2494dc std::__1::condition_variable::wait(std::__1::unique_lock&) + 28 3 Godot 0x1083cc0dc 0x10469c000 + 64159964 4 Godot 0x107ea737c 0x10469c000 + 58766204 5 Godot 0x107ea76e4 0x10469c000 + 58767076 6 libsystem_pthread.dylib 0x18b322034 _pthread_start + 136 7 libsystem_pthread.dylib 0x18b31ce3c thread_start + 8 Thread 11: 0 libsystem_kernel.dylib 0x18b2e506c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18b3225fc _pthread_cond_wait + 1228 2 libc++.1.dylib 0x18b2494dc std::__1::condition_variable::wait(std::__1::unique_lock&) + 28 3 Godot 0x1083cc0dc 0x10469c000 + 64159964 4 Godot 0x107ea737c 0x10469c000 + 58766204 5 Godot 0x107ea76e4 0x10469c000 + 58767076 6 libsystem_pthread.dylib 0x18b322034 _pthread_start + 136 7 libsystem_pthread.dylib 0x18b31ce3c thread_start + 8 Thread 12:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x18b2e1874 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x18b2f3cf0 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x18b2ea4b0 mach_msg_overwrite + 476 3 libsystem_kernel.dylib 0x18b2e1bf8 mach_msg + 24 4 CoreFoundation 0x18b3ffb84 __CFRunLoopServiceMachPort + 160 5 CoreFoundation 0x18b3fe44c __CFRunLoopRun + 1208 6 CoreFoundation 0x18b3fd93c CFRunLoopRunSpecific + 608 7 AppKit 0x18ed06160 _NSEventThread + 144 8 libsystem_pthread.dylib 0x18b322034 _pthread_start + 136 9 libsystem_pthread.dylib 0x18b31ce3c thread_start + 8 Thread 13:: caulk.messenger.shared:17 0 libsystem_kernel.dylib 0x18b2e17f0 semaphore_wait_trap + 8 1 caulk 0x1956c2690 caulk::semaphore::timed_wait(double) + 212 2 caulk 0x1956c2544 caulk::concurrent::details::worker_thread::run() + 36 3 caulk 0x1956c2244 void* caulk::thread_proxy>>(void*) + 96 4 libsystem_pthread.dylib 0x18b322034 _pthread_start + 136 5 libsystem_pthread.dylib 0x18b31ce3c thread_start + 8 Thread 14:: caulk.messenger.shared:high 0 libsystem_kernel.dylib 0x18b2e17f0 semaphore_wait_trap + 8 1 caulk 0x1956c2690 caulk::semaphore::timed_wait(double) + 212 2 caulk 0x1956c2544 caulk::concurrent::details::worker_thread::run() + 36 3 caulk 0x1956c2244 void* caulk::thread_proxy>>(void*) + 96 4 libsystem_pthread.dylib 0x18b322034 _pthread_start + 136 5 libsystem_pthread.dylib 0x18b31ce3c thread_start + 8 Thread 15:: caulk::deferred_logger 0 libsystem_kernel.dylib 0x18b2e17f0 semaphore_wait_trap + 8 1 caulk 0x1956c2690 caulk::semaphore::timed_wait(double) + 212 2 caulk 0x1956c2544 caulk::concurrent::details::worker_thread::run() + 36 3 caulk 0x1956c2244 void* caulk::thread_proxy>>(void*) + 96 4 libsystem_pthread.dylib 0x18b322034 _pthread_start + 136 5 libsystem_pthread.dylib 0x18b31ce3c thread_start + 8 Thread 16:: com.apple.audio.IOThread.client 0 libsystem_kernel.dylib 0x18b2e1874 mach_msg2_trap + 8 1 libsystem_kernel.dylib 0x18b2f3cf0 mach_msg2_internal + 80 2 libsystem_kernel.dylib 0x18b2ea4b0 mach_msg_overwrite + 476 3 libsystem_kernel.dylib 0x18b2e1bf8 mach_msg + 24 4 CoreAudio 0x18dc6d860 HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 96 5 CoreAudio 0x18db443c4 HALC_ProxyIOContext::IOWorkLoop() + 4260 6 CoreAudio 0x18db42bf0 invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int) + 108 7 CoreAudio 0x18dcc1f2c HALC_IOThread::Entry(void*) + 88 8 libsystem_pthread.dylib 0x18b322034 _pthread_start + 136 9 libsystem_pthread.dylib 0x18b31ce3c thread_start + 8 Thread 17: 0 libsystem_kernel.dylib 0x18b2e506c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18b3225fc _pthread_cond_wait + 1228 2 libc++.1.dylib 0x18b2494dc std::__1::condition_variable::wait(std::__1::unique_lock&) + 28 3 Godot 0x10569bf10 0x10469c000 + 16776976 4 Godot 0x10569bd9c 0x10469c000 + 16776604 5 Godot 0x10569bd24 0x10469c000 + 16776484 6 libsystem_pthread.dylib 0x18b322034 _pthread_start + 136 7 libsystem_pthread.dylib 0x18b31ce3c thread_start + 8 Thread 18: 0 libsystem_kernel.dylib 0x18b2e4e68 __semwait_signal + 8 1 libsystem_c.dylib 0x18b1c42f8 nanosleep + 220 2 Godot 0x105954988 0x10469c000 + 19630472 3 Godot 0x105aa6fe4 0x10469c000 + 21016548 4 Godot 0x107ea737c 0x10469c000 + 58766204 5 Godot 0x107ea76e4 0x10469c000 + 58767076 6 libsystem_pthread.dylib 0x18b322034 _pthread_start + 136 7 libsystem_pthread.dylib 0x18b31ce3c thread_start + 8 Thread 19: 0 libsystem_kernel.dylib 0x18b2e4e68 __semwait_signal + 8 1 libsystem_c.dylib 0x18b1c42f8 nanosleep + 220 2 Godot 0x105954988 0x10469c000 + 19630472 3 Godot 0x105afb858 0x10469c000 + 21362776 4 Godot 0x107ea737c 0x10469c000 + 58766204 5 Godot 0x107ea76e4 0x10469c000 + 58767076 6 libsystem_pthread.dylib 0x18b322034 _pthread_start + 136 7 libsystem_pthread.dylib 0x18b31ce3c thread_start + 8 Thread 20: 0 libsystem_kernel.dylib 0x18b2e4e68 __semwait_signal + 8 1 libsystem_c.dylib 0x18b1c42f8 nanosleep + 220 2 Godot 0x105954988 0x10469c000 + 19630472 3 Godot 0x105b70a6c 0x10469c000 + 21842540 4 Godot 0x107ea737c 0x10469c000 + 58766204 5 Godot 0x107ea76e4 0x10469c000 + 58767076 6 libsystem_pthread.dylib 0x18b322034 _pthread_start + 136 7 libsystem_pthread.dylib 0x18b31ce3c thread_start + 8 Thread 21: 0 libsystem_kernel.dylib 0x18b2e506c __psynch_cvwait + 8 1 libsystem_pthread.dylib 0x18b3225fc _pthread_cond_wait + 1228 2 libc++.1.dylib 0x18b2494dc std::__1::condition_variable::wait(std::__1::unique_lock&) + 28 3 Godot 0x1066ce204 0x10469c000 + 33759748 4 Godot 0x107ea737c 0x10469c000 + 58766204 5 Godot 0x107ea76e4 0x10469c000 + 58767076 6 libsystem_pthread.dylib 0x18b322034 _pthread_start + 136 7 libsystem_pthread.dylib 0x18b31ce3c thread_start + 8 Thread 22: 0 libsystem_pthread.dylib 0x18b31ce28 start_wqthread + 0 Thread 23: 0 libsystem_pthread.dylib 0x18b31ce28 start_wqthread + 0 Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000000 x1: 0x0000000000000000 x2: 0x0000000000000000 x3: 0x0000000000000000 x4: 0x0000000000000000 x5: 0x00000000000013c0 x6: 0x00006000020d93c0 x7: 0x0000000000000000 x8: 0x1d961c320b82f37a x9: 0x1d961c33ea3daf3a x10: 0x0000000000000002 x11: 0x00000000fffffffd x12: 0x0000010000000000 x13: 0x0000000000000000 x14: 0x0000000000000000 x15: 0x0000000000000000 x16: 0x0000000000000148 x17: 0x00000001eac7b2f8 x18: 0x0000000000000000 x19: 0x0000000000000006 x20: 0x00000001e1bf5c40 x21: 0x0000000000000103 x22: 0x00000001e1bf5d20 x23: 0x0000000000000019 x24: 0x0000000109edda4f x25: 0x0000000109edda6f x26: 0x000000016b7620c8 x27: 0x0000000109edda64 x28: 0x0000000000000000 fp: 0x000000016b7617c0 lr: 0x000000018b321cc0 sp: 0x000000016b7617a0 pc: 0x000000018b2ea0dc cpsr: 0x40001000 far: 0x0000000000000000 esr: 0x56000080 Address size fault Binary Images: 0x124504000 - 0x12454bfff com.apple.cmio.DAL.VDC-4 (810.0) /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/Resources/VDC.plugin/Contents/MacOS/VDC 0x1142b8000 - 0x1143effff com.apple.audio.units.Components (1.14) /System/Library/Components/CoreAudio.component/Contents/MacOS/CoreAudio 0x1101b4000 - 0x11021ffff com.apple.AppleMetalOpenGLRenderer (1.0) <72c22333-9dbf-3856-99f1-716fc2b10726> /System/Library/Extensions/AppleMetalOpenGLRenderer.bundle/Contents/MacOS/AppleMetalOpenGLRenderer 0x110008000 - 0x11003bfff libGameEngine.dylib (*) <9b0b1997-f805-3a67-8f6a-29c8683500e0> /Users/USER/*/libGameEngine.dylib 0x115488000 - 0x11833bfff libSwiftGodot.dylib (*) <7d8ee205-8b8f-37bd-8501-0f7b365bb99d> /Users/USER/*/libSwiftGodot.dylib 0x10edf4000 - 0x10edfffff libobjc-trampolines.dylib (*) <39d1d8d0-6996-3bd4-8ce9-39512bb65c82> /usr/lib/libobjc-trampolines.dylib 0x10469c000 - 0x10a16ffff org.godotengine.godot (4.2.1) /Applications/Godot.app/Contents/MacOS/Godot 0x18b2e0000 - 0x18b31afff libsystem_kernel.dylib (*) /usr/lib/system/libsystem_kernel.dylib 0x18b31b000 - 0x18b327ff3 libsystem_pthread.dylib (*) <449bbad3-f7ef-371d-9a59-fd4ffa78289b> /usr/lib/system/libsystem_pthread.dylib 0x18b1b7000 - 0x18b235ffb libsystem_c.dylib (*) /usr/lib/system/libsystem_c.dylib 0x18b34e000 - 0x18b354ffb libsystem_platform.dylib (*) <785bf993-f73b-36c1-a5ba-ccce6c6da879> /usr/lib/system/libsystem_platform.dylib 0x18af9b000 - 0x18b02f387 dyld (*) <50746901-db0e-39a0-b391-baaa6b82ad0f> /usr/lib/dyld 0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ??? 0x18b236000 - 0x18b2c3ff7 libc++.1.dylib (*) /usr/lib/libc++.1.dylib 0x18b382000 - 0x18b859fff com.apple.CoreFoundation (6.9) <6030a572-b731-3f46-b3a0-2598fbb98c9a> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x18eba3000 - 0x18fecefff com.apple.AppKit (6.9) <873e5da0-bc01-399b-bf60-4066922d6a17> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x1956c0000 - 0x1956e9fff com.apple.audio.caulk (1.0) /System/Library/PrivateFrameworks/caulk.framework/Versions/A/caulk 0x18d959000 - 0x18e04cfff com.apple.audio.CoreAudio (5.0) /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio 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 VM Region Summary: ReadOnly portion of Libraries: Total=1.4G resident=0K(0%) swapped_out_or_unallocated=1.4G(100%) Writable regions: Total=3.6G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=3.6G(100%) VIRTUAL REGION REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Accelerate framework 128K 1 Activity Tracing 256K 1 CG image 544K 21 ColorSync 640K 30 CoreAnimation 2064K 107 CoreGraphics 48K 3 CoreUI image data 1440K 10 Foundation 16K 1 Foundation (reserved) 16K 1 reserved VM address space (unallocated) Kernel Alloc Once 32K 1 MALLOC 3.5G 152 MALLOC guard page 384K 24 MALLOC_LARGE (reserved) 16K 1 reserved VM address space (unallocated) OpenGL GLSL 256K 3 STACK GUARD 56.4M 24 Stack 20.2M 24 VM_ALLOCATE 16.0M 556 VM_ALLOCATE (reserved) 144K 1 reserved VM address space (unallocated) __AUTH 1019K 220 __AUTH_CONST 17.4M 391 __CTF 824 1 __DATA 7611K 386 __DATA_CONST 22.3M 400 __DATA_DIRTY 1033K 126 __FONT_DATA 4K 1 __GLSLBUILTINS 5174K 1 __LINKEDIT 935.8M 8 __OBJC_RO 71.2M 1 __OBJC_RW 2171K 1 __TEXT 499.3M 416 dyld private memory 1072K 6 mapped file 202.8M 34 shared memory 1792K 19 =========== ======= ======= TOTAL 5.3G 2972 TOTAL, minus reserved VM space 5.3G 2972 ----------- Full Report ----------- {"app_name":"Godot","timestamp":"2024-03-20 18:02:37.00 -0500","app_version":"4.2.1","slice_uuid":"b5054342-bde5-37a3-aa96-222efb3e1083","build_version":"4.2.1","platform":1,"bundleID":"org.godotengine.godot","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 14.3.1 (23D60)","roots_installed":0,"name":"Godot","incident_id":"CFF638B0-063C-4091-AC77-4C9B87E00D93"} { "uptime" : 140000, "procRole" : "Foreground", "version" : 2, "userID" : 502, "deployVersion" : 210, "modelCode" : "Mac13,1", "coalitionID" : 13075, "osVersion" : { "train" : "macOS 14.3.1", "build" : "23D60", "releaseType" : "User" }, "captureTime" : "2024-03-20 18:02:37.5457 -0500", "codeSigningMonitor" : 1, "incident" : "CFF638B0-063C-4091-AC77-4C9B87E00D93", "pid" : 86908, "translated" : false, "cpuType" : "ARM-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2024-03-20 17:57:58.5497 -0500", "procStartAbsTime" : 3423623945375, "procExitAbsTime" : 3430319115930, "procName" : "Godot", "procPath" : "\/Applications\/Godot.app\/Contents\/MacOS\/Godot", "bundleInfo" : {"CFBundleShortVersionString":"4.2.1","CFBundleVersion":"4.2.1","CFBundleIdentifier":"org.godotengine.godot"}, "storeInfo" : {"deviceIdentifierForVendor":"10955CE0-7A18-5E92-A6F4-A3041615ADAE","thirdParty":true}, "parentProc" : "launchd", "parentPid" : 1, "coalitionName" : "org.godotengine.godot", "crashReporterKey" : "C6E0DB0B-51D0-A0FF-5C81-FD6180B54484", "codeSigningID" : "org.godotengine.godot", "codeSigningTeamID" : "6K46PWY5DM", "codeSigningFlags" : 570491393, "codeSigningValidationCategory" : 6, "codeSigningTrustLevel" : 4294967295, "instructionByteStream" : {"beforePC":"fyMD1f17v6n9AwCRXOD\/l78DAJH9e8Go\/w9f1sADX9YQKYDSARAA1A==","atPC":"AwEAVH8jA9X9e7+p\/QMAkVHg\/5e\/AwCR\/XvBqP8PX9bAA1\/WcAqA0g=="}, "wakeTime" : 1414, "sleepWakeUUID" : "3B9F5689-E9F2-4184-BB16-DFA706D8C70C", "sip" : "enabled", "vmRegionInfo" : "0x545a00000008 is not in any region. Bytes after previous region: 92264487452681 Bytes before following region: 12807592476664\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n commpage (reserved) 1000000000-7000000000 [384.0G] ---\/--- SM=NUL ...(unallocated)\n---> GAP OF 0x5f9000000000 BYTES\n MALLOC_NANO 600000000000-600020000000 [512.0M] rw-\/rwx SM=PRV ", "exception" : {"codes":"0x0000000000000001, 0x4d55545a00000008","rawCodes":[1,5572452859464646664],"type":"EXC_BAD_ACCESS","signal":"SIGABRT","subtype":"KERN_INVALID_ADDRESS at 0x4d55545a00000008 -> 0x0000545a00000008 (possible pointer authentication failure)"}, "termination" : {"flags":0,"code":6,"namespace":"SIGNAL","indicator":"Abort trap: 6","byProc":"Godot","byPid":86908}, "vmregioninfo" : "0x545a00000008 is not in any region. Bytes after previous region: 92264487452681 Bytes before following region: 12807592476664\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n commpage (reserved) 1000000000-7000000000 [384.0G] ---\/--- SM=NUL ...(unallocated)\n---> GAP OF 0x5f9000000000 BYTES\n MALLOC_NANO 600000000000-600020000000 [512.0M] rw-\/rwx SM=PRV ", "asi" : {"libsystem_c.dylib":["abort() called"]}, "extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0}, "faultingThread" : 0, "threads" : [{"triggered":true,"id":2609840,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":5056},{"value":105553150710720},{"value":0},{"value":2131922474873582458},{"value":2131922482905329466},{"value":2},{"value":4294967293},{"value":1099511627776},{"value":0},{"value":0},{"value":0},{"value":328},{"value":8233923320},{"value":0},{"value":6},{"value":8082381888,"symbolLocation":0,"symbol":"_main_thread"},{"value":259},{"value":8082382112,"symbolLocation":224,"symbol":"_main_thread"},{"value":25},{"value":4461550159},{"value":4461550191},{"value":6097871048},{"value":4461550180},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6630284480},"cpsr":{"value":1073745920},"fp":{"value":6097868736},"sp":{"value":6097868704},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6630056156,"matchesCrashFrame":1},"far":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":41180,"symbol":"__pthread_kill","symbolLocation":8,"imageIndex":7},{"imageOffset":27840,"symbol":"pthread_kill","symbolLocation":288,"imageIndex":8},{"imageOffset":485952,"symbol":"abort","symbolLocation":180,"imageIndex":9},{"imageOffset":7573740,"imageIndex":6},{"imageOffset":14884,"symbol":"_sigtramp","symbolLocation":56,"imageIndex":10},{"imageOffset":167396,"sourceLine":392,"sourceFile":"Wrapped.swift","symbol":"closure #1 in freeFunc(_:_:)","imageIndex":4,"symbolLocation":92},{"imageOffset":167396,"sourceLine":392,"sourceFile":"Wrapped.swift","symbol":"closure #1 in freeFunc(_:_:)","imageIndex":4,"symbolLocation":92},{"imageOffset":173596,"sourceFile":"","symbol":"partial apply for closure #1 in freeFunc(_:_:)","symbolLocation":28,"imageIndex":4},{"imageOffset":46336,"sourceFile":"","symbol":"thunk for @callee_guaranteed () -> (@error @owned Error)","symbolLocation":24,"imageIndex":4},{"imageOffset":46908,"sourceFile":"","symbol":"partial apply for thunk for @callee_guaranteed () -> (@error @owned Error)","symbolLocation":28,"imageIndex":4},{"imageOffset":46024,"sourceLine":234,"sourceFile":"NIOLock.swift","symbol":"NIOLock.withLock(_:)","imageIndex":4,"symbolLocation":100},{"imageOffset":46248,"sourceLine":239,"sourceFile":"NIOLock.swift","symbol":"NIOLock.withLockVoid(_:)","imageIndex":4,"symbolLocation":96},{"imageOffset":159764,"sourceLine":391,"sourceFile":"Wrapped.swift","symbol":"freeFunc(_:_:)","imageIndex":4,"symbolLocation":448},{"imageOffset":159308,"sourceFile":"","symbol":"@objc freeFunc(_:_:)","symbolLocation":12,"imageIndex":4},{"imageOffset":63934428,"imageIndex":6},{"imageOffset":34689520,"imageIndex":6},{"imageOffset":63867468,"imageIndex":6},{"imageOffset":34689500,"imageIndex":6},{"imageOffset":63867468,"imageIndex":6},{"imageOffset":23156912,"imageIndex":6},{"imageOffset":24294960,"imageIndex":6},{"imageOffset":34701596,"imageIndex":6},{"imageOffset":34701352,"imageIndex":6},{"imageOffset":34724152,"imageIndex":6},{"imageOffset":34926904,"imageIndex":6},{"imageOffset":7558700,"imageIndex":6},{"imageOffset":7760412,"imageIndex":6},{"imageOffset":24800,"symbol":"start","symbolLocation":2360,"imageIndex":11}]},{"id":2609907,"frames":[{"imageOffset":20588,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":7},{"imageOffset":30204,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":8},{"imageOffset":79068,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":28,"imageIndex":13},{"imageOffset":59772652,"symbol":"_IP_ResolverPrivate::_thread_function(void*)","symbolLocation":152,"imageIndex":6},{"imageOffset":58766204,"imageIndex":6},{"imageOffset":58767076,"imageIndex":6},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}],"threadState":{"x":[{"value":260},{"value":0},{"value":0},{"value":0},{"value":0},{"value":160},{"value":0},{"value":0},{"value":6100725416},{"value":0},{"value":5713337960},{"value":2},{"value":0},{"value":0},{"value":0},{"value":0},{"value":305},{"value":8233923248},{"value":0},{"value":5713337936},{"value":5713338000},{"value":6100725984},{"value":0},{"value":0},{"value":0},{"value":1},{"value":256},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6630286844},"cpsr":{"value":1610616832},"fp":{"value":6100725536},"sp":{"value":6100725392},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6630035564},"far":{"value":0}}},{"id":2609908,"frames":[{"imageOffset":20588,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":7},{"imageOffset":30204,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":8},{"imageOffset":79068,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":28,"imageIndex":13},{"imageOffset":64159964,"imageIndex":6},{"imageOffset":58766204,"imageIndex":6},{"imageOffset":58767076,"imageIndex":6},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}],"threadState":{"x":[{"value":4},{"value":0},{"value":256},{"value":0},{"value":0},{"value":160},{"value":0},{"value":0},{"value":6101298872},{"value":0},{"value":5710804920},{"value":1099511628034},{"value":256},{"value":0},{"value":256},{"value":1099511628032},{"value":305},{"value":8233923248},{"value":0},{"value":5710804896},{"value":5710804960},{"value":6101299424},{"value":0},{"value":0},{"value":256},{"value":256},{"value":2816},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6630286844},"cpsr":{"value":1610616832},"fp":{"value":6101298992},"sp":{"value":6101298848},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6630035564},"far":{"value":0}}},{"id":2609909,"frames":[{"imageOffset":20588,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":7},{"imageOffset":30204,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":8},{"imageOffset":79068,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":28,"imageIndex":13},{"imageOffset":64159964,"imageIndex":6},{"imageOffset":58766204,"imageIndex":6},{"imageOffset":58767076,"imageIndex":6},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}],"threadState":{"x":[{"value":4},{"value":0},{"value":0},{"value":0},{"value":0},{"value":160},{"value":0},{"value":0},{"value":6101872312},{"value":0},{"value":5710804920},{"value":2},{"value":0},{"value":0},{"value":0},{"value":0},{"value":305},{"value":8233923248},{"value":0},{"value":5710804896},{"value":5710804960},{"value":6101872864},{"value":0},{"value":0},{"value":0},{"value":0},{"value":512},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6630286844},"cpsr":{"value":1610616832},"fp":{"value":6101872432},"sp":{"value":6101872288},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6630035564},"far":{"value":0}}},{"id":2609910,"frames":[{"imageOffset":20588,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":7},{"imageOffset":30204,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":8},{"imageOffset":79068,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":28,"imageIndex":13},{"imageOffset":64159964,"imageIndex":6},{"imageOffset":58766204,"imageIndex":6},{"imageOffset":58767076,"imageIndex":6},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}],"threadState":{"x":[{"value":4},{"value":0},{"value":0},{"value":0},{"value":0},{"value":160},{"value":0},{"value":0},{"value":6102445752},{"value":0},{"value":5710804920},{"value":2},{"value":0},{"value":0},{"value":0},{"value":0},{"value":305},{"value":8233923248},{"value":0},{"value":5710804896},{"value":5710804960},{"value":6102446304},{"value":0},{"value":0},{"value":0},{"value":0},{"value":768},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6630286844},"cpsr":{"value":1610616832},"fp":{"value":6102445872},"sp":{"value":6102445728},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6630035564},"far":{"value":0}}},{"id":2609911,"frames":[{"imageOffset":20588,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":7},{"imageOffset":30204,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":8},{"imageOffset":79068,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":28,"imageIndex":13},{"imageOffset":64159964,"imageIndex":6},{"imageOffset":58766204,"imageIndex":6},{"imageOffset":58767076,"imageIndex":6},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}],"threadState":{"x":[{"value":260},{"value":0},{"value":0},{"value":0},{"value":0},{"value":160},{"value":0},{"value":0},{"value":6103019192},{"value":0},{"value":5710804920},{"value":1099511628034},{"value":256},{"value":0},{"value":256},{"value":1099511628032},{"value":305},{"value":8233923248},{"value":0},{"value":5710804896},{"value":5710804960},{"value":6103019744},{"value":0},{"value":0},{"value":0},{"value":0},{"value":2560},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6630286844},"cpsr":{"value":1610616832},"fp":{"value":6103019312},"sp":{"value":6103019168},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6630035564},"far":{"value":0}}},{"id":2609912,"frames":[{"imageOffset":20588,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":7},{"imageOffset":30204,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":8},{"imageOffset":79068,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":28,"imageIndex":13},{"imageOffset":64159964,"imageIndex":6},{"imageOffset":58766204,"imageIndex":6},{"imageOffset":58767076,"imageIndex":6},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}],"threadState":{"x":[{"value":4},{"value":0},{"value":0},{"value":5710804896},{"value":1099511628032},{"value":4256},{"value":0},{"value":0},{"value":6103592632},{"value":256},{"value":5710804920},{"value":258},{"value":256},{"value":1},{"value":256},{"value":1099511628032},{"value":305},{"value":8233923248},{"value":0},{"value":5710804896},{"value":5710804960},{"value":6103593184},{"value":0},{"value":0},{"value":0},{"value":0},{"value":2304},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6630286844},"cpsr":{"value":1610616832},"fp":{"value":6103592752},"sp":{"value":6103592608},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6630035564},"far":{"value":0}}},{"id":2609913,"frames":[{"imageOffset":20588,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":7},{"imageOffset":30204,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":8},{"imageOffset":79068,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":28,"imageIndex":13},{"imageOffset":64159964,"imageIndex":6},{"imageOffset":58766204,"imageIndex":6},{"imageOffset":58767076,"imageIndex":6},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}],"threadState":{"x":[{"value":4},{"value":0},{"value":0},{"value":0},{"value":0},{"value":160},{"value":0},{"value":0},{"value":6104166072},{"value":0},{"value":5710804920},{"value":2},{"value":0},{"value":0},{"value":0},{"value":0},{"value":305},{"value":8233923248},{"value":0},{"value":5710804896},{"value":5710804960},{"value":6104166624},{"value":0},{"value":0},{"value":0},{"value":0},{"value":1024},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6630286844},"cpsr":{"value":1610616832},"fp":{"value":6104166192},"sp":{"value":6104166048},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6630035564},"far":{"value":0}}},{"id":2609914,"frames":[{"imageOffset":20588,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":7},{"imageOffset":30204,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":8},{"imageOffset":79068,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":28,"imageIndex":13},{"imageOffset":64159964,"imageIndex":6},{"imageOffset":58766204,"imageIndex":6},{"imageOffset":58767076,"imageIndex":6},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}],"threadState":{"x":[{"value":4},{"value":0},{"value":0},{"value":0},{"value":0},{"value":160},{"value":0},{"value":0},{"value":6104739512},{"value":0},{"value":5710804920},{"value":2},{"value":0},{"value":0},{"value":0},{"value":0},{"value":305},{"value":8233923248},{"value":0},{"value":5710804896},{"value":5710804960},{"value":6104740064},{"value":0},{"value":0},{"value":0},{"value":0},{"value":1280},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6630286844},"cpsr":{"value":1610616832},"fp":{"value":6104739632},"sp":{"value":6104739488},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6630035564},"far":{"value":0}}},{"id":2609915,"frames":[{"imageOffset":20588,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":7},{"imageOffset":30204,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":8},{"imageOffset":79068,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":28,"imageIndex":13},{"imageOffset":64159964,"imageIndex":6},{"imageOffset":58766204,"imageIndex":6},{"imageOffset":58767076,"imageIndex":6},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}],"threadState":{"x":[{"value":4},{"value":0},{"value":0},{"value":0},{"value":0},{"value":160},{"value":0},{"value":0},{"value":6105312952},{"value":0},{"value":5710804920},{"value":2},{"value":0},{"value":0},{"value":0},{"value":0},{"value":305},{"value":8233923248},{"value":0},{"value":5710804896},{"value":5710804960},{"value":6105313504},{"value":0},{"value":0},{"value":0},{"value":0},{"value":1536},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6630286844},"cpsr":{"value":1610616832},"fp":{"value":6105313072},"sp":{"value":6105312928},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6630035564},"far":{"value":0}}},{"id":2609916,"frames":[{"imageOffset":20588,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":7},{"imageOffset":30204,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":8},{"imageOffset":79068,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":28,"imageIndex":13},{"imageOffset":64159964,"imageIndex":6},{"imageOffset":58766204,"imageIndex":6},{"imageOffset":58767076,"imageIndex":6},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}],"threadState":{"x":[{"value":4},{"value":0},{"value":0},{"value":0},{"value":0},{"value":160},{"value":0},{"value":0},{"value":6105886392},{"value":0},{"value":5710804920},{"value":2},{"value":0},{"value":0},{"value":0},{"value":0},{"value":305},{"value":8233923248},{"value":0},{"value":5710804896},{"value":5710804960},{"value":6105886944},{"value":0},{"value":0},{"value":0},{"value":0},{"value":1792},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6630286844},"cpsr":{"value":1610616832},"fp":{"value":6105886512},"sp":{"value":6105886368},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6630035564},"far":{"value":0}}},{"id":2609917,"frames":[{"imageOffset":20588,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":7},{"imageOffset":30204,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":8},{"imageOffset":79068,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":28,"imageIndex":13},{"imageOffset":64159964,"imageIndex":6},{"imageOffset":58766204,"imageIndex":6},{"imageOffset":58767076,"imageIndex":6},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}],"threadState":{"x":[{"value":4},{"value":0},{"value":0},{"value":0},{"value":0},{"value":160},{"value":0},{"value":0},{"value":6106459832},{"value":0},{"value":5710804920},{"value":2},{"value":0},{"value":0},{"value":0},{"value":0},{"value":305},{"value":8233923248},{"value":0},{"value":5710804896},{"value":5710804960},{"value":6106460384},{"value":0},{"value":0},{"value":0},{"value":0},{"value":2048},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6630286844},"cpsr":{"value":1610616832},"fp":{"value":6106459952},"sp":{"value":6106459808},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6630035564},"far":{"value":0}}},{"id":2609973,"name":"com.apple.NSEventThread","threadState":{"x":[{"value":268451845},{"value":21592279046},{"value":8589934592},{"value":268328081817600},{"value":0},{"value":268328081817600},{"value":2},{"value":4294967295},{"value":18446744073709550527},{"value":62475},{"value":0},{"value":1},{"value":62475},{"value":2281129},{"value":0},{"value":0},{"value":18446744073709551569},{"value":8233907592},{"value":0},{"value":4294967295},{"value":2},{"value":268328081817600},{"value":0},{"value":268328081817600},{"value":6107029608},{"value":8589934592},{"value":21592279046},{"value":21592279046},{"value":4412409862}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6630096112},"cpsr":{"value":4096},"fp":{"value":6107029456},"sp":{"value":6107029376},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6630021236},"far":{"value":0}},"frames":[{"imageOffset":6260,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":7},{"imageOffset":81136,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":7},{"imageOffset":42160,"symbol":"mach_msg_overwrite","symbolLocation":476,"imageIndex":7},{"imageOffset":7160,"symbol":"mach_msg","symbolLocation":24,"imageIndex":7},{"imageOffset":514948,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":160,"imageIndex":14},{"imageOffset":509004,"symbol":"__CFRunLoopRun","symbolLocation":1208,"imageIndex":14},{"imageOffset":506172,"symbol":"CFRunLoopRunSpecific","symbolLocation":608,"imageIndex":14},{"imageOffset":1454432,"symbol":"_NSEventThread","symbolLocation":144,"imageIndex":15},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}]},{"id":2609975,"name":"caulk.messenger.shared:17","threadState":{"x":[{"value":14},{"value":105553183322010},{"value":0},{"value":6107607146},{"value":105553183321984},{"value":25},{"value":0},{"value":0},{"value":0},{"value":4294967295},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":18446744073709551580},{"value":8233913088},{"value":0},{"value":105553120478048},{"value":105553120478048},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6801860240},"cpsr":{"value":2147487744},"fp":{"value":6107606912},"sp":{"value":6107606880},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6630021104},"far":{"value":0}},"frames":[{"imageOffset":6128,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":7},{"imageOffset":9872,"symbol":"caulk::semaphore::timed_wait(double)","symbolLocation":212,"imageIndex":16},{"imageOffset":9540,"symbol":"caulk::concurrent::details::worker_thread::run()","symbolLocation":36,"imageIndex":16},{"imageOffset":8772,"symbol":"void* caulk::thread_proxy>>(void*)","symbolLocation":96,"imageIndex":16},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}]},{"id":2609976,"name":"caulk.messenger.shared:high","threadState":{"x":[{"value":14},{"value":53251},{"value":53251},{"value":11},{"value":4294967295},{"value":0},{"value":0},{"value":0},{"value":0},{"value":4294967295},{"value":1},{"value":105553168645320},{"value":0},{"value":0},{"value":0},{"value":0},{"value":18446744073709551580},{"value":8233913088},{"value":0},{"value":105553120477840},{"value":105553120477840},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6801860240},"cpsr":{"value":2147487744},"fp":{"value":6108180352},"sp":{"value":6108180320},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6630021104},"far":{"value":0}},"frames":[{"imageOffset":6128,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":7},{"imageOffset":9872,"symbol":"caulk::semaphore::timed_wait(double)","symbolLocation":212,"imageIndex":16},{"imageOffset":9540,"symbol":"caulk::concurrent::details::worker_thread::run()","symbolLocation":36,"imageIndex":16},{"imageOffset":8772,"symbol":"void* caulk::thread_proxy>>(void*)","symbolLocation":96,"imageIndex":16},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}]},{"id":2609979,"name":"caulk::deferred_logger","threadState":{"x":[{"value":14},{"value":105553145405719},{"value":0},{"value":6108754023},{"value":105553145405696},{"value":22},{"value":0},{"value":0},{"value":0},{"value":4294967295},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":18446744073709551580},{"value":8233913088},{"value":0},{"value":105553123058264},{"value":105553123058264},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6801860240},"cpsr":{"value":2147487744},"fp":{"value":6108753792},"sp":{"value":6108753760},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6630021104},"far":{"value":0}},"frames":[{"imageOffset":6128,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":7},{"imageOffset":9872,"symbol":"caulk::semaphore::timed_wait(double)","symbolLocation":212,"imageIndex":16},{"imageOffset":9540,"symbol":"caulk::concurrent::details::worker_thread::run()","symbolLocation":36,"imageIndex":16},{"imageOffset":8772,"symbol":"void* caulk::thread_proxy>>(void*)","symbolLocation":96,"imageIndex":16},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}]},{"id":2609980,"name":"com.apple.audio.IOThread.client","threadState":{"x":[{"value":268451845},{"value":17179869187},{"value":103079215123},{"value":95235},{"value":111621905055744},{"value":532176512745472},{"value":32},{"value":0},{"value":18446744073709550527},{"value":123907},{"value":25989},{"value":1},{"value":123907},{"value":1852797549},{"value":1650553971},{"value":0},{"value":18446744073709551569},{"value":8233907592},{"value":0},{"value":0},{"value":32},{"value":532176512745472},{"value":111621905055744},{"value":95235},{"value":6109326544},{"value":103079215123},{"value":17179869187},{"value":17179869187},{"value":3}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6630096112},"cpsr":{"value":536875008},"fp":{"value":6109326208},"sp":{"value":6109326128},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6630021236},"far":{"value":0}},"frames":[{"imageOffset":6260,"symbol":"mach_msg2_trap","symbolLocation":8,"imageIndex":7},{"imageOffset":81136,"symbol":"mach_msg2_internal","symbolLocation":80,"imageIndex":7},{"imageOffset":42160,"symbol":"mach_msg_overwrite","symbolLocation":476,"imageIndex":7},{"imageOffset":7160,"symbol":"mach_msg","symbolLocation":24,"imageIndex":7},{"imageOffset":3229792,"symbol":"HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int)","symbolLocation":96,"imageIndex":17},{"imageOffset":2012100,"symbol":"HALC_ProxyIOContext::IOWorkLoop()","symbolLocation":4260,"imageIndex":17},{"imageOffset":2006000,"symbol":"invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int)","symbolLocation":108,"imageIndex":17},{"imageOffset":3575596,"symbol":"HALC_IOThread::Entry(void*)","symbolLocation":88,"imageIndex":17},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}]},{"id":2609993,"frames":[{"imageOffset":20588,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":7},{"imageOffset":30204,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":8},{"imageOffset":79068,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":28,"imageIndex":13},{"imageOffset":16776976,"imageIndex":6},{"imageOffset":16776604,"imageIndex":6},{"imageOffset":16776484,"imageIndex":6},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}],"threadState":{"x":[{"value":260},{"value":0},{"value":471296},{"value":0},{"value":0},{"value":160},{"value":0},{"value":0},{"value":6109900392},{"value":0},{"value":105553125001704},{"value":1099511628034},{"value":256},{"value":0},{"value":256},{"value":1099511628032},{"value":305},{"value":8233923248},{"value":0},{"value":105553125001680},{"value":105553125001744},{"value":6109901024},{"value":0},{"value":0},{"value":471296},{"value":471297},{"value":471552},{"value":105553125001632},{"value":105553125001632}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6630286844},"cpsr":{"value":1610616832},"fp":{"value":6109900512},"sp":{"value":6109900368},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6630035564},"far":{"value":0}}},{"id":2609995,"frames":[{"imageOffset":20072,"symbol":"__semwait_signal","symbolLocation":8,"imageIndex":7},{"imageOffset":54008,"symbol":"nanosleep","symbolLocation":220,"imageIndex":9},{"imageOffset":19630472,"imageIndex":6},{"imageOffset":21016548,"imageIndex":6},{"imageOffset":58766204,"imageIndex":6},{"imageOffset":58767076,"imageIndex":6},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}],"threadState":{"x":[{"value":4},{"value":0},{"value":1},{"value":1},{"value":0},{"value":200000000},{"value":52},{"value":0},{"value":8082419512,"symbolLocation":0,"symbol":"clock_sem"},{"value":16387},{"value":17},{"value":601552},{"value":4849680284},{"value":29},{"value":4849664000},{"value":78118911},{"value":334},{"value":8233923368},{"value":0},{"value":6378925392},{"value":6378925408},{"value":4461548321},{"value":4954756928},{"value":4294967295},{"value":4376570276,"symbolLocation":0,"symbol":"DefaultAllocator::alloc(unsigned long)"},{"value":0},{"value":276640290},{"value":4954756944},{"value":4464030284}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6628852472},"cpsr":{"value":1610616832},"fp":{"value":6378925376},"sp":{"value":6378925328},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6630035048},"far":{"value":0}}},{"id":2609996,"frames":[{"imageOffset":20072,"symbol":"__semwait_signal","symbolLocation":8,"imageIndex":7},{"imageOffset":54008,"symbol":"nanosleep","symbolLocation":220,"imageIndex":9},{"imageOffset":19630472,"imageIndex":6},{"imageOffset":21362776,"imageIndex":6},{"imageOffset":58766204,"imageIndex":6},{"imageOffset":58767076,"imageIndex":6},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}],"threadState":{"x":[{"value":4},{"value":0},{"value":1},{"value":1},{"value":0},{"value":200000000},{"value":52},{"value":0},{"value":8082419512,"symbolLocation":0,"symbol":"clock_sem"},{"value":16387},{"value":17},{"value":4294967293},{"value":1099511627776},{"value":0},{"value":0},{"value":0},{"value":334},{"value":8233923368},{"value":0},{"value":6379498960},{"value":6379498976},{"value":21},{"value":4954937512},{"value":4954937504},{"value":4462098114},{"value":0},{"value":9500655},{"value":2999999},{"value":4294967295}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6628852472},"cpsr":{"value":1610616832},"fp":{"value":6379498944},"sp":{"value":6379498896},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6630035048},"far":{"value":0}}},{"id":2609998,"frames":[{"imageOffset":20072,"symbol":"__semwait_signal","symbolLocation":8,"imageIndex":7},{"imageOffset":54008,"symbol":"nanosleep","symbolLocation":220,"imageIndex":9},{"imageOffset":19630472,"imageIndex":6},{"imageOffset":21842540,"imageIndex":6},{"imageOffset":58766204,"imageIndex":6},{"imageOffset":58767076,"imageIndex":6},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}],"threadState":{"x":[{"value":4},{"value":0},{"value":1},{"value":1},{"value":0},{"value":6900000},{"value":52},{"value":0},{"value":8082419512,"symbolLocation":0,"symbol":"clock_sem"},{"value":16387},{"value":17},{"value":4294967293},{"value":1099511627776},{"value":0},{"value":0},{"value":0},{"value":334},{"value":8233923368},{"value":0},{"value":6380072768},{"value":6380072784},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6628852472},"cpsr":{"value":1610616832},"fp":{"value":6380072752},"sp":{"value":6380072704},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6630035048},"far":{"value":0}}},{"id":2610036,"frames":[{"imageOffset":20588,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":7},{"imageOffset":30204,"symbol":"_pthread_cond_wait","symbolLocation":1228,"imageIndex":8},{"imageOffset":79068,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":28,"imageIndex":13},{"imageOffset":33759748,"imageIndex":6},{"imageOffset":58766204,"imageIndex":6},{"imageOffset":58767076,"imageIndex":6},{"imageOffset":28724,"symbol":"_pthread_start","symbolLocation":136,"imageIndex":8},{"imageOffset":7740,"symbol":"thread_start","symbolLocation":8,"imageIndex":8}],"threadState":{"x":[{"value":260},{"value":0},{"value":0},{"value":0},{"value":0},{"value":160},{"value":0},{"value":0},{"value":6380645736},{"value":0},{"value":5768920184},{"value":2},{"value":0},{"value":0},{"value":0},{"value":0},{"value":305},{"value":8233923248},{"value":0},{"value":5768920160},{"value":5768920224},{"value":6380646624},{"value":0},{"value":0},{"value":0},{"value":1},{"value":256},{"value":6380646048},{"value":5768920368}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6630286844},"cpsr":{"value":1610616832},"fp":{"value":6380645856},"sp":{"value":6380645712},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6630035564},"far":{"value":0}}},{"id":2616332,"frames":[{"imageOffset":7720,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}],"threadState":{"x":[{"value":6099005440},{"value":63355},{"value":6098468864},{"value":0},{"value":409604},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6099005440},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6630264360},"far":{"value":0}}},{"id":2616672,"frames":[{"imageOffset":7720,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":8}],"threadState":{"x":[{"value":6099578880},{"value":0},{"value":6099042304},{"value":0},{"value":278532},{"value":18446744073709551615},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":0},"cpsr":{"value":4096},"fp":{"value":0},"sp":{"value":6099578880},"esr":{"value":0,"description":" Address size fault"},"pc":{"value":6630264360},"far":{"value":0}}}], "usedImages" : [ { "source" : "P", "arch" : "arm64e", "base" : 4904206336, "CFBundleShortVersionString" : "810.0", "CFBundleIdentifier" : "com.apple.cmio.DAL.VDC-4", "size" : 294912, "uuid" : "b6879c9f-a5c9-3d2e-8b79-7f8af1ed8123", "path" : "\/System\/Library\/Frameworks\/CoreMediaIO.framework\/Versions\/A\/Resources\/VDC.plugin\/Contents\/MacOS\/VDC", "name" : "VDC", "CFBundleVersion" : "423.1" }, { "source" : "P", "arch" : "arm64e", "base" : 4633362432, "CFBundleShortVersionString" : "1.14", "CFBundleIdentifier" : "com.apple.audio.units.Components", "size" : 1277952, "uuid" : "ad1547a3-5cdf-3a4b-8348-c8a3a7c78cc9", "path" : "\/System\/Library\/Components\/CoreAudio.component\/Contents\/MacOS\/CoreAudio", "name" : "CoreAudio", "CFBundleVersion" : "1.14" }, { "source" : "P", "arch" : "arm64e", "base" : 4565188608, "CFBundleShortVersionString" : "1.0", "CFBundleIdentifier" : "com.apple.AppleMetalOpenGLRenderer", "size" : 442368, "uuid" : "72c22333-9dbf-3856-99f1-716fc2b10726", "path" : "\/System\/Library\/Extensions\/AppleMetalOpenGLRenderer.bundle\/Contents\/MacOS\/AppleMetalOpenGLRenderer", "name" : "AppleMetalOpenGLRenderer", "CFBundleVersion" : "1" }, { "source" : "P", "arch" : "arm64", "base" : 4563435520, "size" : 212992, "uuid" : "9b0b1997-f805-3a67-8f6a-29c8683500e0", "path" : "\/Users\/USER\/*\/libGameEngine.dylib", "name" : "libGameEngine.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4652040192, "size" : 48971776, "uuid" : "7d8ee205-8b8f-37bd-8501-0f7b365bb99d", "path" : "\/Users\/USER\/*\/libSwiftGodot.dylib", "name" : "libSwiftGodot.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 4544479232, "size" : 49152, "uuid" : "39d1d8d0-6996-3bd4-8ce9-39512bb65c82", "path" : "\/usr\/lib\/libobjc-trampolines.dylib", "name" : "libobjc-trampolines.dylib" }, { "source" : "P", "arch" : "arm64", "base" : 4369006592, "CFBundleShortVersionString" : "4.2.1", "CFBundleIdentifier" : "org.godotengine.godot", "size" : 95240192, "uuid" : "b5054342-bde5-37a3-aa96-222efb3e1083", "path" : "\/Applications\/Godot.app\/Contents\/MacOS\/Godot", "name" : "Godot", "CFBundleVersion" : "4.2.1" }, { "source" : "P", "arch" : "arm64e", "base" : 6630014976, "size" : 241664, "uuid" : "a7228b5d-53c7-3fe9-84e4-2a8c04dcf051", "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib", "name" : "libsystem_kernel.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6630256640, "size" : 53236, "uuid" : "449bbad3-f7ef-371d-9a59-fd4ffa78289b", "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib", "name" : "libsystem_pthread.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6628798464, "size" : 520188, "uuid" : "cc7a439e-f104-3047-995c-9a5a3cc4a442", "path" : "\/usr\/lib\/system\/libsystem_c.dylib", "name" : "libsystem_c.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6630465536, "size" : 28668, "uuid" : "785bf993-f73b-36c1-a5ba-ccce6c6da879", "path" : "\/usr\/lib\/system\/libsystem_platform.dylib", "name" : "libsystem_platform.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6626586624, "size" : 607112, "uuid" : "50746901-db0e-39a0-b391-baaa6b82ad0f", "path" : "\/usr\/lib\/dyld", "name" : "dyld" }, { "size" : 0, "source" : "A", "base" : 0, "uuid" : "00000000-0000-0000-0000-000000000000" }, { "source" : "P", "arch" : "arm64e", "base" : 6629318656, "size" : 581624, "uuid" : "f9b004fe-f1d6-307e-b399-568b8ac0cb6f", "path" : "\/usr\/lib\/libc++.1.dylib", "name" : "libc++.1.dylib" }, { "source" : "P", "arch" : "arm64e", "base" : 6630678528, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.CoreFoundation", "size" : 5079040, "uuid" : "6030a572-b731-3f46-b3a0-2598fbb98c9a", "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation", "name" : "CoreFoundation", "CFBundleVersion" : "2303" }, { "source" : "P", "arch" : "arm64e", "base" : 6689533952, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.AppKit", "size" : 20103168, "uuid" : "873e5da0-bc01-399b-bf60-4066922d6a17", "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit", "name" : "AppKit", "CFBundleVersion" : "2487.40.107" }, { "source" : "P", "arch" : "arm64e", "base" : 6801850368, "CFBundleShortVersionString" : "1.0", "CFBundleIdentifier" : "com.apple.audio.caulk", "size" : 172032, "uuid" : "f3096db3-a767-3de6-b0ba-a9b44476c5f2", "path" : "\/System\/Library\/PrivateFrameworks\/caulk.framework\/Versions\/A\/caulk", "name" : "caulk" }, { "source" : "P", "arch" : "arm64e", "base" : 6670356480, "CFBundleShortVersionString" : "5.0", "CFBundleIdentifier" : "com.apple.audio.CoreAudio", "size" : 7290880, "uuid" : "b309c860-61a6-3c72-8ec6-98d944053025", "path" : "\/System\/Library\/Frameworks\/CoreAudio.framework\/Versions\/A\/CoreAudio", "name" : "CoreAudio", "CFBundleVersion" : "5.0" } ], "sharedCache" : { "base" : 6625837056, "size" : 4065345536, "uuid" : "c32b200e-cf99-3583-bc9f-b7fb11382e8f" }, "vmSummary" : "ReadOnly portion of Libraries: Total=1.4G resident=0K(0%) swapped_out_or_unallocated=1.4G(100%)\nWritable regions: Total=3.6G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=3.6G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 128K 1 \nActivity Tracing 256K 1 \nCG image 544K 21 \nColorSync 640K 30 \nCoreAnimation 2064K 107 \nCoreGraphics 48K 3 \nCoreUI image data 1440K 10 \nFoundation 16K 1 \nFoundation (reserved) 16K 1 reserved VM address space (unallocated)\nKernel Alloc Once 32K 1 \nMALLOC 3.5G 152 \nMALLOC guard page 384K 24 \nMALLOC_LARGE (reserved) 16K 1 reserved VM address space (unallocated)\nOpenGL GLSL 256K 3 \nSTACK GUARD 56.4M 24 \nStack 20.2M 24 \nVM_ALLOCATE 16.0M 556 \nVM_ALLOCATE (reserved) 144K 1 reserved VM address space (unallocated)\n__AUTH 1019K 220 \n__AUTH_CONST 17.4M 391 \n__CTF 824 1 \n__DATA 7611K 386 \n__DATA_CONST 22.3M 400 \n__DATA_DIRTY 1033K 126 \n__FONT_DATA 4K 1 \n__GLSLBUILTINS 5174K 1 \n__LINKEDIT 935.8M 8 \n__OBJC_RO 71.2M 1 \n__OBJC_RW 2171K 1 \n__TEXT 499.3M 416 \ndyld private memory 1072K 6 \nmapped file 202.8M 34 \nshared memory 1792K 19 \n=========== ======= ======= \nTOTAL 5.3G 2972 \nTOTAL, minus reserved VM space 5.3G 2972 \n", "legacyInfo" : { "threadTriggered" : { "queue" : "com.apple.main-thread" } }, "logWritingSignature" : "4934bcbcf34d79924a3f73a83009e6a5e40b7f88", "trialInfo" : { "rollouts" : [ { "rolloutId" : "62699e1ec1ff2978b47f6c3b", "factorPackIds" : { "SIRI_FIND_MY_CONFIGURATION_FILES" : "652805151bce5442b8d752e1" }, "deploymentId" : 240000031 }, { "rolloutId" : "60186475825c62000ccf5450", "factorPackIds" : { }, "deploymentId" : 240000069 } ], "experiments" : [ ] } } ```
Faltrenn commented 2 months ago

Hi, im looking to SwiftGodot a time, and I had some problems with hot reloading, for example, don't have documentation, but I saw in some issues how to use, I don't know if I made a wrong configuration, but isn't working. I tested on windows and on Mac, and both are crashing sometimes when hot reload, but I will remake the test on windows. The test:

  1. I created a new project on Godot 4.2.2
  2. Created a folder on root of project called swift
  3. Created a package inside swift folder Package.swift:
    
    // swift-tools-version: 5.10
    // The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package( name: "swift", platforms: [.macOS(.v13)], products: [ // Products define the executables and libraries a package produces, making them visible to other packages. .library( name: "swift", type: .dynamic, targets: ["swift"]), ], dependencies: [ .package(url: "https://github.com/migueldeicaza/SwiftGodot", branch: "main") ], targets: [ // Targets are the basic building blocks of a package, defining a module or a test suite. // Targets can depend on other targets in this package and products from dependencies. .target( name: "swift", dependencies: [ "SwiftGodot", ], swiftSettings: [.unsafeFlags(["-suppress-warnings"])] ), .testTarget( name: "swiftTests", dependencies: ["swift"]), ] )

4. Create bin folder on root
5. Add gdextension file on bin folder
swift.gdextension:

[configuration] entry_symbol = "swift_entry_point" compatibility_minimum = 4.2 reloadable = true

[libraries] macos.debug = "res://swift/.build/arm64-apple-macosx/debug/libswift.dylib"

[dependencies] macos.debug = {"res://swift/.build/arm64-apple-macosx/debug/libSwiftGodot.dylib" : ""}

6. Create a file named Tests and create 2 classes
Tests.swift
```swift
//
//  File.swift
//  
//
//  Created by Emanuel on 20/06/24.
//

import SwiftGodot

@Godot
class Test: Node {
    override func _ready() {
        GD.print("A")
    }

    @Callable
    func fnc() {
        GD.print("B")
    }
}

@Godot
class Test2: Node {
    override func _ready() {
        GD.print("AA")
    }

    @Callable
    func fnc() {
        GD.print("BB")
    }
}

MyLibrary.swift

// The Swift Programming Language
// https://docs.swift.org/swift-book

import SwiftGodot

let allNodes: [Wrapped.Type] = [Test.self, Test2.self]

#initSwiftExtension(cdecl: "swift_entry_point", types: allNodes)
  1. Create a scene with a node, and attach a gdscript

testing.gd:

extends Node2D

@onready var test = $Test as Test
@onready var test_2 = $Test2 as Test2

func _ready():
    test.fnc()
    test_2.fnc()
  1. Inside the root node add the swift nodes
  2. Build and make changes to test hot reload

    The tests I made was:

  3. Change function code
  4. Change function parameters
  5. Change function return
  6. Remove function
  7. Add function
  8. Remove class
  9. Add class
  10. Rename class
  11. Rename function

    I am considering engine crashes or not responding, if the code work and if the lsp of gdscript is working conform changes

    Tests on Mac

    Tests Crash Not responding Lsp Work
    Change function code
    Change function parameters -
    Change function return
    Remove function
    Add function
    Rename function
    Remove class
    Add class
    Rename class

The rename class can't be tested if work, because the hot reload doesn't add the class, I need to reload the engine manually. One thing then i noticed, the engine crash when I close the engine in whatever tests then engine not crashed or not respond. I don't know if have any difference between crash and not responding, but i noticed that. Im sorry by the English and if that is useless, after I will make the same tests on windows.