I'm getting a crash and core-dump when I try to run 
sa-learn -D --force-expire on my sizeable bayes database.

Here's the output I get, and the backtrace from the core file.

debug: Score set 0 chosen.
debug: running in taint mode? no
debug: using "/usr/local/share/spamassassin" for default rules dir
debug: using "/etc/mail/spamassassin" for site rules dir
debug: using "/cyrus/amavis/.spamassassin/user_prefs" for user prefs file
debug: Failed to parse line in SpamAssassin configuration, skipping: razor_timout      
              5
debug: bayes: 22674 tie-ing to DB file R/O /cyrus/amavis/.spamassassin/bayes_toks
debug: bayes: 22674 tie-ing to DB file R/O /cyrus/amavis/.spamassassin/bayes_seen
debug: bayes: found bayes db version 2
debug: bayes: Not available for scanning, only 0 spam(s) in Bayes DB < 200
debug: bayes: 22674 untie-ing
debug: bayes: 22674 untie-ing db_toks
debug: bayes: 22674 untie-ing db_seen
debug: Score set 0 chosen.
debug: Initialising learner
debug: Initialising learner
debug: Syncing Bayes journal and expiring old tokens...
debug: lock: 22674 created /cyrus/amavis/.spamassassin/bayes.lock.red.impulse.net.22674
debug: lock: 22674 trying to get lock on /cyrus/amavis/.spamassassin/bayes with 0 
retries
debug: lock: 22674 link to /cyrus/amavis/.spamassassin/bayes.lock: link ok
debug: bayes: 22674 tie-ing to DB file R/W /cyrus/amavis/.spamassassin/bayes_toks
debug: bayes: 22674 tie-ing to DB file R/W /cyrus/amavis/.spamassassin/bayes_seen
debug: bayes: found bayes db version 2
zsh: 22674 bus error (core dumped)  sa-learn -D --force-expire

#0  0x481e732f in ?? ()
#1  0x481e0ca4 in ?? ()
#2  0x481e17e8 in ?? ()
#3  0x4825b1ac in ?? ()
#4  0x80aadb2 in Perl_pp_entersub ()
#5  0x80a4e10 in Perl_runops_standard ()
#6  0x806072a in Perl_call_sv ()
#7  0x806030b in Perl_call_sv ()
#8  0x8060165 in Perl_call_method ()
#9  0x809d86f in Perl_magic_setnkeys ()
#10 0x809db11 in Perl_magic_setpack ()
#11 0x809bc9c in Perl_mg_set ()
#12 0x80a5150 in Perl_pp_sassign ()
#13 0x80a4e10 in Perl_runops_standard ()
#14 0x805fef0 in perl_run ()
#15 0x805fbf0 in perl_run ()
#16 0x805d1c0 in main ()
#17 0x805d071 in _start ()

Thoughts?  What's the best way to debug perl stuff like this?

-- 
Ted Cabeen           http://www.pobox.com/~secabeen            [EMAIL PROTECTED] 
Check Website or Keyserver for PGP/GPG Key BA0349D2         [EMAIL PROTECTED]
"I have taken all knowledge to be my province." -F. Bacon  [EMAIL PROTECTED]
"Human kind cannot bear very much reality."-T.S.Eliot        [EMAIL PROTECTED]


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to