ValveSoftware / halflife

Half-Life 1 engine based games
Other
3.72k stars 624 forks source link

Unhandled exception at 0x2C016861 (GameUI.dll) in hl.exe: 0xC0000005: Access violation writing location #2492

Open maxvollmer opened 5 years ago

maxvollmer commented 5 years ago

For the last couple of days I've been getting regular crashes due to an access violation in GameUI.dll when starting hl.exe with the Half-Life: VR mod I am developing.

The crash happens fairly early, right before the Half-Life menu would show. It happens about 10% of the times I start the game.

Some of my testers have started reporting the same issue around the same time I noticed it. I am unable to produce the error in vanilla Half-Life, so I first suspected I messed something up in my mod's code. However, I don't get any stacktrace and after a full day of debugging (yay bank holidays) I still have no clue what might be the cause. I also tried an old version of my mod from 6 months ago, which definitely didn't have this bug back then, but now crashes with the same error message as well.

I have the feeling that this error might be caused by some kind of race condition or weird timing issue, since the game needs a good bunch of seconds to load with my mod. I am worried that "fixing" this by delaying my initializer code will just hide the underlying issue which might manifest again at any time or on other users systems.

So I hope someone from Valve can figure out what's going on.

Maybe relevant: I am loading openvr_api.dll, and my mod is heavily interacting with SteamVR. I initialize everything, including OpenVR, in R_StudioInit(). If you like I can give you access to my mod's private repo, in case you want to reproduce the crash on your systems. I have attached the crash dump generated by Steam.

Relevant debugger output:

Exception thrown at 0x77093804 (ntdll.dll) in hl.exe: 0xC0000005: Access violation reading location 0x00000014.
Exception thrown at 0x0F7C6861 (GameUI.dll) in hl.exe: 0xC0000005: Access violation writing location 0x00000A50.
E:\Spiele\Steam\crashhandler.dll
E:\Spiele\Steam\steamerrorreporter.exe
E:\Spiele\Steam\steamerrorreporter.exe
Starting minidump reporter process

Crash dump: crash_hl.exe_20190531114354_1.dmp.zip

Complete output:

'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\hl.exe'. Module was built without symbols.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntdll.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\KernelBase.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\apphelp.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\user32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\win32u.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wsock32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcrt.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ws2_32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\gdi32full.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp_win.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sspicli.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbase.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptbase.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\advapi32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\sechost.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\sechost.dll'
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imm32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\FileSystem_Stdio.dll'. Module was built without symbols.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\hw.dll'. Module was built without symbols.
'hl.exe' (Win32): Unloaded 'E:\Spiele\Steam\steamapps\common\Half-Life\hw.dll'
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\hw.dll'. Module was built without symbols.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\OpenGL32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ole32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\combase.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ddraw.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dinput.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmm.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\vgui.dll'. Module was built without symbols.
'hl.exe' (Win32): Unloaded 'E:\Spiele\Steam\steamapps\common\Half-Life\vgui.dll'
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\SDL2.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\Mss32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\version.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\steam_api.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shell32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\oleaut32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\vcruntime140d.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp140d.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\SHCore.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ucrtbased.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\windows.storage.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dxgi.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dciman32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\profapi.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmmbase.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\powrprof.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmmbase.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\winmmbase.dll'
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\shlwapi.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winmmbase.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\winmmbase.dll'
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\kernel.appcore.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\cryptsp.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\vgui.dll'. Module was built without symbols.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\InputHost.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\CoreMessaging.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\twinapi.appcore.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\d3d11.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\CoreUIComponents.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\d2d1.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\propsys.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WinTypes.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rmclient.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ntmarta.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\WinTypes.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\WinTypes.dll'
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamclient.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\crypt32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msasn1.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\imagehlp.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\psapi.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\IPHLPAPI.DLL'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\setupapi.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\bcrypt.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\tier0_s.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\vstdlib_s.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\secur32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mswsock.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\crashhandler.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wininet.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\GameOverlayRenderer.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\uxtheme.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\clbcatq.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\XAudio2_5.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dinput8.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\hid.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\devobj.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wintrust.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\XInput1_4.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dwmapi.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msctf.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\opengl32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\glu32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_c5dc31c3a136544a\nvoglv32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_c5dc31c3a136544a\nvoglv32.dll'
'hl.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_c5dc31c3a136544a\nvoglv32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wtsapi32.dll'. Cannot find or open the PDB file.
The thread 0x14f4 has exited with code 0 (0x0).
The thread 0x326c has exited with code 1 (0x1).
The thread 0x3d54 has exited with code 1 (0x1).
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winsta.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\TextInputFramework.dll'. Cannot find or open the PDB file.
GL_SIZES:  r:8 g:8 b:8 a:0 depth:24
'hl.exe' (Win32): Loaded 'C:\Program Files (x86)\DisplayFusion\Hooks\AppHook32_175E9208-9964-461A-ABF0-C85C9569778C.dll'. Module was built without symbols.
'hl.exe' (Win32): Unloaded 'C:\Program Files (x86)\DisplayFusion\Hooks\AppHook32_175E9208-9964-461A-ABF0-C85C9569778C.dll'
'hl.exe' (Win32): Loaded 'C:\Program Files (x86)\DisplayFusion\Hooks\AppHook32_175E9208-9964-461A-ABF0-C85C9569778C.dll'. Module was built without symbols.
'hl.exe' (Win32): Loaded 'C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.17763.503_none_588c456578af3409\comctl32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\MMDevAPI.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\AudioSes.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\avrt.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\Windows.UI.dll'. Cannot find or open the PDB file.
Console initialized.
Base networking initialized.
"sv_cheats" changed to "1"
Initializing deltas
Protocol version 48
Exe version 1.1.2.2 (valve)
Exe build: 15:58:59 Apr  3 2019 (8196)
128.0 Mb heap
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce GTX 1080 Ti/PCIe/SSE2
GL_VERSION: 4.6.0 NVIDIA 419.67
GL_SIZES:  r:8 g:8 b:8 a:0 depth:24
ARB Multitexture extensions found.
4 texture units.  Detail texture supported.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\vr\cl_dlls\client.dll'. Symbols loaded.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\openvr_api.dll'. Symbols loaded.
'hl.exe' (Win32): Unloaded 'E:\Spiele\Steam\steamapps\common\Half-Life\openvr_api.dll'
'hl.exe' (Win32): Unloaded 'E:\Spiele\Steam\steamapps\common\Half-Life\vr\cl_dlls\client.dll'
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\vr\cl_dlls\client.dll'. Symbols loaded.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\openvr_api.dll'. Symbols loaded.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\vgui2.dll'. Module was built without symbols.
'hl.exe' (Win32): Unloaded 'E:\Spiele\Steam\steamapps\common\Half-Life\vgui2.dll'
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\vgui2.dll'. Module was built without symbols.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\chromehtml.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\libcef.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\tier0.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Unloaded 'E:\Spiele\Steam\steamapps\common\Half-Life\libcef.dll'
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\libcef.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\comdlg32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\usp10.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\usp10.dll'
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winhttp.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\winspool.drv'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\userenv.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\urlmon.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msimg32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\iertutil.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\usp10.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\valve\cl_dlls\GameUI.dll'. Module was built without symbols.
'hl.exe' (Win32): Unloaded 'E:\Spiele\Steam\steamapps\common\Half-Life\valve\cl_dlls\GameUI.dll'
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\valve\cl_dlls\GameUI.dll'. Module was built without symbols.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\icudt.dll'. Module was built without symbols.
ILocalize::AddFile() failed to load file "resource/vr_english.txt".
Platform config directory: platform\config
0:Initializing platform...
Sound Initialization
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\avcodec-53.dll'. Module was built without symbols.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\avutil-51.dll'. Module was built without symbols.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\dsound.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\avformat-53.dll'. Module was built without symbols.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nsi.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nlaapi.dll'. Cannot find or open the PDB file.
The thread 0x6730 has exited with code 0 (0x0).
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ResourcePolicyClient.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\ResourcePolicyClient.dll'
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ResourcePolicyClient.dll'. Cannot find or open the PDB file.
Set primary sound buffer format: yes
Using secondary sound buffer
   2 channel(s)
   16 bits/sample
   11025 bytes/sec
DirectSound initialized
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\binkawin.asi'. Cannot find or open the PDB file.
'hl.exe' (Win32): Unloaded 'E:\Spiele\Steam\steamapps\common\Half-Life\binkawin.asi'
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\mssmp3.asi'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\mssvoice.asi'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\wdmaud.drv'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\ksuser.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mcicda.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\mcicda.dll'
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msacm32.drv'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msacm32.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\midimap.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\DemoPlayer.dll'. Module was built without symbols.
'hl.exe' (Win32): Unloaded 'E:\Spiele\Steam\steamapps\common\Half-Life\DemoPlayer.dll'
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\DemoPlayer.dll'. Module was built without symbols.
Loaded library demoplayer.dll.
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\Core.dll'. Module was built without symbols.
'hl.exe' (Win32): Unloaded 'E:\Spiele\Steam\steamapps\common\Half-Life\Core.dll'
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\Half-Life\Core.dll'. Module was built without symbols.
Loaded library core.dll.
Creating fake network channel.
Server module initialized.
Loaded library core.dll.
World module initialized.
DemoPlayer module initialized.
Parsed 143 text messages
WARNING: failed to locate sequence file global
'hl.exe' (Win32): Loaded 'E:\Spiele\Steam\steamapps\common\SteamVR\bin\vrclient.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\vcruntime140.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\msvcp140.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\tdh.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\mintdh.dll'. Cannot find or open the PDB file.
Fri May 31 2019 11:43:48.758 - //==============================================================================================
Fri May 31 2019 11:43:48.758 - ================================================================================================
Fri May 31 2019 11:43:48.758 - ================================================================================================
Fri May 31 2019 11:43:48.758 - hl.exe 1.5.2 startup with PID=23072, config=E:\Spiele\Steam\config, runtime=E:\Spiele\Steam\steamapps\common\SteamVR
Fri May 31 2019 11:43:48.759 - vrclient type=VRApplication_Scene
Fri May 31 2019 11:43:48.764 - [Settings] Load Default Json Settings from E:\Spiele\Steam\steamapps\common\SteamVR\drivers\htc\resources\settings\default.vrsettings
Fri May 31 2019 11:43:48.765 - [Settings] Load Default Json Settings from E:\Spiele\Steam\steamapps\common\SteamVR\drivers\lighthouse\resources\settings\default.vrsettings
Fri May 31 2019 11:43:48.765 - [Settings] Load Default Json Settings from E:\Spiele\Steam\steamapps\common\SteamVR\drivers\null\resources\settings\default.vrsettings
Fri May 31 2019 11:43:48.766 - [Settings] Load Default Json Settings from E:\Spiele\Steam\steamapps\common\SteamVR\resources\settings\default.vrsettings
Fri May 31 2019 11:43:48.767 - [Settings] Load Json Settings from E:\Spiele\Steam\config\steamvr.vrsettings
Fri May 31 2019 11:43:51.801 - Received success response from vrserver connect
Fri May 31 2019 11:43:53.924 - Timed out waiting for a good app key
Fri May 31 2019 11:43:53.924 - App key after connect message:system.generated.hl.exe
Fri May 31 2019 11:43:53.942 - Received success response from vrcompositor connect
Fri May 31 2019 11:43:53.942 - Initializing the limited version of CVRCompositorClient
Fri May 31 2019 11:43:53.972 - Action Manifest Path set to E:\Spiele\Steam\steamapps\common\Half-Life\vr\actions\actions.manifest
Successfully loaded custom action ExampleCustomAction: speak "nice command"
Successfully loaded custom action ExampleCustomAction: speak "you are great"
Successfully loaded custom action ExampleCustomAction: speak "magnetic gordon inside"
Successfully loaded custom action ExampleCustomAction: speak "maximum radioactive service for you"
Successfully loaded custom action ExampleCustomAction: speak "to be _period not to be that is the question"
Fri May 31 2019 11:43:54.032 - SetSkyboxOverride with 6 textures
Fri May 31 2019 11:43:54.032 - Capturing Scene Focus
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nvapi.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\nvapi.dll'
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\nvapi.dll'. Cannot find or open the PDB file.
Fri May 31 2019 11:43:54.053 - Found Windows 8 or newer, so enable advanced image processing of scene textures.
Fri May 31 2019 11:43:54.067 - Found IDXGIAdapter index 0 which matches expected LUID 0x1f74b.
'hl.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_c5dc31c3a136544a\nvldumd.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\SysWOW64\rsaenh.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_c5dc31c3a136544a\nvwgf2um.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Unloaded 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_c5dc31c3a136544a\nvwgf2um.dll'
'hl.exe' (Win32): Loaded 'C:\Windows\System32\DriverStore\FileRepository\nv_dispi.inf_amd64_c5dc31c3a136544a\nvwgf2um.dll'. Cannot find or open the PDB file.
'hl.exe' (Win32): Loaded 'C:\Program Files\NVIDIA Corporation\Ansel\Tools\NvCameraWhitelisting32.dll'. Cannot find or open the PDB file.
The thread 0x5690 has exited with code 0 (0x0).
'hl.exe' (Win32): Unloaded 'C:\Program Files\NVIDIA Corporation\Ansel\Tools\NvCameraWhitelisting32.dll'
Fri May 31 2019 11:43:54.272 - Created shared texture 'Scene create OpenGL, -1 53' 256x256 (1 mips)
Fri May 31 2019 11:43:54.277 - Created shared texture 'Scene create OpenGL, -1 54' 256x256 (1 mips)
Fri May 31 2019 11:43:54.282 - Created shared texture 'Scene create OpenGL, -1 55' 256x256 (1 mips)
Fri May 31 2019 11:43:54.290 - Created shared texture 'Scene create OpenGL, -1 56' 256x256 (1 mips)
Fri May 31 2019 11:43:54.295 - Created shared texture 'Scene create OpenGL, -1 57' 256x256 (1 mips)
Fri May 31 2019 11:43:54.301 - Created shared texture 'Scene create OpenGL, -1 58' 256x256 (1 mips)
STEAM Auth Server
execing hw/geforce.cfg
execing valve.rc
execing language.cfg
execing autoexec.cfg
execing violence.cfg
execing hw/geforce.cfg
execing config.cfg
warning: MP3_InitStream(29, media\gamestartup.mp3) failed
Exception thrown at 0x77093804 (ntdll.dll) in hl.exe: 0xC0000005: Access violation reading location 0x00000014.
Exception thrown at 0x0F7C6861 (GameUI.dll) in hl.exe: 0xC0000005: Access violation writing location 0x00000A50.
E:\Spiele\Steam\crashhandler.dll
E:\Spiele\Steam\steamerrorreporter.exe
E:\Spiele\Steam\steamerrorreporter.exe
Starting minidump reporter process
Missing shutdown function for Sys_InitAuthentication() : Sys_ShutdownAuthentication()
Missing shutdown function for Host_Init( &host_parms ) : Host_Shutdown()
Missing shutdown function for Sys_InitLauncherInterface() : Sys_ShutdownLauncherInterface()
Missing shutdown function for Sys_InitMemory() : Sys_ShutdownMemory()
Missing shutdown function for Sys_Init() : Sys_Shutdown()
Missing shutdown function for FileSystem_Init(basedir, (void *)filesystemFactory) : FileSystem_Shutdown()
Missing shutdown function for Sys_InitArgv( OrigCmd ) : Sys_ShutdownArgv()
onecoreuap\windows\moderncore\inputv2\inputhost\host\inputhost.cpp(371)\inputhost.dll!61D628AF: (caller: 6500B45A) ReturnHr(1) tid(3a58) 80004005 Unspecified error
'hl.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\dinput.dll'
'hl.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\dciman32.dll'
'hl.exe' (Win32): Unloaded 'C:\Windows\SysWOW64\ddraw.dll'
'hl.exe' (Win32): Unloaded 'E:\Spiele\Steam\steamapps\common\Half-Life\steam_api.dll'
'hl.exe' (Win32): Unloaded 'E:\Spiele\Steam\steamapps\common\Half-Life\hw.dll'
'hl.exe' (Win32): Unloaded 'E:\Spiele\Steam\steamapps\common\Half-Life\FileSystem_Stdio.dll'
The thread 0x3e18 has exited with code 0 (0x0).
The thread 0x4e40 has exited with code 0 (0x0).
The thread 0x728c has exited with code 0 (0x0).
The thread 0x41d0 has exited with code 0 (0x0).
The thread 0x74c4 has exited with code 0 (0x0).
The thread 0x70c8 has exited with code 0 (0x0).
The thread 0x73f0 has exited with code 0 (0x0).
The thread 0x4de0 has exited with code 0 (0x0).
The thread 0x59f0 has exited with code 0 (0x0).
The thread 0x4338 has exited with code 0 (0x0).
The thread 0x49d4 has exited with code 0 (0x0).
The thread 0x4364 has exited with code 0 (0x0).
The thread 0x77ec has exited with code 0 (0x0).
The thread 0xb7c has exited with code 0 (0x0).
The thread 0x2e60 has exited with code 0 (0x0).
The thread 0x3320 has exited with code 0 (0x0).
The thread 0x2e6c has exited with code 0 (0x0).
The thread 0x4af8 has exited with code 0 (0x0).
The thread 0x547c has exited with code 0 (0x0).
The thread 0x3c70 has exited with code 0 (0x0).
The thread 0xe4c has exited with code 0 (0x0).
The thread 0x3334 has exited with code 0 (0x0).
The thread 0x4720 has exited with code 0 (0x0).
The thread 0x7780 has exited with code 0 (0x0).
The thread 0x4448 has exited with code 0 (0x0).
The thread 0x14a0 has exited with code 0 (0x0).
The thread 0x6230 has exited with code 0 (0x0).
Exception thrown at 0x77095A7E (ntdll.dll) in hl.exe: 0xC0000005: Access violation reading location 0x00BFFFF9.
Unhandled exception at 0x77095A7E (ntdll.dll) in hl.exe: 0xC0000005: Access violation reading location 0x00BFFFF9.
mikela-valve commented 5 years ago

It's crashing adding -dev output to the console, in the crash you attached specifically it was running the 'exec config.cfg' that happens at startup and was adding that text to the console through DPrintf.

Try running without -dev for a bit and see if you still see crashes like this. Also, keep track of where the crashes are happening if you haven't been already and see if they all occur in GameUI.dll like this one does.

maxvollmer commented 5 years ago

@mikela-valve Thank you so much for looking into this and your quick response! So far all crashes occurred in GameUI.dll. I will let you know if I encounter a crash that happens elsewhere.

I will remove -dev and see how it goes. Will get back to you as soon as I launched the mod often enough to be able to make any assessments :)

Were you able to determine if this is caused by my mod, or if it is a bug in HL?

maxvollmer commented 5 years ago

Geckon from the SC team just told me that they had a similar issue when using -condebug (which I am also using). Apparently sometimes the engine fails to open the log file. Could this be the issue?

I will also try running the mod without -condebug, to see if this is indeed the same issue.

afwn90cj93201nixr2e1re commented 5 years ago

Gettinf some of 0005c errors now too, but in ucrtbased.dll hl.exe.

sabianroberts commented 3 years ago

This issue happened for me with my mod, removing -condebug from launch options seemed to fix it.

SamVanheer commented 3 years ago

It's important to note that Con_DPrintf does not check if the console is initialized before it prints something, unlike Con_Printf which does check that. This behavior differs from Quake where Con_DPrintf is just a wrapper around Con_Printf that checks the developer cvar before printing.

Adding the same checks would break a ton of debug output so that's not a solution. It might be worth looking into edge cases where the console isn't fully initialized and a call could access a null pointer somewhere down the line.

Also i doubt qconsole.log has anything to do with it. If you set it to read only or make it a directory then open returns -1, and it works fine even in that case. -condebug probably only exposes the problem, it doesn't cause it.