mhonarc-users

Bug: a particular mail message causes MhonArc to hang

1997-11-21 13:37:07
First, thanks to Mr. Hood for writing MhonArc.

The following mail message in an archive causes mhonarc to fail to terminate 
(runs forever (AKA an hour) with the CPU at 100%)

This occurs in MHonArc2.0a2 and in MHonArc2.1
This is perl, version 5.003 with EMBED built under linux at Jun 30 1996 
22:53:17 + suidperl security patch
Linux loach.cichlid.com 2.0.32 #10 Wed Nov 19 20:23:31 PST 1997 i486

Put the following mail message into a file and run:
  /usr/local/bin/mhonarc -folrefs -force -main -multipg -savemem -thread -time 
/usr/local/mail/archive/busted

The output for 2.0a2 is:
root(_at_)loach:/tmp # /usr/local/bin/mhonarc -folrefs -force -main -multipg 
-savemem -thread -time /usr/local/mail/archive/busted
Requiring content filter libraries ...
        mhexternal.pl
        mhtxthtml.pl
        mhtxtplain.pl
        mhtxtsetext.pl
Requiring charset filter libraries ...
        iso8859.pl
Converting messages to .
Reading /usr/local/mail/archive/busted .

The output for 2.1 is:
root(_at_)loach:/tmp # /usr/local/bin/mhonarc -folrefs -force -main -multipg 
-savemem -thread -time /usr/local/mail/archive/busted
Requiring content filter libraries ...
        mhexternal.pl
        mhtxtenrich.pl
        mhtxthtml.pl
        mhtxtplain.pl
        mhtxtsetext.pl
Requiring charset filter libraries ...
        iso8859.pl
Converting messages to .
Reading /usr/local/mail/archive/busted .


Here is the offending message. I've deleted everything except the header since
that is sufficient to cause the problem. You will probably have to delete the 
'>' in
front of the From line that I assume sendmail will insert. 

The checksum according to linux is: 
root(_at_)loach:/tmp # sum /usr/local/mail/archive/busted
54197     1

If you can't duplicate the bug and the checksum doesn't match I'll put it up
for anonymous ftp.

Oddly, this does not fail under Solaris 2.5.1 (MHonArc2.1, same perl) but I get 
another error:

danio:xxx > mhonarc -folrefs -force -main -multipg -savemem -thread -time 
../busted
Requiring content filter libraries ...
        mhexternal.pl
        mhtxtenrich.pl
        mhtxthtml.pl
        mhtxtplain.pl
        mhtxtsetext.pl
Requiring charset filter libraries ...
        iso8859.pl
Converting messages to .
Reading ../busted .
Writing mail .
ERROR: Unable to create ./
danio:xxx > ls -ldag .
drwxrwx---   2 aab      devel         115 Nov 21 11:30 ./
danio:xxx > uname -a
SunOS danio 5.5.1 Generic_103640-09 sun4m sparc SUNW,SPARCstation-5

---------------------------------------cut here--------------------------------
From jds-users-errors(_at_)cichlid(_dot_)com  Thu Jul 31 14:52:55 1997
Return-Path: jds-users-errors(_at_)cichlid(_dot_)com
Received: (from majordom(_at_)localhost) by loach.cichlid.com (8.8.5/8.7.3) id 
OAA16208 for jds-users-outgoing; Thu, 31 Jul 1997 14:52:55 -0700
X-Authentication-Warning: loach.cichlid.com: majordom set sender to 
jds-users-errors(_at_)cichlid(_dot_)com using -f
Message-ID: <E6E63073(_dot_)63E3(_at_)homeautomator(_dot_)com>
Date: Mon, 27 Aug 1956 21:41:17 +0000
From: Jeff Anderson <Jeff(_at_)homeautomator(_dot_)com>
Organization: Technical Multimedia, Inc.
X-Mailer: Mozilla 3.0Gold (Macintosh; U; PPC)
MIME-Version: 1.0
To: jds-users(_at_)cichlid(_dot_)com
Subject: Re: [JDS-USERS] Outside Motion Detectors
References: 
<852564E5(_dot_)007241B8(_dot_)00(_at_)ihqinet01(_dot_)abig(_dot_)com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Sender: jds-users-errors(_at_)cichlid(_dot_)com
Precedence: bulk
Reply-To: jds-users(_at_)cichlid(_dot_)com
----------------------------------------cut here------------------------------


<Prev in Thread] Current Thread [Next in Thread>