home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / sgi / 13313 < prev    next >
Encoding:
Internet Message Format  |  1992-09-07  |  1.7 KB

  1. Path: sparky!uunet!charon.amdahl.com!pacbell.com!network.ucsd.edu!usc!cs.utexas.edu!sun-barr!olivea!sgigate!odin!eukanuba.wpd.sgi.com!mikey
  2. From: mikey@eukanuba.wpd.sgi.com (Mike Yang)
  3. Newsgroups: comp.sys.sgi
  4. Subject: Re: XtCallbackReleaseCacheRef crashes
  5. Message-ID: <1992Sep4.194633.15147@odin.corp.sgi.com>
  6. Date: 4 Sep 92 19:46:33 GMT
  7. References: <135409@lll-winken.LLNL.GOV>
  8. Sender: news@odin.corp.sgi.com (Net News)
  9. Reply-To: mikey@sgi.com
  10. Organization: Silicon Graphics, Inc.
  11. Lines: 35
  12. Nntp-Posting-Host: eukanuba.wpd.sgi.com
  13.  
  14. In article <135409@lll-winken.LLNL.GOV>, wiltzius@anduin.ocf.llnl.gov (Dave Wiltzius) writes:
  15. |> 
  16. |> I'm writing a Motif application on an SGI running 4.0.4 and
  17. |> can reliably reproduce a core dump with the following traceback
  18. |> from dbx:
  19. |> 
  20. |> XtCallbackReleaseCacheRef
  21. |> ObjectDestroy
  22. |> _XtFreeCallbackList
  23. |> XtFree
  24. |> .malloc.free
  25. |> 
  26. |> I have run this will mallopt's M_DEBUG enabled (nothing caught
  27. |> there).  It happens after I create about 7 top level shells,
  28. |> destroy 2 (via window manager "quit"), create another and destroy
  29. |> that one.  All of these shells have a mixed-mode (SGI terminology)
  30. |> child.
  31.  
  32. Before searching for an Xt bug, try another debugging malloc library.
  33. You can get Conor P. Cahill's as:
  34.  
  35.     sgi.com:~ftp/sgi/src/malloc-debug.tar.Z
  36.  
  37. Build the library, set these environment variables:
  38.  
  39.     # For debugging malloc library, libmalloc-debug.a
  40.     setenv MALLOC_WARN 3
  41.     setenv MALLOC_FATAL 1
  42.     setenv MALLOC_ERRFILE malloc_log
  43.  
  44. run your program, and hope it dumps core in a debugging test.
  45.  
  46. -----------------------------------------------------------------------
  47.                  Mike Yang        Silicon Graphics, Inc.
  48.                mikey@sgi.com           415/390-1786
  49.