godot-kotlin-jvm
godot-kotlin-jvm copied to clipboard
Crash when creating new project from godot's project manager
When trying to create a new project from godot's project manager, it creates a basic godot project and then editor crashes:
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: Godot [13891]
Path: /Applications/Godot.app/Contents/MacOS/Godot
Identifier: org.godotengine.godot
Version: 4.1.2 (4.1.2)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2023-12-28 12:04:26.9732 +0100
OS Version: macOS 14.1.1 (23B81)
Report Version: 12
Anonymous UUID: 28AB22D8-4120-ACA2-7E39-F8B1F1D87BC4
Sleep/Wake UUID: A88FFF5C-7D5F-41D8-8E08-BFE8C3026585
Time Awake Since Boot: 22000 seconds
Time Since Wake: 300 seconds
System Integrity Protection: enabled
Crashed Thread: 23
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes: 0x0000000000000001, 0x0000000000000000
Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process: Godot [13891]
VM Region Info: 0 is not in any region. Bytes before following region: 4305256448
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
__TEXT 1009d0000-105ef0000 [ 85.1M] r-x/r-x SM=COW ...s/MacOS/Godot
Application Specific Information:
abort() called
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x189e27564 __psynch_mutexwait + 8
1 libsystem_pthread.dylib 0x189e62168 _pthread_mutex_firstfit_lock_wait + 84
2 libsystem_pthread.dylib 0x189e5faf8 _pthread_mutex_firstfit_lock_slow + 248
3 libc++.1.dylib 0x189d93494 std::__1::recursive_mutex::lock() + 16
4 Godot 0x1042ddeb0 ScriptServer::get_language(int) + 32
5 Godot 0x101e4e010 PluginConfigDialog::PluginConfigDialog() + 3952
6 Godot 0x101cddd5c EditorPluginSettings::EditorPluginSettings() + 180
7 Godot 0x101ebd1cc ProjectSettingsEditor::ProjectSettingsEditor(EditorData*) + 8132
8 Godot 0x101ca71f0 EditorNode::EditorNode() + 21908
9 Godot 0x100d9eb9c Main::start() + 16624
10 Godot 0x100d80194 main + 292
11 dyld 0x189ae90e0 start + 2360
Thread 1:
0 libsystem_pthread.dylib 0x189e5fe28 start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x189e5fe28 start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x189e5fe28 start_wqthread + 0
Thread 4:
0 libsystem_kernel.dylib 0x189e280ac __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x189e655fc _pthread_cond_wait + 1228
2 libc++.1.dylib 0x189d904dc std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3 Godot 0x103ec9368 _IP_ResolverPrivate::_thread_function(void*) + 152
4 Godot 0x103dd43b8 Thread::callback(unsigned long long, Thread::Settings const&, void (*)(void*), void*) + 120
5 Godot 0x103dd46c4 0x1009d0000 + 54544068
6 libsystem_pthread.dylib 0x189e65034 _pthread_start + 136
7 libsystem_pthread.dylib 0x189e5fe3c thread_start + 8
Thread 5:
0 libsystem_kernel.dylib 0x189e280ac __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x189e655fc _pthread_cond_wait + 1228
2 libc++.1.dylib 0x189d904dc std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3 Godot 0x104307d78 WorkerThreadPool::_thread_function(void*) + 104
4 Godot 0x103dd43b8 Thread::callback(unsigned long long, Thread::Settings const&, void (*)(void*), void*) + 120
5 Godot 0x103dd46c4 0x1009d0000 + 54544068
6 libsystem_pthread.dylib 0x189e65034 _pthread_start + 136
7 libsystem_pthread.dylib 0x189e5fe3c thread_start + 8
Thread 6:
0 libsystem_kernel.dylib 0x189e280ac __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x189e655fc _pthread_cond_wait + 1228
2 libc++.1.dylib 0x189d904dc std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3 Godot 0x104307d78 WorkerThreadPool::_thread_function(void*) + 104
4 Godot 0x103dd43b8 Thread::callback(unsigned long long, Thread::Settings const&, void (*)(void*), void*) + 120
5 Godot 0x103dd46c4 0x1009d0000 + 54544068
6 libsystem_pthread.dylib 0x189e65034 _pthread_start + 136
7 libsystem_pthread.dylib 0x189e5fe3c thread_start + 8
Thread 7:
0 libsystem_kernel.dylib 0x189e280ac __psynch_cvwait + 8
1 libsystem_pthread.dylib 0x189e655fc _pthread_cond_wait + 1228
2 libc++.1.dylib 0x189d904dc std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28... (24 Ko restants)
This crash happens when no JAVA_HOME env variable defined. But stack trace makes it cryptic to debug.