From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10b612,cb69218cb20e0b37,start X-Google-Attributes: gid10b612,public X-Google-Thread: 1164f8,cb69218cb20e0b37,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1991-06-23 14:33:42 PST Path: gmdzi!unido!ira.uka.de!rusmv1!helpdesk.rus.uni-stuttgart.de!zrzr0111 From: zrzr0111@helpdesk.rus.uni-stuttgart.de (Kurt Jaeger aka PI) Newsgroups: comp.sys.dec,comp.unix.ultrix Subject: fork()'s lead to core dumps ? (nntpd, mail2news) Keywords: core, memory faults Message-ID: <1991Jun23.200511.28152@rusmv1.rus.uni-stuttgart.de> Date: 23 Jun 91 20:05:11 GMT Sender: news@rusmv1.rus.uni-stuttgart.de (USENET News System) Organization: User Helpdesk Comp. Cent. (RUS) U of Stuttgart, FRG Xref: gmdzi comp.sys.dec:24640 comp.unix.ultrix:46485 Originator: zrzr0111@helpdesk.rus.uni-stuttgart.de Hi! Maybe I am dumb, but so what - I have a strange problem with software on Ultrix 4.0. Today I tried mail2news and it core'd. First time I tracked it to localtime(). I used gmtime instead and it worked. Now: The program is started by sendmail (via alias test-l: | mail2news (Yes, I tried every combination of "'s and |'s and sh -c etc.). When the mail2news is started, it dumps core. The funny thing is, it dumps core at the very first line of c-commands in the source after the declarations in main(). Checked it with dbx, it was the first line after the declarations. I commented the first line of the source out and it cored at the next instruction. Thats a pity, You can't even use printf's for debugging then :( Its the second time I encounterd this problem, the first time it was on the same machine, running nntpd 1.5.11 from inetd. My question: WHY ? Thanks in advance, Kurt -- PI at the User Help Desk Comp.Center U of Stuttgart, FRG 29 Years to go ! Phone: +49 711 685-4828 Bitnet: zrzr0111@ds0rus54.bitnet SMTP: pi@helpdesk.rus.uni-stuttgart.de (aka Kurt Jaeger) X.400: pi@rus.uni-stuttgart.dbp.de (yeah, really 8-)