🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.ibm.pc
Article #42769

Re: msc memory allocation problems

#42769
From: Mark Miller
Date: Mon, 19 Feb 1990 17:38
19 lines
1415 bytes
It's been awhile, but I had success tracking a similar bug by using 
the heapcheck and heapwalk routines to report available free space. I had
a similar problem, where command.com could not be reloaded. The cause was
a hunk of memory that got "calloc"ed but never "free"d. By inserting heap
check and heapwalk at the beginning and end of each function that allocates
memory, I was able to find the bug. 

					Happy bug hunting,


======================================================================
Mark R. Miller                     +    Disclaimer: Opinions expressed  
Boeing Commercial Airplane Co.     +    are mine and mine alone, and    
Seattle, WA                        +    not necessarily those of my     
Internet: miller@b-mrda.boeing.com +    employer.                       
Voicenet: (206) 237-0960           +                                   
                                   +       +++ Phillipians 4:13 +++    
======================================================================
Technical Details
Message-ID: <15160012@b-mrda.ca.boeing.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!bcstec!misty!b-mrda!miller
References: <13115@cbnewse.ATT.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uunet!bcstec!misty!b-mrda!miller
From: miller@b-mrda.ca.boeing.com (Mark Miller)
Newsgroups: comp.sys.ibm.pc
Subject: Re: msc memory allocation problems
Message-ID: <15160012@b-mrda.ca.boeing.com>
Date: 19 Feb 90 17:38:47 GMT
References: <13115@cbnewse.ATT.COM>
Organization: Boeing Commercial Airplanes MR&D
Lines: 19