mhonarc-users

Return code 139 (bug?)

1998-10-20 19:13:30

Earl et all,

I have been getting getting problems every few days or less on two of
the 125 lists I have identically configured with MHonArc. These two
lists are high traffic lists (other high traffic lists are doing ok,
so far). From today's logs of stderr and stdout, we have about
twenty successful runs, followed by a failure, which leaves a
.mhonarc.lck lying around.

Shown are portions of the last successful run, and the first
failure. Subsequent failures are due to the .mhonarc.lck file lying
around and have an exit code of 255.  The comments about return values
are from my wrapper script.

I have placed a copy of the DB at ftp://jab.org/pub/.mhonarc.db
I have placed a copy of the rcfile at ftp://jab.org/pub/rcfile
I have placed the affected mail at ftp://jab.org/pub/catastrophe/
  noting that some of the error code 255 mail also get diverted
  to this directory.

The call to MhonArc is a shell script, the relevant lines are
attached. You may assume all the shell variables are assigned to
reasonable values.

MHONARC=/usr/bin/mhonarc
FLAGS="-reverse -treverse -tidxfname index.html"
FLAGS="$FLAGS -rcfile $HOME/rcfile -savemem -tlevels 1"
FLAGS="$FLAGS -ttitle $ESCAPED_NAME -title $NICKNAME"
FLAGS="$FLAGS -idxsize 300 -multipg -add -nomailto"
$MHONARC $FLAGS $HOME/Mail/$FILTER

At no point are two MHonArc processes called at the same time.
Suggestions? Comments on this particular return code? 

Jeff

--------------------------------------------

Reading database ...
Reading resource file: /home/archive/rcfile ...
Adding messages to .
Reading /home/archive/Mail/filter.1998.10.20-11:10:33-27409 ......
Writing mail ....<SNIP>
Writing ./thrd81.html ...
Writing ./thrd82.html ...
Writing ./thrd83.html ...
Writing database ...
24804 messages
Successfully ran Mhonarc  

Now creating HTML archives.
Reading database ...
Reading resource file: /home/archive/rcfile ...
Adding messages to .
Reading /home/archive/Mail/filter.1998.10.20-11:10:01-2601 ......ERROR: MhonArc 
returned exit code 139.

[jeff(_at_)multivac jeff]# mhonarc -v
  MHonArc v2.2.0
  Copyright (C) 1995-1998  Earl Hood, 
ehood(_at_)medusa(_dot_)acs(_dot_)uci(_dot_)edu
  MHonArc comes with ABSOLUTELY NO WARRANTY and MHonArc may be copied only
  under the terms of the GNU General Public License, which may be found in
  the MHonArc distribution.

[jeff(_at_)multivac jeff]# uname -a
Linux multivac.jab.org 2.0.32 #1 Wed Nov 19 00:46:45 EST 1997 i586 unknown

[jeff(_at_)multivac jeff]# perl -v
This is perl, version 5.004_04 built for i386-linux

Copyright 1987-1997, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5.0 source kit.

[jeff(_at_)multivac jeff]# rpm -q perl
perl-5.004-4

[jeff(_at_)multivac Mail]# free
             total       used       free     shared    buffers     cached
Mem:        126788     124096       2692      29420      57324      27432
-/+ buffers/cache:      39340      87448
Swap:        16092        116      15976

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