I have encountered strange errors before when trying to access a null pointer, so as well as checking if it is invalid (like if you delete the object and then try to access the pointer) you should also ensure that you don't try to use the pointer before actually setting it to point at something.
Both are invalid pointer issues, but it's good to ensure you're looking for both types. -Skyler On Thu, Dec 18, 2008 at 8:33 AM, Jonas 'Sortie' Termansen <[email protected]> wrote: > I'd check what caused the crash, is it an invalid pointer? If it is, then > I'd try and track and see where it came from. > > - Sortie > > ----- Original Message ----- > From: "Richard Slaughter" <[email protected]> > To: "Discussion of Half-Life Programming" <[email protected]> > Sent: Thursday, December 18, 2008 2:17 PM > Subject: [hlcoders] Difficulty diagnosing crash > > >> Hi List, >> >> We've been having a crash issue for a while which I have no idea how to >> diagnose. As far as I know I haven't touched any of the code in any of >> the functions in the call stack, so I've no idea what's crashing it, >> however it only seems to occur on one map where we have a physics object >> which is a big ball that two teams try and push in to a goal, so could >> it be a physics issue? >> >> I've included the call stack from the crash dump below, any ideas? (Oh, >> this is a EP1 SDK mod) >> >> client.dll!virtualgroup_t::GetStudioHdr() Line 30 + 0x8 bytes C++ >> client.dll!CStudioHdr::pSeqdesc(int i=2047) Line 793 + 0x29 >> bytes C++ >> client.dll!C_BaseAnimating::DoAnimationEvents(CStudioHdr * >> pStudioHdr=0x3ef0de26) Line 2603 + 0xe bytes C++ >> client.dll!C_BaseAnimatingOverlay::DoAnimationEvents(CStudioHdr * >> pStudioHdr=0x051e25bc) Line 417 C++ >> client.dll!C_BaseAnimating::Simulate() Line 3880 + 0x12 bytes C++ >> client.dll!SimulateEntities() Line 1368 + 0xc bytes C++ >> client.dll!OnRenderStart() Line 1492 C++ >> client.dll!CHLClient::FrameStageNotify(ClientFrameStage_t >> curStage=FRAME_RENDER_START) Line 1604 C++ >> engine.dll!200252c7() >> [Frames below may be incorrect and/or missing, no symbols loaded >> for engine.dll] >> engine.dll!200c5e93() >> engine.dll!200d1aeb() >> engine.dll!200d21f7() >> engine.dll!200df0b5() >> engine.dll!200df1e3() >> engine.dll!200df28f() >> engine.dll!20189623() >> engine.dll!20188407() >> materialsystem.dll!0fe6f2d5() >> engine.dll!200f10ab() >> engine.dll!20188504() >> engine.dll!201edcc1() >> engine.dll!20188c2e() >> engine.dll!20188cec() >> launcher.dll!015d83e1() >> launcher.dll!015d83e1() >> launcher.dll!015d5cf2() >> ntdll.dll!7758429e() >> ntdll.dll!77584cb0() >> ntdll.dll!77584de0() >> ntdll.dll!77584e3a() >> ntdll.dll!775a8fb2() >> ntdll.dll!77584e10() >> ntdll.dll!775a921a() >> ntdll.dll!775a924b() >> ntdll.dll!77584e10() >> ntdll.dll!77584f21() >> kernel32.dll!769eb8f5() >> kernel32.dll!769eb907() >> hl2.exe!004011cc() >> GameOverlayRenderer.dll!1001f525() >> ntdll.dll!775a8b2c() >> ntdll.dll!77579986() >> ntdll.dll!775a9c05() >> ntdll.dll!775a8fb2() >> ntdll.dll!775aa28a() >> ntdll.dll!775a8b2c() >> ntdll.dll!775a8af0() >> ntdll.dll!775a8b2c() >> ntdll.dll!775a9f40() >> ntdll.dll!77598f24() >> kernel32.dll!769cc9fb() >> GameOverlayRenderer.dll!100207c9() >> GameOverlayRenderer.dll!1001ece8() >> GameOverlayRenderer.dll!1002091d() >> GameOverlayRenderer.dll!10020914() >> GameOverlayRenderer.dll!1001c6f1() >> GameOverlayRenderer.dll!10017f6e() >> GameOverlayRenderer.dll!1001ba85() >> GameOverlayRenderer.dll!1001bab2() >> GameOverlayRenderer.dll!1001c09f() >> GameOverlayRenderer.dll!1001bab2() >> ntdll.dll!775a861f() >> ntdll.dll!775a8640() >> ntdll.dll!775a861f() >> GameOverlayRenderer.dll!1001ecb0() >> GameOverlayRenderer.dll!1001ecb8() >> ntdll.dll!77597f54() >> kernel32.dll!769ecc2e() >> GameOverlayRenderer.dll!1001ece8() >> GameOverlayRenderer.dll!10019567() >> GameOverlayRenderer.dll!1001955e() >> GameOverlayRenderer.dll!1001b2e4() >> GameOverlayRenderer.dll!10017413() >> GameOverlayRenderer.dll!10015334() >> GameOverlayRenderer.dll!10015308() >> GameOverlayRenderer.dll!1001681e() >> GameOverlayRenderer.dll!10015308() >> GameOverlayRenderer.dll!10012048() >> ntdll.dll!77598cc4() >> kernel32.dll!769ec152() >> GameOverlayRenderer.dll!10012057() >> ntdll.dll!77597f54() >> kernel32.dll!769ecc2e() >> GameOverlayRenderer.dll!10012ccc() >> ntdll.dll!77584915() >> ntdll.dll!775a8fb2() >> ntdll.dll!77579986() >> GameOverlayRenderer.dll!10020f72() >> ntdll.dll!775a5b87() >> ntdll.dll!775a5955() >> GameOverlayRenderer.dll!10019c31() >> ntdll.dll!775843a3() >> ntdll.dll!775843aa() >> ntdll.dll!775a5883() >> ntdll.dll!775843aa() >> ntdll.dll!775853a5() >> ntdll.dll!77585368() >> kernel32.dll!769e0313() >> kernel32.dll!769ed26f() >> hl2.exe!00408f85() >> >> Thanks list! >> >> >> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlcoders >> > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

