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