Closed Poonaka closed 2 weeks ago
I am also having a very similar issue on Godot v4.3.dev5.mono for Apple Silicon. I'll post my details below.
Godot v4.3.dev5.mono - macOS 14.2.1 - Vulkan (Forward+) - Apple M2 Pro (16GB)
Godot hangs on a newly created project. It is recognised as not responding by MacOS but it doesn't ever crash. No crash reports are thus generated. I haven't had time to idle test this to see if the project would open or if it comes to a crash. I do, however, have a 'diagnostic report' which shows that the application is churning through CPU cycles for an extended time. Unsure if this is helpful but might help diagnosing the issue.
Date/Time: 2024-03-19 11:41:17.550 +0000
End time: 2024-03-19 11:43:30.402 +0000
OS Version: macOS 14.2.1 (Build 23C71)
Architecture: arm64e
Report Version: 44
Incident Identifier: E029A378-7739-4F76-A8DB-9111333E5D29
Data Source: Microstackshots
Shared Cache: F9DDD844-7F3F-34BD-BE29-F0C72D5E5449 slid base address 0x187430000, slide 0x7430000
Command: Godot
Path: /Applications/Godot 4.3 dev 5.app/Contents/MacOS/Godot
Identifier: org.godotengine.godot
Version: 4.3 (4.3)
Team ID: 6K46PWY5DM
Is First Party: No
Resource Coalition ID: 36698
Architecture: arm64
PID: 33237
Event: cpu usage
Action taken: none
CPU: 90 seconds cpu time over 133 seconds (68% cpu average), exceeding limit of 50% cpu over 180 seconds
CPU limit: 90s
Limit duration: 180s
CPU used: 90s
CPU duration: 133s
Duration: 132.85s
Duration Sampled: 131.54s
Steps: 133
Hardware model: Mac14,9
Active cpus: 10
HW page size: 16384
VM page size: 16384
Fan speed: 0 rpm
OS Cryptex File Extents: 7
Heaviest stack for the target process:
97 thread_start + 8 (libsystem_pthread.dylib + 7740) [0x187868e3c]
97 _pthread_start + 136 (libsystem_pthread.dylib + 28724) [0x18786e034]
65 SEHExceptionThread(void*) + 156 (libcoreclr.dylib + 229208) [0x136473f58]
65 MachMessage::Receive(unsigned int) + 80 (libcoreclr.dylib + 232448) [0x136474c00]
65 mach_msg + 24 (libsystem_kernel.dylib + 7160) [0x18782dbf8]
65 mach_msg_overwrite + 476 (libsystem_kernel.dylib + 42160) [0x1878364b0]
65 mach_msg2_trap + 8 (libsystem_kernel.dylib + 6260) [0x18782d874]
Powerstats for: Godot [33237] [unique pid 132756]
UUID: 840012F8-2C4D-3FA8-BD51-109B3F8651D5
Path: /Applications/Godot 4.3 dev 5.app/Contents/MacOS/Godot
Identifier: org.godotengine.godot
Version: 4.3 (4.3)
Team ID: 6K46PWY5DM
Is First Party: No
Resource Coalition ID: 36698
Architecture: arm64
Footprint: 437.06 MB -> 571.97 MB (+134.91 MB)
Pageins: 1 pages
Start time: 2024-03-19 11:41:17.907 +0000
End time: 2024-03-19 11:43:29.444 +0000
Num samples: 133 (100%)
Primary state: 68 samples Non-Frontmost App, Non-Suppressed, Kernel mode, Effective Thread QoS Default, Requested Thread QoS Default, Override Thread QoS Unspecified
User Activity: 0 samples Idle, 133 samples Active
Power Source: 133 samples on Battery, 0 samples on AC
97 thread_start + 8 (libsystem_pthread.dylib + 7740) [0x187868e3c]
97 _pthread_start + 136 (libsystem_pthread.dylib + 28724) [0x18786e034]
65 SEHExceptionThread(void*) + 156 (libcoreclr.dylib + 229208) [0x136473f58]
65 MachMessage::Receive(unsigned int) + 80 (libcoreclr.dylib + 232448) [0x136474c00]
65 mach_msg + 24 (libsystem_kernel.dylib + 7160) [0x18782dbf8]
65 mach_msg_overwrite + 476 (libsystem_kernel.dylib + 42160) [0x1878364b0]
65 mach_msg2_trap + 8 (libsystem_kernel.dylib + 6260) [0x18782d874]
8 <Frontmost App>
2 <User mode>
1 <Frontmost App, User mode>
26 SEHExceptionThread(void*) + 408 (libcoreclr.dylib + 229460) [0x136474054]
15 MachExceptionInfo::MachExceptionInfo(unsigned int, MachMessage&) + 156 (libcoreclr.dylib + 231576) [0x136474898]
14 thread_get_state + 260 (libsystem_kernel.dylib + 44056) [0x187836c18]
14 mach_msg2_trap + 8 (libsystem_kernel.dylib + 6260) [0x18782d874]
6 <User mode>
1 memcpy + 8 (libsystem_kernel.dylib + 6980) [0x18782db44]
1 <User mode>
5 MachExceptionInfo::MachExceptionInfo(unsigned int, MachMessage&) + 220 (libcoreclr.dylib + 231640) [0x1364748d8]
5 thread_get_state + 260 (libsystem_kernel.dylib + 44056) [0x187836c18]
5 mach_msg2_trap + 8 (libsystem_kernel.dylib + 6260) [0x18782d874]
3 <User mode>
1 <Frontmost App>
4 MachExceptionInfo::MachExceptionInfo(unsigned int, MachMessage&) + 188 (libcoreclr.dylib + 231608) [0x1364748b8]
4 thread_get_state + 260 (libsystem_kernel.dylib + 44056) [0x187836c18]
4 mach_msg2_trap + 8 (libsystem_kernel.dylib + 6260) [0x18782d874]
1 <Frontmost App>
1 thread_get_state + 464 (libsystem_kernel.dylib + 44260) [0x187836ce4]
1 <User mode>
1 thread_get_state + 0 (libsystem_kernel.dylib + 43796) [0x187836b14]
1 <User mode>
3 SEHExceptionThread(void*) + 1452 (libcoreclr.dylib + 230504) [0x136474468]
3 thread_set_state + 260 (libsystem_kernel.dylib + 197644) [0x18785c40c]
3 mach_msg2_trap + 8 (libsystem_kernel.dylib + 6260) [0x18782d874]
1 <User mode>
2 SEHExceptionThread(void*) + 144 (libcoreclr.dylib + 229196) [0x136473f4c]
2 MachMessage::ReplyToNotification(MachMessage&, int) + 360 (libcoreclr.dylib + 237072) [0x136475e10]
2 mach_msg + 24 (libsystem_kernel.dylib + 7160) [0x18782dbf8]
1 mach_msg_overwrite + 476 (libsystem_kernel.dylib + 42160) [0x1878364b0]
1 mach_msg2_trap + 8 (libsystem_kernel.dylib + 6260) [0x18782d874]
1 <Frontmost App>
1 voucher_mach_msg_fill_aux + 0 (libdispatch.dylib + 178672) [0x1876e49f0]
1 <User mode>
1 SEHExceptionThread(void*) + 248 (libcoreclr.dylib + 229300) [0x136473fb4]
1 MachMessage::GetException() + 40 (libcoreclr.dylib + 233660) [0x1364750bc]
1 <User mode>
36 start + 2360 (dyld + 24800) [0x1874ed0e0]
36 ??? (Godot + 7785532) [0x104b2cc3c]
35 ??? (Godot + 8007612) [0x104b62fbc]
35 ??? (Godot + 67178144) [0x1083d0ea0]
35 ??? (Godot + 24542296) [0x105b27c58]
35 ??? (Godot + 24545872) [0x105b28a50]
35 ??? (Godot + 47376396) [0x1070ee80c]
35 ??? (Godot + 47375792) [0x1070ee5b0]
35 ??? (Godot + 31911728) [0x10622ef30]
35 ??? (Godot + 66980496) [0x1083a0a90]
35 ??? (Godot + 61893940) [0x107ec6d34]
35 szone_malloc_should_clear + 92 (libsystem_malloc.dylib + 8904) [0x1876842c8]
35 tiny_malloc_should_clear + 288 (libsystem_malloc.dylib + 13628) [0x18768553c]
22 tiny_malloc_from_free_list.cold.1 + 4 (libsystem_malloc.dylib + 193172) [0x1876b1294]
20 PAL_DispatchException + 0 (libcoreclr.dylib + 228628) [0x136473d14]
12 <Effective Thread QoS User Interactive, Requested Thread QoS User Interactive>
4 <User mode, Effective Thread QoS User Interactive, Requested Thread QoS User Interactive>
4 <Frontmost App, Effective Thread QoS User Interactive, Requested Thread QoS User Interactive>
2 PAL_DispatchExceptionWrapper + 16 (libcoreclr.dylib + 227884) [0x136473a2c]
2 PAL_DispatchException + 80 (libcoreclr.dylib + 228708) [0x136473d64]
1 PAL_DispatchExceptionInner(_CONTEXT*, _EXCEPTION_RECORD*) + 100 (libcoreclr.dylib + 228848) [0x136473df0]
1 SEHProcessException(PAL_SEHException*) + 336 (libcoreclr.dylib + 32060) [0x136443d3c]
1 HandleHardwareException(PAL_SEHException*) + 396 (libcoreclr.dylib + 2330280) [0x136674ea8]
1 Debugger::FirstChanceNativeException(_EXCEPTION_RECORD*, _CONTEXT*, unsigned int, Thread*, int) + 144 (libcoreclr.dylib + 3210168) [0x13674bbb8]
1 DebuggerController::DispatchNativeException(_EXCEPTION_RECORD*, _CONTEXT*, unsigned int, Thread*) + 560 (libcoreclr.dylib + 3159184) [0x13673f490]
1 <Frontmost App, User mode, Effective Thread QoS User Interactive, Requested Thread QoS User Interactive>
1 RestoreCompleteContext + 0 (libcoreclr.dylib + 227764) [0x1364739b4]
1 <User mode, Effective Thread QoS User Interactive, Requested Thread QoS User Interactive>
13 tiny_malloc_from_free_list.cold.2 + 0 (libsystem_malloc.dylib + 193172) [0x1876b1294]
6 <User mode, Effective Thread QoS User Interactive, Requested Thread QoS User Interactive>
6 <Effective Thread QoS User Interactive, Requested Thread QoS User Interactive>
1 <Frontmost App, Effective Thread QoS User Interactive, Requested Thread QoS User Interactive>
1 ??? (Godot + 8007608) [0x104b62fb8]
1 ??? (Godot + 25258112) [0x105bd6880]
1 ??? (Godot + 26452620) [0x105cfa28c]
1 ??? (Godot + 23629636) [0x105a48f44]
1 ??? (Godot + 39978140) [0x1069e049c]
1 ??? (Godot + 67178144) [0x1083d0ea0]
1 ??? (Godot + 38644848) [0x10689ac70]
1 ??? (Godot + 36723036) [0x1066c595c]
1 ??? (Godot + 50150456) [0x107393c38]
1 ??? (Godot + 36875632) [0x1066ead70]
1 ??? (Godot + 36652732) [0x1066b46bc]
1 ??? (Godot + 67186692) [0x1083d3004]
1 DYLD-STUB$$_platform_memset + 8 (libsystem_malloc.dylib + 193416) [0x1876b1388]
1 <Frontmost App, User mode, Effective Thread QoS User Interactive, Requested Thread QoS User Interactive>
Binary Images:
0x1043c0000 - 0x10a6c7fff org.godotengine.godot 4.3 (4.3) <840012F8-2C4D-3FA8-BD51-109B3F8651D5> /Applications/Godot 4.3 dev 5.app/Contents/MacOS/Godot
0x13643c000 - 0x13692ffff libcoreclr.dylib (0) <43B09202-812A-3BCB-B5FF-CB4829A9C699> /usr/local/share/dotnet/shared/Microsoft.NETCore.App/8.0.0/libcoreclr.dylib
0x1874e7000 - 0x18757b347 dyld (1125.5) <324E4AD9-E01F-3183-B09F-3E20B326643A> /usr/lib/dyld
0x187682000 - 0x1876b8fff libsystem_malloc.dylib (474.0.13) <690A8B04-8E64-3332-B5A5-56A3D5C1C43F> /usr/lib/system/libsystem_malloc.dylib
0x1876b9000 - 0x1876fffff libdispatch.dylib (1462.0.4) <A53D555D-F748-3010-83FE-385C660A81BD> /usr/lib/system/libdispatch.dylib
0x18782c000 - 0x187866fff libsystem_kernel.dylib (10002.61.3) <CA94FC21-BC40-3B43-B65D-B87ECE9E1D48> /usr/lib/system/libsystem_kernel.dylib
0x187867000 - 0x187873ff3 libsystem_pthread.dylib (519) <A7D94C96-7B1F-3229-9BEA-048D037C3292> /usr/lib/system/libsystem_pthread.dylib
Godot 4.3 dev 5
)Much like OP, any empty project will replicate this issue. I've tried different naming conventions for the project but no changes otherwise. Project is set-up on Forward+ rendering and structured to use Git.
Okay so I've tried loading the editor through command line on the empty project I generated for my above report. This time, it crashed immediately. I've attached the full crash report, and I've put the output from the terminal below.
lyes@Lyes-MBP MacOS % ./Godot --verbose --path "/Users/lyes/Documents/Development Projects/Godot 4/fields-of-signed-distance" --editor
Godot Engine v4.3.dev5.mono.official.89f70e98d - https://godotengine.org
TextServer: Added interface "Dummy"
TextServer: Added interface "ICU / HarfBuzz / Graphite (Built-in)"
[mvk-info] MoltenVK version 1.2.7, supporting Vulkan version 1.2.275.
The following 108 Vulkan extensions are supported:
VK_KHR_16bit_storage v1
VK_KHR_8bit_storage v1
VK_KHR_bind_memory2 v1
VK_KHR_buffer_device_address v1
VK_KHR_calibrated_timestamps v1
VK_KHR_copy_commands2 v1
VK_KHR_create_renderpass2 v1
VK_KHR_dedicated_allocation v3
VK_KHR_deferred_host_operations v4
VK_KHR_depth_stencil_resolve v1
VK_KHR_descriptor_update_template v1
VK_KHR_device_group v4
VK_KHR_device_group_creation v1
VK_KHR_driver_properties v1
VK_KHR_dynamic_rendering v1
VK_KHR_external_fence v1
VK_KHR_external_fence_capabilities v1
VK_KHR_external_memory v1
VK_KHR_external_memory_capabilities v1
VK_KHR_external_semaphore v1
VK_KHR_external_semaphore_capabilities v1
VK_KHR_fragment_shader_barycentric v1
VK_KHR_format_feature_flags2 v2
VK_KHR_get_memory_requirements2 v1
VK_KHR_get_physical_device_properties2 v2
VK_KHR_get_surface_capabilities2 v1
VK_KHR_imageless_framebuffer v1
VK_KHR_image_format_list v1
VK_KHR_incremental_present v2
VK_KHR_maintenance1 v2
VK_KHR_maintenance2 v1
VK_KHR_maintenance3 v1
VK_KHR_map_memory2 v1
VK_KHR_multiview v1
VK_KHR_portability_subset v1
VK_KHR_push_descriptor v2
VK_KHR_relaxed_block_layout v1
VK_KHR_sampler_mirror_clamp_to_edge v3
VK_KHR_sampler_ycbcr_conversion v14
VK_KHR_separate_depth_stencil_layouts v1
VK_KHR_shader_draw_parameters v1
VK_KHR_shader_float_controls v4
VK_KHR_shader_float16_int8 v1
VK_KHR_shader_non_semantic_info v1
VK_KHR_shader_subgroup_extended_types v1
VK_KHR_spirv_1_4 v1
VK_KHR_storage_buffer_storage_class v1
VK_KHR_surface v25
VK_KHR_swapchain v70
VK_KHR_swapchain_mutable_format v1
VK_KHR_synchronization2 v1
VK_KHR_timeline_semaphore v2
VK_KHR_uniform_buffer_standard_layout v1
VK_KHR_variable_pointers v1
VK_KHR_vertex_attribute_divisor v1
VK_EXT_4444_formats v1
VK_EXT_buffer_device_address v2
VK_EXT_calibrated_timestamps v2
VK_EXT_debug_marker v4
VK_EXT_debug_report v10
VK_EXT_debug_utils v2
VK_EXT_descriptor_indexing v2
VK_EXT_extended_dynamic_state v1
VK_EXT_extended_dynamic_state2 v1
VK_EXT_extended_dynamic_state3 v2
VK_EXT_external_memory_host v1
VK_EXT_fragment_shader_interlock v1
VK_EXT_hdr_metadata v2
VK_EXT_headless_surface v1
VK_EXT_host_query_reset v1
VK_EXT_image_robustness v1
VK_EXT_inline_uniform_block v1
VK_EXT_layer_settings v2
VK_EXT_memory_budget v1
VK_EXT_metal_objects v1
VK_EXT_metal_surface v1
VK_EXT_pipeline_creation_cache_control v3
VK_EXT_pipeline_creation_feedback v1
VK_EXT_post_depth_coverage v1
VK_EXT_private_data v1
VK_EXT_robustness2 v1
VK_EXT_sample_locations v1
VK_EXT_scalar_block_layout v1
VK_EXT_separate_stencil_usage v1
VK_EXT_shader_atomic_float v1
VK_EXT_shader_demote_to_helper_invocation v1
VK_EXT_shader_stencil_export v1
VK_EXT_shader_subgroup_ballot v1
VK_EXT_shader_subgroup_vote v1
VK_EXT_shader_viewport_index_layer v1
VK_EXT_subgroup_size_control v2
VK_EXT_surface_maintenance1 v1
VK_EXT_swapchain_colorspace v4
VK_EXT_swapchain_maintenance1 v1
VK_EXT_texel_buffer_alignment v1
VK_EXT_texture_compression_astc_hdr v1
VK_EXT_vertex_attribute_divisor v3
VK_AMD_gpu_shader_half_float v2
VK_AMD_negative_viewport_height v1
VK_AMD_shader_image_load_store_lod v1
VK_AMD_shader_trinary_minmax v1
VK_IMG_format_pvrtc v1
VK_INTEL_shader_integer_functions2 v1
VK_GOOGLE_display_timing v1
VK_MVK_macos_surface v3
VK_MVK_moltenvk v37
VK_NV_fragment_shader_barycentric v1
VK_NV_glsl_shader v1
[mvk-info] GPU device:
model: Apple M2 Pro
type: Integrated
vendorID: 0x106b
deviceID: 0xe0203f0
pipelineCacheUUID: 66F6FF1E-0E02-03F0-0000-000000000000
GPU memory available: 10922 MB
GPU memory used: 0 MB
supports the following Metal Versions, GPU's and Feature Sets:
Metal Shading Language 3.1
GPU Family Apple 8
GPU Family Apple 7
GPU Family Apple 6
GPU Family Apple 5
GPU Family Apple 4
GPU Family Apple 3
GPU Family Apple 2
GPU Family Apple 1
GPU Family Mac 2
GPU Family Mac 1
GPU Family Common 3
GPU Family Common 2
GPU Family Common 1
macOS GPU Family 2 v1
macOS GPU Family 1 v4
macOS GPU Family 1 v3
macOS GPU Family 1 v2
macOS GPU Family 1 v1
[mvk-info] Created VkInstance for Vulkan version 1.2.0, as requested by app, with the following 4 Vulkan extensions enabled:
VK_KHR_get_physical_device_properties2 v2
VK_KHR_surface v25
VK_EXT_debug_utils v2
VK_EXT_metal_surface v1
Devices:
#0: Apple Apple M2 Pro - Supported, Integrated
Optional extension VK_KHR_fragment_shading_rate not found
- Vulkan Variable Rate Shading not supported
- Vulkan multiview supported:
max view count: 32
max instances: 134217727
- Vulkan subgroup:
size: 32
min size: 32
max size: 32
stages: STAGE_TESSELLATION_CONTROL, STAGE_FRAGMENT, STAGE_COMPUTE
supported ops: FEATURE_BASIC, FEATURE_VOTE, FEATURE_ARITHMETIC, FEATURE_BALLOT, FEATURE_SHUFFLE, FEATURE_SHUFFLE_RELATIVE, FEATURE_QUAD
quad operations in all stages
[mvk-info] Vulkan semaphores using MTLEvent.
[mvk-info] Created VkDevice to run on GPU Apple M2 Pro with the following 10 Vulkan extensions enabled:
VK_KHR_16bit_storage v1
VK_KHR_create_renderpass2 v1
VK_KHR_image_format_list v1
VK_KHR_maintenance2 v1
VK_KHR_multiview v1
VK_KHR_shader_float16_int8 v1
VK_KHR_storage_buffer_storage_class v1
VK_KHR_swapchain v70
VK_EXT_pipeline_creation_cache_control v3
VK_EXT_subgroup_size_control v2
Vulkan 1.2.275 - Forward+ - Using Device #0: Apple - Apple M2 Pro
Startup PSO cache (0.0 MiB)
Using present mode: Enabled
[mvk-info] Created 3 swapchain images with size (3024, 1692) and contents scale 2.0 in layer CAMetalLayer: GodotContentView (0x6000023fd410) on screen Built-in Retina Display.
Using "default" pen tablet driver...
Creating VMA small objects pool for memory type index 0
Shader 'CanvasSdfShaderRD' (group 0) SHA256: 50b872a974aec3889a3c46484034547be3ae5c66be376bb26d9e41fc2dfea51f
Shader 'SkeletonShaderRD' (group 0) SHA256: 607a462b72063e8c81dc7b237e49cd81454f471f7734d024206ed6a3e8b68993
Shader 'SortShaderRD' (group 0) SHA256: 38e695caba4b4b8c258f70585b527f7af420b9a78fc6abfd8c9666382a1e42b4
Shader 'ParticlesShaderRD' (group 0) SHA256: 2f411ba3b39f7ab39f4625a87b147da82eedc705e4e4975e4c8e81c53b6c102f
Shader 'ParticlesCopyShaderRD' (group 0) SHA256: c5d6a54d674c5e0b2f309d5216079efca8b5db75064686b378deab853563469c
Shader 'CanvasShaderRD' (group 0) SHA256: aa0223a61e2028f75af004fb0838e4ccad30d4cfd12bef95ee70dfaf2d3e5f09
Shader 'CanvasOcclusionShaderRD' (group 0) SHA256: 0ebda9e6fb68a3680f50b0f32c878adae659cbe37053c19167d6aa372cd97649
Shader 'ClusterRenderShaderRD' (group 0) SHA256: 66d62439cbf66de7729cebaaf8b689a497d91f1a916a106c4fdbc8e558651536
Shader 'ClusterStoreShaderRD' (group 0) SHA256: 22cb06d54a244f7596b9c5c43dc5f8e985a89cbfd8b86870a5a22194851b99b2
Shader 'ClusterDebugShaderRD' (group 0) SHA256: 0974f8fc34db232b63b7b7141122af3cdf19f5e2c6f68715ca41e47b9427da8e
Shader 'SceneForwardClusteredShaderRD' (group 0) SHA256: d635add608e1da8fb70af370a80646257086170404cc8a8aa7c12540879ddbd6
Shader 'SceneForwardClusteredShaderRD' (group 1) SHA256: e40bdd0171ac96593aa1fcef2a90c3c20c125ab07d52958dfbac13b9647498b5
Shader 'SceneForwardClusteredShaderRD' (group 2) SHA256: 0d40f721b015004948303339676ff2a6316f7edcc3d28950c883d7f476f19f20
Shader 'SceneForwardClusteredShaderRD' (group 3) SHA256: 3eab3972e31b3dac2b5a725e49bbe1e7cde46e2979fd1a1aa8df2c627fefb060
Shader 'BestFitNormalShaderRD' (group 0) SHA256: e1d5b1a60c01777df51299e9744933b311f34285ad23ffad81ddb37119026aa0
Shader 'ResolveShaderRD' (group 0) SHA256: 7cf06ed16360fe2d2cf3b8d66537d50f8afe96c944758d0db5ee601e5d665042
Shader 'TaaResolveShaderRD' (group 0) SHA256: ce1881806a65b899e05ade34e0e69d29fe1093848ac5eb43a197eeab944f4432
Shader 'Fsr2DepthClipPassShaderRD' (group 0) SHA256: da63416457edd4fed220fe873d1c0536f9c039efce3e98bb698175a950e0afb0
Shader 'Fsr2ReconstructPreviousDepthPassShaderRD' (group 0) SHA256: 9efdb77db3576fc0327cfe528d54030032c4e4ef4e8f9bcc1a999098a6b1725e
Shader 'Fsr2LockPassShaderRD' (group 0) SHA256: f8068ae40e37e5281ddfec0dbd5eb1ac21b98b22ca6550c76ab6a5b7be4e766c
Shader 'Fsr2AccumulatePassShaderRD' (group 0) SHA256: cdc40dd222f3995cd441698b31f861eac847896f8b7fe2dbc6015165e9b8f2dc
Shader 'Fsr2RcasPassShaderRD' (group 0) SHA256: 90caf217641a4f7d7138ea545d5764b80a8a3ede84ca03980068cbd316fba288
Shader 'Fsr2ComputeLuminancePyramidPassShaderRD' (group 0) SHA256: 1739145850059e27ca62757f03ecef1fb26ac4f3a33a25517b4d707d3c301ac3
Shader 'Fsr2AutogenReactivePassShaderRD' (group 0) SHA256: c16de414129ac6ebab44fa90fbe29a1017a22039206c69c6f8cb5a5df6e74f75
Shader 'Fsr2TcrAutogenPassShaderRD' (group 0) SHA256: c5bb03fbcfd66ea6dee0c6b289f387924a31aff2a1afc4f721713f16e794a4ac
Shader 'SsEffectsDownsampleShaderRD' (group 0) SHA256: 7bad6d51527303478fb83c5040ed2ffecc51530225c2a46ffbc0c4526a935515
Shader 'SsilShaderRD' (group 0) SHA256: a5d78d99d26124605968faae03b30d65f0024a337329943ce3e9505b91d0a1c1
Shader 'SsilImportanceMapShaderRD' (group 0) SHA256: 45ac2b4d06543225d1e4e00de6effe6c9c908abcf5a14a685bb669d9dc46f120
Shader 'SsilBlurShaderRD' (group 0) SHA256: 15aadc46ab50f3fc28af6292eaa19a749dc2b0a3cd5f73e29a7c89de58635524
Shader 'SsilInterleaveShaderRD' (group 0) SHA256: d2676811b5bf2de306cfc2fa9b3b49c24fab8bd65d16e9d2dbec01a02420e6b0
Shader 'SsaoShaderRD' (group 0) SHA256: 13f0e3f379e153e983275a7dcc423ebc0c6a3afbdcb29bdc541ca7501bfebbe4
Shader 'SsaoImportanceMapShaderRD' (group 0) SHA256: 63176bbd97f52ffed67747e5c7da9966ac329ed267f41586477b63029516ecd5
Shader 'SsaoBlurShaderRD' (group 0) SHA256: de65ee4b8ebef45b0f6d26dfb10698529d30668405c43630f5af788c1f8381bb
Shader 'SsaoInterleaveShaderRD' (group 0) SHA256: fcbf0cd5856e1e0a0ba26a6e0b2ef3a6e03446a7f42e3288623e9a250bbf42c5
Shader 'ScreenSpaceReflectionScaleShaderRD' (group 0) SHA256: b7ff23f16d4b1f02ff0faa698817e9d1c3e43228e7f1d3bc3b373ed4d2a7f894
Shader 'ScreenSpaceReflectionShaderRD' (group 0) SHA256: 20c466c8e92198ec1d4eb7dbe0a1cf7961cbed48db1ed9becf7234fcc69a6131
Shader 'ScreenSpaceReflectionFilterShaderRD' (group 0) SHA256: 754e450fe74087cb0e005a2503957ebf2af3520840b4f4074f453cc42e4f2fd8
Shader 'SubsurfaceScatteringShaderRD' (group 0) SHA256: acc077c9eff729f9be7eb78215c7266cf81729ee5840fce76769ce1c7653c667
Shader 'SkyShaderRD' (group 0) SHA256: 6fda66cd38e38137fe7e113964aab5b3726fb0c1e1c97c9e5b7af85b4d69df20
Shader 'VoxelGiShaderRD' (group 0) SHA256: 58f145e2b365e4920cd2fd8c52257ab28ed719dec794b583011ffed06a343f9f
Shader 'VoxelGiDebugShaderRD' (group 0) SHA256: 37b3a801eb69068d866256b5d7b167e6cc39b2d9ed740d4ca3a3ba994d1868d5
Shader 'SdfgiPreprocessShaderRD' (group 0) SHA256: 2e7e73d018d35d8bc3373ba83f9e69977e8ade27f299b7eaaeb11daa1563dccf
Shader 'SdfgiDirectLightShaderRD' (group 0) SHA256: 5940757f5b78307e4d6d144a879aeb5e7f6e96eadbc49179e6cade485ed56c22
Shader 'SdfgiIntegrateShaderRD' (group 0) SHA256: c2a252256d37294e19c16c4807ff70174166bb713a286f0b6a458e727022ad22
Shader 'GiShaderRD' (group 0) SHA256: bd17ee3960865e886b625a7c544be7fb7303e012527b0e515c09601ff05baa57
Shader 'SdfgiDebugShaderRD' (group 0) SHA256: 2ebe374a439b24c409a43732d871f341d0f45f305dd4ca75c1f90d2fa22006d7
Shader 'SdfgiDebugProbesShaderRD' (group 0) SHA256: d281fe853c825eb2c5c6ef4a8592e7288511883506e848f65eee97b952bb15a5
Shader 'VolumetricFogShaderRD' (group 0) SHA256: 2f91ed845d9905b0e758670e8a86b7f0fa2fbad667dacac927cb409b89282c92
Shader 'VolumetricFogProcessShaderRD' (group 0) SHA256: d77a441ee0d7e3cc49f73ea3b29ab813ff9ed73f7ff6f17bd0c8b457826da053
Shader 'BokehDofShaderRD' (group 0) SHA256: 48ef129b5f1bcda82c4690aa5421de284b0eecb75cfcba458ed2d467b21e12f8
Shader 'CopyShaderRD' (group 0) SHA256: 66d198ad28ba2910ee16d78dd44730cdc33df856930ad39f1b6aa2e47af05808
Shader 'CopyToFbShaderRD' (group 0) SHA256: a04b6d709f5b8d285d30cb132ddf5771205e9944041d4ae6b676a837c6465457
Shader 'CubeToDpShaderRD' (group 0) SHA256: 1a37b738b6c0ae94185c1170d3d64d4f5e3d2286aa25596e00c24ecbc5492493
Shader 'CubemapDownsamplerShaderRD' (group 0) SHA256: 9b77a233f11ed1538925e4a565feb4b9f774a04967238785fb40a6b4d06fee6f
Shader 'CubemapFilterShaderRD' (group 0) SHA256: 8a1cecd56ada9ff5406e30184b0bad11469227c857525dd161a3f931b3bbd988
Shader 'CubemapRoughnessShaderRD' (group 0) SHA256: 9a6653552e8cf12c927f57cb03d4f7c1a11f8d10d5752b9bbd9da3e3d6be7a8e
Shader 'SpecularMergeShaderRD' (group 0) SHA256: d8abb29989769b0c2e95b04ebd85e6fe8cc66abb7f67136708c2a68ec12eb45d
Shader 'ShadowFrustumShaderRD' (group 0) SHA256: d22e56608a6b25f7894a01a588f14e2205f53f941d9936b9297cbf9fcad878ae
Shader 'MotionVectorsShaderRD' (group 0) SHA256: 939b07e7fad7d4a3d9e4800993adb38735e92dda4c59037ccbba892846689ed9
Shader 'LuminanceReduceShaderRD' (group 0) SHA256: 49d53988c66ef7fc8b5398ee15349d9c2d075c165d18dc876b239d3dfa1623c4
Shader 'TonemapShaderRD' (group 0) SHA256: 505a2068c488354cc76a52fb73039e1acba423e35cdd087fcbdec52c3c7b3778
Shader 'FsrUpscaleShaderRD' (group 0) SHA256: 5d892c31f7428e335be2498a0515cca6c5e181088373b8edfa08faf0bda72167
Shader 'BlitShaderRD' (group 0) SHA256: 396acf2e3e09605c3574f3d66637b3f602e874bfe886394705e7652ecf41f1df
CoreAudio: detected 2 channels
CoreAudio: audio buffer frames: 512 calculated latency: 11ms
TextServer: Primary interface set to: "ICU / HarfBuzz / Graphite (Built-in)".
2024-03-19 23:52:04.115 Godot[34096:2654671] WARNING: AVCaptureDeviceTypeExternal is deprecated for Continuity Cameras. Please use AVCaptureDeviceTypeContinuityCamera and add NSCameraUseContinuityCameraDeviceType to your Info.plist.
CameraServer: Registered camera FaceTime HD Camera with ID 1 and position 0 at index 0
CameraServer: Registered camera Lyes’s iPhone Camera with ID 2 and position 0 at index 1
.NET: Initializing module...
Found hostfxr: /usr/local/share/dotnet/host/fxr/8.0.0/libhostfxr.dylib
.NET: hostfxr initialized
.NET: GodotPlugins initialized
.NET: Failed to load project assembly
CORE API HASH: 1677737928
EDITOR API HASH: 3100956579
EditorSettings: Load OK!
EditorTheme: Generating new theme for the config '608616151'.
EditorTheme: Generating new icons.
EditorTheme: Generating new fonts.
EditorTheme: Generating new styles.
Found .NET Sdk version '8.0.100': /usr/local/share/dotnet/sdk/8.0.100
zsh: bus error ./Godot --verbose --path --editor
It gets as far as finding the .NET SDK and then crashed. From the crash report, it specifically notes this as causing the problem:
VM Region Info: 0x6e00003f4a is in 0x1000000000-0x7000000000; bytes after start: 403726942026 bytes before end: 8589918389
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
commpage (reserved) fc0000000-1000000000 [ 1.0G] ---/--- SM=NUL ...(unallocated)
---> GPU Carveout (reserved) 1000000000-7000000000 [384.0G] ---/--- SM=NUL ...(unallocated)
GAP OF 0x5f9000000000 BYTES
MALLOC_NANO
Application Specific Information:
BUG IN CLIENT OF LIBPLATFORM: Trying to recursively lock an os_unfair_lock
Abort Cause 37907
The report specifically points to thread 28. The dump of this thread is as follows:
Thread 28 Crashed:
0 libsystem_malloc.dylib 0x1876889fc tiny_free_list_add_ptr + 332
1 libsystem_malloc.dylib 0x187686148 tiny_malloc_from_free_list + 1420
2 libsystem_malloc.dylib 0x18768553c tiny_malloc_should_clear + 288
3 libsystem_malloc.dylib 0x1876842c8 szone_malloc_should_clear + 92
4 libcoreclr.dylib 0x1602cf834 operator new[](unsigned long) + 12
5 libcoreclr.dylib 0x1600ee7ec PgoManager::getPgoInstrumentationResultsFromR2RFormat(ReadyToRunInfo*, Module*, PEDecoder*, unsigned char*, unsigned long, unsigned char**, ICorJitInfo::PgoInstrumentationSchema**, unsigned int*, unsigned char**) + 404
6 libcoreclr.dylib 0x16013b190 ReadyToRunInfo::GetPgoInstrumentationData(MethodDesc*, unsigned char**, ICorJitInfo::PgoInstrumentationSchema**, unsigned int*, unsigned char**) + 648
7 libcoreclr.dylib 0x1600ee4d0 PgoManager::getPgoInstrumentationResultsInstance(MethodDesc*, unsigned char**, ICorJitInfo::PgoInstrumentationSchema**, unsigned int*, unsigned char**, ICorJitInfo::PgoSource*) + 532
8 libcoreclr.dylib 0x1600bfc6c CEEJitInfo::getPgoInstrumentationResults(CORINFO_METHOD_STRUCT_*, ICorJitInfo::PgoInstrumentationSchema**, unsigned int*, unsigned char**, ICorJitInfo::PgoSource*) + 184
9 libclrjit.dylib 0x12fa21bfc Compiler::compInitOptions(JitFlags*) + 496
10 libclrjit.dylib 0x12fa24ab8 Compiler::compCompileHelper(CORINFO_MODULE_STRUCT_*, ICorJitInfo*, CORINFO_METHOD_INFO*, void**, unsigned int*, JitFlags*) + 172
11 libclrjit.dylib 0x12fa244cc Compiler::compCompile(CORINFO_MODULE_STRUCT_*, void**, unsigned int*, JitFlags*) + 1008
12 libclrjit.dylib 0x12fa25a44 jitNativeCode(CORINFO_METHOD_STRUCT_*, CORINFO_MODULE_STRUCT_*, ICorJitInfo*, CORINFO_METHOD_INFO*, void**, unsigned int*, JitFlags*, void*) + 416
13 libclrjit.dylib 0x12fa2a064 CILJit::compileMethod(ICorJitInfo*, CORINFO_METHOD_INFO*, unsigned int, unsigned char**, unsigned int*) + 120
14 libcoreclr.dylib 0x1600c04d8 invokeCompileMethodHelper(EEJitManager*, CEEInfo*, CORINFO_METHOD_INFO*, CORJIT_FLAGS, unsigned char**, unsigned int*) + 324
15 libcoreclr.dylib 0x1600c0698 invokeCompileMethod(EEJitManager*, CEEInfo*, CORINFO_METHOD_INFO*, CORJIT_FLAGS, unsigned char**, unsigned int*) + 168
16 libcoreclr.dylib 0x1600c106c UnsafeJitFunction(PrepareCodeConfig*, COR_ILMETHOD_DECODER*, CORJIT_FLAGS*, unsigned int*) + 1840
17 libcoreclr.dylib 0x1600f4bbc MethodDesc::JitCompileCodeLocked(PrepareCodeConfig*, COR_ILMETHOD_DECODER*, ListLockEntryBase<NativeCodeVersion>*, unsigned int*) + 208
18 libcoreclr.dylib 0x1600f4658 MethodDesc::JitCompileCodeLockedEventWrapper(PrepareCodeConfig*, ListLockEntryBase<NativeCodeVersion>*) + 832
19 libcoreclr.dylib 0x1600f3ddc MethodDesc::JitCompileCode(PrepareCodeConfig*) + 460
20 libcoreclr.dylib 0x1600f38c0 MethodDesc::PrepareILBasedCode(PrepareCodeConfig*) + 700
21 libcoreclr.dylib 0x160120ed4 TieredCompilationManager::CompileCodeVersion(NativeCodeVersion) + 228
22 libcoreclr.dylib 0x16012056c TieredCompilationManager::DoBackgroundWork(unsigned long long*, unsigned long long, unsigned long long) + 520
23 libcoreclr.dylib 0x16011fe28 TieredCompilationManager::BackgroundWorkerStart() + 280
24 libcoreclr.dylib 0x16011fc34 TieredCompilationManager::BackgroundWorkerBootstrapper1(void*) + 108
25 libcoreclr.dylib 0x16011c9c4 ManagedThreadBase_DispatchOuter(ManagedThreadCallState*) + 256
26 libcoreclr.dylib 0x16011cf1c ManagedThreadBase::KickOff(void (*)(void*), void*) + 32
27 libcoreclr.dylib 0x16011fb44 TieredCompilationManager::BackgroundWorkerBootstrapper0(void*) + 40
28 libcoreclr.dylib 0x160035b00 CorUnix::CPalThread::ThreadEntry(void*) + 380
29 libsystem_pthread.dylib 0x18786e034 _pthread_start + 136
30 libsystem_pthread.dylib 0x187868e3c thread_start + 8
This is probably fixed by #89861. Please test the upcoming 4.3-dev6 to confirm.
Seems to work fine now in 4.3-dev6.
Tested versions
System information
Godot v4.3.dev5.mono - macOS 14.4.0 - Vulkan (Forward+) - dedicated AMD Radeon Pro 5500M - Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 Threads)
Issue description
When quitting the editor or going back to the project list, it crashes. Here's the output from the Apple crash reporter. I didn't include the full report because I hit the maximum characters limit for this field.
When opening a project, it sometimes crashes. Here's the output from Apple crash reporter. I didn't include the full report because I hit the maximum characters limit for this field.
Steps to reproduce
Crash on exit
Crash on open:
Minimal reproduction project (MRP)
Any empty project will work