problem upgrading from 20070810-BlameTheSegfault to 20100106-BlameMichelson

Jason Lewis <[email protected]> Tue, 11 Oct 2011 12:29:04 +1100
Newsgroups gmane.mail.spam.crm114
Message-ID <[email protected]>
Hi,

I tried to upgrade the version of crm I use from
20070810-BlameTheSegfault to 20100106-BlameMichelson

whenever I run the classify script I get errors (pasted below).

I run crm from a working directory .crm114working, and in that directory
I placed the new mailreaver.crm and mailtrainer.crm files. (are there
other files I should put there also?

And then in my procmail filter, crm gets called like this:

:0fw: .msgid.lock
| /usr/bin/crm -u /home/jason/.crm114working  -w 64000000 mailreaver.crm

I re-ran the command with -t to get the trace pasted below.

Any ideas what might be going wrong? Is there something I need to do to
my css files to upgrade?

Thanks,

Jason



Executing line 526 :
Statement 526 is non-executable, continuing.

Parsing line 527 :
 -->  {


Executing line 527 :
Statement 527 is an openbracket. depth now 1.

Parsing line 528 :
 -->  isolate (:stats:) //


Executing line 528 :
executing an ISOLATE statement

Parsing line 529 :
 -->  classify [:in_text:] <:*:clf:> /:*:lcr:/     
(:*:fileprefix:nonspam.css :*:fileprefix:spam.css) (:stats:)

Mode #25, 'osb' turned on.
Mode #28, 'unique' turned on.
Mode #22, 'microgroom' turned on.

Executing line 529 :
Performing variable restriction.
Variable before expansion ':in_text:' len 9
Variable after expansion: ':in_text:' len 9
Using variable ':in_text:' for source.
Found that variable
Checking restriction at start 9 len 0 (subscr=0)
Nothing more to do in the var-restrict.
 unique engaged -repeated features are ignored
Classify list: -nonspam.css spam.css-
Classifying with file -nonspam.css- succhash=0, maxhash=0
MMAPping file nonspam.css for direct memory access.
Classifying with file -spam.css- succhash=0, maxhash=1
MMAPping file spam.css for direct memory access.
Running with 2 files for success out of 2 files
Catching FAULT generated on line 529
FAULT reason:

/usr/bin/crm: *ERROR*
  This file should have learncounts, but doesn't, and the learncount
slot is busy.  It's hosed.   Time to die.
 Sorry, but this program is very sick and probably should be killed off.
This happened at line 529 of file /home/jason/.crm114working/mailreaver.crm
(runtime system location: crm_osb_bayes.c(904) in routine:
crm_expr_osb_bayes_classify)

Trying trap at line 677:
trap (:broken_program_message:) /.*/

This TRAP will trap anything matching =.*= .
TRAP matched.
Next statement will be 677
CLASSIFY was a FAIL, skipping forward.
Finished the program /home/jason/.crm114working/mailreaver.crm.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct