home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.windows.x.motif
- Path: sparky!uunet!virtech!cpcahil
- From: cpcahil@vti.com (Conor P. Cahill)
- Subject: Re: UIL/Motif program crashes: Weird reasons
- Message-ID: <C0JB7r.3Hn@vti.com>
- Organization: Virtual Technologies Inc.
- References: <C0IJLC.8Lr@ulowell.ulowell.edu>
- Date: Fri, 8 Jan 1993 12:11:50 GMT
- Lines: 36
-
- In article <C0IJLC.8Lr@ulowell.ulowell.edu>, vprakash@cs.ulowell.edu (V G Prakash) writes:
- > I have an application program based on UIL. All the widgets are created
- > using UIL. For some peculiar reasons the program crashes.
- >
- > 1. It does not crash always.
- > 2. The event at which it crashed changes.
- > 3. Most of crashes happen at the time of
- > 1. managing some dialog boxes
- > 2. changing from very most lengthy pulldown menu
- > and to a new short pulldown menu.
- > 4. It always happens only at first occurrence of the event and
- > if does not crash for the first time then it would never.
- >
- > 5. gdb points to malloc for all crashes.
-
- This sounds like someone is overrunning a malloc pointer somewhere, which
- is causing the malloc arena to get corrupted. The behavior you describe
- is typical of such a problem.
-
- To help solve this problem you could pick up the dbmalloc package that I
- posted to comp.sources.misc in Sept 1992, or you could use our SENTINEL
- debugger.
-
- SENTINEL is a run-time memory access checker that you just link
- into your executable and it provides full run-time checking of memory
- accesses and generates a full report of any problems found including
- overruns, underruns, double frees, leaks access to freed data, access
- to uninitialized data, etc. SENTINEL is available on many unix systems
- including Sun, HP, DEC, IBM RS/6k, Sequent, 386 svr3.2 and svr4.0, etc.
- Send email if you would like additional info.
-
- --
- *** SENTINEL(tm) The ultimate Debugging Environment - email for more info ***
-
- Conor P. Cahill (703)430-9247 cpcahil@virtech.vti.com
- Virtual Technologies, Inc. 46030 Manekin Plaza Dulles, VA 20166
-