bogofilter/bogoutil concurrency crash?

Jim Correia jim.correia at pobox.com
Mon Apr 7 02:45:09 CEST 2003


On Sunday, April 6, 2003, at 09:37  PM, David Relson wrote:

> Interesting...  I think another Mac OS-X person will need to confirm 
> this problem.  A quick test on my Linux box worked properly.  In the 
> grand tradition of pointing the finger, my guess is that it's either a 
> locking problem or a berkeleydb problem.
>
> Have you run "make check"?

I hadn't before you asked.

Hopefully the output means something to whomever wrote the check tests 
:-) (see below)

> In actual usage, it's rarely necessary to run bogoutil.

In practice it isn't necessary to purge old words or any of the other 
maintenance functions?

> For those times when you need to dump the database, you _could_ make a 
> copy of it and dump the copy.  That would avoid any delays caused by 
> bogoutil locking the production database.

Ok. I'm not a procmail expert - is there a way I should write my 
bogofilter recipe so that if it happens to crash, things go on 
reasonably?

Thanks,
Jim



PASS: t.env
PASS: t.ignore_spam_header
PASS: t.integrity
PASS: t.integrity2
PASS: t.integrity3
PASS: t.lexer
./t._abort: line 6:   387 Abort trap              ( ./abortme )
PASS: t.abort
PASS: t.lock1
./t.lock2: line 2:   444 Segmentation fault      ${relpath}/bogofilter 
-n -d $TMPDIR -c $CONFIG <$TMPDIR/inp 2>>$TMPDIR/log
./t.lock2: line 2:   449 Segmentation fault      ${relpath}/bogofilter 
-n -d $TMPDIR -c $CONFIG <$TMPDIR/inp 2>>$TMPDIR/log
./t.lock2: line 2:   461 Segmentation fault      ${relpath}/bogofilter 
-n -d $TMPDIR -c $CONFIG <$TMPDIR/inp 2>>$TMPDIR/log
./t.lock2: line 2:   463 Segmentation fault      ${relpath}/bogofilter 
-n -d $TMPDIR -c $CONFIG <$TMPDIR/inp 2>>$TMPDIR/log
./t.lock2: line 2:   459 Segmentation fault      ${relpath}/bogofilter 
-n -d $TMPDIR -c $CONFIG <$TMPDIR/inp 2>>$TMPDIR/log
./t.lock2: line 2:   457 Segmentation fault      ${relpath}/bogofilter 
-n -d $TMPDIR -c $CONFIG <$TMPDIR/inp 2>>$TMPDIR/log
./t.lock2: line 2:   462 Segmentation fault      ${relpath}/bogofilter 
-n -d $TMPDIR -c $CONFIG <$TMPDIR/inp 2>>$TMPDIR/log
./t.lock2: line 2:   464 Segmentation fault      ${relpath}/bogofilter 
-n -d $TMPDIR -c $CONFIG <$TMPDIR/inp 2>>$TMPDIR/log
./t.lock2: line 2:   460 Segmentation fault      ${relpath}/bogofilter 
-n -d $TMPDIR -c $CONFIG <$TMPDIR/inp 2>>$TMPDIR/log
./t.lock2: line 2:   456 Segmentation fault      ${relpath}/bogofilter 
-n -d $TMPDIR -c $CONFIG <$TMPDIR/inp 2>>$TMPDIR/log
./t.lock2: line 2:   445 Segmentation fault      ${relpath}/bogofilter 
-n -d $TMPDIR -c $CONFIG <$TMPDIR/inp 2>>$TMPDIR/log
./t.lock2: line 2:   455 Segmentation fault      ${relpath}/bogofilter 
-n -d $TMPDIR -c $CONFIG <$TMPDIR/inp 2>>$TMPDIR/log
./t.lock2: line 2:   446 Segmentation fault      ${relpath}/bogofilter 
-n -d $TMPDIR -c $CONFIG <$TMPDIR/inp 2>>$TMPDIR/log
./t.lock2: line 2:   458 Segmentation fault      ${relpath}/bogofilter 
-n -d $TMPDIR -c $CONFIG <$TMPDIR/inp 2>>$TMPDIR/log
./t.lock2: line 2:   448 Segmentation fault      ${relpath}/bogofilter 
-n -d $TMPDIR -c $CONFIG <$TMPDIR/inp 2>>$TMPDIR/log
FAIL: t.lock2
PASS: t.nullstatsprefix
PASS: t.score1
PASS: t.score2
====================
1 of 12 tests failed
====================
make[4]: *** [check-TESTS] Error 1
make[3]: *** [check-am] Error 2
make[2]: *** [check-recursive] Error 1
make[1]: *** [check-recursive] Error 1
make: *** [check-recursive] Error 1





More information about the bogofilter-dev mailing list