[hlcoders] Difficulty diagnosing crash

2008-12-18 Thread Richard Slaughter
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

Re: [hlcoders] Difficulty diagnosing crash

2008-12-18 Thread Jonas 'Sortie' Termansen
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 slau...@vault13.co.uk To: Discussion of Half-Life Programming hlcoders@list.valvesoftware.com Sent: Thursday,

Re: [hlcoders] Difficulty diagnosing crash

2008-12-18 Thread Skyler Clark
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.