home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sgi
- Path: sparky!uunet!europa.asd.contel.com!darwin.sura.net!mips!odin!mikey
- From: mikey@sgi.com (Mike Yang)
- Subject: Re: X/Motif
- Message-ID: <1992Jul21.050305.24169@odin.corp.sgi.com>
- Sender: news@odin.corp.sgi.com (Net News)
- Nntp-Posting-Host: eukanuba.wpd.sgi.com
- Organization: Silicon Graphics, Inc.
- References: <1992Jul20.053028.26567@odin.corp.sgi.com> <1992Jul21.022624.16473@nuscc.nus.sg>
- Date: Tue, 21 Jul 1992 05:03:05 GMT
- Lines: 22
-
- In article <1992Jul21.022624.16473@nuscc.nus.sg> spec01@solomon.technet.sg (Quak Wan Ling) writes:
- > I have an application that crashes after sometime. Most of the menu
- > I uses XtPopup and XtPopdown. I've checked thru' my src carefully
- > and the dbx dump always returns me with malloc problem. However,
- > I have about 50M of RAM which doesn't make sense.
-
- Undoubtedly you have a memory corruption problem, which may or may not
- be the fault of Motif. I would first check your code for memory
- corruption (e.g. double free, memory overrun, etc.) using a debugging
- malloc library or other tool. For instance, the WorkShop debugger
- which SGI sells (and which was written using our Motif) can detect
- some memory problems.
-
- Another package to try is Conor P. Cahill's debugging malloc library.
- I've temporarily placed a copy of it as:
-
- sgi.com:~ftp/pub/mikey/malloc-debug.tar.Z
-
- -----------------------------------------------------------------------
- Mike Yang Silicon Graphics, Inc.
- mikey@sgi.com 415/390-1786
-
-