🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.dec
Article #4210

fork()'s lead to core dumps ? (nntpd, mail2news)

#4210
From: Kurt Jaeger aka PI
Date: Sun, 23 Jun 1991 20:05
33 lines
1839 bytes
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 <someparas>
(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-)
Technical Details
Message-ID: <1991Jun23.200511.28152@rusmv1.rus.uni-stuttgart.de>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!snorkelwacker.mit.edu!ira.uka.de!rusmv1!helpdesk.rus.uni-stuttgart.de!zrzr0111

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.dec,comp.unix.ultrix
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!snorkelwacker.mit.edu!ira.uka.de!rusmv1!helpdesk.rus.uni-stuttgart.de!zrzr0111
From: zrzr0111@helpdesk.rus.uni-stuttgart.de (Kurt Jaeger aka PI)
Subject: fork()'s lead to core dumps ? (nntpd, mail2news)
Message-ID: <1991Jun23.200511.28152@rusmv1.rus.uni-stuttgart.de>
Originator: zrzr0111@helpdesk.rus.uni-stuttgart.de
Keywords: core, memory faults
Sender: news@rusmv1.rus.uni-stuttgart.de (USENET News System)
Organization: User Helpdesk Comp. Cent. (RUS) U of Stuttgart, FRG
Date: Sun, 23 Jun 1991 20:05:11 GMT
Lines: 33