home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / windows / x / motif / 8431 < prev    next >
Encoding:
Text File  |  1993-01-08  |  2.0 KB  |  47 lines

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