Skip to content

Instantly share code, notes, and snippets.

@victort
Created April 2, 2021 06:26
Show Gist options
  • Save victort/d27a0c675790e1be0c243df27ea2f200 to your computer and use it in GitHub Desktop.
Save victort/d27a0c675790e1be0c243df27ea2f200 to your computer and use it in GitHub Desktop.
SC 3.13 PTU crash
Unhandled exception: unimplemented function ADVAPI32.dll.QueryTraceA called in 64-bit code (0x000000007bc53520).
Register dump:
rip:000000007bc53520 rsp:000000000021e1e0 rbp:000000000021e2b0 eflags:00000202 ( - -- I - - - )
rax:0000000180000100 rbx:000000000021e200 rcx:000000000021e200 rdx:000000014935a422
rsi:00000005529006d0 rdi:00000005444d0bd0 r8:0000000140a1552f r9:0000000001994610 r10:0000000000000089
r11:000000000021e180 r12:0000000000000000 r13:0000000000000000 r14:0000000000000000 r15:00000005444d0ca0
Stack dump:
0x000000000021e1e0: 000000000021e200 0000000000000010
0x000000000021e1f0: 0000000000000000 0000000000000000
0x000000000021e200: 0000000180000100 0000000000000000
0x000000000021e210: 000000007bc53520 0000000100000002
0x000000000021e220: 000000014935a482 000000014935a422
0x000000000021e230: 0000000000000000 0000000000000000
0x000000000021e240: 000000000000007b 0000000000000000
0x000000000021e250: 0000000000000000 0000000000000000
0x000000000021e260: 0000000000000000 0000000000000000
0x000000000021e270: 00000005444d0bd0 00000005529006d0
0x000000000021e280: 00000005529006d0 0000000140a1f722
0x000000000021e290: 000000000021e359 0000000000000000
Backtrace:
=>0 0x000000007bc53520 (0x000000000021e2b0)
0x000000007bc53520: jmp 0x000000007bc53518
Modules:
Module Address Debug info Name (76 modules)
PE 230000- 235000 Deferred api-ms-win-crt-math-l1-1-0
PE 240000- 244000 Deferred api-ms-win-crt-runtime-l1-1-0
PE 250000- 25f000 Deferred api-ms-win-crt-private-l1-1-0
PE 260000- 263000 Deferred api-ms-win-crt-time-l1-1-0
PE 270000- 286000 Deferred vcruntime140
PE 290000- 293000 Deferred api-ms-win-crt-heap-l1-1-0
PE 2a0000- 2a4000 Deferred api-ms-win-crt-stdio-l1-1-0
PE 2b0000- 341000 Deferred msvcp140
PE 350000- 353000 Deferred api-ms-win-crt-locale-l1-1-0
PE 360000- 380000 Deferred amd_ags_x64
PE 380000- 3a6000 Deferred gfsdk_aftermath_lib.x64
PE 3b0000- a0a000 Deferred tobii_gameintegration_x64
PE a10000- a13000 Deferred api-ms-win-crt-conio-l1-1-0
PE a20000- c22000 Deferred icuin59
PE 4a800000- 4a974000 Deferred icuuc59
PE 4ad00000- 4c615000 Deferred icudt59
PE 7b020000- 7b027000 Deferred kernelbase
PE 7b610000- 7b7ce000 Deferred kernel32
PE 7bc20000- 7bc24000 Deferred ntdll
PE 140000000- 14d585000 Deferred starcitizen
PE 180000000- 180451000 Deferred d3dcompiler_47
PE 7fa51c0a0000- 7fa51c0a4000 Deferred dnsapi
PE 7fa51c0c0000- 7fa51c0c4000 Deferred iphlpapi
PE 7fa51c0f0000- 7fa51c0f3000 Deferred netapi32
PE 7fa51c130000- 7fa51c133000 Deferred secur32
PE 7fa51cb10000- 7fa51cb13000 Deferred kerberos
PE 7fa51cb30000- 7fa51cb33000 Deferred api-ms-win-core-localization-l1-2-1
PE 7fa51cb40000- 7fa51cb43000 Deferred api-ms-win-core-fibers-l1-1-1
PE 7fa51cb50000- 7fa51cb53000 Deferred api-ms-win-core-synch-l1-2-0
PE 7fa51d7c0000- 7fa51d7c4000 Deferred uxtheme
PE 7fa51de30000- 7fa51de34000 Deferred winex11
PE 7fa51ee50000- 7fa51ee54000 Deferred mswsock
PE 7fa51ee70000- 7fa51ee74000 Deferred dbghelp
PE 7fa51eee0000- 7fa51eee4000 Deferred tdh
PE 7fa51ef00000- 7fa51ef0c000 Deferred msvfw32
PE 7fa51ef30000- 7fa51efad000 Deferred winmm
PE 7fa51eff0000- 7fa51eff9000 Deferred msacm32
PE 7fa51f030000- 7fa51f03e000 Deferred avifil32
PE 7fa51f080000- 7fa51f083000 Deferred api-ms-win-crt-filesystem-l1-1-0
PE 7fa51f090000- 7fa51f09c000 Deferred vcruntime140_1
PE 7fa51f0a0000- 7fa51f0a3000 Deferred api-ms-win-crt-utility-l1-1-0
PE 7fa51f0c0000- 7fa51f0c3000 Deferred api-ms-win-crt-environment-l1-1-0
PE 7fa51f0d0000- 7fa51f0d4000 Deferred api-ms-win-crt-convert-l1-1-0
PE 7fa51f0f0000- 7fa51f0fb000 Deferred dinput8
PE 7fa51f150000- 7fa51f154000 Deferred winevulkan
PE 7fa51f1b0000- 7fa51f1b4000 Deferred vulkan-1
PE 7fa521990000- 7fa521994000 Deferred xinput9_1_0
PE 7fa5219b0000- 7fa5219b4000 Deferred dwmapi
PE 7fa5219d0000- 7fa5219d4000 Deferred api-ms-win-crt-string-l1-1-0
PE 7fa5219e0000- 7fa5219e3000 Deferred normaliz
PE 7fa521e60000- 7fa521e7b000 Deferred wldap32
PE 7fa521ed0000- 7fa521ed4000 Deferred ws2_32
PE 7fa521f10000- 7fa521f14000 Deferred mfreadwrite
PE 7fa521f30000- 7fa521f33000 Deferred rtworkq
PE 7fa521f70000- 7fa521f78000 Deferred oleaut32
PE 7fa5220b0000- 7fa5220b4000 Deferred propsys
PE 7fa5220e0000- 7fa5220e3000 Deferred mfplat
PE 7fa522160000- 7fa522164000 Deferred bcrypt
PE 7fa522190000- 7fa5221d4000 Deferred crypt32
PE 7fa522270000- 7fa522274000 Deferred imm32
PE 7fa522290000- 7fa5222e3000 Deferred comctl32
PE 7fa5223e0000- 7fa5223e9000 Deferred aclui
PE 7fa522410000- 7fa522413000 Deferred combase
PE 7fa522480000- 7fa5224a8000 Deferred ole32
PE 7fa5225a0000- 7fa5225a3000 Deferred shcore
PE 7fa5225d0000- 7fa5225d8000 Deferred shlwapi
PE 7fa522640000- 7fa522f36000 Deferred shell32
PE 7fa5230e0000- 7fa5230e7000 Deferred gdi32
PE 7fa523280000- 7fa523284000 Deferred rpcrt4
PE 7fa523310000- 7fa523313000 Deferred sechost
PE 7fa523350000- 7fa523354000 Deferred advapi32
PE 7fa5233e0000- 7fa5233e4000 Deferred ucrtbase
PE 7fa5234c0000- 7fa5234cf000 Deferred setupapi
PE 7fa523560000- 7fa523648000 Deferred user32
PE 7fa524ff0000- 7fa524ff4000 Deferred version
PE 7fa525020000- 7fa525023000 Deferred wow64cpu
Threads:
process tid prio (all id:s are in hex)
00000038
["C:\windows\system32\services.exe"]
0000003c 0
00000040 0
0000004c 0
00000068 0
00000084 0
000000a8 0
000000ec 0
00000044
[C:\windows\system32\winedevice.exe]
00000048 0
00000054 0
00000058 0
0000005c 0
00000060
[C:\windows\system32\plugplay.exe]
00000064 0
00000070 0
00000074 0
00000078 0
00000094 0
000001f0 0
000001f4 0
000003f8 0
0000007c
[C:\windows\system32\winedevice.exe]
00000080 0
00000088 0
0000008c 0
00000090 0
0000009c 0
000000c4 0
000000c8 0
000000a0
[C:\windows\system32\svchost.exe -k LocalServiceNetworkRestricted]
000000a4 0
000000ac 0
000000b0 0
000000e4
[C:\windows\system32\rpcss.exe]
000000e8 0
000000f4 0
000000f8 0
000000fc 0
00000100 0
00000160 0
0000057c 0
00000580 0
00000138 RSI Launcher.exe
["C:\Program Files\Roberts Space Industries\RSI Launcher\RSI Launcher.exe" --use-gl=osmesa]
0000013c 0
0000014c 0
00000168 0
0000016c 0
00000170 0
00000174 0
00000180 0
00000184 0
00000188 0
0000018c 0
00000190 0
00000194 0
00000198 0
000001a4 0
000001a8 -2
000001ac -2
000001b4 0
000001b8 0
000001bc 0
000001c0 0
000001c4 0
000001c8 0
000001cc 0
000001d0 0
000001d4 0
000001d8 0
000001dc 0
000001e0 0
000001ec 0
000001f8 0
000001fc 0
00000200 0
00000280 0
00000298 15
000002a8 0
00000140
["C:\windows\system32\conhost.exe" --unix --width 0 --height 0 --server 0x34]
00000144 0
00000150
[C:\windows\system32\explorer.exe /desktop]
00000154 0
00000158 0
0000015c 0
00000178 RSI Launcher.exe
["C:\Program Files\Roberts Space Industries\RSI Launcher\RSI Launcher.exe" --reporter-url=https://sentry.turbulent.ca/api/54/minidump?sentry_key=c92884f9eaff404eb5fcc22aff7a1050 --application-name=rsilauncher "--crashes-directory=C:\users\mprov\Temp\rsilauncher Crashes" --v=1]
0000017c 0
00000214 0
00000218 0
00000204 RSI Launcher.exe
["C:\Program Files\Roberts Space Industries\RSI Launcher\RSI Launcher.exe" --type=renderer --no-sandbox --use-gl=osmesa --service-pipe-token=81101F860BEB872DDC050CA621B31048 --lang=en-US --standard-schemes=rsi,rsi+qa,rsi+qah3,rsi+uat,rsi+staging,rsi+ptu,rsi+eptu,rsi+prod --app-path="C:\Program Files\Roberts Space Industries\RSI Launcher\resources\app.asar" --enable-experimental-web-platform-features --node-integration=true --webview-tag=true --no-sandbox --preload="C:\Program Files\Roberts Space Industries\RSI Launcher\resources\app.asar\src\shared\sentry.js" --background-color=#fff --context-id=2 --enable-pinch --device-scale-factor=1 --num-raster-threads=4 --enable-main-frame-before-activation --content-image-texture-target=0,0,3553;0,1,3553;0,2,3553;0,3,3553;0,4,3553;0,5,3553;0,6,3553;0,7,3553;0,8,3553;0,9,3553;0,10,3553;0,11,3553;0,12,3553;0,13,3553;0,14,3553;0,15,3553;0,16,3553;0,17,3553;1,0,3553;1,1,3553;1,2,3553;1,3,3553;1,4,3553;1,5,3553;1,6,3553;1,7,3553;1,8,3553;1,9,3553;1,10,3553;1,11,3553;1,12,3553;1,13,3553;1,14,3553;1,15,3553;1,16,3553;1,17,3553;2,0,3553;2,1,3553;2,2,3553;2,3,3553;2,4,3553;2,5,3553;2,6,3553;2,7,3553;2,8,3553;2,9,3553;2,10,3553;2,11,3553;2,12,3553;2,13,3553;2,14,3553;2,15,3553;2,16,3553;2,17,3553;3,0,3553;3,1,3553;3,2,3553;3,3,3553;3,4,3553;3,5,3553;3,6,3553;3,7,3553;3,8,3553;3,9,3553;3,10,3553;3,11,3553;3,12,3553;3,13,3553;3,14,3553;3,15,3553;3,16,3553;3,17,3553;4,0,3553;4,1,3553;4,2,3553;4,3,3553;4,4,3553;4,5,3553;4,6,3553;4,7,3553;4,8,3553;4,9,3553;4,10,3553;4,11,3553;4,12,3553;4,13,3553;4,14,3553;4,15,3553;4,16,3553;4,17,3553 --enable-gpu-async-worker-context --service-request-channel-token=81101F860BEB872DDC050CA621B31048 --renderer-client-id=4 --mojo-platform-channel-handle=1172 /prefetch:1]
00000208 0
0000021c 0
00000220 0
00000224 0
00000228 0
0000022c 0
00000230 0
00000234 0
00000238 0
0000023c 0
00000240 0
00000244 0
00000248 0
0000024c -2
00000278 0
00000290 0
00000294 0
0000029c 15
00000340 0
0000034c 0
00000350 0
00000358 0
0000054c 0
00000550 0
00000554 (D) C:\Program Files\Roberts Space Industries\StarCitizen\PTU\Bin64\StarCitizen.exe
["C:\Program Files\Roberts Space Industries\StarCitizen\PTU\Bin64\StarCitizen.exe" -no_login_dialog -no_login_dialog]
00000558 0 <==
0000055c 0
00000568 0
0000056c
[C:\windows\system32\explorer.exe /desktop]
00000570 0
00000574 0
00000578 0
System information:
Wine build: wine-6.2 (Staging)
Platform: x86_64
Version: Windows 10
Host system: Linux
Host version: 5.9.0-4-amd64
@jkimmerling
Copy link

How did it get solved, I have this issue right now while running SC in lutris

@firefloc
Copy link

+1 how have you solved? i've thee issue from wine

@victort
Copy link
Author

victort commented Apr 25, 2021

there's a patch(ed build) available which solves the issue, a version contemporary to this conversation can be found at https://github.com/snatella/wine-runner-sc/releases/tag/wine-v6.6

Additionally, vanilla WINE will probably get the patch circa 6.8 (6.7 was just released as of this date), so hopefully, we'll only need a custom build for a short while.

For Lutris users, make a dir in your ~/.local/share/lutris/runners/wine/ called (for example,) ./wine-runner-sc-6.6-patched, and untar the tarball you download from the above link into it. Restart Lutris, and "configure" your Star Citizen entry to use the new runner.

Please consider (affiliating with the LUG org, and) joining the #LUG-general spectrum chat for more direct help if you're having further issues!

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