🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #49824

perl filter crashing INND - why?

#49824
From: Mark W Modrall
Date: Fri, 12 Jan 2001 23:01
29 lines
1582 bytes
Hi...

	i've written a perl filter that's going to pass the
message off to a java program for analysis...  unfortunately,
the innd server crashes as soon as the perl code is executed
without a core dump, a log message or anything...

	in my code (which does compile-i tested that), i was
adding some entries to the PATH and CLASSPATH environment
variables, opening a pipe to a java process, writing things
to its input, and setting the environment variables back again.

	i expected the crash to be something to do with the
pipe, but i commented that code out, and it still crashed...
i then commented out the env variable setting, and it stayed
up...

	why would 
$ENV{"PATH"}=$oldPath.":/usr/local/java/bin";
becausing inn to crash silently?  Is there somewhere else
i should be looking for core dumps?

	I'm running inn 2.3 on a red hat linux pentium
box...

thanks
-mark

Technical Details
Message-ID: <G72nzA.Lpp@world.std.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!news.maxwell.syr.edu!newsfeed.cwix.com!news.umass.edu!world!modrall

Show Full Headers
Complete Article Headers
Message-ID: <G72nzA.Lpp@world.std.com>
Subject: perl filter crashing INND - why?
Date: Fri, 12 Jan 2001 23:01:58 GMT
From: modrall@world.std.com (Mark W Modrall)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!news.gv.tsc.tdk.com!falcon.america.net!sunqbc.risq.qc.ca!news.maxwell.syr.edu!newsfeed.cwix.com!news.umass.edu!world!modrall
Newsgroups: news.software.nntp
Distribution: na
Organization: The World Public Access UNIX, Brookline, MA
Lines: 28