home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.att
- Path: sparky!uunet!gatech!gsusgi1.gsu.edu!gsusgi1.gsu.edu!regmad
- From: regmad@gsusgi2.gsu.edu (Michael de Kraker)
- Subject: Re: Why is my program dumping core?
- Message-ID: <regmad.727976222@gsusgi1.gsu.edu>
- Organization: Georgia State University
- References: <1993Jan25.031632.13198@squid.tram.com>
- Date: Mon, 25 Jan 1993 15:37:02 GMT
- Lines: 43
-
- jeffrey@squid.tram.com (Jeffrey L Bromberger) writes:
-
- >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
-
- Looks like you are passing an invalid number of arguments to
- printf (A little obvious). How are you calling printf.
-
- _______ ______
- / / / / Michael A. de Kraker
- / /______ / / Georgia State University 404-651-2390
- / ___ / / / Internet:REGMAD@GSUSGI2.GSU.EDU
- /_______/ ______/ /_______/ BITNET :REGMAD@GSUVM1 PACKET:KD4FKW@W4QO
-
- To iterate is human, to recurse devine
-
-