[GMOD13][GM]Crash on death

Hi! So I’m playing around with gmod 13 and gamemodes and for some reason the game completely crashes(stopped working) when i die.
It doesn’t seem to be a gmod 13 glitch since i seem to die only in my gamemode.

I haven’t even touched GM:GetFallDamge or anything else that has something to do with fall damage.
It only seems to happend when GM:PlayerSpawn is used, even if the function is empty.

Any ideas on what this could be ?


Where are those located ? I tried looking for them but i couldnt find them.
Also, i did some testing and I’ve come to a conclusion that GM:PlayerSpawn is causing the crash but the crash dumps if there even are any would probably be helpful anyway.
Basicly, i added an empty GM:PlayerSpawn in a blank gamemode and the only code is deriving from sandbox and an empty GM:PlayerSpawn and it crashed when i died.

they are somewhere in one of the subfolders of the main steam folder.

Upload it to dumps.garrysmod.com and send us the url.

Found them but the website is unreachable. Anywhere else i can upload them to ?
I opened the most recent one and it said:

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

Full Info: