Skip to content

Instantly share code, notes, and snippets.

@kiroma
Created April 10, 2018 18:50
Show Gist options
  • Save kiroma/1b074dca2aba57a15c3b2438a71c98dc to your computer and use it in GitHub Desktop.
Save kiroma/1b074dca2aba57a15c3b2438a71c98dc to your computer and use it in GitHub Desktop.
Unhandled exception: page fault on write access to 0x7f075dab2720 in 64-bit code (0x00007f075d8e2b52).
Register dump:
rip:00007f075d8e2b52 rsp:000000000033c980 rbp:000000000000000a eflags:00010202 ( R- -- I - - - )
rax:00007f075d579240 rbx:00007f075db71bd8 rcx:00007f075d579240 rdx:0000000000000001
rsi:00007f075dab2720 rdi:0000000000000000 r8:0000000000000000 r9:0000000000000010 r10:00007f0763f07d20
r11:0000000000000202 r12:00007f0750b3d2ba r13:0000000000000014 r14:000000007d0951f0 r15:00007f075103f2e0
Stack dump:
0x000000000033c980: 000000007d1a0df0 000000000000001d
0x000000000033c990: 000000000000013e 00007f075103f040
0x000000000033c9a0: 000000007d0951f0 000000007d0b7fe0
0x000000000033c9b0: 000000007d0b7650 00007f075d8e3374
0x000000000033c9c0: 000000007d0b7fe0 0000000000000000
0x000000000033c9d0: 0000000000000007 000000000033caa0
0x000000000033c9e0: 00007f0700000068 00007f0700000215
0x000000000033c9f0: 000000000000007c 000000007d0b9960
0x000000000033ca00: 0000000000000000 00007f075db71d00
0x000000000033ca10: 000000075db6c6a0 00007f075db71b00
0x000000000033ca20: 0000001400000001 00007f07649e5150
0x000000000033ca30: 000000007cfbde50 000000007d1a0df0
Backtrace:
=>0 0x00007f075d8e2b52 in libgl.so.1 (+0xadb52) (0x000000000000000a)
1 0x00007f075d8e3374 in libgl.so.1 (+0xae373) (0x000000000000013e)
2 0x00007f075d8ee44b in libgl.so.1 (+0xb944a) (0x00007f075d8ec950)
3 0x00007f075d883798 in libgl.so.1 (+0x4e797) (0x00007f075d56aa60)
4 0x00007f07647cca9a in ld-linux-x86-64.so.2 (+0x10a99) (0x0000000000000002)
5 0x00007f07647ccbeb in ld-linux-x86-64.so.2 (+0x10bea) (0x0000000000000002)
6 0x00007f07647d1bf6 in ld-linux-x86-64.so.2 (+0x15bf5) (0x000000000033cde0)
7 0x00007f0763f05db4 _dl_catch_error+0x83() in libc.so.6 (0x000000000033cfe0)
8 0x00007f07647d1149 in ld-linux-x86-64.so.2 (+0x15148) (0x000000000033cfe0)
9 0x00007f0763ba9ff6 GLIBC_2.3+0xff5() in libdl.so.2 (0x00007f0763ba9fa0)
10 0x00007f0763f05db4 _dl_catch_error+0x83() in libc.so.6 (0x00007f0763ba9fa0)
11 0x00007f0763baa759 in libdl.so.2 (+0x1758) (0x00007f0763ba9fa0)
12 0x00007f0763baa092 dlopen+0x41() in libdl.so.2 (0x000000000033d680)
13 0x00007f075db92d23 in libvulkan.so.1 (+0x20d22) (0x000000000033d680)
14 0x00007f075db96f48 in libvulkan.so.1 (+0x24f47) (0x000000000033d884)
15 0x00007f075db9af73 vkEnumerateInstanceExtensionProperties+0x192() in libvulkan.so.1 (0x0000000000000002)
16 0x00007f0760aa0752 in winex11 (+0x40751) (0x000000000033d970)
17 0x00007f07622b5854 wine_vkEnumerateInstanceExtensionProperties+0x183() in winevulkan (0x000000000033d970)
18 0x00007f07625e69a2 vkEnumerateInstanceExtensionProperties+0x81() in vulkan-1 (0x000000000033da70)
19 0x000000006f2408d5 dxvk::vk::NameSet::addInstanceLayerExtensions+0x34(this=0x33dd80, vkl=0x637ce0, layer=0x0(nil)) [/home/kiroma/dxvk/build.w64/../src/dxvk/vulkan/dxvk_vulkan_loader_fn.h:39] in dxgi (0x0000000000000000)
20 0x000000006f240e2f dxvk::vk::NameSet::enumerateInstanceExtensions+0x4e(vkl=0x637ce0, layers=0x33dfe0) [/home/kiroma/dxvk/build.w64/../src/dxvk/vulkan/dxvk_vulkan_extensions.cpp:30] in dxgi (0x0000000000637ce0)
21 0x000000006f22b30a dxvk::DxvkInstance::getExtensions+0x59(this=0x637ca0, layers=0x33dfe0) [/home/kiroma/dxvk/build.w64/../src/dxvk/dxvk_instance.cpp:97] in dxgi (0x0000000000637d20)
22 0x000000006f22c711 dxvk::DxvkInstance::createInstance+0x30(this=0x637ca0) [/home/kiroma/dxvk/build.w64/../src/dxvk/dxvk_instance.cpp:35] in dxgi (0x000000000033dfe0)
23 0x000000006f22cac5 DxvkInstance+0x34(this=0x637ca0) [/home/kiroma/dxvk/build.w64/../src/dxvk/dxvk_instance.cpp:7] in dxgi (0x0000000000625180)
24 0x000000006f208abb DxgiFactory+0x4a(this=0x6378e0) [/home/kiroma/dxvk/build.w64/../src/dxgi/dxgi_factory.cpp:7] in dxgi (0x0000000000625180)
25 0x000000006f208c7d dxvk::createDxgiFactory+0x5c(riid=<internal error>, ppFactory=0x33e510) [/home/kiroma/dxvk/build.w64/../src/dxgi/dxgi_main.cpp:18] in dxgi (0x0000000000625180)
26 0x00000000004016b9 WinMain+0x38(hInstance=<internal error>, hPrevInstance=<internal error>, lpCmdLine=<internal error>, nCmdShow=<internal error>) [/home/kiroma/dxvk/build.w64/../tests/dxgi/test_dxgi_factory.cpp:18] in dxgi-factory (0x0000000000625180)
27 0x00000000004013f8 in dxgi-factory (+0x13f7) (0x0000000000625180)
28 0x000000000040151b in dxgi-factory (+0x151a) (0x000000000033ffd0)
29 0x000000007b47c32c in kernel32 (+0x5c32b) (0x000000000033ffd0)
0x00007f075d8e2b52: movq %rax,(%rsi)
Modules:
Module Address Debug info Name (64 modules)
PE 400000- 60d000 Dwarf dxgi-factory
PE 6f200000- 711e7000 Dwarf dxgi
ELF 7b400000- 7b812000 Dwarf kernel32<elf>
\-PE 7b420000- 7b812000 \ kernel32
ELF 7bc00000- 7bd3f000 Deferred ntdll<elf>
\-PE 7bc40000- 7bd3f000 \ ntdll
ELF 7c000000- 7c004000 Deferred <wine-loader>
ELF 7f07509f8000- 7f0754000000 Deferred libllvm-5.0.so.1
ELF 7f0758f67000- 7f075919e000 Deferred libedit.so.2
ELF 7f075919e000- 7f07593a6000 Deferred libffi.so.6
ELF 7f075b777000- 7f075d577000 Deferred libnvidia-glcore.so.390.48
ELF 7f075d577000- 7f075d77b000 Deferred libnvidia-tls.so.390.48
ELF 7f075d835000- 7f075db72000 Dwarf libgl.so.1
ELF 7f075db72000- 7f075ddc1000 Dwarf libvulkan.so.1
ELF 7f075de09000- 7f075e00f000 Deferred libxfixes.so.3
ELF 7f075e00f000- 7f075e219000 Deferred libxcursor.so.1
ELF 7f075e319000- 7f075e544000 Deferred libexpat.so.1
ELF 7f075e544000- 7f075e787000 Deferred libfontconfig.so.1
ELF 7f075e787000- 7f075e9b9000 Deferred libpng16.so.16
ELF 7f075e9b9000- 7f075ebd6000 Deferred libz.so.1
ELF 7f075ebd6000- 7f075ee89000 Deferred libfreetype.so.6
ELF 7f075ee89000- 7f075f099000 Deferred libxi.so.6
ELF 7f075f099000- 7f075f29c000 Deferred libxcomposite.so.1
ELF 7f075f29c000- 7f075f4a7000 Deferred libxrandr.so.2
ELF 7f075f4a7000- 7f075f6b1000 Deferred libxrender.so.1
ELF 7f075f6b1000- 7f075f8b7000 Deferred libxxf86vm.so.1
ELF 7f075f8b7000- 7f075faba000 Deferred libxinerama.so.1
ELF 7f075faba000- 7f075fcc2000 Deferred librt.so.1
ELF 7f075fcc2000- 7f075fed7000 Deferred libbsd.so.0
ELF 7f075fed7000- 7f07600dd000 Deferred libxdmcp.so.6
ELF 7f07600dd000- 7f07602e1000 Deferred libxau.so.6
ELF 7f07602e1000- 7f0760508000 Deferred libxcb.so.1
ELF 7f0760508000- 7f0760841000 Deferred libx11.so.6
ELF 7f0760841000- 7f0760a53000 Deferred libxext.so.6
ELF 7f0760a53000- 7f0760cf5000 Dwarf winex11<elf>
\-PE 7f0760a60000- 7f0760cf5000 \ winex11
ELF 7f0760cf5000- 7f0760f1c000 Deferred imm32<elf>
\-PE 7f0760d00000- 7f0760f1c000 \ imm32
ELF 7f0760f1c000- 7f0761145000 Deferred libtinfo.so.5
ELF 7f0761145000- 7f0761367000 Deferred libncurses.so.5
ELF 7f0761367000- 7f0761635000 Deferred msvcrt<elf>
\-PE 7f0761380000- 7f0761635000 \ msvcrt
ELF 7f0761635000- 7f076184f000 Deferred version<elf>
\-PE 7f0761640000- 7f076184f000 \ version
ELF 7f076184f000- 7f0761ae1000 Deferred advapi32<elf>
\-PE 7f0761860000- 7f0761ae1000 \ advapi32
ELF 7f0761ae1000- 7f0761e5d000 Deferred gdi32<elf>
\-PE 7f0761b00000- 7f0761e5d000 \ gdi32
ELF 7f0761e5d000- 7f076229d000 Deferred user32<elf>
\-PE 7f0761e80000- 7f076229d000 \ user32
ELF 7f076229d000- 7f07624d4000 Dwarf winevulkan<elf>
\-PE 7f07622b0000- 7f07624d4000 \ winevulkan
ELF 7f07625d4000- 7f07627ec000 Dwarf vulkan-1<elf>
\-PE 7f07625e0000- 7f07627ec000 \ vulkan-1
ELF 7f07627ec000- 7f07629fe000 Deferred libnss_files.so.2
ELF 7f07629fe000- 7f0762c0a000 Deferred libnss_nis.so.2
ELF 7f0762c0a000- 7f0762e24000 Deferred libnsl.so.1
ELF 7f0762e24000- 7f076302d000 Deferred libnss_compat.so.2
ELF 7f076363a000- 7f0763851000 Deferred libgcc_s.so.1
ELF 7f0763851000- 7f0763ba7000 Deferred libm.so.6
ELF 7f0763ba9000- 7f0763dad000 Dwarf libdl.so.2
ELF 7f0763dad000- 7f076418d000 Dwarf libc.so.6
ELF 7f076418d000- 7f07643ac000 Deferred libpthread.so.0
ELF 7f07647bc000- 7f07649e6000 Dwarf ld-linux-x86-64.so.2
Threads:
process tid prio (all id:s are in hex)
0000000e services.exe
[C:\windows\system32\services.exe]
00000027 0
00000024 0
0000001f 0
00000017 0
00000016 0
00000015 0
00000012 0
0000000f 0
00000010 explorer.exe
[C:\windows\system32\explorer.exe /desktop]
0000002d 0
0000002c 0
0000002b 0
00000011 0
00000013 winedevice.exe
[C:\windows\system32\winedevice.exe]
0000001c 0
0000001b 0
0000001a 0
00000019 0
00000018 0
00000014 0
0000001d plugplay.exe
[C:\windows\system32\plugplay.exe]
00000021 0
00000020 0
0000001e 0
00000022 winedevice.exe
[C:\windows\system32\winedevice.exe]
0000002a 0
00000029 0
00000028 0
00000026 0
00000025 0
00000023 0
0000002e (D) Z:\home\kiroma\dxvk\bin\dxgi-factory.exe
[Z:\home\kiroma\dxvk\bin\dxgi-factory.exe]
0000002f 0 <==
00000032 explorer.exe
[C:\windows\system32\explorer.exe /desktop]
00000036 0
00000035 0
00000034 0
00000033 0
System information:
Wine build: wine-3.5 (Staging)
Platform: x86_64
Version: Windows 7
Host system: Linux
Host version: 4.13.0-38-generic
@drollings
Copy link

I'm getting similar results on Fedora 27, dxvk 0.51, and Witcher 3. I tried running wine as root (not recommended) and it worked. I strongly believe this to be a permissions issue, likely with SELinux.

@rafalcieslak
Copy link

I found exact same trace when running The Crew on wine 3.8 with dxvk 0.51. This seems to be a but in Wine's Vulkan implementation that I was able to work around by explicitly selecting the ICD: VK_ICD_FILENAMES=/usr/share/vulkan/icd.d/nvidia_icd.json.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment