Inconsistent exit crashes can be caused when there are dependencies on automatically destructed singletons or static variables--the stack you gave looks like final cleanup, and if the call to RemoveAllPanels uses an object that has already been destructed (possibly the CBaseViewport itself, possibly a singleton used by that function call), the result would be gibberish; calls into that object would have erratic behavior.
The compiler should in theory use a consistent cleanup ordering between compiles, but there's no requirement specified by the C++ standard that would enforce this, and if the destruction order isn't consistent for some reason, it would explain the behavior that you're seeing from compile to compile. Any change to apparently unrelated code could potentially result in the destruction order of singletons being changed. I'd begin looking for early destruction of resources used by RemoveAllPanels (including the CBaseViewport itself) as a cause. Karl -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maurino Berry Sent: Monday, February 21, 2005 9:39 PM To: [email protected] Subject: Re: [hlcoders] Bizzare/Random/Frightening crash unfortunately cleaning it doesnt seem to help very often :< I think I'm going to try compiling on another computer maybe if I can't get any more suggestions from here.. thanks though :D _________________________________________________________________ Designer Mail isn't just fun to send, it's fun to receive. Use special stationery, fonts and colors. http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=htt p://hotmail.com/enca&HL=Market_MSNIS_Taglines Start enjoying all the benefits of MSNR Premium right now and get the first two months FREE*. _______________________________________________ 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

