Article View: news.software.nntp
Article #49855Re: perl filter crashing INND - why?
From: Mark W Modrall
Date: Mon, 15 Jan 2001 17:49
Date: Mon, 15 Jan 2001 17:49
49 lines
2218 bytes
2218 bytes
tried commenting swaps some more, and i found that it crashes
upon setting an amended variable into the %ENV array... I found the
core, but it didn't have any symbols, so i wasn't able to make out
much...
anyone familiar with perl and inn have any idea why setting
an environment variable would crash inn?
thanks
-mark
In article <G740D9.o1@world.std.com>,
Mark W Modrall <modrall@world.std.com> wrote:
>In article <ylr9286yj6.fsf@windlord.stanford.edu>,
>Russ Allbery <rra@stanford.edu> wrote:
>>Mark W Modrall <modrall@world.std.com> writes:
>>
>>> why would
>>> $ENV{"PATH"}=$oldPath.":/usr/local/java/bin";
>>
>>Have you commented out everything except for that line from the filter?
>
> actually, i commented out everything but
>$oldPath=$ENV{"PATH"};
>$oldClass=$ENV{"CLASSPATH"};
>$ENV{"PATH"}=$oldPath.":/usr/local/java/bin";
>$ENV{"CLASSPATH"}=$oldClass.":one class path"
> .":another class path"
> .":a third class path";
>...
>$ENV{"PATH"}=$oldPath;
>$ENV{"CLASSPATH"}=$oldClass;
>
> so i don't know precisely if it's getting the variables out
>of %ENV that crash it or setting the new values in..
>
>>> becausing inn to crash silently? Is there somewhere else i should be
>>> looking for core dumps?
>>
>>~news/spool/articles. innd dumps core at the top level of that directory
>>by default.
>
> thanks for the tip; i'll check it out on monday...
>
>-mark
>
Technical Details
Message-ID:
<G77tHp.D6E@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-03!supernews.com!news-feed.riddles.org.uk!newsfeed.direct.ca!look.ca!news-out.uswest.net!uunet!chi.uu.net!arb.uu.net!nyc.uu.net!world!modrallReferences:
<G72nzA.Lpp@world.std.com> <ylr9286yj6.fsf@windlord.stanford.edu> <G740D9.o1@world.std.com>Show Full Headers
Complete Article Headers
Message-ID: <G77tHp.D6E@world.std.com> Subject: Re: perl filter crashing INND - why? Date: Mon, 15 Jan 2001 17:49:00 GMT From: modrall@world.std.com (Mark W Modrall) References: <G72nzA.Lpp@world.std.com> <ylr9286yj6.fsf@windlord.stanford.edu> <G740D9.o1@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-03!supernews.com!news-feed.riddles.org.uk!newsfeed.direct.ca!look.ca!news-out.uswest.net!uunet!chi.uu.net!arb.uu.net!nyc.uu.net!world!modrall Newsgroups: news.software.nntp Distribution: na Organization: The World Public Access UNIX, Brookline, MA Lines: 48