home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sources / wanted / 4265 < prev    next >
Encoding:
Internet Message Format  |  1992-09-09  |  1.8 KB

  1. Xref: sparky comp.sources.wanted:4265 comp.unix.questions:10850 comp.windows.x:16390
  2. Path: sparky!uunet!wupost!zaphod.mps.ohio-state.edu!rphroy!kocrsv01!c23st
  3. From: c23st@kocrsv01.delcoelect.com (Spiros Triantafyllopoulos)
  4. Newsgroups: comp.sources.wanted,comp.unix.questions,comp.windows.x
  5. Subject: Stack Traceback program wanted
  6. Message-ID: <1992Sep9.143656.20352@kocrsv01.delcoelect.com>
  7. Date: 9 Sep 92 14:36:56 GMT
  8. Sender: news@kocrsv01.delcoelect.com (Usenet News Account)
  9. Organization: Delco Electronics Corp.
  10. Lines: 36
  11.  
  12.  
  13. Hello net,
  14.  
  15. we're looking for a program to do stack a trace before it coredumps. We
  16. would like to see, for example, the sequences of calls that resulted
  17. in the program to bomb. 
  18.  
  19. many years back, we wrote something like this for VMS, using PL/1 and
  20. it proved invaluable in helping us debug highly complex software. When
  21. the program would bomb, we'd get a stack trace like:
  22.  
  23. Main:
  24.    foo( )
  25.      bar( )
  26.         abnormal termination line so and so.
  27.  
  28. Now we're doing lots of X windows stuff and once in a while we dump
  29. core and would like some hint as to why this happens.  This should not be
  30. impossible as 'trace' does more or less what we want. We have our own
  31. signal catcher (signal 11, where are you?) and at least do some damage
  32. repair there but would very much like more information.
  33.  
  34. So it looks like I'm after 'trace' that can be linked in user programs
  35. and provide us with the information above. Environment's strictly Unix,
  36. SunOS and HP-UX.
  37.  
  38. Any hints on how to do this would be vastly appreciated...
  39.  
  40. Thanks in advance,
  41.  
  42. Spiros
  43.  
  44. -- 
  45. Spiros Triantafyllopoulos                    c23st@kocrsv01.delcoelect.com
  46. Software Technology, Delco Electronics       striantafyll@kosds1.gm.hac.com
  47. GM Hughes Electronics, Kokomo, IN 46904      [A Different Kind of Disclaimer]
  48.