home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / att / 2892 < prev    next >
Encoding:
Text File  |  1993-01-24  |  1.4 KB  |  40 lines

  1. Newsgroups: comp.sys.att
  2. Path: sparky!uunet!psinntp!sci.ccny.cuny.edu!tram!jeffrey
  3. From: jeffrey@squid.tram.com (Jeffrey L Bromberger)
  4. Subject: Why is my program dumping core?
  5. Organization: Tramway Unix Systems
  6. Date: Mon, 25 Jan 1993 03:16:32 GMT
  7. Message-ID: <1993Jan25.031632.13198@squid.tram.com>
  8. Sender: jeffrey@squid.tram.com (Jeffrey L Bromberger)
  9. Lines: 29
  10.  
  11. Here's a question for the world at large.  I am at my wit's end over this.
  12.  
  13. I have a program that I wrote.  It runs fine on all other machines I can find
  14. (from BSD to SysV).  But, on my 3B2, it dumps core.  To make matters
  15. worse, it isn't *my* code that dumps core, but the stdio package!
  16. Here's a trace of the post-mortem dump...
  17.  
  18. malloc.c: No such file or directory
  19. 0x808070ee in malloc:No lines in file
  20. *t
  21. malloc(0x408)   [malloc.c]
  22. _findbuf(0x80888078)   [flsbuf.c]
  23. _wrtchk(0x80888078)   [flsbuf.c]
  24. fwrite(0xc00204e6,1,2,0x80888078)   [fwrite.c]
  25. _resynch.label(0x80888078,0x80886707,0xa,0x4c0)
  26. trace()   [trace.c:122]
  27. main(argc=3,argv=0xc00201b8,0xc00201c8)   [main.c:420]
  28. *q
  29.  
  30. The failure seems to be somewhere in the guts of fprintf.  BTW: this
  31. is with SVR3.1 and the CPLU 4.2.  Everything above the trace() call is
  32. from the system.  Line 122 of trace.c is a fprintf.
  33.  
  34. Can anyone out there give a suggestion as to why this fails like this?
  35.  
  36. j
  37. -- 
  38. Jeffrey L. Bromberger ------- System Manager ------- Tramway Unix Systems
  39. jeffrey@squid.tram.com        Anywhere!{ccnysci,limbic,icus}!tram!jeffrey
  40.