godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.35k stars 21.25k forks source link

Clicking Theme style StyleBox in inspector crashes the editor #68774

Closed lostminds closed 2 years ago

lostminds commented 2 years ago

Godot version

4.0.beta5

System information

macOS 13.0.1

Issue description

If you have a control (like a Panel) with an assigned Theme you can access the Theme and the Theme styles in the Inspector for the Panel and click to then access the StyleBoxTexture for example. I'm pretty sure this worked as intended in 4.0.beta4, but now the editor consistently crashes if I click this Theme style resource in the inspector.

I can access the same resource fine from the Theme editor panel, or if I apply a stylebox as a Theme override on the Panel directly instead of via a Theme.

https://user-images.githubusercontent.com/17763524/202382786-243a0866-01ad-452a-8849-72b80b29e475.mov

Crash report ``` Process: Godot [1762] Path: /Applications/Godot.app/Contents/MacOS/Godot Identifier: org.godotengine.godot Version: 4.0 (4.0) Code Type: X86-64 (Native) Parent Process: launchd [1] User ID: 501 Date/Time: 2022-11-17 08:12:41.1798 +0100 OS Version: macOS 13.0.1 (22A400) Report Version: 12 Anonymous UUID: FCE8D6FB-F64A-7F5F-1FED-8DB41D0B297B Time Awake Since Boot: 2700 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 0x0000000000000068 Exception Codes: 0x0000000000000001, 0x0000000000000068 VM Region Info: 0x68 is not in any region. Bytes before following region: 140737487749016 REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL UNUSED SPACE AT START ---> shared memory 7ffffff6c000-7ffffff6d000 [ 4K] r-x/r-x SM=SHM Application Specific Information: abort() called Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x7ff817a1330e __pthread_kill + 10 1 libsystem_pthread.dylib 0x7ff817a4af7b pthread_kill + 263 2 libsystem_c.dylib 0x7ff817994ca5 abort + 123 3 Godot 0x10c55354d 0x10c0e4000 + 4650317 4 libsystem_platform.dylib 0x7ff817a75c1d _sigtramp + 29 5 ??? 0x600019cbe890 ??? 6 Godot 0x10e5c8a22 0x10c0e4000 + 38685218 7 Godot 0x10da4536b 0x10c0e4000 + 26612587 8 Godot 0x1106018d0 0x10c0e4000 + 72472784 9 Godot 0x1102ac587 0x10c0e4000 + 68978055 10 Godot 0x1105f9fb6 0x10c0e4000 + 72441782 11 Godot 0x1105fa288 0x10c0e4000 + 72442504 12 Godot 0x10e5c6403 0x10c0e4000 + 38675459 13 Godot 0x10c5a18c7 0x10c0e4000 + 4970695 14 Godot 0x10c5502f3 0x10c0e4000 + 4637427 15 Godot 0x10c57825d 0x10c0e4000 + 4801117 16 dyld 0x7ff81771a310 start + 2432 Thread 1: 0 libsystem_kernel.dylib 0x7ff817a0f1fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff817a4b7e1 _pthread_cond_wait + 1243 2 libc++.1.dylib 0x7ff8179a7c32 std::__1::condition_variable::wait(std::__1::unique_lock&) + 18 3 Godot 0x11018832b _IP_ResolverPrivate::_thread_function(void*) + 155 4 Godot 0x110057139 0x10c0e4000 + 66531641 5 Godot 0x11005766c 0x10c0e4000 + 66532972 6 libsystem_pthread.dylib 0x7ff817a4b259 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff817a46c7b thread_start + 15 Thread 2: 0 libsystem_kernel.dylib 0x7ff817a0f1fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff817a4b7e1 _pthread_cond_wait + 1243 2 libc++.1.dylib 0x7ff8179a7c32 std::__1::condition_variable::wait(std::__1::unique_lock&) + 18 3 Godot 0x110653b3b 0x10c0e4000 + 72809275 4 Godot 0x110057139 0x10c0e4000 + 66531641 5 Godot 0x11005766c 0x10c0e4000 + 66532972 6 libsystem_pthread.dylib 0x7ff817a4b259 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff817a46c7b thread_start + 15 Thread 3: 0 libsystem_kernel.dylib 0x7ff817a0f1fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff817a4b7e1 _pthread_cond_wait + 1243 2 libc++.1.dylib 0x7ff8179a7c32 std::__1::condition_variable::wait(std::__1::unique_lock&) + 18 3 Godot 0x110653b3b 0x10c0e4000 + 72809275 4 Godot 0x110057139 0x10c0e4000 + 66531641 5 Godot 0x11005766c 0x10c0e4000 + 66532972 6 libsystem_pthread.dylib 0x7ff817a4b259 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff817a46c7b thread_start + 15 Thread 4: 0 libsystem_kernel.dylib 0x7ff817a0f1fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff817a4b7e1 _pthread_cond_wait + 1243 2 libc++.1.dylib 0x7ff8179a7c32 std::__1::condition_variable::wait(std::__1::unique_lock&) + 18 3 Godot 0x110653b3b 0x10c0e4000 + 72809275 4 Godot 0x110057139 0x10c0e4000 + 66531641 5 Godot 0x11005766c 0x10c0e4000 + 66532972 6 libsystem_pthread.dylib 0x7ff817a4b259 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff817a46c7b thread_start + 15 Thread 5: 0 libsystem_kernel.dylib 0x7ff817a0f1fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff817a4b7e1 _pthread_cond_wait + 1243 2 libc++.1.dylib 0x7ff8179a7c32 std::__1::condition_variable::wait(std::__1::unique_lock&) + 18 3 Godot 0x110653b3b 0x10c0e4000 + 72809275 4 Godot 0x110057139 0x10c0e4000 + 66531641 5 Godot 0x11005766c 0x10c0e4000 + 66532972 6 libsystem_pthread.dylib 0x7ff817a4b259 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff817a46c7b thread_start + 15 Thread 6: 0 libsystem_kernel.dylib 0x7ff817a0f1fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff817a4b7e1 _pthread_cond_wait + 1243 2 libc++.1.dylib 0x7ff8179a7c32 std::__1::condition_variable::wait(std::__1::unique_lock&) + 18 3 Godot 0x110653b3b 0x10c0e4000 + 72809275 4 Godot 0x110057139 0x10c0e4000 + 66531641 5 Godot 0x11005766c 0x10c0e4000 + 66532972 6 libsystem_pthread.dylib 0x7ff817a4b259 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff817a46c7b thread_start + 15 Thread 7: 0 libsystem_kernel.dylib 0x7ff817a0f1fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff817a4b7e1 _pthread_cond_wait + 1243 2 libc++.1.dylib 0x7ff8179a7c32 std::__1::condition_variable::wait(std::__1::unique_lock&) + 18 3 Godot 0x110653b3b 0x10c0e4000 + 72809275 4 Godot 0x110057139 0x10c0e4000 + 66531641 5 Godot 0x11005766c 0x10c0e4000 + 66532972 6 libsystem_pthread.dylib 0x7ff817a4b259 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff817a46c7b thread_start + 15 Thread 8: 0 libsystem_kernel.dylib 0x7ff817a0f1fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff817a4b7e1 _pthread_cond_wait + 1243 2 libc++.1.dylib 0x7ff8179a7c32 std::__1::condition_variable::wait(std::__1::unique_lock&) + 18 3 Godot 0x110653b3b 0x10c0e4000 + 72809275 4 Godot 0x110057139 0x10c0e4000 + 66531641 5 Godot 0x11005766c 0x10c0e4000 + 66532972 6 libsystem_pthread.dylib 0x7ff817a4b259 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff817a46c7b thread_start + 15 Thread 9: 0 libsystem_kernel.dylib 0x7ff817a0f1fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff817a4b7e1 _pthread_cond_wait + 1243 2 libc++.1.dylib 0x7ff8179a7c32 std::__1::condition_variable::wait(std::__1::unique_lock&) + 18 3 Godot 0x110653b3b 0x10c0e4000 + 72809275 4 Godot 0x110057139 0x10c0e4000 + 66531641 5 Godot 0x11005766c 0x10c0e4000 + 66532972 6 libsystem_pthread.dylib 0x7ff817a4b259 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff817a46c7b thread_start + 15 Thread 10:: AXSpeech 0 libsystem_kernel.dylib 0x7ff817a0c6a2 mach_msg2_trap + 10 1 libsystem_kernel.dylib 0x7ff817a1a67d mach_msg2_internal + 82 2 libsystem_kernel.dylib 0x7ff817a1371a mach_msg_overwrite + 723 3 libsystem_kernel.dylib 0x7ff817a0c989 mach_msg + 19 4 CoreFoundation 0x7ff817b25d0e __CFRunLoopServiceMachPort + 145 5 CoreFoundation 0x7ff817b2477a __CFRunLoopRun + 1360 6 CoreFoundation 0x7ff817b23bb0 CFRunLoopRunSpecific + 560 7 Foundation 0x7ff81897c49a -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 216 8 libAXSpeechManager.dylib 0x7ffb33094c4d -[AXSpeechThread main] + 557 9 Foundation 0x7ff81897582c __NSThread__start__ + 1009 10 libsystem_pthread.dylib 0x7ff817a4b259 _pthread_start + 125 11 libsystem_pthread.dylib 0x7ff817a46c7b thread_start + 15 Thread 11:: caulk.messenger.shared:17 0 libsystem_kernel.dylib 0x7ff817a0c61e semaphore_wait_trap + 10 1 caulk 0x7ff8211528f8 caulk::mach::semaphore::wait_or_error() + 16 2 caulk 0x7ff821138664 caulk::concurrent::details::worker_thread::run() + 36 3 caulk 0x7ff821138328 void* caulk::thread_proxy > >(void*) + 41 4 libsystem_pthread.dylib 0x7ff817a4b259 _pthread_start + 125 5 libsystem_pthread.dylib 0x7ff817a46c7b thread_start + 15 Thread 12:: com.apple.audio.IOThread.client 0 libsystem_kernel.dylib 0x7ff817a0c6a2 mach_msg2_trap + 10 1 libsystem_kernel.dylib 0x7ff817a1a67d mach_msg2_internal + 82 2 libsystem_kernel.dylib 0x7ff817a1371a mach_msg_overwrite + 723 3 libsystem_kernel.dylib 0x7ff817a0c989 mach_msg + 19 4 CoreAudio 0x7ff819d588a5 HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 111 5 CoreAudio 0x7ff819c314c1 HALC_ProxyIOContext::IOWorkLoop() + 3783 6 CoreAudio 0x7ff819c30029 invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int) + 63 7 CoreAudio 0x7ff819db7630 HALB_IOThread::Entry(void*) + 72 8 libsystem_pthread.dylib 0x7ff817a4b259 _pthread_start + 125 9 libsystem_pthread.dylib 0x7ff817a46c7b thread_start + 15 Thread 13: 0 libsystem_kernel.dylib 0x7ff817a0f1fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff817a4b7e1 _pthread_cond_wait + 1243 2 libc++.1.dylib 0x7ff8179a7c32 std::__1::condition_variable::wait(std::__1::unique_lock&) + 18 3 Godot 0x10cfc5e3b 0x10c0e4000 + 15605307 4 Godot 0x10cfc5cc2 0x10c0e4000 + 15604930 5 Godot 0x10cfc5be5 0x10c0e4000 + 15604709 6 libsystem_pthread.dylib 0x7ff817a4b259 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff817a46c7b thread_start + 15 Thread 14: 0 libsystem_kernel.dylib 0x7ff817a0f0ce __semwait_signal + 10 1 libsystem_c.dylib 0x7ff817923b4a nanosleep + 196 2 Godot 0x10d31622b 0x10c0e4000 + 19079723 3 Godot 0x10d4838c2 0x10c0e4000 + 20576450 4 Godot 0x110057139 0x10c0e4000 + 66531641 5 Godot 0x11005766c 0x10c0e4000 + 66532972 6 libsystem_pthread.dylib 0x7ff817a4b259 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff817a46c7b thread_start + 15 Thread 15: 0 libsystem_kernel.dylib 0x7ff817a0f0ce __semwait_signal + 10 1 libsystem_c.dylib 0x7ff817923b4a nanosleep + 196 2 Godot 0x10d31622b 0x10c0e4000 + 19079723 3 Godot 0x10d4eb306 EditorExportPlatformIOS::_check_for_changes_poll_thread(void*) + 518 4 Godot 0x110057139 0x10c0e4000 + 66531641 5 Godot 0x11005766c 0x10c0e4000 + 66532972 6 libsystem_pthread.dylib 0x7ff817a4b259 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff817a46c7b thread_start + 15 Thread 16: 0 libsystem_kernel.dylib 0x7ff817a0f0ce __semwait_signal + 10 1 libsystem_c.dylib 0x7ff817923b4a nanosleep + 196 2 Godot 0x10d31622b 0x10c0e4000 + 19079723 3 Godot 0x10d581a26 0x10c0e4000 + 21617190 4 Godot 0x110057139 0x10c0e4000 + 66531641 5 Godot 0x11005766c 0x10c0e4000 + 66532972 6 libsystem_pthread.dylib 0x7ff817a4b259 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff817a46c7b thread_start + 15 Thread 17: 0 libsystem_kernel.dylib 0x7ff817a0f0ce __semwait_signal + 10 1 libsystem_c.dylib 0x7ff817923b4a nanosleep + 196 2 Godot 0x10d31622b 0x10c0e4000 + 19079723 3 Godot 0x10dd04fa9 0x10c0e4000 + 29495209 4 Godot 0x110057139 0x10c0e4000 + 66531641 5 Godot 0x11005766c 0x10c0e4000 + 66532972 6 libsystem_pthread.dylib 0x7ff817a4b259 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff817a46c7b thread_start + 15 Thread 18: 0 libsystem_kernel.dylib 0x7ff817a0f1fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff817a4b7e1 _pthread_cond_wait + 1243 2 libc++.1.dylib 0x7ff8179a7c32 std::__1::condition_variable::wait(std::__1::unique_lock&) + 18 3 Godot 0x10e47f39b 0x10c0e4000 + 37335963 4 Godot 0x110057139 0x10c0e4000 + 66531641 5 Godot 0x11005766c 0x10c0e4000 + 66532972 6 libsystem_pthread.dylib 0x7ff817a4b259 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff817a46c7b thread_start + 15 Thread 19:: com.apple.NSEventThread 0 libsystem_kernel.dylib 0x7ff817a0c6a2 mach_msg2_trap + 10 1 libsystem_kernel.dylib 0x7ff817a1a67d mach_msg2_internal + 82 2 libsystem_kernel.dylib 0x7ff817a1371a mach_msg_overwrite + 723 3 libsystem_kernel.dylib 0x7ff817a0c989 mach_msg + 19 4 CoreFoundation 0x7ff817b25d0e __CFRunLoopServiceMachPort + 145 5 CoreFoundation 0x7ff817b2477a __CFRunLoopRun + 1360 6 CoreFoundation 0x7ff817b23bb0 CFRunLoopRunSpecific + 560 7 AppKit 0x7ff81ada6696 _NSEventThread + 132 8 libsystem_pthread.dylib 0x7ff817a4b259 _pthread_start + 125 9 libsystem_pthread.dylib 0x7ff817a46c7b thread_start + 15 Thread 20: 0 libsystem_kernel.dylib 0x7ff817a0f1fe __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x7ff817a4b7e1 _pthread_cond_wait + 1243 2 libc++.1.dylib 0x7ff8179a7c32 std::__1::condition_variable::wait(std::__1::unique_lock&) + 18 3 Godot 0x10d98907b 0x10c0e4000 + 25841787 4 Godot 0x110057139 0x10c0e4000 + 66531641 5 Godot 0x11005766c 0x10c0e4000 + 66532972 6 libsystem_pthread.dylib 0x7ff817a4b259 _pthread_start + 125 7 libsystem_pthread.dylib 0x7ff817a46c7b thread_start + 15 Thread 21: 0 libsystem_pthread.dylib 0x7ff817a46c58 start_wqthread + 0 Thread 22: 0 libsystem_pthread.dylib 0x7ff817a46c58 start_wqthread + 0 Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x00007ff85b3764c0 rcx: 0x00007ff7b3e18a78 rdx: 0x0000000000000000 rdi: 0x0000000000000103 rsi: 0x0000000000000006 rbp: 0x00007ff7b3e18aa0 rsp: 0x00007ff7b3e18a78 r8: 0x0000000112e99b78 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000246 r12: 0x0000000000000103 r13: 0x00007fdd43a367c0 r14: 0x0000000000000006 r15: 0x0000000000000016 rip: 0x00007ff817a1330e rfl: 0x0000000000000246 cr2: 0x00007fdbb08b6000 Logical CPU: 0 Error Code: 0x02000148 Trap Number: 133 Thread 0 instruction stream: 8b 95 40 ff ff ff 48 8b-8d 38 ff ff ff 44 8b 85 ..@...H..8...D.. 7c ff ff ff 4c 8d 8d 60-ff ff ff[ff]50 68 8b 45 |...L..`....Ph.E <== 88 b9 ef f7 90 00 48 0f-a3 c1 73 4c c7 45 88 00 ......H...sL.E.. 00 00 00 eb 29 e8 86 34-03 02 4a 8b 34 f3 48 89 ....)..4..J.4.H. c7 48 8b 95 40 ff ff ff-48 8b 8d 38 ff ff ff 44 .H..@...H..8...D 8b 85 7c ff ff ff 45 31-c9 e8 42 51 03 02 4d 39 ..|...E1..BQ..M9 f7 0f 84 21 01 00 00 41-8b 8c 24 f8 02 00 00 49 ...!...A..$....I 83 c6 01 e9 1f ff ff ff-48 8d 7d 88 e8 0f 14 cf ........H.}..... 01 eb a9 45 85 ff 0f 8e-fc 00 00 00 4d 8d b4 24 ...E........M..$ 00 03 00 00 45 89 ff 49-8d 5f ff 85 c9 74 3a 89 ....E..I._...t:. d8 49 8b 44 c5 00 48 8b-40 68 48 89 85 60 ff ff .I.D..H.@hH..`.. ff c7 85 48 ff ff ff 00-00 00 00 4c 89 f7 48 8d ...H.......L..H. Binary Images: 0x7ff817a0b000 - 0x7ff817a44ff7 libsystem_kernel.dylib (*) <0c2fd2c9-777c-3355-b70f-7b1b6e9d1b0b> /usr/lib/system/libsystem_kernel.dylib 0x7ff817a45000 - 0x7ff817a50ff7 libsystem_pthread.dylib (*) <13b5e252-77d1-31e1-888d-1c5f4426ea87> /usr/lib/system/libsystem_pthread.dylib 0x7ff817913000 - 0x7ff81799bfff libsystem_c.dylib (*) <5efaf10b-2ec1-32ed-b077-80125e552c8d> /usr/lib/system/libsystem_c.dylib 0x10c0e4000 - 0x1126affff org.godotengine.godot (4.0) /Applications/Godot.app/Contents/MacOS/Godot 0x7ff817a72000 - 0x7ff817a7bff7 libsystem_platform.dylib (*) /usr/lib/system/libsystem_platform.dylib 0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ??? 0x7ff817714000 - 0x7ff8177a854f dyld (*) <28fd2071-57f3-3873-87bf-e4f674a82de6> /usr/lib/dyld 0x7ff81799c000 - 0x7ff8179f4ff3 libc++.1.dylib (*) <06015868-b157-3745-889b-69e23c5034fd> /usr/lib/libc++.1.dylib 0x7ff817aa7000 - 0x7ff817f3ffff com.apple.CoreFoundation (6.9) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x7ff81891d000 - 0x7ff81932eff6 com.apple.Foundation (6.9) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x7ffb33081000 - 0x7ffb33099ff6 libAXSpeechManager.dylib (*) <474adb9d-48ba-3cf7-a349-26a19b846bdd> /usr/lib/libAXSpeechManager.dylib 0x7ff821136000 - 0x7ff82115bfff com.apple.audio.caulk (1.0) <43ed8c13-59df-3c8d-b4d2-aee44e4939b9> /System/Library/PrivateFrameworks/caulk.framework/Versions/A/caulk 0x7ff819a59000 - 0x7ff81a153ffd com.apple.audio.CoreAudio (5.0) /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio 0x7ff81ac08000 - 0x7ff81bc0cff6 com.apple.AppKit (6.9) <817d572e-eb8c-3999-b7a0-68e1c4b47266> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 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=677.7M resident=0K(0%) swapped_out_or_unallocated=677.7M(100%) Writable regions: Total=1.8G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.8G(100%) VIRTUAL REGION REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Accelerate framework 128K 1 Activity Tracing 256K 1 CG backing stores 2880K 4 CG image 736K 13 ColorSync 228K 26 CoreAnimation 204K 32 CoreGraphics 16K 3 CoreUI image data 1484K 11 Foundation 16K 1 Foundation (reserved) 4K 1 reserved VM address space (unallocated) Kernel Alloc Once 8K 1 MALLOC 1.7G 1239 MALLOC guard page 32K 8 MALLOC_LARGE (reserved) 4K 1 reserved VM address space (unallocated) STACK GUARD 56.1M 23 Stack 19.2M 23 VM_ALLOCATE 212K 12 __CTF 756 1 __DATA 30.2M 471 __DATA_CONST 25.3M 301 __DATA_DIRTY 1222K 157 __FONT_DATA 2352 1 __LINKEDIT 188.8M 10 __OBJC_RO 65.1M 1 __OBJC_RW 1982K 2 __TEXT 489.0M 494 dyld private memory 896K 3 mapped file 191.4M 68 shared memory 880K 41 =========== ======= ======= TOTAL 2.8G 2950 TOTAL, minus reserved VM space 2.8G 2950 ----------- Full Report ----------- {"app_name":"Godot","timestamp":"2022-11-17 08:12:41.00 +0100","app_version":"4.0","slice_uuid":"a59adc27-9ebb-315a-892f-07f0a8363fb1","build_version":"4.0","platform":1,"bundleID":"org.godotengine.godot","share_with_app_devs":1,"is_first_party":0,"bug_type":"309","os_version":"macOS 13.0.1 (22A400)","roots_installed":0,"name":"Godot","incident_id":"1DB01978-0576-46B7-A849-9FB25E5DFAA8"} { "uptime" : 2700, "procRole" : "Foreground", "version" : 2, "userID" : 501, "deployVersion" : 210, "modelCode" : "iMac18,2", "coalitionID" : 1309, "osVersion" : { "train" : "macOS 13.0.1", "build" : "22A400", "releaseType" : "User" }, "captureTime" : "2022-11-17 08:12:41.1798 +0100", "incident" : "1DB01978-0576-46B7-A849-9FB25E5DFAA8", "pid" : 1762, "cpuType" : "X86-64", "roots_installed" : 0, "bug_type" : "309", "procLaunch" : "2022-11-17 08:09:17.6489 +0100", "procStartAbsTime" : 2587088101755, "procExitAbsTime" : 2790614757303, "procName" : "Godot", "procPath" : "\/Applications\/Godot.app\/Contents\/MacOS\/Godot", "bundleInfo" : {"CFBundleShortVersionString":"4.0","CFBundleVersion":"4.0","CFBundleIdentifier":"org.godotengine.godot"}, "storeInfo" : {"deviceIdentifierForVendor":"B820110F-EA61-5503-B778-71445F8F27EB","thirdParty":true}, "parentProc" : "launchd", "parentPid" : 1, "coalitionName" : "org.godotengine.godot", "crashReporterKey" : "FCE8D6FB-F64A-7F5F-1FED-8DB41D0B297B", "sip" : "enabled", "vmRegionInfo" : "0x68 is not in any region. Bytes before following region: 140737487749016\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n shared memory 7ffffff6c000-7ffffff6d000 [ 4K] r-x\/r-x SM=SHM ", "exception" : {"codes":"0x0000000000000001, 0x0000000000000068","rawCodes":[1,104],"type":"EXC_BAD_ACCESS","signal":"SIGABRT","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000068"}, "vmregioninfo" : "0x68 is not in any region. Bytes before following region: 140737487749016\n REGION TYPE START - END [ VSIZE] PRT\/MAX SHRMOD REGION DETAIL\n UNUSED SPACE AT START\n---> \n shared memory 7ffffff6c000-7ffffff6d000 [ 4K] r-x\/r-x SM=SHM ", "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":35569,"instructionState":{"instructionStream":{"bytes":[139,149,64,255,255,255,72,139,141,56,255,255,255,68,139,133,124,255,255,255,76,141,141,96,255,255,255,255,80,104,139,69,136,185,239,247,144,0,72,15,163,193,115,76,199,69,136,0,0,0,0,235,41,232,134,52,3,2,74,139,52,243,72,137,199,72,139,149,64,255,255,255,72,139,141,56,255,255,255,68,139,133,124,255,255,255,69,49,201,232,66,81,3,2,77,57,247,15,132,33,1,0,0,65,139,140,36,248,2,0,0,73,131,198,1,233,31,255,255,255,72,141,125,136,232,15,20,207,1,235,169,69,133,255,15,142,252,0,0,0,77,141,180,36,0,3,0,0,69,137,255,73,141,95,255,133,201,116,58,137,216,73,139,68,197,0,72,139,64,104,72,137,133,96,255,255,255,199,133,72,255,255,255,0,0,0,0,76,137,247,72,141],"offset":27}},"threadState":{"r13":{"value":140588299282368},"rax":{"value":0},"rflags":{"value":582},"cpu":{"value":0},"r14":{"value":6},"rsi":{"value":6},"r8":{"value":4612266872},"cr2":{"value":140581536489472},"rdx":{"value":0},"r10":{"value":0},"r9":{"value":0},"r15":{"value":22},"rbx":{"value":140704658973888,"symbolLocation":0,"symbol":"_main_thread"},"trap":{"value":133},"err":{"value":33554760},"r11":{"value":582},"rip":{"value":140703525057294,"matchesCrashFrame":1},"rbp":{"value":140701851552416},"rsp":{"value":140701851552376},"r12":{"value":259},"rcx":{"value":140701851552376},"flavor":"x86_THREAD_STATE","rdi":{"value":259}},"queue":"com.apple.main-thread","frames":[{"imageOffset":33550,"symbol":"__pthread_kill","symbolLocation":10,"imageIndex":0},{"imageOffset":24443,"symbol":"pthread_kill","symbolLocation":263,"imageIndex":1},{"imageOffset":531621,"symbol":"abort","symbolLocation":123,"imageIndex":2},{"imageOffset":4650317,"imageIndex":3},{"imageOffset":15389,"symbol":"_sigtramp","symbolLocation":29,"imageIndex":4},{"imageOffset":105553549060240,"imageIndex":5},{"imageOffset":38685218,"imageIndex":3},{"imageOffset":26612587,"imageIndex":3},{"imageOffset":72472784,"imageIndex":3},{"imageOffset":68978055,"imageIndex":3},{"imageOffset":72441782,"imageIndex":3},{"imageOffset":72442504,"imageIndex":3},{"imageOffset":38675459,"imageIndex":3},{"imageOffset":4970695,"imageIndex":3},{"imageOffset":4637427,"imageIndex":3},{"imageOffset":4801117,"imageIndex":3},{"imageOffset":25360,"symbol":"start","symbolLocation":2432,"imageIndex":6}]},{"id":35666,"frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":48178,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":18,"imageIndex":7},{"imageOffset":67781419,"symbol":"_IP_ResolverPrivate::_thread_function(void*)","symbolLocation":155,"imageIndex":3},{"imageOffset":66531641,"imageIndex":3},{"imageOffset":66532972,"imageIndex":3},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":35668,"frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":48178,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":18,"imageIndex":7},{"imageOffset":72809275,"imageIndex":3},{"imageOffset":66531641,"imageIndex":3},{"imageOffset":66532972,"imageIndex":3},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":35669,"frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":48178,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":18,"imageIndex":7},{"imageOffset":72809275,"imageIndex":3},{"imageOffset":66531641,"imageIndex":3},{"imageOffset":66532972,"imageIndex":3},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":35670,"frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":48178,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":18,"imageIndex":7},{"imageOffset":72809275,"imageIndex":3},{"imageOffset":66531641,"imageIndex":3},{"imageOffset":66532972,"imageIndex":3},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":35671,"frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":48178,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":18,"imageIndex":7},{"imageOffset":72809275,"imageIndex":3},{"imageOffset":66531641,"imageIndex":3},{"imageOffset":66532972,"imageIndex":3},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":35672,"frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":48178,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":18,"imageIndex":7},{"imageOffset":72809275,"imageIndex":3},{"imageOffset":66531641,"imageIndex":3},{"imageOffset":66532972,"imageIndex":3},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":35673,"frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":48178,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":18,"imageIndex":7},{"imageOffset":72809275,"imageIndex":3},{"imageOffset":66531641,"imageIndex":3},{"imageOffset":66532972,"imageIndex":3},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":35674,"frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":48178,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":18,"imageIndex":7},{"imageOffset":72809275,"imageIndex":3},{"imageOffset":66531641,"imageIndex":3},{"imageOffset":66532972,"imageIndex":3},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":35675,"frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":48178,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":18,"imageIndex":7},{"imageOffset":72809275,"imageIndex":3},{"imageOffset":66531641,"imageIndex":3},{"imageOffset":66532972,"imageIndex":3},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":35680,"name":"AXSpeech","frames":[{"imageOffset":5794,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":63101,"symbol":"mach_msg2_internal","symbolLocation":82,"imageIndex":0},{"imageOffset":34586,"symbol":"mach_msg_overwrite","symbolLocation":723,"imageIndex":0},{"imageOffset":6537,"symbol":"mach_msg","symbolLocation":19,"imageIndex":0},{"imageOffset":519438,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":8},{"imageOffset":513914,"symbol":"__CFRunLoopRun","symbolLocation":1360,"imageIndex":8},{"imageOffset":510896,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":8},{"imageOffset":390298,"symbol":"-[NSRunLoop(NSRunLoop) runMode:beforeDate:]","symbolLocation":216,"imageIndex":9},{"imageOffset":80973,"symbol":"-[AXSpeechThread main]","symbolLocation":557,"imageIndex":10},{"imageOffset":362540,"symbol":"__NSThread__start__","symbolLocation":1009,"imageIndex":9},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":35833,"name":"caulk.messenger.shared:17","frames":[{"imageOffset":5662,"symbol":"semaphore_wait_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":116984,"symbol":"caulk::mach::semaphore::wait_or_error()","symbolLocation":16,"imageIndex":11},{"imageOffset":9828,"symbol":"caulk::concurrent::details::worker_thread::run()","symbolLocation":36,"imageIndex":11},{"imageOffset":9000,"symbol":"void* caulk::thread_proxy > >(void*)","symbolLocation":41,"imageIndex":11},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":35864,"name":"com.apple.audio.IOThread.client","frames":[{"imageOffset":5794,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":63101,"symbol":"mach_msg2_internal","symbolLocation":82,"imageIndex":0},{"imageOffset":34586,"symbol":"mach_msg_overwrite","symbolLocation":723,"imageIndex":0},{"imageOffset":6537,"symbol":"mach_msg","symbolLocation":19,"imageIndex":0},{"imageOffset":3143845,"symbol":"HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int)","symbolLocation":111,"imageIndex":12},{"imageOffset":1934529,"symbol":"HALC_ProxyIOContext::IOWorkLoop()","symbolLocation":3783,"imageIndex":12},{"imageOffset":1929257,"symbol":"invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int)","symbolLocation":63,"imageIndex":12},{"imageOffset":3532336,"symbol":"HALB_IOThread::Entry(void*)","symbolLocation":72,"imageIndex":12},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":35878,"frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":48178,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":18,"imageIndex":7},{"imageOffset":15605307,"imageIndex":3},{"imageOffset":15604930,"imageIndex":3},{"imageOffset":15604709,"imageIndex":3},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":35891,"frames":[{"imageOffset":16590,"symbol":"__semwait_signal","symbolLocation":10,"imageIndex":0},{"imageOffset":68426,"symbol":"nanosleep","symbolLocation":196,"imageIndex":2},{"imageOffset":19079723,"imageIndex":3},{"imageOffset":20576450,"imageIndex":3},{"imageOffset":66531641,"imageIndex":3},{"imageOffset":66532972,"imageIndex":3},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":35892,"frames":[{"imageOffset":16590,"symbol":"__semwait_signal","symbolLocation":10,"imageIndex":0},{"imageOffset":68426,"symbol":"nanosleep","symbolLocation":196,"imageIndex":2},{"imageOffset":19079723,"imageIndex":3},{"imageOffset":21000966,"symbol":"EditorExportPlatformIOS::_check_for_changes_poll_thread(void*)","symbolLocation":518,"imageIndex":3},{"imageOffset":66531641,"imageIndex":3},{"imageOffset":66532972,"imageIndex":3},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":35893,"frames":[{"imageOffset":16590,"symbol":"__semwait_signal","symbolLocation":10,"imageIndex":0},{"imageOffset":68426,"symbol":"nanosleep","symbolLocation":196,"imageIndex":2},{"imageOffset":19079723,"imageIndex":3},{"imageOffset":21617190,"imageIndex":3},{"imageOffset":66531641,"imageIndex":3},{"imageOffset":66532972,"imageIndex":3},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":35901,"frames":[{"imageOffset":16590,"symbol":"__semwait_signal","symbolLocation":10,"imageIndex":0},{"imageOffset":68426,"symbol":"nanosleep","symbolLocation":196,"imageIndex":2},{"imageOffset":19079723,"imageIndex":3},{"imageOffset":29495209,"imageIndex":3},{"imageOffset":66531641,"imageIndex":3},{"imageOffset":66532972,"imageIndex":3},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":35903,"frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":48178,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":18,"imageIndex":7},{"imageOffset":37335963,"imageIndex":3},{"imageOffset":66531641,"imageIndex":3},{"imageOffset":66532972,"imageIndex":3},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":35915,"name":"com.apple.NSEventThread","frames":[{"imageOffset":5794,"symbol":"mach_msg2_trap","symbolLocation":10,"imageIndex":0},{"imageOffset":63101,"symbol":"mach_msg2_internal","symbolLocation":82,"imageIndex":0},{"imageOffset":34586,"symbol":"mach_msg_overwrite","symbolLocation":723,"imageIndex":0},{"imageOffset":6537,"symbol":"mach_msg","symbolLocation":19,"imageIndex":0},{"imageOffset":519438,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":145,"imageIndex":8},{"imageOffset":513914,"symbol":"__CFRunLoopRun","symbolLocation":1360,"imageIndex":8},{"imageOffset":510896,"symbol":"CFRunLoopRunSpecific","symbolLocation":560,"imageIndex":8},{"imageOffset":1697430,"symbol":"_NSEventThread","symbolLocation":132,"imageIndex":13},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":35972,"frames":[{"imageOffset":16894,"symbol":"__psynch_cvwait","symbolLocation":10,"imageIndex":0},{"imageOffset":26593,"symbol":"_pthread_cond_wait","symbolLocation":1243,"imageIndex":1},{"imageOffset":48178,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock&)","symbolLocation":18,"imageIndex":7},{"imageOffset":25841787,"imageIndex":3},{"imageOffset":66531641,"imageIndex":3},{"imageOffset":66532972,"imageIndex":3},{"imageOffset":25177,"symbol":"_pthread_start","symbolLocation":125,"imageIndex":1},{"imageOffset":7291,"symbol":"thread_start","symbolLocation":15,"imageIndex":1}]},{"id":36870,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":36871,"frames":[{"imageOffset":7256,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]}], "usedImages" : [ { "source" : "P", "arch" : "x86_64", "base" : 140703525023744, "size" : 237560, "uuid" : "0c2fd2c9-777c-3355-b70f-7b1b6e9d1b0b", "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib", "name" : "libsystem_kernel.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 140703525261312, "size" : 49144, "uuid" : "13b5e252-77d1-31e1-888d-1c5f4426ea87", "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib", "name" : "libsystem_pthread.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 140703524007936, "size" : 561152, "uuid" : "5efaf10b-2ec1-32ed-b077-80125e552c8d", "path" : "\/usr\/lib\/system\/libsystem_c.dylib", "name" : "libsystem_c.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 4497227776, "CFBundleShortVersionString" : "4.0", "CFBundleIdentifier" : "org.godotengine.godot", "size" : 106741760, "uuid" : "a59adc27-9ebb-315a-892f-07f0a8363fb1", "path" : "\/Applications\/Godot.app\/Contents\/MacOS\/Godot", "name" : "Godot", "CFBundleVersion" : "4.0" }, { "source" : "P", "arch" : "x86_64", "base" : 140703525445632, "size" : 40952, "uuid" : "f07558db-8b15-3d96-93f9-3a61bbd52f25", "path" : "\/usr\/lib\/system\/libsystem_platform.dylib", "name" : "libsystem_platform.dylib" }, { "size" : 0, "source" : "A", "base" : 0, "uuid" : "00000000-0000-0000-0000-000000000000" }, { "source" : "P", "arch" : "x86_64", "base" : 140703521914880, "size" : 607568, "uuid" : "28fd2071-57f3-3873-87bf-e4f674a82de6", "path" : "\/usr\/lib\/dyld", "name" : "dyld" }, { "source" : "P", "arch" : "x86_64", "base" : 140703524569088, "size" : 364532, "uuid" : "06015868-b157-3745-889b-69e23c5034fd", "path" : "\/usr\/lib\/libc++.1.dylib", "name" : "libc++.1.dylib" }, { "source" : "P", "arch" : "x86_64h", "base" : 140703525662720, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.CoreFoundation", "size" : 4820992, "uuid" : "dbc459f3-81bb-398a-8f74-3f7392392bb7", "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation", "name" : "CoreFoundation", "CFBundleVersion" : "1953.1" }, { "source" : "P", "arch" : "x86_64", "base" : 140703540826112, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.Foundation", "size" : 10559479, "uuid" : "eca88952-d3af-357e-80d8-4d31b2dc0c26", "path" : "\/System\/Library\/Frameworks\/Foundation.framework\/Versions\/C\/Foundation", "name" : "Foundation", "CFBundleVersion" : "1953.1" }, { "source" : "P", "arch" : "x86_64", "base" : 140716869685248, "size" : 102391, "uuid" : "474adb9d-48ba-3cf7-a349-26a19b846bdd", "path" : "\/usr\/lib\/libAXSpeechManager.dylib", "name" : "libAXSpeechManager.dylib" }, { "source" : "P", "arch" : "x86_64", "base" : 140703683534848, "CFBundleShortVersionString" : "1.0", "CFBundleIdentifier" : "com.apple.audio.caulk", "size" : 155648, "uuid" : "43ed8c13-59df-3c8d-b4d2-aee44e4939b9", "path" : "\/System\/Library\/PrivateFrameworks\/caulk.framework\/Versions\/A\/caulk", "name" : "caulk" }, { "source" : "P", "arch" : "x86_64", "base" : 140703558897664, "CFBundleShortVersionString" : "5.0", "CFBundleIdentifier" : "com.apple.audio.CoreAudio", "size" : 7319550, "uuid" : "e9f27094-01cb-337a-8530-0cab0e2cc96d", "path" : "\/System\/Library\/Frameworks\/CoreAudio.framework\/Versions\/A\/CoreAudio", "name" : "CoreAudio", "CFBundleVersion" : "5.0" }, { "source" : "P", "arch" : "x86_64", "base" : 140703577440256, "CFBundleShortVersionString" : "6.9", "CFBundleIdentifier" : "com.apple.AppKit", "size" : 16797687, "uuid" : "817d572e-eb8c-3999-b7a0-68e1c4b47266", "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit", "name" : "AppKit", "CFBundleVersion" : "2299" } ], "sharedCache" : { "base" : 140703521308672, "size" : 21474836480, "uuid" : "840e528a-0c70-3c6a-b7b4-4f05f32ccc51" }, "vmSummary" : "ReadOnly portion of Libraries: Total=677.7M resident=0K(0%) swapped_out_or_unallocated=677.7M(100%)\nWritable regions: Total=1.8G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.8G(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nAccelerate framework 128K 1 \nActivity Tracing 256K 1 \nCG backing stores 2880K 4 \nCG image 736K 13 \nColorSync 228K 26 \nCoreAnimation 204K 32 \nCoreGraphics 16K 3 \nCoreUI image data 1484K 11 \nFoundation 16K 1 \nFoundation (reserved) 4K 1 reserved VM address space (unallocated)\nKernel Alloc Once 8K 1 \nMALLOC 1.7G 1239 \nMALLOC guard page 32K 8 \nMALLOC_LARGE (reserved) 4K 1 reserved VM address space (unallocated)\nSTACK GUARD 56.1M 23 \nStack 19.2M 23 \nVM_ALLOCATE 212K 12 \n__CTF 756 1 \n__DATA 30.2M 471 \n__DATA_CONST 25.3M 301 \n__DATA_DIRTY 1222K 157 \n__FONT_DATA 2352 1 \n__LINKEDIT 188.8M 10 \n__OBJC_RO 65.1M 1 \n__OBJC_RW 1982K 2 \n__TEXT 489.0M 494 \ndyld private memory 896K 3 \nmapped file 191.4M 68 \nshared memory 880K 41 \n=========== ======= ======= \nTOTAL 2.8G 2950 \nTOTAL, minus reserved VM space 2.8G 2950 \n", "legacyInfo" : { "threadTriggered" : { "queue" : "com.apple.main-thread" } }, "trialInfo" : { "rollouts" : [ { "rolloutId" : "62699e1ec1ff2978b47f6c3b", "factorPackIds" : { "SIRI_FIND_MY_CONFIGURATION_FILES" : "631f72d1de559130376df1fb" }, "deploymentId" : 240000023 }, { "rolloutId" : "5ffde50ce2aacd000d47a95f", "factorPackIds" : { }, "deploymentId" : 240000215 } ], "experiments" : [ ] } } Model: iMac18,2, BootROM 499.40.2.0.0, 4 processors, Quad-Core Intel Core i7, 3.6 GHz, 16 GB, SMC 2.40f1 Graphics: Radeon Pro 560, Radeon Pro 560, PCIe, 4 GB Display: iMac, 4096 x 2304 Retina, MirrorOff, Online Display: DELL U2720Q, 3840 x 2160 (2160p/4K UHD 1 - Ultra High Definition), Main, MirrorOff, Online Memory Module: BANK 0/DIMM0, 8 GB, DDR4 SO-DIMM, 2400 MHz, 0x80AD, 0x484D413831475336414652384E2D554820202020 Memory Module: BANK 1/DIMM0, 8 GB, DDR4 SO-DIMM, 2400 MHz, 0x80AD, 0x484D413831475336414652384E2D554820202020 AirPort: spairport_wireless_card_type_wifi (0x14E4, 0x16E), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1764) AirPort: Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports Network Service: Wi-Fi, AirPort, en1 USB Device: USB30Bus USB Device: Expansion USB Device: hub_device USB Device: USB Receiver USB Device: composite_device USB Device: Bluetooth USB Host Controller USB Device: FaceTime HD Camera (Built-in) Thunderbolt Bus: iMac, Apple Inc., 41.5 ```

Steps to reproduce

Minimal reproduction project

Test project (github won't let me attach zip files, so I've put it somewhere else)

(EDIT: Made crash report collapsible for improved readability)

lostminds commented 2 years ago

I just tried this in 4.0beta4 and it didn't crash there, but it caused another buggy behavior: Using the same test project and clicking the theme StyleBox resource in the Inspector in 4.0beta4 seems to break the Theme panel in the inspector, so maybe the root bug is not new, only now it crashes the editor and not just the panel.

4.0.beta4 behavior: https://user-images.githubusercontent.com/17763524/202385450-0510ed1a-0ae5-4ecb-be80-36f6646754d0.mov

Rindbee commented 2 years ago

This is similar to #68769, seems to be a duplicate of it.

Crash log


==40959==ERROR: AddressSanitizer: heap-use-after-free on address 0x61e00285d8f8 at pc 0x56544eb4e157 bp 0x7ffc19bbfbb0 sp 0x7ffc19bbf380
READ of size 8 at 0x61e00285d8f8 thread T0
    #0 0x56544eb4e156 in __asan_memcpy (/opt/godot/godot/bin/godot.linuxbsd.editor.dev.x86_64.llvm.san+0x19a84156) (BuildId: adc5cf39a196db58)
    #1 0x56544f7f1951 in Object::get_instance_id() const /opt/godot/godot/./core/object/object.h:746:59
    #2 0x565462494557 in SceneTree::call_group_flagsp(unsigned int, StringName const&, StringName const&, Variant const**, int) /opt/godot/godot/scene/main/scene_tree.cpp:281:48
    #3 0x5654624af83a in SceneTree::_call_group(Variant const**, int, Callable::CallError&) /opt/godot/godot/scene/main/scene_tree.cpp:985:2
    #4 0x565462527b8c in MethodBindVarArgT::call(Object*, Variant const**, int, Callable::CallError&) /opt/godot/godot/./core/object/method_bind.h:214:3
    #5 0x56546edfc609 in Object::callp(StringName const&, Variant const**, int, Callable::CallError&) /opt/godot/godot/core/object/object.cpp:733:17
    #6 0x56546da68ecd in Callable::callp(Variant const**, int, Variant&, Callable::CallError&) const /opt/godot/godot/core/variant/callable.cpp:62:25
    #7 0x56546edd6dad in MessageQueue::_call_function(Callable const&, Variant const*, int, bool) /opt/godot/godot/core/object/message_queue.cpp:229:13
    #8 0x56546edd8241 in MessageQueue::flush() /opt/godot/godot/core/object/message_queue.cpp:275:6
    #9 0x56546249a465 in SceneTree::physics_process(double) /opt/godot/godot/scene/main/scene_tree.cpp:433:33
    #10 0x56544edc7072 in Main::iteration() /opt/godot/godot/main/main.cpp:3141:45
    #11 0x56544ebb38af in OS_LinuxBSD::run() /opt/godot/godot/platform/linuxbsd/os_linuxbsd.cpp:799:7
    #12 0x56544eb8caa9 in main /opt/godot/godot/platform/linuxbsd/godot_linuxbsd.cpp:73:6
    #13 0x7f346db2dd8f in __libc_start_call_main csu/../sysdeps/nptl/libc_start_call_main.h:58:16
    #14 0x7f346db2de3f in __libc_start_main csu/../csu/libc-start.c:392:3
    #15 0x56544eacbfe4 in _start (/opt/godot/godot/bin/godot.linuxbsd.editor.dev.x86_64.llvm.san+0x19a01fe4) (BuildId: adc5cf39a196db58)

0x61e00285d8f8 is located 120 bytes inside of 2840-byte region [0x61e00285d880,0x61e00285e398)
freed by thread T0 here:
    #0 0x56544eb4eb82 in free (/opt/godot/godot/bin/godot.linuxbsd.editor.dev.x86_64.llvm.san+0x19a84b82) (BuildId: adc5cf39a196db58)
    #1 0x56546cc7f16f in Memory::free_static(void*, bool) /opt/godot/godot/core/os/memory.cpp:168:3
    #2 0x5654515cf018 in void memdelete(Node*) /opt/godot/godot/./core/os/memory.h:112:2
    #3 0x565462336ef6 in Node::_notification(int) /opt/godot/godot/scene/main/node.cpp:169:5
    #4 0x56544f781a35 in Node::_notificationv(int, bool) /opt/godot/godot/./scene/main/node.h:45:2
    #5 0x5654529cf26c in CanvasItem::_notificationv(int, bool) /opt/godot/godot/./scene/main/canvas_item.h:45:2
    #6 0x5654529ced2c in Control::_notificationv(int, bool) /opt/godot/godot/./scene/gui/control.h:47:2
    #7 0x5654529ce7ec in Container::_notificationv(int, bool) /opt/godot/godot/./scene/gui/container.h:37:2
    #8 0x5654529ce24c in BoxContainer::_notificationv(int, bool) /opt/godot/godot/./scene/gui/box_container.h:37:2
    #9 0x5654529c1ddb in VBoxContainer::_notificationv(int, bool) /opt/godot/godot/./scene/gui/box_container.h:92:2
    #10 0x56546edeae73 in Object::notification(int, bool) /opt/godot/godot/core/object/object.cpp:790:2
    #11 0x56546edeaa9d in Object::_predelete() /opt/godot/godot/core/object/object.cpp:196:2
    #12 0x56546ee28290 in predelete_handler(Object*) /opt/godot/godot/core/object/object.cpp:1840:19
    #13 0x5654515ceed5 in void memdelete(Node*) /opt/godot/godot/./core/os/memory.h:105:7
    #14 0x56545bf8df80 in EditorInspector::_clear() /opt/godot/godot/editor/editor_inspector.cpp:3312:3
    #15 0x56545bf95249 in EditorInspector::edit(Object*) /opt/godot/godot/editor/editor_inspector.cpp:3331:3
    #16 0x56545bfa780c in EditorInspector::_notification(int) /opt/godot/godot/editor/editor_inspector.cpp:3859:4
    #17 0x56545c015195 in EditorInspector::_notificationv(int, bool) /opt/godot/godot/./editor/editor_inspector.h:437:2
    #18 0x56546edeae73 in Object::notification(int, bool) /opt/godot/godot/core/object/object.cpp:790:2
    #19 0x5654623461ea in Node::_propagate_exit_tree() /opt/godot/godot/scene/main/node.cpp:295:2
    #20 0x565462345d1e in Node::_propagate_exit_tree() /opt/godot/godot/scene/main/node.cpp:286:21
    #21 0x56546236394d in Node::_set_tree(SceneTree*) /opt/godot/godot/scene/main/node.cpp:2523:3
    #22 0x56546233eafc in Node::remove_child(Node*) /opt/godot/godot/scene/main/node.cpp:1199:11
    #23 0x565462336bc2 in Node::_notification(int) /opt/godot/godot/scene/main/node.cpp:163:18
    #24 0x56544f781a35 in Node::_notificationv(int, bool) /opt/godot/godot/./scene/main/node.h:45:2
    #25 0x5654529cf26c in CanvasItem::_notificationv(int, bool) /opt/godot/godot/./scene/main/canvas_item.h:45:2
    #26 0x5654529ced2c in Control::_notificationv(int, bool) /opt/godot/godot/./scene/gui/control.h:47:2
    #27 0x5654529ce7ec in Container::_notificationv(int, bool) /opt/godot/godot/./scene/gui/container.h:37:2
    #28 0x5654529ce24c in BoxContainer::_notificationv(int, bool) /opt/godot/godot/./scene/gui/box_container.h:37:2
    #29 0x5654529c1ddb in VBoxContainer::_notificationv(int, bool) /opt/godot/godot/./scene/gui/box_container.h:92:2

previously allocated by thread T0 here:
    #0 0x56544eb4ee2e in malloc (/opt/godot/godot/bin/godot.linuxbsd.editor.dev.x86_64.llvm.san+0x19a84e2e) (BuildId: adc5cf39a196db58)
    #1 0x56546cc7a88d in Memory::alloc_static(unsigned long, bool) /opt/godot/godot/core/os/memory.cpp:75:14
    #2 0x56546cc7a6e2 in operator new(unsigned long, char const*) /opt/godot/godot/core/os/memory.cpp:40:9
    #3 0x56545c9a258d in EditorInspectorDefaultPlugin::get_editor_for_property(Object*, Variant::Type, String const&, PropertyHint, String const&, unsigned int, bool) /opt/godot/godot/editor/editor_properties.cpp:4607:38
    #4 0x56545c99555e in EditorInspectorDefaultPlugin::parse_property(Object*, Variant::Type, String const&, PropertyHint, String const&, unsigned int, bool) /opt/godot/godot/editor/editor_properties.cpp:4200:20
    #5 0x56545bf848b9 in EditorInspector::update_tree() /opt/godot/godot/editor/editor_inspector.cpp:3177:26
    #6 0x56545bf96422 in EditorInspector::edit(Object*) /opt/godot/godot/editor/editor_inspector.cpp:3344:3
    #7 0x56545c99303e in EditorPropertyResource::update_property() /opt/godot/godot/editor/editor_properties.cpp:4126:20
    #8 0x56545c97ef3c in EditorPropertyResource::_resource_selected(Ref const&, bool) /opt/godot/godot/editor/editor_properties.cpp:3838:3
    #9 0x56545cb5d627 in void call_with_variant_args_helper const&, bool, 0ul, 1ul>(EditorPropertyResource*, void (EditorPropertyResource::*)(Ref const&, bool), Variant const**, Callable::CallError&, IndexSequence<0ul, 1ul>) /opt/godot/godot/./core/variant/binder_common.h:262:2
    #10 0x56545cb5d126 in void call_with_variant_args const&, bool>(EditorPropertyResource*, void (EditorPropertyResource::*)(Ref const&, bool), Variant const**, int, Callable::CallError&) /opt/godot/godot/./core/variant/binder_common.h:376:2
    #11 0x56545cb5c9b9 in CallableCustomMethodPointer const&, bool>::call(Variant const**, int, Variant&, Callable::CallError&) const /opt/godot/godot/./core/object/callable_method_pointer.h:104:3
    #12 0x56546da67d23 in Callable::callp(Variant const**, int, Variant&, Callable::CallError&) const /opt/godot/godot/core/variant/callable.cpp:50:11
    #13 0x56546ee04f1d in Object::emit_signalp(StringName const&, Variant const**, int) /opt/godot/godot/core/object/object.cpp:1046:15
    #14 0x56545cd4079a in Error Object::emit_signal, bool>(StringName const&, Ref, bool) /opt/godot/godot/./core/object/object.h:865:10
    #15 0x56545ccfc07d in EditorResourcePicker::_resource_selected() /opt/godot/godot/editor/editor_resource_picker.cpp:132:2
    #16 0x56545cd6a475 in void call_with_variant_args_helper(EditorResourcePicker*, void (EditorResourcePicker::*)(), Variant const**, Callable::CallError&, IndexSequence<>) /opt/godot/godot/./core/variant/binder_common.h:262:2
    #17 0x56545cd6a0aa in void call_with_variant_args(EditorResourcePicker*, void (EditorResourcePicker::*)(), Variant const**, int, Callable::CallError&) /opt/godot/godot/./core/variant/binder_common.h:376:2
    #18 0x56545cd69959 in CallableCustomMethodPointer::call(Variant const**, int, Variant&, Callable::CallError&) const /opt/godot/godot/./core/object/callable_method_pointer.h:104:3
    #19 0x56546da67d23 in Callable::callp(Variant const**, int, Variant&, Callable::CallError&) const /opt/godot/godot/core/variant/callable.cpp:50:11
    #20 0x56546ee04f1d in Object::emit_signalp(StringName const&, Variant const**, int) /opt/godot/godot/core/object/object.cpp:1046:15
    #21 0x56545337f8ad in Error Object::emit_signal<>(StringName const&) /opt/godot/godot/./core/object/object.h:865:10
    #22 0x5654628b9308 in BaseButton::_pressed() /opt/godot/godot/scene/gui/base_button.cpp:138:2
    #23 0x5654628b6640 in BaseButton::on_action_event(Ref) /opt/godot/godot/scene/gui/base_button.cpp:172:5
    #24 0x5654628b3a5d in BaseButton::gui_input(Ref const&) /opt/godot/godot/scene/gui/base_button.cpp:68:3
    #25 0x565462c56c3f in Control::_call_gui_input(Ref const&) /opt/godot/godot/scene/gui/control.cpp:1709:2
    #26 0x5654625d0d82 in Viewport::_gui_call_input(Control*, Ref const&) /opt/godot/godot/scene/main/viewport.cpp:1324:14
    #27 0x5654625dd8a6 in Viewport::_gui_input_event(Ref) /opt/godot/godot/scene/main/viewport.cpp:1601:15
    #28 0x565462614928 in Viewport::push_input(Ref const&, bool) /opt/godot/godot/scene/main/viewport.cpp:2782:3
    #29 0x5654627972fb in Window::_window_input(Ref const&) /opt/godot/godot/scene/main/window.cpp:1089:2

SUMMARY: AddressSanitizer: heap-use-after-free (/opt/godot/godot/bin/godot.linuxbsd.editor.dev.x86_64.llvm.san+0x19a84156) (BuildId: adc5cf39a196db58) in __asan_memcpy
clayjohn commented 2 years ago

Closing in favour of #69159 which reports the same issue, but has more discussion/investigation