(SOURCE)Unhandled exception at 0x00000000 in hl...

Grab your favourite IDE and tinker with the innards of game engines

(SOURCE)Unhandled exception at 0x00000000 in hl...

Postby bloodybaconbits on Thu Jan 10, 2013 2:57 am

Unhandled exception at 0x00000000 in hl2.exe: 0xC0000005: Access violation reading location 0x00000000.

Debug error
Code: Select all
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\hl2.exe', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\user32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\bin\launcher.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\wsock32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\shell32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\bin\tier0.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\bin\steam_api.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\bin\vstdlib.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\ws2_32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\combase.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\shlwapi.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\nsi.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\bcryptprimitives.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\GameOverlayRenderer.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\bin\FileSystem_Steam.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\Steam.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\version.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\NapiNSP.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\pnrpnsp.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\nlaapi.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\mswsock.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\dnsapi.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\winrnr.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\wshbth.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\IPHLPAPI.DLL', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\winnsi.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\FWPUCLNT.DLL', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\rasadhlp.dll', Cannot find or open the PDB file
First-chance exception at 0x778c4b32 in hl2.exe: Microsoft C++ exception: common::CNamedArgsUndefinedNameException at memory location 0x0018e030..
First-chance exception at 0x778c4b32 in hl2.exe: Microsoft C++ exception: common::CNamedArgsUndefinedNameException at memory location 0x0018dffc..
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\dbghelp.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\CSERHelper.dll', Cannot find or open the PDB file
The thread 'CThread' (0x1974) has exited with code 0 (0x0).
First-chance exception at 0x778c4b32 in hl2.exe: Microsoft C++ exception: common::CRuntimeError at memory location 0x0018e134..
First-chance exception at 0x778c4b32 in hl2.exe: Microsoft C++ exception: common::CNamedArgsUndefinedNameException at memory location 0x0018e020..
'hl2.exe': Loaded 'C:\Windows\SysWOW64\uxtheme.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Xfire\xfire_toucan_45941.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\winmm.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\oleaut32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\msimg32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\winmmbase.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\msvcr71.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\SHCore.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\bin\engine.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\wininet.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\bin\binkw32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\iertutil.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\bin\inputsystem.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\bin\MaterialSystem.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\bin\datacache.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\bin\StudioRender.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\bin\vphysics.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\bin\valve_avi.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\avifil32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\msacm32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\msvfw32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_5.82.9200.16384_none_bf100cd445f4d954\comctl32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\bin\vguimatsurface.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\bin\vgui2.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\bin\shaderapidx9.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\d3d9.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\dwmapi.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\nvd3dum.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\KBDUS.DLL', Cannot find or open the PDB file
'hl2.exe': Unloaded 'C:\Windows\SysWOW64\KBDUS.DLL'
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\bin\xinput1_3.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\setupapi.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\cfgmgr32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\devobj.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\wintrust.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\crypt32.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\msasn1.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\dinput.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\hid.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\bin\stdshader_dbg.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\bin\stdshader_dx6.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\bin\stdshader_dx7.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\bin\stdshader_dx8.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\bin\stdshader_dx9.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\clbcatq.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\wbem\wbemprox.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\wbemcomn.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\cryptsp.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\rsaenh.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\wbem\wbemsvc.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\wbem\fastprox.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\username\source sdk base 2007\bin\unicode.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\powrprof.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\NVIDIA Corporation\3D Vision\nvSCPAPI.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\dxgi.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\MMDevAPI.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Windows\SysWOW64\AudioSes.dll', Cannot find or open the PDB file
'hl2.exe': Loaded 'C:\Program Files (x86)\Steam\steamapps\sourcemods\mymod1\bin\Client.dll', Symbols loaded.
First-chance exception at 0x00000000 in hl2.exe: 0xC0000005: Access violation.
Unhandled exception at 0x00000000 in hl2.exe: 0xC0000005: Access violation reading location 0x00000000.
The program '[5124] hl2.exe: Native' has exited with code 0 (0x0).



I just want to say I don't understand why its so difficult to set this up, its like they dont even support it or something. I've also searched for some tutorials and I can barely find any at all.

I appreciate any help anyone can provide.
bloodybaconbits
Dumpling
Dumpling
 
Joined: Thu Jan 10, 2013 2:49 am

Re: (SOURCE)Unhandled exception at 0x00000000 in hl...

Postby Gary on Thu Jan 10, 2013 3:38 am

Uh... what was the last modification/addition to code you implemented? Did you tried to access a potentially invalid pointer/variable?

This error doesn't really help us figure out the problem. Cause different things can cause it.
Have a question related to modding or something I posted? Something that needs staff attention? I haven't been active lately, but feel free to PM me or message me on Steam(link below)

User avatar
Gary
Interlopers Staff
Interlopers Staff
 
Joined: Wed Dec 16, 2009 12:40 am
Location: USA, FL

Re: (SOURCE)Unhandled exception at 0x00000000 in hl...

Postby bloodybaconbits on Thu Jan 10, 2013 3:54 am

I only attempted to set up SDK 2007, I haven't added anything yet.

I have been creating a mod using the mod wizard, and opening Game_HL2MP-2005.sln in Visual C++ Expression 2010. Could you walk me through the fixes required please :)?
bloodybaconbits
Dumpling
Dumpling
 
Joined: Thu Jan 10, 2013 2:49 am

Re: (SOURCE)Unhandled exception at 0x00000000 in hl...

Postby Armageddon on Thu Jan 10, 2013 4:44 am

There are no fixes, just change it from debug to release and it should work.
User avatar
Armageddon
Forum Goer Elite™
Forum Goer Elite™
 
Joined: Sun Dec 14, 2008 5:53 am

Re: (SOURCE)Unhandled exception at 0x00000000 in hl...

Postby Gary on Thu Jan 10, 2013 4:56 am

I've set up the 2007 codebase a hundred times by now(for VS2010). It's really easy...

Just follow:
https://developer.valvesoftware.com/wik ... der_VS2010
Then
https://developer.valvesoftware.com/wik ... ual_Studio

You might have to change the steamappid...
Have a question related to modding or something I posted? Something that needs staff attention? I haven't been active lately, but feel free to PM me or message me on Steam(link below)

User avatar
Gary
Interlopers Staff
Interlopers Staff
 
Joined: Wed Dec 16, 2009 12:40 am
Location: USA, FL

Re: (SOURCE)Unhandled exception at 0x00000000 in hl...

Postby bloodybaconbits on Thu Jan 10, 2013 5:19 am

Gary wrote:I've set up the 2007 codebase a hundred times by now(for VS2010). It's really easy...

Just follow:
https://developer.valvesoftware.com/wik ... der_VS2010
Then
https://developer.valvesoftware.com/wik ... ual_Studio

You might have to change the steamappid...



Alright, I think I'm getting somewhere, what I did before was just build the code and it gave me an error so I searched that on google and someone said to comment it out. (That obviously was the wrong thing to do.) But now I have a new error.


Code: Select all
1>------ Build started: Project: Server HL2MP, Configuration: Debug Win32 ------
2>------ Build started: Project: Client HL2MP, Configuration: Debug Win32 ------
1>  grenade_tripmine.cpp
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(990,5): warning MSB8012: TargetPath(C:\Users\bloodybaconbits \Desktop\Other\mymod\src\game\client\.\Debug_hl2mp\Client HL2MP.dll) does not match the Linker's OutputFile property value (C:\Users\bloodybaconbits \Desktop\Other\mymod\src\game\client\Debug_hl2mp\Client.dll). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
2>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppBuild.targets(992,5): warning MSB8012: TargetName(Client HL2MP) does not match the Linker's OutputFile property value (Client). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile).
1>c:\users\bloodybaconbits \desktop\other\mymod\src\game\server\hl2mp\grenade_tripmine.cpp(276): error C2039: 'OnTakeDamage_Alive' : is not a member of 'CBaseGrenade'
1>          c:\users\bloodybaconbits \desktop\other\mymod\src\game\shared\basegrenade_shared.h(32) : see declaration of 'CBaseGrenade'
2>  client_hl2mp-2005.vcxproj -> C:\Users\bloodybaconbits \Desktop\Other\mymod\src\game\client\.\Debug_hl2mp\Client HL2MP.dll
========== Build: 1 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
bloodybaconbits
Dumpling
Dumpling
 
Joined: Thu Jan 10, 2013 2:49 am

Re: (SOURCE)Unhandled exception at 0x00000000 in hl...

Postby Gary on Thu Jan 10, 2013 5:28 am

Did you follow those links I gave you word for word?
Have a question related to modding or something I posted? Something that needs staff attention? I haven't been active lately, but feel free to PM me or message me on Steam(link below)

User avatar
Gary
Interlopers Staff
Interlopers Staff
 
Joined: Wed Dec 16, 2009 12:40 am
Location: USA, FL

Re: (SOURCE)Unhandled exception at 0x00000000 in hl...

Postby bloodybaconbits on Thu Jan 10, 2013 10:57 pm

okay I was able to get it to work, but now I cant go ingame because it says I triggered a breakpoint. Also: assertion failed.
bloodybaconbits
Dumpling
Dumpling
 
Joined: Thu Jan 10, 2013 2:49 am

Re: (SOURCE)Unhandled exception at 0x00000000 in hl...

Postby Gary on Thu Jan 10, 2013 11:09 pm

Hit skip all. You'll get random assertions no matter what, they are usually meaningless as far as you should be concerned.
Have a question related to modding or something I posted? Something that needs staff attention? I haven't been active lately, but feel free to PM me or message me on Steam(link below)

User avatar
Gary
Interlopers Staff
Interlopers Staff
 
Joined: Wed Dec 16, 2009 12:40 am
Location: USA, FL

Re: (SOURCE)Unhandled exception at 0x00000000 in hl...

Postby bloodybaconbits on Fri Jan 11, 2013 12:34 am

Ok it works, fine now. Whats next?
bloodybaconbits
Dumpling
Dumpling
 
Joined: Thu Jan 10, 2013 2:49 am

Re: (SOURCE)Unhandled exception at 0x00000000 in hl...

Postby IBeMad on Wed Jan 30, 2013 2:02 am

That's mostly up to you...
IBeMad
Member
Member
 
Joined: Sun Jan 22, 2012 5:18 pm

Return to Programming

Who is online

Users browsing this forum: No registered users