Thread: Finding leaks
View Single Post
Finding leaks
Old
  (#1)
Maleficus
Member
 
Maleficus's Avatar
 
Status: Offline
Posts: 1,054
Join Date: May 2004
Location: Planet Earth
Default Finding leaks - 18-02-2005

I recently discovered a leak of some kind in Fritz. It doesn't do it always, and usually only after a while. It always crashes in the .exe, with an error msg about "referencing memory that could not be read".

I've run Fritz with various monitors running, and the Private Bytes count and the Handle counts for the game never increase, so I'm wondering if anyone with some C experience has some ideas where would be the "usual suspects" to look for. I've checked my pointers and strucs, they all look good.

I don't alloc any memory, don't play around with the game's internal pointers/strucs (much.....).

Its the randomness of the crash, and the fact that no memory or handles are used, that really confuses me ATM. ???


Dum Spiro Spero


  
Reply With Quote