🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.misc.discuss
Article #2330

malloc and allocation errors

#2330
From: Alan W Black
Date: Tue, 18 Jan 1994 02:15
21 lines
1678 bytes
A lot of my debugging time is spent looking for allocation errors
(overrunning malloced memory and multiply freed memory).  I know
there are number of proprietary products out there which help
but of course they don't run on multiple machines and I can't
add them to any new machine I get.

Is there a GNU (or at least freely redistributable) version of malloc
which at least keeps track of allocated and freed segments (similar to
what SunOS's /usr/lib/debug/malloc.o does).  I have looked at
gnumalloc which seems to have some hooks in for such things but I
can't find documentation about using it.

thanks

Alan

* Alan W Black ---  ATR Interpreting Telecommunications Laboratories *
2-2 Hikaridai                         email: awb@itl.atr.co.jp
Seika-cho, Soraku-gun,                tel: (+81) 7749 5 1314
Kyoto 619-02, Japan                   fax: (+81) 7749 5 1308
Technical Details
Message-ID: <AWB.94Jan18111511@as53.itl.atr.co.jp>
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!yale.edu!yale!gumby!destroyer!gatech!swrinde!elroy.jpl.nasa.gov!decwrl!koriel!sh.wide!wnoc-kyo-news!atrwide!atr-la!awb

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,82aeb50e0bd65249,start
X-Google-Attributes: gid11318c,public
X-Google-Thread: 1025b4,82aeb50e0bd65249,start
X-Google-Attributes: gid1025b4,public
X-Google-ArrivalTime: 1994-01-18 02:58:04 PST
Newsgroups: gnu.misc.discuss,gnu.gcc.help
Path: arc1-ca.pugleaf.net!gmd.de!newsserver.jvnc.net!yale.edu!yale!gumby!destroyer!gatech!swrinde!elroy.jpl.nasa.gov!decwrl!koriel!sh.wide!wnoc-kyo-news!atrwide!atr-la!awb
From: awb@itl.atr.co.jp (Alan W Black)
Subject: malloc and allocation errors
Message-ID: <AWB.94Jan18111511@as53.itl.atr.co.jp>
Sender: news@itl.atr.co.jp (USENET News System)
Nntp-Posting-Host: as53
Organization: ATR Interpreting Telecommunications Research Labs.,Japan
Date: Tue, 18 Jan 1994 02:15:11 GMT
Lines: 23