Mailing List
Home
Forum Home
Mac Game - Mac game development
Rivers of MUD - a Diku and Merc based multiuser dungeon
SMAUG
Subjects
Getting UDP through NAT/firewalls/whatever for a game
Getting UDP through NAT/firewalls/whatever for a game
QuickTime errors
Python script as stand alone MUD server
Various sound problems
Fragment Shaders & GL TEXTURE RECTANGLE EXT
Timers and global variables
Re: Language and platform for Text MUD server
Apparent acquisition of Yantis (mysupersales) by IDE
HID keyboard
Getting UDP through NAT/firewalls/whatever for a game
Microsoft Sparkle
Director MX
Congratulations Horizons
Yet more problems fullscreen mode
Apple Dev Kitchen Them 's tasty vittles, Maw!
NSOpenGLContext, Pbuffers, and drawables
More DCR "theft " naughtiness
dynamic sprite creation and imaging lingo
Re: Find stuff in Flash array?
Effects of skill imbalances?
QuickTime errors
Rom 2 4/Quickmud Enhancement/Bug fix
Working with XML files/CFURL
smooth scrolling/subpixel tweening
RE: (Ron help me?) Flash text
Flash Racing
MudDev FAQ 2
Browser based games
Installing GLUT
Special character in Flash XML
 
finding memory leaks in MSVC++?

finding memory leaks in MSVC++?

2005-02-04       - By omar miisa

 Back
can anyone give me any tips on how to locate memory leaks and other crash
causing bugs like that? i put in the "memory manager" by (i believe) fluid
studios, it compiles fine(i changed one line in the includes in the cpp file
from '#include "stdafx.h"' to '#include <..\MFC\SRC\stdafx.h>') and it spits
out this file when i boot the mud:

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --

     memory.log - Memory logging file created on Fri Feb 04 02:27:53 2005

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --

This file contains a log of all memory operations performed during the last
run.

Interrogate this file to track errors or to help track down memory-related
issues. You can do this by tracing the allocations performed by a specific
owner
or by tracking a specific address through a series of allocations and
reallocations.

There is a lot of useful information here which, when used creatively, can
be
extremely helpful.

Note that the following guides are used throughout this file:

  [!] - Error
  [+] - Allocation
  [~] - Reallocation
  [-] - Deallocation
  [I] - Generic information
  [F] - Failure induced for the purpose of stress-testing your application
  [D] - Information used for debugging this memory manager

...so, to find all errors in the file, search for "[!]"

-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
but it never adds any info when it crashes or as the game runs and crashes
on a memory leak, which i figure is what the crash is because it happens
when nothing is going on so its not much help so i figure i must be doing
something wrong.

__ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ ____ __
Take charge with a pop-up guard built on patented Microsoft? SmartScreen
Technology.
http://join.msn.com/?pgmarket=en-ca&page=byoa/prem&xAPID=1994&DI=1034&SU=http:/
/hotmail.com/enca&HL=Market_MSNIS_Taglines
 Start enjoying all the benefits of MSN? Premium right now and get the
first two months FREE*.

--
ROM mailing list
ROM@(protected)
http://www.rom.org/cgi-bin/mailman/listinfo/rom