My system: Linux archlinux 4.15.6-1-ARCH #1 SMP PREEMPT Sun Feb 25 12:53:23 UTC 2018 x86_64 GNU/Linux
My graphics: Intel(R) HD Graphics 630 (Kaby Lake GT2)
My vulkaninfo: https://pastebin.com/b38SHK6Z
Problematic function: https://pastebin.com/vN2WjA1W
I turned on validation layers and got no errors during device creation, swapchain creation, etc. Then my scene loader loads 71961 objects and every one of them has corresponding secondary command buffer. The error "Program received signal SIGBUS, Bus error." happens inside vkCmdDrawIndexed() when recording 32765th command buffer. What is the possible cause?
Error happens inside libvulkan_intel.so:
0 in ?? of /usr/lib/libvulkan_intel.so
1 in ?? of /usr/lib/libvulkan_intel.so
2 in ?? of /usr/lib/libvulkan_intel.so
3 in ?? of /usr/lib/libvulkan_intel.so
4 in ?? of /usr/lib/libVkLayer_core_validation.so
5 in ?? of /usr/lib/libVkLayer_parameter_validation.so
6 in ?? of /usr/lib/libVkLayer_threading.so
7 in vkcmd_create_secondary_command_buffer of vkcmd.c:207
8 in vkcmd_create_secondary_command_buffer_for_inst of vkcmd.c:88
9 in scn_load_scene of scene.c:407
10 in create_scene of main.c:903
11 in main of main.c:583
The code works fine on my other system with nvidia GTX-1070.