Memory leak detecting
I''m writing a multiplayer matchmaking/chat/game server for Linux, and have run into some problems. What memory leak detecting tools/libs do you guys use?
My server runs in multiple processes AND threads, and uses MySQL. I''ve tried memprof, but it crashes in the call to mysql_init() as far as I can tell, and ccmalloc and dmalloc reports very strange leaks in pthread and mysql calls.
Is the solution to compile my own mysql/pthread libs with debugging symbols and use these? (since I guess the distributed binaries are stripped).
-------------------------------------------------------------LGPL 3D engine - http://www.sourceforge.net/projects/realityengine
I use ElectricFence, and am really, really happy with it. It has its shortcomings, but in general, it''s great. It catches most of the tough array overwrite bugs in my game. The rest, well, that''s what testing''s for.
-ben.c
-ben.c
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement