Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editor crash when loading a specific project (crash in GDScriptCompiler::_parse_class_level during resource thumbnail generation) #67302

Closed
starkindustries opened this issue Oct 12, 2022 · 4 comments

Comments

@starkindustries
Copy link

starkindustries commented Oct 12, 2022

Godot version

v4.0.beta2.official [f8745f2]

System information

MacBook Air (M1, 2020)

Issue description

When opening a particular Godot project (see minimum reproduction project), godot crashes. The following is a dump of the crash information. Note that the crash only occurs for this particular project.

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Godot [89932]
Path:                  /private/var/folders/*/Godot.app/Contents/MacOS/Godot
Identifier:            org.godotengine.godot
Version:               4.0 (4.0)
Code Type:             ARM-64 (Native)
Parent Process:        launchd [1]
User ID:               501

Date/Time:             2022-10-12 19:58:37.8946 +1000
OS Version:            macOS 12.6 (21G115)
Report Version:        12
Anonymous UUID:        DFAE100D-F8CE-86A5-39DB-4585C20581E7

Sleep/Wake UUID:       CB57AFAD-9CED-433B-81CB-BF4875235018

Time Awake Since Boot: 94000 seconds
Time Since Wake:       35486 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 0x0000000000000000
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

VM Region Info: 0 is not in any region.  Bytes before following region: 4304502784
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                      100918000-106644000    [ 93.2M] r-x/r-x SM=COW  ...s/MacOS/Godot

Application Specific Information:
abort() called


Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	       0x19c962d98 __pthread_kill + 8
1   libsystem_pthread.dylib       	       0x19c997ee0 pthread_kill + 288
2   libsystem_c.dylib             	       0x19c8d2340 abort + 168
3   Godot                         	       0x100cd7ab8 0x100918000 + 3930808
4   libsystem_platform.dylib      	       0x19c9af4a4 _sigtramp + 56
5   Godot                         	       0x100ed13b4 0x100918000 + 6001588
6   Godot                         	       0x100ed13b4 0x100918000 + 6001588
7   Godot                         	       0x100ed43fc 0x100918000 + 6013948
8   Godot                         	       0x100e762f4 0x100918000 + 5628660
9   Godot                         	       0x100ebf030 0x100918000 + 5926960
10  Godot                         	       0x100ebf274 0x100918000 + 5927540
11  Godot                         	       0x100ed4450 0x100918000 + 6014032
12  Godot                         	       0x100e762f4 0x100918000 + 5628660
13  Godot                         	       0x100ebf030 0x100918000 + 5926960
14  Godot                         	       0x100e83f84 0x100918000 + 5685124
15  Godot                         	       0x1042252ec 0x100918000 + 59822828
16  Godot                         	       0x104225724 0x100918000 + 59823908
17  Godot                         	       0x104228850 0x100918000 + 59836496
18  Godot                         	       0x10328bd74 0x100918000 + 43466100
19  Godot                         	       0x103299e30 0x100918000 + 43523632
20  Godot                         	       0x1042252ec 0x100918000 + 59822828
21  Godot                         	       0x104225724 0x100918000 + 59823908
22  Godot                         	       0x104228850 0x100918000 + 59836496
23  Godot                         	       0x101c1ac48 0x100918000 + 19934280
24  Godot                         	       0x101c45184 0x100918000 + 20107652
25  Godot                         	       0x101c1a4a8 0x100918000 + 19932328
26  Godot                         	       0x101c1a184 0x100918000 + 19931524
27  Godot                         	       0x10462785c 0x100918000 + 64026716
28  Godot                         	       0x10291e8e4 0x100918000 + 33581284
29  Godot                         	       0x101b512cc 0x100918000 + 19108556
30  Godot                         	       0x101b5e984 0x100918000 + 19163524
31  Godot                         	       0x1046212b4 0x100918000 + 64000692
32  Godot                         	       0x10289de6c 0x100918000 + 33054316
33  Godot                         	       0x10289e530 0x100918000 + 33056048
34  Godot                         	       0x100d1d350 0x100918000 + 4215632
35  Godot                         	       0x100cd4984 0x100918000 + 3918212
36  Godot                         	       0x100cfa254 0x100918000 + 4072020
37  dyld                          	       0x1070dd08c start + 520

Thread 1:
0   libsystem_pthread.dylib       	       0x19c993078 start_wqthread + 0

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

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

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

Thread 5:
0   libsystem_kernel.dylib        	       0x19c95e270 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x19c99883c _pthread_cond_wait + 1236
2   libc++.1.dylib                	       0x19c8e7284 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3   Godot                         	       0x1041cc4f4 _IP_ResolverPrivate::_thread_function(void*) + 160
4   Godot                         	       0x1040bf458 0x100918000 + 58356824
5   Godot                         	       0x1040bf9cc 0x100918000 + 58358220
6   libsystem_pthread.dylib       	       0x19c99826c _pthread_start + 148
7   libsystem_pthread.dylib       	       0x19c99308c thread_start + 8

Thread 6:
0   libsystem_kernel.dylib        	       0x19c95e270 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x19c99883c _pthread_cond_wait + 1236
2   libc++.1.dylib                	       0x19c8e7284 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3   Godot                         	       0x104672f34 0x100918000 + 64335668
4   Godot                         	       0x1040bf458 0x100918000 + 58356824
5   Godot                         	       0x1040bf9cc 0x100918000 + 58358220
6   libsystem_pthread.dylib       	       0x19c99826c _pthread_start + 148
7   libsystem_pthread.dylib       	       0x19c99308c thread_start + 8

Thread 7:
0   libsystem_kernel.dylib        	       0x19c95e270 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x19c99883c _pthread_cond_wait + 1236
2   libc++.1.dylib                	       0x19c8e7284 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3   Godot                         	       0x104672f34 0x100918000 + 64335668
4   Godot                         	       0x1040bf458 0x100918000 + 58356824
5   Godot                         	       0x1040bf9cc 0x100918000 + 58358220
6   libsystem_pthread.dylib       	       0x19c99826c _pthread_start + 148
7   libsystem_pthread.dylib       	       0x19c99308c thread_start + 8

Thread 8:
0   libsystem_kernel.dylib        	       0x19c95e270 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x19c99883c _pthread_cond_wait + 1236
2   libc++.1.dylib                	       0x19c8e7284 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3   Godot                         	       0x104672f34 0x100918000 + 64335668
4   Godot                         	       0x1040bf458 0x100918000 + 58356824
5   Godot                         	       0x1040bf9cc 0x100918000 + 58358220
6   libsystem_pthread.dylib       	       0x19c99826c _pthread_start + 148
7   libsystem_pthread.dylib       	       0x19c99308c thread_start + 8

Thread 9:
0   libsystem_kernel.dylib        	       0x19c95e270 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x19c99883c _pthread_cond_wait + 1236
2   libc++.1.dylib                	       0x19c8e7284 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3   Godot                         	       0x104672f34 0x100918000 + 64335668
4   Godot                         	       0x1040bf458 0x100918000 + 58356824
5   Godot                         	       0x1040bf9cc 0x100918000 + 58358220
6   libsystem_pthread.dylib       	       0x19c99826c _pthread_start + 148
7   libsystem_pthread.dylib       	       0x19c99308c thread_start + 8

Thread 10:
0   libsystem_kernel.dylib        	       0x19c95e270 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x19c99883c _pthread_cond_wait + 1236
2   libc++.1.dylib                	       0x19c8e7284 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3   Godot                         	       0x104672f34 0x100918000 + 64335668
4   Godot                         	       0x1040bf458 0x100918000 + 58356824
5   Godot                         	       0x1040bf9cc 0x100918000 + 58358220
6   libsystem_pthread.dylib       	       0x19c99826c _pthread_start + 148
7   libsystem_pthread.dylib       	       0x19c99308c thread_start + 8

Thread 11:
0   libsystem_kernel.dylib        	       0x19c95e270 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x19c99883c _pthread_cond_wait + 1236
2   libc++.1.dylib                	       0x19c8e7284 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3   Godot                         	       0x104672f34 0x100918000 + 64335668
4   Godot                         	       0x1040bf458 0x100918000 + 58356824
5   Godot                         	       0x1040bf9cc 0x100918000 + 58358220
6   libsystem_pthread.dylib       	       0x19c99826c _pthread_start + 148
7   libsystem_pthread.dylib       	       0x19c99308c thread_start + 8

Thread 12:
0   libsystem_kernel.dylib        	       0x19c95e270 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x19c99883c _pthread_cond_wait + 1236
2   libc++.1.dylib                	       0x19c8e7284 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3   Godot                         	       0x104672f34 0x100918000 + 64335668
4   Godot                         	       0x1040bf458 0x100918000 + 58356824
5   Godot                         	       0x1040bf9cc 0x100918000 + 58358220
6   libsystem_pthread.dylib       	       0x19c99826c _pthread_start + 148
7   libsystem_pthread.dylib       	       0x19c99308c thread_start + 8

Thread 13:
0   libsystem_kernel.dylib        	       0x19c95e270 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x19c99883c _pthread_cond_wait + 1236
2   libc++.1.dylib                	       0x19c8e7284 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3   Godot                         	       0x104672f34 0x100918000 + 64335668
4   Godot                         	       0x1040bf458 0x100918000 + 58356824
5   Godot                         	       0x1040bf9cc 0x100918000 + 58358220
6   libsystem_pthread.dylib       	       0x19c99826c _pthread_start + 148
7   libsystem_pthread.dylib       	       0x19c99308c thread_start + 8

Thread 14:: AMCP Logging Spool
0   libsystem_kernel.dylib        	       0x19c95a8ec semaphore_wait_trap + 8
1   caulk                         	       0x1a540da2c caulk::mach::semaphore::wait_or_error() + 28
2   caulk                         	       0x1a53f17ac caulk::concurrent::details::worker_thread::run() + 56
3   caulk                         	       0x1a53f13cc void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*> > >(void*) + 96
4   libsystem_pthread.dylib       	       0x19c99826c _pthread_start + 148
5   libsystem_pthread.dylib       	       0x19c99308c thread_start + 8

Thread 15:: com.apple.audio.IOThread.client
0   libsystem_kernel.dylib        	       0x19c95a8b0 mach_msg_trap + 8
1   libsystem_kernel.dylib        	       0x19c95ad20 mach_msg + 76
2   CoreAudio                     	       0x19e6aa6a0 HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int) + 104
3   CoreAudio                     	       0x19e537bb0 HALC_ProxyIOContext::IOWorkLoop() + 3336
4   CoreAudio                     	       0x19e5368b0 invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int) + 100
5   CoreAudio                     	       0x19e702ab0 HALB_IOThread::Entry(void*) + 88
6   libsystem_pthread.dylib       	       0x19c99826c _pthread_start + 148
7   libsystem_pthread.dylib       	       0x19c99308c thread_start + 8

Thread 16:
0   libsystem_kernel.dylib        	       0x19c95e270 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x19c99883c _pthread_cond_wait + 1236
2   libc++.1.dylib                	       0x19c8e7284 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3   Godot                         	       0x101486118 0x100918000 + 11985176
4   Godot                         	       0x101485fa0 0x100918000 + 11984800
5   Godot                         	       0x101485e98 0x100918000 + 11984536
6   libsystem_pthread.dylib       	       0x19c99826c _pthread_start + 148
7   libsystem_pthread.dylib       	       0x19c99308c thread_start + 8

Thread 17:
0   libsystem_kernel.dylib        	       0x19c95e06c __semwait_signal + 8
1   libsystem_c.dylib             	       0x19c866fc8 nanosleep + 220
2   Godot                         	       0x10176f584 0x100918000 + 15037828
3   Godot                         	       0x10188fb94 0x100918000 + 16219028
4   Godot                         	       0x1040bf458 0x100918000 + 58356824
5   Godot                         	       0x1040bf9cc 0x100918000 + 58358220
6   libsystem_pthread.dylib       	       0x19c99826c _pthread_start + 148
7   libsystem_pthread.dylib       	       0x19c99308c thread_start + 8

Thread 18:
0   libsystem_kernel.dylib        	       0x19c95e06c __semwait_signal + 8
1   libsystem_c.dylib             	       0x19c866fc8 nanosleep + 220
2   Godot                         	       0x10176f584 0x100918000 + 15037828
3   Godot                         	       0x1018efcac EditorExportPlatformIOS::_check_for_changes_poll_thread(void*) + 496
4   Godot                         	       0x1040bf458 0x100918000 + 58356824
5   Godot                         	       0x1040bf9cc 0x100918000 + 58358220
6   libsystem_pthread.dylib       	       0x19c99826c _pthread_start + 148
7   libsystem_pthread.dylib       	       0x19c99308c thread_start + 8

Thread 19:
0   libsystem_kernel.dylib        	       0x19c95e06c __semwait_signal + 8
1   libsystem_c.dylib             	       0x19c866fc8 nanosleep + 220
2   Godot                         	       0x10176f584 0x100918000 + 15037828
3   Godot                         	       0x10197a4ac 0x100918000 + 17179820
4   Godot                         	       0x1040bf458 0x100918000 + 58356824
5   Godot                         	       0x1040bf9cc 0x100918000 + 58358220
6   libsystem_pthread.dylib       	       0x19c99826c _pthread_start + 148
7   libsystem_pthread.dylib       	       0x19c99308c thread_start + 8

Thread 20:
0   libsystem_kernel.dylib        	       0x19c95e06c __semwait_signal + 8
1   libsystem_c.dylib             	       0x19c866fc8 nanosleep + 220
2   Godot                         	       0x10176f584 0x100918000 + 15037828
3   Godot                         	       0x102070434 0x100918000 + 24478772
4   Godot                         	       0x1040bf458 0x100918000 + 58356824
5   Godot                         	       0x1040bf9cc 0x100918000 + 58358220
6   libsystem_pthread.dylib       	       0x19c99826c _pthread_start + 148
7   libsystem_pthread.dylib       	       0x19c99308c thread_start + 8

Thread 21:
0   libsystem_kernel.dylib        	       0x19c95e270 __psynch_cvwait + 8
1   libsystem_pthread.dylib       	       0x19c99883c _pthread_cond_wait + 1236
2   libc++.1.dylib                	       0x19c8e7284 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3   Godot                         	       0x102766078 0x100918000 + 31776888
4   Godot                         	       0x1040bf458 0x100918000 + 58356824
5   Godot                         	       0x1040bf9cc 0x100918000 + 58358220
6   libsystem_pthread.dylib       	       0x19c99826c _pthread_start + 148
7   libsystem_pthread.dylib       	       0x19c99308c thread_start + 8

Thread 22:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	       0x19c95a8b0 mach_msg_trap + 8
1   libsystem_kernel.dylib        	       0x19c95ad20 mach_msg + 76
2   CoreFoundation                	       0x19ca65210 __CFRunLoopServiceMachPort + 372
3   CoreFoundation                	       0x19ca636c0 __CFRunLoopRun + 1180
4   CoreFoundation                	       0x19ca62a84 CFRunLoopRunSpecific + 600
5   AppKit                        	       0x19f737100 _NSEventThread + 196
6   libsystem_pthread.dylib       	       0x19c99826c _pthread_start + 148
7   libsystem_pthread.dylib       	       0x19c99308c thread_start + 8

Thread 23:
0   libsystem_kernel.dylib        	       0x19c95d738 __psynch_mutexwait + 8
1   libsystem_pthread.dylib       	       0x19c995384 _pthread_mutex_firstfit_lock_wait + 84
2   libsystem_pthread.dylib       	       0x19c992cf8 _pthread_mutex_firstfit_lock_slow + 248
3   libc++.1.dylib                	       0x19c8e933c std::__1::recursive_mutex::lock() + 16
4   Godot                         	       0x100ebde00 0x100918000 + 5922304
5   Godot                         	       0x100e799ac 0x100918000 + 5642668
6   Godot                         	       0x101d3a6ec 0x100918000 + 21112556
7   Godot                         	       0x101d3d9c0 0x100918000 + 21125568
8   Godot                         	       0x101d3f31c 0x100918000 + 21132060
9   Godot                         	       0x101d3c714 0x100918000 + 21120788
10  Godot                         	       0x1040bf458 0x100918000 + 58356824
11  Godot                         	       0x1040bf9cc 0x100918000 + 58358220
12  libsystem_pthread.dylib       	       0x19c99826c _pthread_start + 148
13  libsystem_pthread.dylib       	       0x19c99308c thread_start + 8


Thread 0 crashed with ARM Thread State (64-bit):
    x0: 0x0000000000000000   x1: 0x0000000000000000   x2: 0x0000000000000000   x3: 0x0000000000000000
    x4: 0x0000000000000060   x5: 0x00000001486b0ec0   x6: 0x0000000000000006   x7: 0x000000016f4e3120
    x8: 0x0c483bfff0893ac3   x9: 0x0c483bfef79c3f43  x10: 0x0000000000000002  x11: 0x00000000fffffffd
   x12: 0x0000010000000000  x13: 0x0000000000000000  x14: 0x0000000000000000  x15: 0x0000000000000000
   x16: 0x0000000000000148  x17: 0x00000001f6abb680  x18: 0x0000000000000000  x19: 0x0000000000000006
   x20: 0x0000000107150580  x21: 0x0000000000000103  x22: 0x0000000107150660  x23: 0x0000000000000023
   x24: 0x000000010631defd  x25: 0x000000010631df1d  x26: 0x000000016f4e3b88  x27: 0x000000010631df12
   x28: 0x0000000000000000   fp: 0x000000016f4e3280   lr: 0x000000019c997ee0
    sp: 0x000000016f4e3260   pc: 0x000000019c962d98 cpsr: 0x40001000
   far: 0x000000014a224000  esr: 0x56000080  Address size fault

Binary Images:
       0x19c959000 -        0x19c990fff libsystem_kernel.dylib (*) <a9d87740-9c1d-3468-bf60-720a8d713cba> /usr/lib/system/libsystem_kernel.dylib
       0x19c991000 -        0x19c99dfff libsystem_pthread.dylib (*) <63c4eef9-69a5-38b1-996e-8d31b66a051d> /usr/lib/system/libsystem_pthread.dylib
       0x19c858000 -        0x19c8d9fff libsystem_c.dylib (*) <b25d2080-bb9e-38d6-8236-9cef4b2f11a3> /usr/lib/system/libsystem_c.dylib
       0x100918000 -        0x106643fff org.godotengine.godot (4.0) <fef35f37-61fb-3c4c-a270-fa39dfee3907> /private/var/folders/*/Godot.app/Contents/MacOS/Godot
       0x19c9ab000 -        0x19c9b2fff libsystem_platform.dylib (*) <a57fe7fb-9ff8-30ce-97a2-625d6da20d00> /usr/lib/system/libsystem_platform.dylib
       0x1070d8000 -        0x107137fff dyld (*) <38ee9fe9-b66d-3066-8c5c-6ddf0d6944c6> /usr/lib/dyld
       0x19c8da000 -        0x19c940fff libc++.1.dylib (*) <3d1e6031-901d-3df1-9e9a-f85ff1c2e803> /usr/lib/libc++.1.dylib
       0x1a53ef000 -        0x1a5415fff com.apple.audio.caulk (1.0) <fbaaa1ec-abbe-3c0d-a491-0dc66ee9d8ce> /System/Library/PrivateFrameworks/caulk.framework/Versions/A/caulk
       0x19e376000 -        0x19ea99fff com.apple.audio.CoreAudio (5.0) <01e2a2bb-2115-3015-9744-c0dc512bb554> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
       0x19c9e0000 -        0x19cf26fff com.apple.CoreFoundation (6.9) <fc3c193d-0cdb-3569-9f0e-bd2507ca1dbb> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x19f589000 -        0x1a0441fff com.apple.AppKit (6.9) <5e432f87-5b58-391a-a542-fa2d909dd210> /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=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)
Writable regions: Total=768.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=768.4M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               128K        1 
Activity Tracing                   256K        1 
CG backing stores                 2176K        4 
CG image                          2096K       24 
ColorSync                          576K       25 
CoreAnimation                       96K        6 
CoreGraphics                        16K        1 
CoreUI image data                  992K        6 
Dispatch continuations            64.0M        1 
Foundation                          16K        1 
Kernel Alloc Once                   32K        1 
MALLOC                           581.3M      293 
MALLOC guard page                  192K        9 
MALLOC_MEDIUM (reserved)          96.0M        1         reserved VM address space (unallocated)
STACK GUARD                       56.4M       24 
Stack                             20.2M       24 
VM_ALLOCATE                        320K       14 
__AUTH                            2144K      213 
__AUTH_CONST                      13.1M      379 
__CTF                               756        1 
__DATA                            11.7M      369 
__DATA_CONST                      15.4M      384 
__DATA_DIRTY                      1246K      145 
__FONT_DATA                          4K        1 
__LINKEDIT                       582.7M        8 
__OBJC_CONST                      2313K      181 
__OBJC_RO                         83.0M        1 
__OBJC_RW                         3168K        1 
__TEXT                           418.8M      400 
__UNICODE                          592K        1 
dyld private memory               1216K        3 
mapped file                      157.9M       22 
shared memory                      880K       14 
===========                     =======  ======= 
TOTAL                              2.1G     2559 
TOTAL, minus reserved VM space     2.0G     2559 



-----------
Full Report
-----------

{"app_name":"Godot","timestamp":"2022-10-12 19:58:38.00 +1000","app_version":"4.0","slice_uuid":"fef35f37-61fb-3c4c-a270-fa39dfee3907","build_version":"4.0","platform":1,"bundleID":"org.godotengine.godot","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.6 (21G115)","incident_id":"66C9AE3D-64F2-4DA1-A0F6-B10B13477626","name":"Godot"}
{
  "uptime" : 94000,
  "procLaunch" : "2022-10-12 19:58:31.0136 +1000",
  "procRole" : "Foreground",
  "version" : 2,
  "userID" : 501,
  "deployVersion" : 210,
  "modelCode" : "MacBookAir10,1",
  "procStartAbsTime" : 2278983670879,
  "coalitionID" : 7780,
  "osVersion" : {
    "train" : "macOS 12.6",
    "build" : "21G115",
    "releaseType" : "User"
  },
  "captureTime" : "2022-10-12 19:58:37.8946 +1000",
  "incident" : "66C9AE3D-64F2-4DA1-A0F6-B10B13477626",
  "bug_type" : "309",
  "pid" : 89932,
  "procExitAbsTime" : 2279148760571,
  "translated" : false,
  "cpuType" : "ARM-64",
  "procName" : "Godot",
  "procPath" : "\/private\/var\/folders\/*\/Godot.app\/Contents\/MacOS\/Godot",
  "bundleInfo" : {"CFBundleShortVersionString":"4.0","CFBundleVersion":"4.0","CFBundleIdentifier":"org.godotengine.godot"},
  "storeInfo" : {"deviceIdentifierForVendor":"0208515C-97C9-50FA-9497-0CBE0A141304","thirdParty":true},
  "parentProc" : "launchd",
  "parentPid" : 1,
  "coalitionName" : "org.godotengine.godot",
  "crashReporterKey" : "DFAE100D-F8CE-86A5-39DB-4585C20581E7",
  "wakeTime" : 35486,
  "sleepWakeUUID" : "CB57AFAD-9CED-433B-81CB-BF4875235018",
  "sip" : "enabled",
  "vmRegionInfo" : "0 is not in any region.  Bytes before following region: 4304502784\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      100918000-106644000    [ 93.2M] r-x\/r-x SM=COW  ...s\/MacOS\/Godot",
  "isCorpse" : 1,
  "exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_ACCESS","signal":"SIGABRT","subtype":"KERN_INVALID_ADDRESS at 0x0000000000000000"},
  "vmregioninfo" : "0 is not in any region.  Bytes before following region: 4304502784\n      REGION TYPE                    START - END         [ VSIZE] PRT\/MAX SHRMOD  REGION DETAIL\n      UNUSED SPACE AT START\n--->  \n      __TEXT                      100918000-106644000    [ 93.2M] r-x\/r-x SM=COW  ...s\/MacOS\/Godot",
  "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":766878,"threadState":{"x":[{"value":0},{"value":0},{"value":0},{"value":0},{"value":96},{"value":5509942976},{"value":6},{"value":6162362656},{"value":885023297216527043},{"value":885023293040246595},{"value":2},{"value":4294967293},{"value":1099511627776},{"value":0},{"value":0},{"value":0},{"value":328},{"value":8433415808},{"value":0},{"value":6},{"value":4413785472,"symbolLocation":0,"symbol":"_main_thread"},{"value":259},{"value":4413785696,"symbolLocation":224,"symbol":"_main_thread"},{"value":35},{"value":4398898941},{"value":4398898973},{"value":6162365320},{"value":4398898962},{"value":0}],"flavor":"ARM_THREAD_STATE64","lr":{"value":6922272480},"cpsr":{"value":1073745920},"fp":{"value":6162363008},"sp":{"value":6162362976},"esr":{"value":1442840704,"description":" Address size fault"},"pc":{"value":6922055064,"matchesCrashFrame":1},"far":{"value":5538725888}},"queue":"com.apple.main-thread","frames":[{"imageOffset":40344,"symbol":"__pthread_kill","symbolLocation":8,"imageIndex":0},{"imageOffset":28384,"symbol":"pthread_kill","symbolLocation":288,"imageIndex":1},{"imageOffset":500544,"symbol":"abort","symbolLocation":168,"imageIndex":2},{"imageOffset":3930808,"imageIndex":3},{"imageOffset":17572,"symbol":"_sigtramp","symbolLocation":56,"imageIndex":4},{"imageOffset":6001588,"imageIndex":3},{"imageOffset":6001588,"imageIndex":3},{"imageOffset":6013948,"imageIndex":3},{"imageOffset":5628660,"imageIndex":3},{"imageOffset":5926960,"imageIndex":3},{"imageOffset":5927540,"imageIndex":3},{"imageOffset":6014032,"imageIndex":3},{"imageOffset":5628660,"imageIndex":3},{"imageOffset":5926960,"imageIndex":3},{"imageOffset":5685124,"imageIndex":3},{"imageOffset":59822828,"imageIndex":3},{"imageOffset":59823908,"imageIndex":3},{"imageOffset":59836496,"imageIndex":3},{"imageOffset":43466100,"imageIndex":3},{"imageOffset":43523632,"imageIndex":3},{"imageOffset":59822828,"imageIndex":3},{"imageOffset":59823908,"imageIndex":3},{"imageOffset":59836496,"imageIndex":3},{"imageOffset":19934280,"imageIndex":3},{"imageOffset":20107652,"imageIndex":3},{"imageOffset":19932328,"imageIndex":3},{"imageOffset":19931524,"imageIndex":3},{"imageOffset":64026716,"imageIndex":3},{"imageOffset":33581284,"imageIndex":3},{"imageOffset":19108556,"imageIndex":3},{"imageOffset":19163524,"imageIndex":3},{"imageOffset":64000692,"imageIndex":3},{"imageOffset":33054316,"imageIndex":3},{"imageOffset":33056048,"imageIndex":3},{"imageOffset":4215632,"imageIndex":3},{"imageOffset":3918212,"imageIndex":3},{"imageOffset":4072020,"imageIndex":3},{"imageOffset":20620,"symbol":"start","symbolLocation":520,"imageIndex":5}]},{"id":766892,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":766893,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":766902,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":766906,"frames":[{"imageOffset":8312,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":1}]},{"id":766918,"frames":[{"imageOffset":21104,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":1},{"imageOffset":53892,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":28,"imageIndex":6},{"imageOffset":59458804,"symbol":"_IP_ResolverPrivate::_thread_function(void*)","symbolLocation":160,"imageIndex":3},{"imageOffset":58356824,"imageIndex":3},{"imageOffset":58358220,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":766919,"frames":[{"imageOffset":21104,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":1},{"imageOffset":53892,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":28,"imageIndex":6},{"imageOffset":64335668,"imageIndex":3},{"imageOffset":58356824,"imageIndex":3},{"imageOffset":58358220,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":766920,"frames":[{"imageOffset":21104,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":1},{"imageOffset":53892,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":28,"imageIndex":6},{"imageOffset":64335668,"imageIndex":3},{"imageOffset":58356824,"imageIndex":3},{"imageOffset":58358220,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":766921,"frames":[{"imageOffset":21104,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":1},{"imageOffset":53892,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":28,"imageIndex":6},{"imageOffset":64335668,"imageIndex":3},{"imageOffset":58356824,"imageIndex":3},{"imageOffset":58358220,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":766922,"frames":[{"imageOffset":21104,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":1},{"imageOffset":53892,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":28,"imageIndex":6},{"imageOffset":64335668,"imageIndex":3},{"imageOffset":58356824,"imageIndex":3},{"imageOffset":58358220,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":766923,"frames":[{"imageOffset":21104,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":1},{"imageOffset":53892,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":28,"imageIndex":6},{"imageOffset":64335668,"imageIndex":3},{"imageOffset":58356824,"imageIndex":3},{"imageOffset":58358220,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":766924,"frames":[{"imageOffset":21104,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":1},{"imageOffset":53892,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":28,"imageIndex":6},{"imageOffset":64335668,"imageIndex":3},{"imageOffset":58356824,"imageIndex":3},{"imageOffset":58358220,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":766925,"frames":[{"imageOffset":21104,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":1},{"imageOffset":53892,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":28,"imageIndex":6},{"imageOffset":64335668,"imageIndex":3},{"imageOffset":58356824,"imageIndex":3},{"imageOffset":58358220,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":766926,"frames":[{"imageOffset":21104,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":1},{"imageOffset":53892,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":28,"imageIndex":6},{"imageOffset":64335668,"imageIndex":3},{"imageOffset":58356824,"imageIndex":3},{"imageOffset":58358220,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":766958,"name":"AMCP Logging Spool","frames":[{"imageOffset":6380,"symbol":"semaphore_wait_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":125484,"symbol":"caulk::mach::semaphore::wait_or_error()","symbolLocation":28,"imageIndex":7},{"imageOffset":10156,"symbol":"caulk::concurrent::details::worker_thread::run()","symbolLocation":56,"imageIndex":7},{"imageOffset":9164,"symbol":"void* caulk::thread_proxy<std::__1::tuple<caulk::thread::attributes, void (caulk::concurrent::details::worker_thread::*)(), std::__1::tuple<caulk::concurrent::details::worker_thread*> > >(void*)","symbolLocation":96,"imageIndex":7},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":766963,"name":"com.apple.audio.IOThread.client","frames":[{"imageOffset":6320,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":7456,"symbol":"mach_msg","symbolLocation":76,"imageIndex":0},{"imageOffset":3360416,"symbol":"HALB_MachPort::SendSimpleMessageWithSimpleReply(unsigned int, unsigned int, int, int&, bool, unsigned int)","symbolLocation":104,"imageIndex":8},{"imageOffset":1842096,"symbol":"HALC_ProxyIOContext::IOWorkLoop()","symbolLocation":3336,"imageIndex":8},{"imageOffset":1837232,"symbol":"invocation function for block in HALC_ProxyIOContext::HALC_ProxyIOContext(unsigned int, unsigned int)","symbolLocation":100,"imageIndex":8},{"imageOffset":3721904,"symbol":"HALB_IOThread::Entry(void*)","symbolLocation":88,"imageIndex":8},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":766974,"frames":[{"imageOffset":21104,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":1},{"imageOffset":53892,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":28,"imageIndex":6},{"imageOffset":11985176,"imageIndex":3},{"imageOffset":11984800,"imageIndex":3},{"imageOffset":11984536,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":767004,"frames":[{"imageOffset":20588,"symbol":"__semwait_signal","symbolLocation":8,"imageIndex":0},{"imageOffset":61384,"symbol":"nanosleep","symbolLocation":220,"imageIndex":2},{"imageOffset":15037828,"imageIndex":3},{"imageOffset":16219028,"imageIndex":3},{"imageOffset":58356824,"imageIndex":3},{"imageOffset":58358220,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":767005,"frames":[{"imageOffset":20588,"symbol":"__semwait_signal","symbolLocation":8,"imageIndex":0},{"imageOffset":61384,"symbol":"nanosleep","symbolLocation":220,"imageIndex":2},{"imageOffset":15037828,"imageIndex":3},{"imageOffset":16612524,"symbol":"EditorExportPlatformIOS::_check_for_changes_poll_thread(void*)","symbolLocation":496,"imageIndex":3},{"imageOffset":58356824,"imageIndex":3},{"imageOffset":58358220,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":767007,"frames":[{"imageOffset":20588,"symbol":"__semwait_signal","symbolLocation":8,"imageIndex":0},{"imageOffset":61384,"symbol":"nanosleep","symbolLocation":220,"imageIndex":2},{"imageOffset":15037828,"imageIndex":3},{"imageOffset":17179820,"imageIndex":3},{"imageOffset":58356824,"imageIndex":3},{"imageOffset":58358220,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":767018,"frames":[{"imageOffset":20588,"symbol":"__semwait_signal","symbolLocation":8,"imageIndex":0},{"imageOffset":61384,"symbol":"nanosleep","symbolLocation":220,"imageIndex":2},{"imageOffset":15037828,"imageIndex":3},{"imageOffset":24478772,"imageIndex":3},{"imageOffset":58356824,"imageIndex":3},{"imageOffset":58358220,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":767019,"frames":[{"imageOffset":21104,"symbol":"__psynch_cvwait","symbolLocation":8,"imageIndex":0},{"imageOffset":30780,"symbol":"_pthread_cond_wait","symbolLocation":1236,"imageIndex":1},{"imageOffset":53892,"symbol":"std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&)","symbolLocation":28,"imageIndex":6},{"imageOffset":31776888,"imageIndex":3},{"imageOffset":58356824,"imageIndex":3},{"imageOffset":58358220,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":767022,"name":"com.apple.NSEventThread","frames":[{"imageOffset":6320,"symbol":"mach_msg_trap","symbolLocation":8,"imageIndex":0},{"imageOffset":7456,"symbol":"mach_msg","symbolLocation":76,"imageIndex":0},{"imageOffset":545296,"symbol":"__CFRunLoopServiceMachPort","symbolLocation":372,"imageIndex":9},{"imageOffset":538304,"symbol":"__CFRunLoopRun","symbolLocation":1180,"imageIndex":9},{"imageOffset":535172,"symbol":"CFRunLoopRunSpecific","symbolLocation":600,"imageIndex":9},{"imageOffset":1761536,"symbol":"_NSEventThread","symbolLocation":196,"imageIndex":10},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]},{"id":767033,"frames":[{"imageOffset":18232,"symbol":"__psynch_mutexwait","symbolLocation":8,"imageIndex":0},{"imageOffset":17284,"symbol":"_pthread_mutex_firstfit_lock_wait","symbolLocation":84,"imageIndex":1},{"imageOffset":7416,"symbol":"_pthread_mutex_firstfit_lock_slow","symbolLocation":248,"imageIndex":1},{"imageOffset":62268,"symbol":"std::__1::recursive_mutex::lock()","symbolLocation":16,"imageIndex":6},{"imageOffset":5922304,"imageIndex":3},{"imageOffset":5642668,"imageIndex":3},{"imageOffset":21112556,"imageIndex":3},{"imageOffset":21125568,"imageIndex":3},{"imageOffset":21132060,"imageIndex":3},{"imageOffset":21120788,"imageIndex":3},{"imageOffset":58356824,"imageIndex":3},{"imageOffset":58358220,"imageIndex":3},{"imageOffset":29292,"symbol":"_pthread_start","symbolLocation":148,"imageIndex":1},{"imageOffset":8332,"symbol":"thread_start","symbolLocation":8,"imageIndex":1}]}],
  "usedImages" : [
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6922014720,
    "size" : 229376,
    "uuid" : "a9d87740-9c1d-3468-bf60-720a8d713cba",
    "path" : "\/usr\/lib\/system\/libsystem_kernel.dylib",
    "name" : "libsystem_kernel.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6922244096,
    "size" : 53248,
    "uuid" : "63c4eef9-69a5-38b1-996e-8d31b66a051d",
    "path" : "\/usr\/lib\/system\/libsystem_pthread.dylib",
    "name" : "libsystem_pthread.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6920962048,
    "size" : 532480,
    "uuid" : "b25d2080-bb9e-38d6-8236-9cef4b2f11a3",
    "path" : "\/usr\/lib\/system\/libsystem_c.dylib",
    "name" : "libsystem_c.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64",
    "base" : 4304502784,
    "CFBundleShortVersionString" : "4.0",
    "CFBundleIdentifier" : "org.godotengine.godot",
    "size" : 97697792,
    "uuid" : "fef35f37-61fb-3c4c-a270-fa39dfee3907",
    "path" : "\/private\/var\/folders\/*\/Godot.app\/Contents\/MacOS\/Godot",
    "name" : "Godot",
    "CFBundleVersion" : "4.0"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6922350592,
    "size" : 32768,
    "uuid" : "a57fe7fb-9ff8-30ce-97a2-625d6da20d00",
    "path" : "\/usr\/lib\/system\/libsystem_platform.dylib",
    "name" : "libsystem_platform.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 4413292544,
    "size" : 393216,
    "uuid" : "38ee9fe9-b66d-3066-8c5c-6ddf0d6944c6",
    "path" : "\/usr\/lib\/dyld",
    "name" : "dyld"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6921494528,
    "size" : 421888,
    "uuid" : "3d1e6031-901d-3df1-9e9a-f85ff1c2e803",
    "path" : "\/usr\/lib\/libc++.1.dylib",
    "name" : "libc++.1.dylib"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 7067332608,
    "CFBundleShortVersionString" : "1.0",
    "CFBundleIdentifier" : "com.apple.audio.caulk",
    "size" : 159744,
    "uuid" : "fbaaa1ec-abbe-3c0d-a491-0dc66ee9d8ce",
    "path" : "\/System\/Library\/PrivateFrameworks\/caulk.framework\/Versions\/A\/caulk",
    "name" : "caulk"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6949396480,
    "CFBundleShortVersionString" : "5.0",
    "CFBundleIdentifier" : "com.apple.audio.CoreAudio",
    "size" : 7487488,
    "uuid" : "01e2a2bb-2115-3015-9744-c0dc512bb554",
    "path" : "\/System\/Library\/Frameworks\/CoreAudio.framework\/Versions\/A\/CoreAudio",
    "name" : "CoreAudio",
    "CFBundleVersion" : "5.0"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6922567680,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.CoreFoundation",
    "size" : 5533696,
    "uuid" : "fc3c193d-0cdb-3569-9f0e-bd2507ca1dbb",
    "path" : "\/System\/Library\/Frameworks\/CoreFoundation.framework\/Versions\/A\/CoreFoundation",
    "name" : "CoreFoundation",
    "CFBundleVersion" : "1866"
  },
  {
    "source" : "P",
    "arch" : "arm64e",
    "base" : 6968348672,
    "CFBundleShortVersionString" : "6.9",
    "CFBundleIdentifier" : "com.apple.AppKit",
    "size" : 15437824,
    "uuid" : "5e432f87-5b58-391a-a542-fa2d909dd210",
    "path" : "\/System\/Library\/Frameworks\/AppKit.framework\/Versions\/C\/AppKit",
    "name" : "AppKit",
    "CFBundleVersion" : "2113.60.148"
  }
],
  "sharedCache" : {
  "base" : 6918946816,
  "size" : 3144744960,
  "uuid" : "049b583e-d4dc-3b2b-88da-e52d6e18313d"
},
  "vmSummary" : "ReadOnly portion of Libraries: Total=1.0G resident=0K(0%) swapped_out_or_unallocated=1.0G(100%)\nWritable regions: Total=768.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=768.4M(100%)\n\n                                VIRTUAL   REGION \nREGION TYPE                        SIZE    COUNT (non-coalesced) \n===========                     =======  ======= \nAccelerate framework               128K        1 \nActivity Tracing                   256K        1 \nCG backing stores                 2176K        4 \nCG image                          2096K       24 \nColorSync                          576K       25 \nCoreAnimation                       96K        6 \nCoreGraphics                        16K        1 \nCoreUI image data                  992K        6 \nDispatch continuations            64.0M        1 \nFoundation                          16K        1 \nKernel Alloc Once                   32K        1 \nMALLOC                           581.3M      293 \nMALLOC guard page                  192K        9 \nMALLOC_MEDIUM (reserved)          96.0M        1         reserved VM address space (unallocated)\nSTACK GUARD                       56.4M       24 \nStack                             20.2M       24 \nVM_ALLOCATE                        320K       14 \n__AUTH                            2144K      213 \n__AUTH_CONST                      13.1M      379 \n__CTF                               756        1 \n__DATA                            11.7M      369 \n__DATA_CONST                      15.4M      384 \n__DATA_DIRTY                      1246K      145 \n__FONT_DATA                          4K        1 \n__LINKEDIT                       582.7M        8 \n__OBJC_CONST                      2313K      181 \n__OBJC_RO                         83.0M        1 \n__OBJC_RW                         3168K        1 \n__TEXT                           418.8M      400 \n__UNICODE                          592K        1 \ndyld private memory               1216K        3 \nmapped file                      157.9M       22 \nshared memory                      880K       14 \n===========                     =======  ======= \nTOTAL                              2.1G     2559 \nTOTAL, minus reserved VM space     2.0G     2559 \n",
  "legacyInfo" : {
  "threadTriggered" : {
    "queue" : "com.apple.main-thread"
  }
},
  "trialInfo" : {
  "rollouts" : [
    {
      "rolloutId" : "607844aa04477260f58a8077",
      "factorPackIds" : {
        "SIRI_MORPHUN_ASSETS" : "6103050cbfe6dc472e1c982a"
      },
      "deploymentId" : 240000066
    },
    {
      "rolloutId" : "6112dda2fc54bc3389840642",
      "factorPackIds" : {
        "SIRI_DICTATION_ASSETS" : "631730a28520965d1cba0681"
      },
      "deploymentId" : 240000145
    }
  ],
  "experiments" : [

  ]
}
}

Steps to reproduce

Open Godot. The Project Manager window pops open. Open the problem project (linked below). Godot crashes and displays error "Godot quit unexpectedly." Clicking the "Report" button shows the crash dump shown above in Issue Description. Note that the crash only occurs for this particular project.

Screen Shot 2022-10-12 at 8 10 51 PM

Minimal reproduction project

problem-project.zip

@akien-mga akien-mga added this to the 4.0 milestone Oct 12, 2022
@akien-mga
Copy link
Member

I can confirm the crash on Linux, here's a backtrace:

================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.0.beta.custom_build (042e81f663d31c5d0c619349be14919a39333023)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib64/libc.so.6(+0x36970) [0x7feea81e3970] (??:0)
[2] GDScriptDataType::operator PropertyInfo() const (/home/akien/Projects/godot/godot.git/modules/gdscript/gdscript_function.h:163)
[3] GDScriptCompiler::_parse_class_level(GDScript*, GDScriptParser::ClassNode const*, bool) (/home/akien/Projects/godot/godot.git/modules/gdscript/gdscript_compiler.cpp:2348)
[4] GDScriptCompiler::compile(GDScriptParser const*, GDScript*, bool) (/home/akien/Projects/godot/godot.git/modules/gdscript/gdscript_compiler.cpp:2684 (discriminator 6))
[5] GDScript::reload(bool) (/home/akien/Projects/godot/godot.git/modules/gdscript/gdscript.cpp:914)
[6] GDScriptCache::get_full_script(String const&, Error&, String const&, bool) (/home/akien/Projects/godot/godot.git/modules/gdscript/gdscript_cache.cpp:213)
[7] GDScriptCache::finish_compiling(String const&) (/home/akien/Projects/godot/godot.git/modules/gdscript/gdscript_cache.cpp:236 (discriminator 4))
[8] GDScriptCompiler::compile(GDScriptParser const*, GDScript*, bool) (/home/akien/Projects/godot/godot.git/modules/gdscript/gdscript_compiler.cpp:2696)
[9] GDScript::reload(bool) (/home/akien/Projects/godot/godot.git/modules/gdscript/gdscript.cpp:914)
[10] GDScriptCache::get_full_script(String const&, Error&, String const&, bool) (/home/akien/Projects/godot/godot.git/modules/gdscript/gdscript_cache.cpp:213)
[11] ResourceFormatLoaderGDScript::load(String const&, String const&, Error*, bool, float*, ResourceFormatLoader::CacheMode) (/home/akien/Projects/godot/godot.git/modules/gdscript/gdscript.cpp:2393 (discriminator 4))
[12] ResourceLoader::_load(String const&, String const&, String const&, ResourceFormatLoader::CacheMode, Error*, bool, float*) (/home/akien/Projects/godot/godot.git/core/io/resource_loader.cpp:219 (discriminator 5))
[13] ResourceLoader::_thread_load_function(void*) (/home/akien/Projects/godot/godot.git/core/io/resource_loader.cpp:246 (discriminator 7))
[14] ResourceLoader::load(String const&, String const&, ResourceFormatLoader::CacheMode, Error*) (/home/akien/Projects/godot/godot.git/core/io/resource_loader.cpp:576)
[15] ResourceLoaderText::load() (/home/akien/Projects/godot/godot.git/scene/resources/resource_format_text.cpp:489)
[16] ResourceFormatLoaderText::load(String const&, String const&, Error*, bool, float*, ResourceFormatLoader::CacheMode) (/home/akien/Projects/godot/godot.git/scene/resources/resource_format_text.cpp:1575 (discriminator 4))
[17] ResourceLoader::_load(String const&, String const&, String const&, ResourceFormatLoader::CacheMode, Error*, bool, float*) (/home/akien/Projects/godot/godot.git/core/io/resource_loader.cpp:219 (discriminator 5))
[18] ResourceLoader::_thread_load_function(void*) (/home/akien/Projects/godot/godot.git/core/io/resource_loader.cpp:246 (discriminator 7))
[19] ResourceLoader::load(String const&, String const&, ResourceFormatLoader::CacheMode, Error*) (/home/akien/Projects/godot/godot.git/core/io/resource_loader.cpp:576)
[20] EditorNode::load_scene(String const&, bool, bool, bool, bool, bool) (/home/akien/Projects/godot/godot.git/editor/editor_node.cpp:3840 (discriminator 4))
[21] EditorNode::_sources_changed(bool) (/home/akien/Projects/godot/godot.git/editor/editor_node.cpp:1091 (discriminator 4))
[22] void call_with_variant_args_helper<EditorNode, bool, 0ul>(EditorNode*, void (EditorNode::*)(bool), Variant const**, Callable::CallError&, IndexSequence<0ul>) (/home/akien/Projects/godot/godot.git/./core/variant/binder_common.h:267 (discriminator 4))
[23] void call_with_variant_args<EditorNode, bool>(EditorNode*, void (EditorNode::*)(bool), Variant const**, int, Callable::CallError&) (/home/akien/Projects/godot/godot.git/./core/variant/binder_common.h:377)
[24] CallableCustomMethodPointer<EditorNode, bool>::call(Variant const**, int, Variant&, Callable::CallError&) const (/home/akien/Projects/godot/godot.git/./core/object/callable_method_pointer.h:105)
[25] Callable::callp(Variant const**, int, Variant&, Callable::CallError&) const (/home/akien/Projects/godot/godot.git/core/variant/callable.cpp:64)
[26] Object::emit_signalp(StringName const&, Variant const**, int) (/home/akien/Projects/godot/godot.git/core/object/object.cpp:1046)
[27] Error Object::emit_signal<bool>(StringName const&, bool) (/home/akien/Projects/godot/godot.git/./core/object/object.h:851)
[28] EditorFileSystem::_notification(int) (/home/akien/Projects/godot/godot.git/editor/editor_file_system.cpp:1241)
[29] EditorFileSystem::_notificationv(int, bool) (/home/akien/Projects/godot/godot.git/editor/editor_file_system.h:143 (discriminator 14))
[30] Object::notification(int, bool) (/home/akien/Projects/godot/godot.git/core/object/object.cpp:792)
[31] SceneTree::_notify_group_pause(StringName const&, int) (/home/akien/Projects/godot/godot.git/scene/main/scene_tree.cpp:867)
[32] SceneTree::process(double) (/home/akien/Projects/godot/godot.git/scene/main/scene_tree.cpp:467)
[33] Main::iteration() (/home/akien/Projects/godot/godot.git/main/main.cpp:3135)
[34] OS_LinuxBSD::run() (/home/akien/Projects/godot/godot.git/platform/linuxbsd/os_linuxbsd.cpp:772)
[35] godot-git(main+0x146) [0x247feec] (/home/akien/Projects/godot/godot.git/platform/linuxbsd/godot_linuxbsd.cpp:74)
[36] /lib64/libc.so.6(+0x23677) [0x7feea81d0677] (??:0)
[37] /lib64/libc.so.6(__libc_start_main+0x85) [0x7feea81d0735] (??:0)
[38] godot-git(_start+0x21) [0x247fce1] (??:?)
-- END OF BACKTRACE --
================================================================

@akien-mga akien-mga changed the title Godot Quit Unexpectedly Editor crash when loading a specific project (crash in GDScriptCompiler::_parse_class_level) Oct 12, 2022
@akien-mga
Copy link
Member

Some findings:

  • With the project as it is in the MRP, the editor crashes systematically when opening with godot -e
  • Opening the scene Characters/player.tscn with godot -e res://Characters/player.tscn doesn't crash. It complains about missing dependency on Characters/player.gd (despite the script being present). Accepting the dialog fixes the issue, and future attempts at opening the project work fine.
  • There's no change to project.godot nor scenes.
  • Deleting the .godot folder doesn't make the crash happen again.
  • BUT deleting the ~/.cache/godot/* contents (thus forcing the regeneration of cached resource thumbnails) seems to trigger the crash on the next start.

So the issue seems to be with the thumbnail generation. Presumably it's trying to load GDScripts too early, maybe before the class names have been registered, and that leads to a crash.

@akien-mga akien-mga changed the title Editor crash when loading a specific project (crash in GDScriptCompiler::_parse_class_level) Editor crash when loading a specific project (crash in GDScriptCompiler::_parse_class_level during resource thumbnail generation) Oct 12, 2022
@rune-scape
Copy link
Contributor

I couldn't get this to crash, but i recognize the stack trace, this might be fixed by #68374 and #68914

@akien-mga
Copy link
Member

Indeed, this seems fixed. It's reproducible in 4.0 beta 4 but fixed in 4.0 beta 5, so likely by #68374 indeed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants