Trying to debug Mdmps.

So my server has been crashing periodically and I just can’t put my finger on it. I decided to take matters into my own hands and open it up in Visual Studio(Had it installed and had no clue you could open Mdmps with it.)

I started the debug process and I need the server.pdb, now I know only Garry has this but would it be possible for him to release it since he doesn’t read dumps anymore since he’s working on Rust and other projects?

EDIT:
Here is what I could get from the crash dump




Dump Summary
------------
Dump File:	srcds_1678491_crash_2014_11_19T2_49_11C0.mdmp : C:\Users
ick\Downloads\srcds_1678491_crash_2014_11_19T2_49_11C0.mdmp
Last Write Time:	11/19/2014 10:09:01 PM
Process Name:	srcds.exe : C:\sourceservers\gmodisland\srcds.exe
Process Architecture:	x86
Exception Code:	0xC0000005
Exception Information:	The thread tried to read from or write to a virtual address for which it does not have the appropriate access.
Heap Information:	Not Present

System Information
------------------
OS Version:	6.1.7601
CLR Version(s):	

Modules
-------
Module Name	Module Path	Module Version
-----------	-----------	--------------
srcds.exe	C:\sourceservers\gmodisland\srcds.exe	0.0.0.0
ntdll.dll	C:\Windows\SysWOW64
tdll.dll	6.1.7601.18247
kernel32.dll	C:\Windows\SysWOW64\kernel32.dll	6.1.7601.18409
KERNELBASE.dll	C:\Windows\SysWOW64\KERNELBASE.dll	6.1.7601.18409
user32.dll	C:\Windows\SysWOW64\user32.dll	6.1.7601.17514
gdi32.dll	C:\Windows\SysWOW64\gdi32.dll	6.1.7601.18577
lpk.dll	C:\Windows\SysWOW64\lpk.dll	6.1.7601.18177
usp10.dll	C:\Windows\SysWOW64\usp10.dll	1.626.7601.18454
msvcrt.dll	C:\Windows\SysWOW64\msvcrt.dll	7.0.7601.17744
advapi32.dll	C:\Windows\SysWOW64\advapi32.dll	6.1.7601.18247
sechost.dll	C:\Windows\SysWOW64\sechost.dll	6.1.7600.16385
rpcrt4.dll	C:\Windows\SysWOW64\rpcrt4.dll	6.1.7601.18532
sspicli.dll	C:\Windows\SysWOW64\sspicli.dll	6.1.7601.18637
CRYPTBASE.dll	C:\Windows\SysWOW64\CRYPTBASE.dll	6.1.7600.16385
imm32.dll	C:\Windows\System32\imm32.dll	6.1.7601.17514
msctf.dll	C:\Windows\SysWOW64\msctf.dll	6.1.7600.16385
dedicated.dll	C:\sourceservers\gmodisland\bin\dedicated.dll	1.0.0.1
shell32.dll	C:\Windows\SysWOW64\shell32.dll	6.1.7601.18517
shlwapi.dll	C:\Windows\SysWOW64\shlwapi.dll	6.1.7601.17514
wsock32.dll	C:\Windows\System32\wsock32.dll	6.1.7600.16385
ws2_32.dll	C:\Windows\SysWOW64\ws2_32.dll	6.1.7601.17514
nsi.dll	C:\Windows\SysWOW64
si.dll	6.1.7600.16385
steam_api.dll	C:\sourceservers\gmodisland\bin\steam_api.dll	1.68.8.89
tier0.dll	C:\sourceservers\gmodisland\bin	ier0.dll	1.0.0.1
winmm.dll	C:\Windows\System32\winmm.dll	6.1.7601.17514
vstdlib.dll	C:\sourceservers\gmodisland\bin\vstdlib.dll	1.0.0.1
cryptsp.dll	C:\Windows\System32\cryptsp.dll	6.1.7601.18526
rsaenh.dll	C:\Windows\System32\rsaenh.dll	6.1.7600.16385
engine.dll	c:\sourceservers\gmodisland\bin\engine.dll	1.0.0.1
wininet.dll	C:\Windows\SysWOW64\wininet.dll	11.0.9600.17420
api-ms-win-downlevel-user32-l1-1-0.dll	C:\Windows\SysWOW64\api-ms-win-downlevel-user32-l1-1-0.dll	6.2.9200.16492
api-ms-win-downlevel-shlwapi-l1-1-0.dll	C:\Windows\SysWOW64\api-ms-win-downlevel-shlwapi-l1-1-0.dll	6.2.9200.16492
api-ms-win-downlevel-version-l1-1-0.dll	C:\Windows\SysWOW64\api-ms-win-downlevel-version-l1-1-0.dll	6.2.9200.16492
version.dll	C:\Windows\System32\version.dll	6.1.7600.16385
api-ms-win-downlevel-normaliz-l1-1-0.dll	C:\Windows\SysWOW64\api-ms-win-downlevel-normaliz-l1-1-0.dll	6.2.9200.16492
normaliz.dll	C:\Windows\SysWOW64
ormaliz.dll	6.1.7600.16385
iertutil.dll	C:\Windows\SysWOW64\iertutil.dll	11.0.9600.17420
api-ms-win-downlevel-advapi32-l1-1-0.dll	C:\Windows\SysWOW64\api-ms-win-downlevel-advapi32-l1-1-0.dll	6.2.9200.16492
userenv.dll	C:\Windows\SysWOW64\userenv.dll	6.1.7601.17514
profapi.dll	C:\Windows\SysWOW64\profapi.dll	6.1.7600.16385
inputsystem.dll	c:\sourceservers\gmodisland\bin\inputsystem.dll	1.0.0.1
materialsystem.dll	c:\sourceservers\gmodisland\bin\materialsystem.dll	1.0.0.1
studiorender.dll	c:\sourceservers\gmodisland\bin\studiorender.dll	1.0.0.1
vphysics.dll	c:\sourceservers\gmodisland\bin\vphysics.dll	0.0.0.0
datacache.dll	c:\sourceservers\gmodisland\bin\datacache.dll	1.0.0.1
vgui2.dll	c:\sourceservers\gmodisland\bin\vgui2.dll	1.0.0.1
ole32.dll	C:\Windows\SysWOW64\ole32.dll	6.1.7601.17514
oleaut32.dll	C:\Windows\SysWOW64\oleaut32.dll	6.1.7601.18640
shaderapiempty.dll	C:\sourceservers\gmodisland\bin\shaderapiempty.dll	1.0.0.1
XInput1_3.dll	C:\sourceservers\gmodisland\bin\XInput1_3.dll	9.15.779.0
setupapi.dll	C:\Windows\SysWOW64\setupapi.dll	6.1.7601.17514
cfgmgr32.dll	C:\Windows\SysWOW64\cfgmgr32.dll	6.1.7601.17621
devobj.dll	C:\Windows\SysWOW64\devobj.dll	6.1.7601.17621
wintrust.dll	C:\Windows\SysWOW64\wintrust.dll	6.1.7601.18526
crypt32.dll	C:\Windows\SysWOW64\crypt32.dll	6.1.7601.18526
msasn1.dll	C:\Windows\SysWOW64\msasn1.dll	6.1.7601.17514
dinput.dll	C:\Windows\System32\dinput.dll	6.1.7600.16385
hid.dll	C:\Windows\System32\hid.dll	6.1.7600.16385
stdshader_dbg.dll	c:\sourceservers\gmodisland\bin\stdshader_dbg.dll	1.0.0.1
stdshader_dx6.dll	c:\sourceservers\gmodisland\bin\stdshader_dx6.dll	1.0.0.1
stdshader_dx7.dll	c:\sourceservers\gmodisland\bin\stdshader_dx7.dll	1.0.0.1
stdshader_dx8.dll	c:\sourceservers\gmodisland\bin\stdshader_dx8.dll	1.0.0.1
stdshader_dx9.dll	c:\sourceservers\gmodisland\bin\stdshader_dx9.dll	1.0.0.1
game_shader_generic_garrysmod.dll	c:\sourceservers\gmodisland\garrysmod\bin\game_shader_generic_garrysmod.dll	1.0.0.1
server.dll	c:\sourceservers\gmodisland\garrysmod\bin\server.dll	1.0.0.1
soundemittersystem.dll	C:\sourceservers\gmodisland\bin\soundemittersystem.dll	1.0.0.1
scenefilecache.dll	C:\sourceservers\gmodisland\bin\scenefilecache.dll	1.0.0.1
IPHLPAPI.DLL	C:\Windows\System32\IPHLPAPI.DLL	6.1.7601.17514
winnsi.dll	C:\Windows\System32\winnsi.dll	6.1.7600.16385
dhcpcsvc.dll	C:\Windows\System32\dhcpcsvc.dll	6.1.7600.16385
dbghelp.dll	C:\sourceservers\dbghelp.dll	6.7.5.0
mswsock.dll	C:\Windows\System32\mswsock.dll	6.1.7601.18254
WSHTCPIP.DLL	C:\Windows\System32\WSHTCPIP.DLL	6.1.7600.16385
lua_shared.dll	c:\sourceservers\gmodisland\garrysmod\bin\lua_shared.dll	1.0.0.1
Steam.dll	C:\sourceservers\gmodisland\bin\Steam.dll	2.0.1678.491
nlaapi.dll	C:\Windows\System32
laapi.dll	6.1.7601.17761
NapiNSP.dll	C:\Windows\System32\NapiNSP.dll	6.1.7600.16385
dnsapi.dll	C:\Windows\System32\dnsapi.dll	6.1.7601.17570
winrnr.dll	C:\Windows\System32\winrnr.dll	6.1.7600.16385
FWPUCLNT.DLL	C:\Windows\System32\FWPUCLNT.DLL	6.1.7601.18283
rasadhlp.dll	C:\Windows\System32\rasadhlp.dll	6.1.7600.16385
gmsv_mysqloo_win32.dll	c:\sourceservers\gmodisland\garrysmod\lua\bin\gmsv_mysqloo_win32.dll	0.0.0.0
libmySQL.dll	C:\sourceservers\gmodisland\libmySQL.dll	0.0.0.0
gmsv_ad2filestream_win32.dll	c:\sourceservers\gmodisland\garrysmod\lua\bin\gmsv_ad2filestream_win32.dll	0.0.0.0
wship6.dll	C:\Windows\System32\wship6.dll	6.1.7600.16385
steamclient.dll	C:\sourceservers\gmodisland\bin\steamclient.dll	1.68.8.89
imagehlp.dll	C:\Windows\SysWOW64\imagehlp.dll	6.1.7601.18288
psapi.dll	C:\Windows\SysWOW64\psapi.dll	6.1.7600.16385
tier0_s.dll	C:\sourceservers\gmodisland\bin	ier0_s.dll	1.68.8.89
vstdlib_s.dll	C:\sourceservers\gmodisland\bin\vstdlib_s.dll	1.68.8.89
pdh.dll	C:\Windows\System32\pdh.dll	6.1.7601.17514
secur32.dll	C:\Windows\System32\secur32.dll	6.1.7601.18637
crashhandler.dll	C:\sourceservers\gmodisland\bin\crashhandler.dll	1.68.30.41
winhttp.dll	C:\Windows\System32\winhttp.dll	6.1.7601.17514
webio.dll	C:\Windows\System32\webio.dll	6.1.7601.17725
dhcpcsvc6.DLL	C:\Windows\System32\dhcpcsvc6.DLL	6.1.7601.17970
credssp.dll	C:\Windows\System32\credssp.dll	6.1.7601.18606
powrprof.dll	C:\Windows\System32\powrprof.dll	6.1.7600.16385


No.

Ok so I’m guessing there isn’t any alternative to reading mdmps? I would of thought there would be a way to read crashes since it is Gmod after all.

Wasn’t there some website garry made to do that for you ages ago? I’m not sure if it still exists.

It doesn’t exist anymore and the metastruct one has been down for along while now.
[sp]http://dumps.metastruct.uk.to~dead[/sp]

Meta’s site got wiped, so only a couple things exist now, so someone else probably needs to attempt to make a new one elsewhere.

If there are so few sites to do it, I doubt anyone besides Robotboy knows how :confused:

Correct me if I’m wrong

Man that really sucks, let me know if you guys find a alternative. TBH a dump reader should be shipped with the game.

What problem do you plan on correcting with the information in a dump anyways?

Seeing what events happened last. Determining what actually caused the crash insted of guessing.

You don’t need to guess, at least not all of the time…

What addons are you running? How long after the server starts does it crash? If it takes x time then it is most likely a memory leak from an addon. You said the server crashes, does the client? If the client also crashes then it is most likely shared code. If only the server crashes then it could be shared or server code.

I know FAS2 has a memory leak, but that is clientside. There may be issues serverside with it too as entities stop spawning. M9K has a few issues too.

You can always try removing half the addons; no crash then start re-adding the removed addons half at a time until it crashes. If it still crashes swap the half you removed by re-adding them and removing the other half. Divide and conquer.

More information can help. If the server isn’t set up correctly, run validate on the install: https://dl.dropboxusercontent.com/u/26074909/tutoring/server_srcds_steamcmd/setting_up_a_server_with_steamcmd.lua.html