At 10:58 21/11/2003 -0800, Ted Cabeen wrote:
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

^^^^^^^^^^


I could be wrong, but I'd say that "bus error" means your system either ran right out of memory (including virtual memory) during the execution of sa-learn (and sa-learn using extremely large amounts of memory is possible in some circumstances) or the machine has a hardware fault with dodgy ram or other dodgy hardware. (Or a very slight chance of something funny with the kernel)

A bus error can't be a SpamAssassin bug per se, or even a perl bug.

Regards,
Simon



-------------------------------------------------------
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