🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #49883

Re: perl filter crashing INND - why?

#49883
From: Russ Allbery
Date: Tue, 16 Jan 2001 15:51
28 lines
2102 bytes
Mark W Modrall <modrall@world.std.com> writes:

> It was crashing in free, called out of Perl_my_setenv(), which is part
> of the perl link library...  why it doesn't crash with perl being run
> from the command line, i don't know...

Perl is disagreeing with innd over which malloc to use, I bet.  What
version of Perl are you using, and what's the output of perl -V?

> I tried to set the variables in my environment before launching inn (and
> i used -d -f to run it in foreground, but i was surprised to find the
> values gone when inn was running...

inndstart strips out all environment variables intentionally (as a
security measure, as well as for other reasons).  Modifying inndstart to
set the environment variable would work, although it shouldn't be
necessary.

> by the by, i'm using the perl filter to launch a java processor because
> that's the language i found a mime processor in...  anyone know of any
> good perl mime parsing and uudecoding packages?  might be simpler not to
> run java stuff...

Have you looked at the MIME-tools Perl module collection?

-- 
Russ Allbery (rra@stanford.edu)             <http://www.eyrie.org/~eagle/>
Technical Details
Message-ID: <ylzogr4hrp.fsf@windlord.stanford.edu>
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!logbridge.uoregon.edu!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
References: <G72nzA.Lpp@world.std.com> <G740D9.o1@world.std.com> <G77tHp.D6E@world.std.com> <ylg0ijesf2.fsf@windlord.stanford.edu> <G79HrI.51p@world.std.com>

Show Full Headers
Complete Article Headers
Message-ID: <ylzogr4hrp.fsf@windlord.stanford.edu>
Subject: Re: perl filter crashing INND - why?
Date: Tue, 16 Jan 2001 15:51:38 +0000
From: Russ Allbery <rra@stanford.edu>
References: <G72nzA.Lpp@world.std.com> <G740D9.o1@world.std.com> <G77tHp.D6E@world.std.com> <ylg0ijesf2.fsf@windlord.stanford.edu> <G79HrI.51p@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!logbridge.uoregon.edu!newsfeed.stanford.edu!nntp.stanford.edu!not-for-mail
Newsgroups: news.software.nntp
Organization: The Eyrie
Lines: 27
NNTP-Posting-Host: windlord.stanford.edu
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Channel Islands)