{"action":"created","issue":{"url":"https://api.github.com/repos/krh/vkcube/issues/2","repository_url":"https://api.github.com/repos/krh/vkcube","labels_url":"https://api.github.com/repos/krh/vkcube/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/krh/vkcube/issues/2/comments","events_url":"https://api.github.com/repos/krh/vkcube/issues/2/events","html_url":"https://github.com/krh/vkcube/issues/2","id":134293486,"number":2,"title":"Segmentation fault - 0 physical devices","user":{"login":"paulcarroty","id":1550705,"avatar_url":"https://avatars.githubusercontent.com/u/1550705?v=3","gravatar_id":"","url":"https://api.github.com/users/paulcarroty","html_url":"https://github.com/paulcarroty","followers_url":"https://api.github.com/users/paulcarroty/followers","following_url":"https://api.github.com/users/paulcarroty/following{/other_user}","gists_url":"https://api.github.com/users/paulcarroty/gists{/gist_id}","starred_url":"https://api.github.com/users/paulcarroty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulcarroty/subscriptions","organizations_url":"https://api.github.com/users/paulcarroty/orgs","repos_url":"https://api.github.com/users/paulcarroty/repos","events_url":"https://api.github.com/users/paulcarroty/events{/privacy}","received_events_url":"https://api.github.com/users/paulcarroty/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-17T14:24:54Z","updated_at":"2016-02-20T19:06:40Z","closed_at":null,"body":"```\r\nexecve(\"/usr/bin/vkcube\", [\"vkcube\"], [/* 31 vars */]) = 0\r\nbrk(NULL)                               = 0x559674436000\r\nmmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0609182000\r\naccess(\"/etc/ld.so.preload\", R_OK)      = -1 ENOENT (No such file or directory)\r\nopen(\"/etc/ld.so.cache\", O_RDONLY|O_CLOEXEC) = 3\r\nfstat(3, {st_mode=S_IFREG|0644, st_size=91190, ...}) = 0\r\nmmap(NULL, 91190, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f060916b000\r\nclose(3)                                = 0\r\nopen(\"/lib64/libdrm.so.2\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0\\3006\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0755, st_size=60304, ...}) = 0\r\nmmap(NULL, 2157040, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0608d4f000\r\nmprotect(0x7f0608d5d000, 2093056, PROT_NONE) = 0\r\nmmap(0x7f0608f5c000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xd000) = 0x7f0608f5c000\r\nmmap(0x7f0608f5d000, 2544, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0608f5d000\r\nclose(3)                                = 0\r\nopen(\"/lib64/libwayland-client.so.0\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0\\300R\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0755, st_size=61640, ...}) = 0\r\nmmap(NULL, 2155304, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0608b40000\r\nmprotect(0x7f0608b4c000, 2097152, PROT_NONE) = 0\r\nmmap(0x7f0608d4c000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0x7f0608d4c000\r\nclose(3)                                = 0\r\nmmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f060916a000\r\nopen(\"/lib64/libgbm.so.1\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0`&\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0755, st_size=57576, ...}) = 0\r\nmmap(NULL, 2151272, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0608932000\r\nmprotect(0x7f060893e000, 2097152, PROT_NONE) = 0\r\nmmap(0x7f0608b3e000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xc000) = 0x7f0608b3e000\r\nclose(3)                                = 0\r\nopen(\"/lib64/libm.so.6\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\3\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0\\0V\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0755, st_size=1172888, ...}) = 0\r\nmmap(NULL, 3182832, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0608628000\r\nmprotect(0x7f0608731000, 2093056, PROT_NONE) = 0\r\nmmap(0x7f0608930000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x108000) = 0x7f0608930000\r\nclose(3)                                = 0\r\nopen(\"/lib64/tls/x86_64/libvulkan.so.1\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)\r\nstat(\"/lib64/tls/x86_64\", 0x7ffdbeaa1270) = -1 ENOENT (No such file or directory)\r\nopen(\"/lib64/tls/libvulkan.so.1\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)\r\nstat(\"/lib64/tls\", {st_mode=S_IFDIR|0555, st_size=4096, ...}) = 0\r\nopen(\"/lib64/x86_64/libvulkan.so.1\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)\r\nstat(\"/lib64/x86_64\", 0x7ffdbeaa1270)   = -1 ENOENT (No such file or directory)\r\nopen(\"/lib64/libvulkan.so.1\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0pC\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0755, st_size=137520, ...}) = 0\r\nmmap(NULL, 2228488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0608407000\r\nmprotect(0x7f0608426000, 2097152, PROT_NONE) = 0\r\nmmap(0x7f0608626000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1f000) = 0x7f0608626000\r\nclose(3)                                = 0\r\nopen(\"/lib64/libpng16.so.16\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0\\360O\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0755, st_size=206160, ...}) = 0\r\nmmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0609169000\r\nmmap(NULL, 2297864, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f06081d5000\r\nmprotect(0x7f0608206000, 2093056, PROT_NONE) = 0\r\nmmap(0x7f0608405000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x30000) = 0x7f0608405000\r\nmmap(0x7f0608406000, 8, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0608406000\r\nclose(3)                                = 0\r\nopen(\"/lib64/libxcb.so.1\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0\\320\\231\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0755, st_size=138520, ...}) = 0\r\nmmap(NULL, 2232488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0607fb3000\r\nmprotect(0x7f0607fd4000, 2093056, PROT_NONE) = 0\r\nmmap(0x7f06081d3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x20000) = 0x7f06081d3000\r\nclose(3)                                = 0\r\nopen(\"/lib64/libc.so.6\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\3\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0\\200\\t\\2\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0755, st_size=2178384, ...}) = 0\r\nmmap(NULL, 4020672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0607bdd000\r\nmprotect(0x7f0607da9000, 2097152, PROT_NONE) = 0\r\nmmap(0x7f0607fa9000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1cc000) = 0x7f0607fa9000\r\nmmap(0x7f0607faf000, 14784, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0607faf000\r\nclose(3)                                = 0\r\nopen(\"/lib64/libffi.so.6\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0\\360\\26\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0755, st_size=31720, ...}) = 0\r\nmmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0609168000\r\nmmap(NULL, 2127048, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f06079d5000\r\nmprotect(0x7f06079dc000, 2093056, PROT_NONE) = 0\r\nmmap(0x7f0607bdb000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f0607bdb000\r\nclose(3)                                = 0\r\nopen(\"/lib64/librt.so.1\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0\\20!\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0755, st_size=44056, ...}) = 0\r\nmmap(NULL, 2128800, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f06077cd000\r\nmprotect(0x7f06077d4000, 2093056, PROT_NONE) = 0\r\nmmap(0x7f06079d3000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6000) = 0x7f06079d3000\r\nclose(3)                                = 0\r\nopen(\"/lib64/libpthread.so.0\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0``\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0755, st_size=147112, ...}) = 0\r\nmmap(NULL, 2212904, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f06075b0000\r\nmprotect(0x7f06075c8000, 2093056, PROT_NONE) = 0\r\nmmap(0x7f06077c7000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x17000) = 0x7f06077c7000\r\nmmap(0x7f06077c9000, 13352, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f06077c9000\r\nclose(3)                                = 0\r\nopen(\"/lib64/libexpat.so.1\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0\\320<\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0755, st_size=181040, ...}) = 0\r\nmmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0609167000\r\nmmap(NULL, 2273288, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0607384000\r\nmprotect(0x7f06073ad000, 2093056, PROT_NONE) = 0\r\nmmap(0x7f06075ac000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x28000) = 0x7f06075ac000\r\nmmap(0x7f06075af000, 8, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f06075af000\r\nclose(3)                                = 0\r\nopen(\"/lib64/libdl.so.2\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0\\240\\r\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0755, st_size=19744, ...}) = 0\r\nmmap(NULL, 2109680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0607180000\r\nmprotect(0x7f0607183000, 2093056, PROT_NONE) = 0\r\nmmap(0x7f0607382000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f0607382000\r\nclose(3)                                = 0\r\nopen(\"/lib64/libwayland-server.so.0\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0\\0d\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0755, st_size=74232, ...}) = 0\r\nmmap(NULL, 2167848, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0606f6e000\r\nmprotect(0x7f0606f7e000, 2093056, PROT_NONE) = 0\r\nmmap(0x7f060717d000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xf000) = 0x7f060717d000\r\nclose(3)                                = 0\r\nopen(\"/lib64/libz.so.1\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0` \\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0755, st_size=89520, ...}) = 0\r\nmmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0609166000\r\nmmap(NULL, 2183272, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0606d58000\r\nmprotect(0x7f0606d6d000, 2093056, PROT_NONE) = 0\r\nmmap(0x7f0606f6c000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7f0606f6c000\r\nclose(3)                                = 0\r\nopen(\"/lib64/libXau.so.6\", O_RDONLY|O_CLOEXEC) = 3\r\nread(3, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0\\240\\r\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(3, {st_mode=S_IFREG|0755, st_size=15072, ...}) = 0\r\nmmap(NULL, 2109472, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f0606b54000\r\nmprotect(0x7f0606b56000, 2097152, PROT_NONE) = 0\r\nmmap(0x7f0606d56000, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f0606d56000\r\nmmap(0x7f0606d57000, 32, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0606d57000\r\nclose(3)                                = 0\r\nmmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0609165000\r\nmmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0609164000\r\nmmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0609163000\r\nmmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0609162000\r\narch_prctl(ARCH_SET_FS, 0x7f0609163700) = 0\r\nmprotect(0x7f0607fa9000, 16384, PROT_READ) = 0\r\nmprotect(0x7f0606d56000, 4096, PROT_READ) = 0\r\nmprotect(0x7f0606f6c000, 4096, PROT_READ) = 0\r\nmprotect(0x7f0608930000, 4096, PROT_READ) = 0\r\nmprotect(0x7f0607bdb000, 4096, PROT_READ) = 0\r\nmprotect(0x7f06077c7000, 4096, PROT_READ) = 0\r\nmprotect(0x7f06079d3000, 4096, PROT_READ) = 0\r\nmprotect(0x7f060717d000, 8192, PROT_READ) = 0\r\nmprotect(0x7f0607382000, 4096, PROT_READ) = 0\r\nmprotect(0x7f06075ac000, 12288, PROT_READ) = 0\r\nmprotect(0x7f06081d3000, 4096, PROT_READ) = 0\r\nmprotect(0x7f0608405000, 4096, PROT_READ) = 0\r\nmprotect(0x7f0608626000, 4096, PROT_READ) = 0\r\nmprotect(0x7f0608f5c000, 4096, PROT_READ) = 0\r\nmprotect(0x7f0608d4c000, 8192, PROT_READ) = 0\r\nmprotect(0x7f0608b3e000, 4096, PROT_READ) = 0\r\nmprotect(0x5596736af000, 4096, PROT_READ) = 0\r\nmprotect(0x7f0609183000, 4096, PROT_READ) = 0\r\nmunmap(0x7f060916b000, 91190)           = 0\r\nset_tid_address(0x7f06091639d0)         = 18499\r\nset_robust_list(0x7f06091639e0, 24)     = 0\r\nrt_sigaction(SIGRTMIN, {0x7f06075b5b00, [], SA_RESTORER|SA_SIGINFO, 0x7f06075c1420}, NULL, 8) = 0\r\nrt_sigaction(SIGRT_1, {0x7f06075b5b90, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f06075c1420}, NULL, 8) = 0\r\nrt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0\r\ngetrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM64_INFINITY}) = 0\r\nsocket(PF_LOCAL, SOCK_STREAM|SOCK_CLOEXEC, 0) = 3\r\nconnect(3, {sa_family=AF_LOCAL, sun_path=\"/run/user/1000/wayland-0\"}, 27) = 0\r\nbrk(NULL)                               = 0x559674436000\r\nbrk(0x559674457000)                     = 0x559674457000\r\nbrk(NULL)                               = 0x559674457000\r\nsendmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{\"\\1\\0\\0\\0\\1\\0\\f\\0\\2\\0\\0\\0\\1\\0\\0\\0\\0\\0\\f\\0\\3\\0\\0\\0\", 24}], msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 24\r\npoll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])\r\nrecvmsg(3, {msg_name(0)=NULL, msg_iov(1)=[{\"\\2\\0\\0\\0\\0\\0$\\0\\1\\0\\0\\0\\16\\0\\0\\0wl_compositor\\0\\0\\0\"..., 4096}], msg_controllen=0, msg_flags=MSG_CMSG_CLOEXEC}, MSG_DONTWAIT|MSG_CMSG_CLOEXEC) = 648\r\nfutex(0x7f0608627040, FUTEX_WAKE_PRIVATE, 2147483647) = 0\r\nopen(\"/etc/vulkan/explicit_layer.d\", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)\r\nopen(\"/usr/share/vulkan/explicit_layer.d\", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 5\r\nfstat(5, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0\r\ngetdents(5, /* 11 entries */, 32768)    = 472\r\naccess(\"/usr/share/vulkan/explicit_layer.d/..\", F_OK) = 0\r\naccess(\"/usr/share/vulkan/explicit_layer.d/.\", F_OK) = 0\r\naccess(\"/usr/share/vulkan/explicit_layer.d/VkLayer_param_checker.json\", F_OK) = 0\r\naccess(\"/usr/share/vulkan/explicit_layer.d/VkLayer_image.json\", F_OK) = 0\r\naccess(\"/usr/share/vulkan/explicit_layer.d/VkLayer_object_tracker.json\", F_OK) = 0\r\naccess(\"/usr/share/vulkan/explicit_layer.d/VkLayer_swapchain.json\", F_OK) = 0\r\naccess(\"/usr/share/vulkan/explicit_layer.d/VkLayer_mem_tracker.json\", F_OK) = 0\r\naccess(\"/usr/share/vulkan/explicit_layer.d/VkLayer_unique_objects.json\", F_OK) = 0\r\naccess(\"/usr/share/vulkan/explicit_layer.d/VkLayer_draw_state.json\", F_OK) = 0\r\naccess(\"/usr/share/vulkan/explicit_layer.d/VkLayer_device_limits.json\", F_OK) = 0\r\naccess(\"/usr/share/vulkan/explicit_layer.d/VkLayer_threading.json\", F_OK) = 0\r\ngetdents(5, /* 0 entries */, 32768)     = 0\r\nclose(5)                                = 0\r\nopen(\"/etc/vulkan/implicit_layer.d\", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)\r\nopen(\"/usr/share/vulkan/implicit_layer.d\", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 5\r\nfstat(5, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0\r\ngetdents(5, /* 2 entries */, 32768)     = 48\r\naccess(\"/usr/share/vulkan/implicit_layer.d/..\", F_OK) = 0\r\naccess(\"/usr/share/vulkan/implicit_layer.d/.\", F_OK) = 0\r\ngetdents(5, /* 0 entries */, 32768)     = 0\r\nclose(5)                                = 0\r\nopen(\"/usr/share/vulkan/explicit_layer.d/VkLayer_param_checker.json\", O_RDONLY) = 5\r\nfstat(5, {st_mode=S_IFREG|0644, st_size=473, ...}) = 0\r\nfstat(5, {st_mode=S_IFREG|0644, st_size=473, ...}) = 0\r\nlseek(5, 0, SEEK_SET)                   = 0\r\nread(5, \"{\\n    \\\"file_format_version\\\" : \\\"1\"..., 473) = 473\r\nlseek(5, 473, SEEK_SET)                 = 473\r\nclose(5)                                = 0\r\nmmap(NULL, 499712, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f06090e8000\r\nmmap(NULL, 499712, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f060906e000\r\nopen(\"/usr/share/vulkan/explicit_layer.d/VkLayer_image.json\", O_RDONLY) = 5\r\nfstat(5, {st_mode=S_IFREG|0644, st_size=457, ...}) = 0\r\nfstat(5, {st_mode=S_IFREG|0644, st_size=457, ...}) = 0\r\nlseek(5, 0, SEEK_SET)                   = 0\r\nread(5, \"{\\n    \\\"file_format_version\\\" : \\\"1\"..., 457) = 457\r\nlseek(5, 457, SEEK_SET)                 = 457\r\nclose(5)                                = 0\r\nopen(\"/usr/share/vulkan/explicit_layer.d/VkLayer_object_tracker.json\", O_RDONLY) = 5\r\nfstat(5, {st_mode=S_IFREG|0644, st_size=475, ...}) = 0\r\nfstat(5, {st_mode=S_IFREG|0644, st_size=475, ...}) = 0\r\nlseek(5, 0, SEEK_SET)                   = 0\r\nread(5, \"{\\n    \\\"file_format_version\\\" : \\\"1\"..., 475) = 475\r\nlseek(5, 475, SEEK_SET)                 = 475\r\nclose(5)                                = 0\r\nopen(\"/usr/share/vulkan/explicit_layer.d/VkLayer_swapchain.json\", O_RDONLY) = 5\r\nfstat(5, {st_mode=S_IFREG|0644, st_size=465, ...}) = 0\r\nfstat(5, {st_mode=S_IFREG|0644, st_size=465, ...}) = 0\r\nlseek(5, 0, SEEK_SET)                   = 0\r\nread(5, \"{\\n    \\\"file_format_version\\\" : \\\"1\"..., 465) = 465\r\nlseek(5, 465, SEEK_SET)                 = 465\r\nclose(5)                                = 0\r\nopen(\"/usr/share/vulkan/explicit_layer.d/VkLayer_mem_tracker.json\", O_RDONLY) = 5\r\nfstat(5, {st_mode=S_IFREG|0644, st_size=469, ...}) = 0\r\nfstat(5, {st_mode=S_IFREG|0644, st_size=469, ...}) = 0\r\nlseek(5, 0, SEEK_SET)                   = 0\r\nread(5, \"{\\n    \\\"file_format_version\\\" : \\\"1\"..., 469) = 469\r\nlseek(5, 469, SEEK_SET)                 = 469\r\nclose(5)                                = 0\r\nopen(\"/usr/share/vulkan/explicit_layer.d/VkLayer_unique_objects.json\", O_RDONLY) = 5\r\nfstat(5, {st_mode=S_IFREG|0644, st_size=315, ...}) = 0\r\nfstat(5, {st_mode=S_IFREG|0644, st_size=315, ...}) = 0\r\nlseek(5, 0, SEEK_SET)                   = 0\r\nread(5, \"{\\n    \\\"file_format_version\\\" : \\\"1\"..., 315) = 315\r\nlseek(5, 315, SEEK_SET)                 = 315\r\nclose(5)                                = 0\r\nopen(\"/usr/share/vulkan/explicit_layer.d/VkLayer_draw_state.json\", O_RDONLY) = 5\r\nfstat(5, {st_mode=S_IFREG|0644, st_size=691, ...}) = 0\r\nfstat(5, {st_mode=S_IFREG|0644, st_size=691, ...}) = 0\r\nlseek(5, 0, SEEK_SET)                   = 0\r\nread(5, \"{\\n    \\\"file_format_version\\\" : \\\"1\"..., 691) = 691\r\nlseek(5, 691, SEEK_SET)                 = 691\r\nclose(5)                                = 0\r\nopen(\"/usr/share/vulkan/explicit_layer.d/VkLayer_device_limits.json\", O_RDONLY) = 5\r\nfstat(5, {st_mode=S_IFREG|0644, st_size=473, ...}) = 0\r\nfstat(5, {st_mode=S_IFREG|0644, st_size=473, ...}) = 0\r\nlseek(5, 0, SEEK_SET)                   = 0\r\nread(5, \"{\\n    \\\"file_format_version\\\" : \\\"1\"..., 473) = 473\r\nlseek(5, 473, SEEK_SET)                 = 473\r\nclose(5)                                = 0\r\nopen(\"/usr/share/vulkan/explicit_layer.d/VkLayer_threading.json\", O_RDONLY) = 5\r\nfstat(5, {st_mode=S_IFREG|0644, st_size=465, ...}) = 0\r\nfstat(5, {st_mode=S_IFREG|0644, st_size=465, ...}) = 0\r\nlseek(5, 0, SEEK_SET)                   = 0\r\nread(5, \"{\\n    \\\"file_format_version\\\" : \\\"1\"..., 465) = 465\r\nlseek(5, 465, SEEK_SET)                 = 465\r\nclose(5)                                = 0\r\nopen(\"/etc/vulkan/icd.d\", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 5\r\nfstat(5, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0\r\nbrk(NULL)                               = 0x559674457000\r\nbrk(0x559674479000)                     = 0x559674479000\r\ngetdents(5, /* 3 entries */, 32768)     = 80\r\naccess(\"/etc/vulkan/icd.d/..\", F_OK)    = 0\r\naccess(\"/etc/vulkan/icd.d/.\", F_OK)     = 0\r\naccess(\"/etc/vulkan/icd.d/anv_icd.json\", F_OK) = 0\r\ngetdents(5, /* 0 entries */, 32768)     = 0\r\nclose(5)                                = 0\r\nopen(\"/usr/share/vulkan/icd.d\", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory)\r\nopen(\"/etc/vulkan/icd.d/anv_icd.json\", O_RDONLY) = 5\r\nfstat(5, {st_mode=S_IFREG|0755, st_size=134, ...}) = 0\r\nfstat(5, {st_mode=S_IFREG|0755, st_size=134, ...}) = 0\r\nlseek(5, 0, SEEK_SET)                   = 0\r\nread(5, \"{\\n    \\\"file_format_version\\\": \\\"1.\"..., 134) = 134\r\nlseek(5, 134, SEEK_SET)                 = 134\r\nclose(5)                                = 0\r\nfutex(0x7f06073830a8, FUTEX_WAKE_PRIVATE, 2147483647) = 0\r\nopen(\"/etc/ld.so.cache\", O_RDONLY|O_CLOEXEC) = 5\r\nfstat(5, {st_mode=S_IFREG|0644, st_size=91190, ...}) = 0\r\nmmap(NULL, 91190, PROT_READ, MAP_PRIVATE, 5, 0) = 0x7f060916b000\r\nclose(5)                                = 0\r\nopen(\"/lib64/tls/libVK_anv.so\", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)\r\nopen(\"/lib64/libVK_anv.so\", O_RDONLY|O_CLOEXEC) = 5\r\nread(5, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0\\240\\267\\5\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(5, {st_mode=S_IFREG|0755, st_size=5889784, ...}) = 0\r\nmmap(NULL, 7919320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x7f06063c6000\r\nmprotect(0x7f0606913000, 2093056, PROT_NONE) = 0\r\nmmap(0x7f0606b12000, 241664, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x54c000) = 0x7f0606b12000\r\nmmap(0x7f0606b4d000, 26328, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0606b4d000\r\nclose(5)                                = 0\r\nopen(\"/lib64/libxcb-dri3.so.0\", O_RDONLY|O_CLOEXEC) = 5\r\nread(5, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0\\360\\f\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(5, {st_mode=S_IFREG|0755, st_size=11016, ...}) = 0\r\nmmap(NULL, 2105368, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x7f06061c3000\r\nmprotect(0x7f06061c5000, 2093056, PROT_NONE) = 0\r\nmmap(0x7f06063c4000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x1000) = 0x7f06063c4000\r\nclose(5)                                = 0\r\nopen(\"/lib64/libcrypto.so.10\", O_RDONLY|O_CLOEXEC) = 5\r\nread(5, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0\\0\\313\\6\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(5, {st_mode=S_IFREG|0755, st_size=2476824, ...}) = 0\r\nmmap(NULL, 4575936, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x7f0605d65000\r\nmprotect(0x7f0605f97000, 2093056, PROT_NONE) = 0\r\nmmap(0x7f0606196000, 167936, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x231000) = 0x7f0606196000\r\nmmap(0x7f06061bf000, 12992, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f06061bf000\r\nclose(5)                                = 0\r\nopen(\"/lib64/libstdc++.so.6\", O_RDONLY|O_CLOEXEC) = 5\r\nread(5, \"\\177ELF\\2\\1\\1\\3\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0p\\267\\10\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(5, {st_mode=S_IFREG|0755, st_size=1598912, ...}) = 0\r\nmmap(NULL, 3707488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x7f06059db000\r\nmprotect(0x7f0605b55000, 2097152, PROT_NONE) = 0\r\nmmap(0x7f0605d55000, 49152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x17a000) = 0x7f0605d55000\r\nmmap(0x7f0605d61000, 12896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f0605d61000\r\nclose(5)                                = 0\r\nopen(\"/lib64/libgcc_s.so.1\", O_RDONLY|O_CLOEXEC) = 5\r\nread(5, \"\\177ELF\\2\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0>\\0\\1\\0\\0\\0\\260*\\0\\0\\0\\0\\0\\0\"..., 832) = 832\r\nfstat(5, {st_mode=S_IFREG|0755, st_size=92872, ...}) = 0\r\nmmap(NULL, 2188336, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 5, 0) = 0x7f06057c4000\r\nmprotect(0x7f06057da000, 2093056, PROT_NONE) = 0\r\nmmap(0x7f06059d9000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 5, 0x15000) = 0x7f06059d9000\r\nclose(5)                                = 0\r\nmprotect(0x7f06059d9000, 4096, PROT_READ) = 0\r\nmprotect(0x7f0605d55000, 40960, PROT_READ) = 0\r\nmprotect(0x7f0606196000, 114688, PROT_READ) = 0\r\nmprotect(0x7f06063c4000, 4096, PROT_READ) = 0\r\nmprotect(0x7f0606b12000, 225280, PROT_READ) = 0\r\naccess(\"/etc/system-fips\", F_OK)        = -1 ENOENT (No such file or directory)\r\nmunmap(0x7f060916b000, 91190)           = 0\r\nmmap(NULL, 249856, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f0609031000\r\nopen(\"/dev/dri/renderD128\", O_RDWR|O_CLOEXEC) = 5\r\nioctl(5, DRM_IOCTL_I915_GETPARAM or DRM_IOCTL_TEGRA_CLOSE_CHANNEL, 0x7ffdbeaa0f10) = 0\r\nclose(5)                                = 0\r\nfstat(1, {st_mode=S_IFCHR|0620, st_rdev=makedev(136, 1), ...}) = 0\r\nwrite(1, \"0 physical devices\\n\", 19)    = 19\r\n--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x600000000} ---\r\n+++ killed by SIGSEGV (core dumped) +++\r\n```\r\nTested on Ivy Bridge."},"comment":{"url":"https://api.github.com/repos/krh/vkcube/issues/comments/186666901","html_url":"https://github.com/krh/vkcube/issues/2#issuecomment-186666901","issue_url":"https://api.github.com/repos/krh/vkcube/issues/2","id":186666901,"user":{"login":"paulcarroty","id":1550705,"avatar_url":"https://avatars.githubusercontent.com/u/1550705?v=3","gravatar_id":"","url":"https://api.github.com/users/paulcarroty","html_url":"https://github.com/paulcarroty","followers_url":"https://api.github.com/users/paulcarroty/followers","following_url":"https://api.github.com/users/paulcarroty/following{/other_user}","gists_url":"https://api.github.com/users/paulcarroty/gists{/gist_id}","starred_url":"https://api.github.com/users/paulcarroty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paulcarroty/subscriptions","organizations_url":"https://api.github.com/users/paulcarroty/orgs","repos_url":"https://api.github.com/users/paulcarroty/repos","events_url":"https://api.github.com/users/paulcarroty/events{/privacy}","received_events_url":"https://api.github.com/users/paulcarroty/received_events","type":"User","site_admin":false},"created_at":"2016-02-20T19:06:40Z","updated_at":"2016-02-20T19:06:40Z","body":"```\r\n$ lspci -nn\r\n00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller [8086:0150] (rev 09)\r\n00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0152] (rev 09)\r\n00:16.0 Communication controller [0780]: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 [8086:1c3a] (rev 04)\r\n00:1a.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 [8086:1c2d] (rev 05)\r\n00:1b.0 Audio device [0403]: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller [8086:1c20] (rev 05)\r\n00:1c.0 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 [8086:1c10] (rev b5)\r\n00:1c.4 PCI bridge [0604]: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 [8086:1c18] (rev b5)\r\n00:1d.0 USB controller [0c03]: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 [8086:1c26] (rev 05)\r\n00:1f.0 ISA bridge [0601]: Intel Corporation H61 Express Chipset Family LPC Controller [8086:1c5c] (rev 05)\r\n00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller [8086:1c02] (rev 05)\r\n00:1f.3 SMBus [0c05]: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller [8086:1c22] (rev 05)\r\n02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)\r\n```"}}