Re: still getting errors with CRM
Jason Lewis <[email protected]>
| Newsgroups | gmane.mail.spam.crm114 |
|---|---|
| Message-ID | <[email protected]> |
Bill Y wrote: > From: Paolo <[email protected]> > > On Wed, Apr 23, 2008 at 01:41:32PM +1000, Jason Lewis wrote: > > question repeatedly, it happens between 2-6 times in 1000 classifications. > > That's mighty perturbing. Are you running out of process slots > or memory? Plenty of ram I believe: jason@debian:~/.crm114working/testcrm$ free total used free shared buffers cached Mem: 899008 779852 119156 0 64 234988 -/+ buffers/cache: 544800 354208 Swap: 497936 430896 67040 354 meg by my reading of free. and unlimited user processes: max user processes (-u) unlimited so I don't think we are running out of process slots. Out of interest, it would be good if other people could do a similar test to make sure its not just me and my system. Ideally a BlameTheSegfault on a 64 bit system. > > Here's another hack to try: At the VERY BOTTOM of mailreaver.crm > you will see a chunk of code that looks like this: > > # Catch failures > > trap (:broken_program_message:) /.*/ > { > accept > > and then some OUTPUT statements. Some of the output statements > have a > > [stderr] > > in them; others don't. > > What you can do is to change all of the > > [stderr] > > to > > [ /tmp/crm114_errors.txt ] > > and add that to the OUTPUT statements that don't have any [stderr] > and then run your test loop. > > The /tmp/crm114_errors.txt file should be most illuminating.... :-) > > I made your suggested changes: trap (:broken_program_message:) /.*/ { accept output [ /tmp/crm114_errors.txt ] /:*:_nl: Aw, crud. mailreaver.crm broke. Here's the error: :*:\_nl:/ output [ /tmp/crm114_errors.txt ] /:*:broken_program_message:/ output [ /tmp/crm114_errors.txt ] /:*:_nl: ERROR: mailreaver.crm broke. Here's the error\: :*:_nl:/ output [ /tmp/crm114_errors.txt ] /ERROR: :*:broken_program_message:/ } exit /:*:program_fault_exit_code:/ however it didn't yield much: ERROR: crm: *ERROR* For some reason, I was unable to read-open the file: priolist.mfp\ Sorry, but this program is very sick and probably should be killed off. This happened at line 484 of file mailreaver.crm (runtime system location: crm_expr_file_io.c(166) function crm_expr_input) Jason ------------------------------------------------------------------------- This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone