You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ArmorPaint crashes with "signal SIGSEGV: invalid address (fault address: 0x0)".
I tried the open source version of the driver (RADV) and AMD's proprietary version of the driver (AMDVLK), both of which failed.
GPU driver and GPU supports Vulkan raytracing because raytracing example of this worked successfully.
Here is the backtrace information I got from LLDB.
* thread #1, name = 'ArmorPaint', stop reason = signal SIGSEGV: invalid address (fault address: 0x0)
* frame #0: 0x00007ffff22f19c9 libvulkan_radeon.so`radv_generate_ray_tracing_state_key [inlined] radv_create_group_handles at radv_pipeline_rt.c:146:13
frame #1: 0x00007ffff22f190a libvulkan_radeon.so`radv_generate_ray_tracing_state_key [inlined] radv_rt_fill_group_info at radv_pipeline_rt.c:213:22
frame #2: 0x00007ffff22f190a libvulkan_radeon.so`radv_generate_ray_tracing_state_key at radv_pipeline_rt.c:1002:13
frame #3: 0x00007ffff22f2089 libvulkan_radeon.so`radv_CreateRayTracingPipelinesKHR [inlined] radv_rt_pipeline_create at radv_pipeline_rt.c:1086:13
frame #4: 0x00007ffff22f1ff1 libvulkan_radeon.so`radv_CreateRayTracingPipelinesKHR at radv_pipeline_rt.c:1188:11
frame #5: 0x00007fffe8a18eed libVkLayer_khronos_validation.so`DispatchCreateRayTracingPipelinesKHR(VkDevice_T*, VkDeferredOperationKHR_T*, VkPipelineCache_T*, unsigned int, VkRayTracingPipelineCreateInfoKHR const*, VkAllocationCallbacks const*, VkPipeline_T**) at layer_chassis_dispatch_manual.cpp:1169:85
frame #6: 0x00007fffe8cee96d libVkLayer_khronos_validation.so`vulkan_layer_chassis::CreateRayTracingPipelinesKHR(VkDevice_T*, VkDeferredOperationKHR_T*, VkPipelineCache_T*, unsigned int, VkRayTracingPipelineCreateInfoKHR const*, VkAllocationCallbacks const*, VkPipeline_T**) at chassis.cpp:988:54
frame #7: 0x0000555555befb2c ArmorPaint`kinc_raytrace_pipeline_init(pipeline=0x00005555566343f0, command_list=0x0000555556763b58, ray_shader=0x0000555558f88720, ray_shader_size=19384, constant_buffer=0x0000555556634390) at raytrace.c.h:247:3
frame #8: 0x00005555559f1071 ArmorPaint`iron_raytrace_init(shader=0x0000555558f86490) at iron.h:3004:2
frame #9: 0x0000555555a80582 ArmorPaint`render_path_raytrace_raytrace_init(shader_name="raytrace_brute_core.spirv", build=true) at iron.c:31215:3
frame #10: 0x0000555555a9c560 ArmorPaint`render_path_raytrace_commands(use_live_layer=false) at iron.c:31146:3
frame #11: 0x0000555555a4fbd1 ArmorPaint`render_path_raytrace_draw(use_live_layer=false) at iron.c:31254:2
frame #12: 0x0000555555a4f8e7 ArmorPaint`render_path_base_commands(draw_commands=(ArmorPaint`render_path_deferred_draw_deferred at iron.c:26886)) at iron.c:16843:3
frame #13: 0x0000555555a891c5 ArmorPaint`render_path_deferred_commands at iron.c:26883:2
frame #14: 0x0000555555a1b456 ArmorPaint`render_path_render_frame at iron.c:8942:2
frame #15: 0x0000555555a0936c ArmorPaint`camera_object_render_frame(raw=0x0000555558952ae0) at iron.c:5504:2
frame #16: 0x0000555555a11a2e ArmorPaint`scene_render_frame at iron.c:6998:21
frame #17: 0x0000555555a1f8ef ArmorPaint`app_render at iron.c:10137:2
frame #18: 0x0000555555a135e6 ArmorPaint`sys_render_callback at iron.c:7386:3
frame #19: 0x00005555559eb9b6 ArmorPaint`_update(data=0x0000000000000000) at iron.h:487:2
frame #20: 0x0000555555c08732 ArmorPaint`kinc_internal_update_callback at system.h:427:3
frame #21: 0x0000555555c08a09 ArmorPaint`kinc_internal_frame at system.h:522:2
frame #22: 0x0000555555c08a30 ArmorPaint`kinc_start at system.h:537:9
frame #23: 0x0000555555a0866b ArmorPaint`_kickstart at iron.c:5374:2
frame #24: 0x00005555559e4dee ArmorPaint`kickstart(argc=1, argv=0x00007fffffffd8a8) at iron.h:304:2
frame #25: 0x0000555555bff102 ArmorPaint`main(argc=1, argv=0x00007fffffffd8a8) at system.c.h:200:9
frame #26: 0x00007ffff70e4e08 libc.so.6`__libc_start_call_main(main=(ArmorPaint`main at system.c.h:199), argc=1, argv=0x00007fffffffd8a8) at libc_start_call_main.h:58:16
frame #27: 0x00007ffff70e4ecc libc.so.6`__libc_start_main_impl(main=(ArmorPaint`main at system.c.h:199), argc=1, argv=0x00007fffffffd8a8, init=<unavailable>, fini=<unavailable>, rtld_fini=<unavailable>, stack_end=0x00007fffffffd898) at libc-start.c:360:3
frame #28: 0x00005555555f8785 ArmorPaint`_start + 37
Steps to reproduce:
Clone this repository.
Move armortools/armorpaint.
Run ../armorcore/make --graphics vulkan --run
Segmentation fault
The text was updated successfully, but these errors were encountered:
ArmorPaint version:
858e402
(also happened in the official alpha 1.0 binary)
OS / GPU model:
ArchLinux x86_64 kernel 6.12.8-arch1-1
Radeon RX 7900XTX
(RADV 24.3.3, AMDVLK 24.20_2044449)
Issue description:
ArmorPaint crashes with "signal SIGSEGV: invalid address (fault address: 0x0)".
I tried the open source version of the driver (RADV) and AMD's proprietary version of the driver (AMDVLK), both of which failed.
GPU driver and GPU supports Vulkan raytracing because raytracing example of this worked successfully.
Here is the backtrace information I got from LLDB.
Steps to reproduce:
armortools/armorpaint
.../armorcore/make --graphics vulkan --run
The text was updated successfully, but these errors were encountered: