This should probably go to some razor list but I'm not on one so I'll send it here. Besides, maybe someone else can verify this problem.
Today we got a message that will consistently cause Razor 2 (and consequently spamassassin/spamd) to seg fault. Looking at the message I cant see anything obvious that could cause this but obviously something does. The message is 126+k so I didnt attach but it's available from the url below. I've also attached debug output from both spamassassin adn razor-check. I dont know enough about razor to even have a remote clue what could cause this. Message: http://www.unet.net.ph/~lars/coredump.msg spamassassin: 2.43 razor: 2.20 os: openbsd 2.9 --- Lars Hansson
dpe1:lars # spamassassin -D < coredump.msg > /dev/null debug: using "/usr/local/share/spamassassin" for default rules dir debug: using "/etc/mail/spamassassin" for site rules dir debug: using "/home/staff/lars/.spamassassin" for user state dir debug: using "/home/staff/lars/.spamassassin/user_prefs" for user prefs file debug: Failed to parse line in SpamAssassin configuration, skipping: auto_report_threshold 10000 debug: is Net::DNS::Resolver unavailable? 0 debug: trying (3) nytimes.com... debug: looking up MX for 'nytimes.com' debug: MX for 'nytimes.com' exists? 1 debug: MX lookup of nytimes.com succeeded => Dns available (set dns_available to hardcode) debug: is DNS available? 1 debug: running header regexp tests; score so far=0 debug: running body-text per-line regexp tests; score so far=-1.6 debug: check_for_very_long_text: found 51 bytes debug: check_for_very_long_text: found 51 bytes debug: spam-phrase score: 0: hits: debug: running raw-body-text per-line regexp tests; score so far=-0.8 debug: running uri tests; score so far=-0.5 debug: uri tests: Done uriRE debug: running full-text regexp tests; score so far=-0.5 debug: Razor2 is available debug: entering helper-app run mode Razor-Log: Computed razorhome from env: /home/staff/lars/.razor Razor-Log: Found razorhome: /home/staff/lars/.razor Razor-Log: No /home/staff/lars/.razor/razor-agent.conf found, skipping. Razor-Log: No razor-agent.conf found, using defaults. Oct 26 15:50:33.022609 check[4940]: [ 1] [bootup] Logging initiated LogDebugLevel=9 to stdout Oct 26 15:50:33.023722 check[4940]: [ 5] computed razorhome=/home/staff/lars/.razor, conf=, ident=/home/staff/lars/.razor/identity Oct 26 15:50:33.025181 check[4940]: [ 8] Client supported_engines: 1 2 3 4 Oct 26 15:50:33.045027 check[4940]: [ 8] prep_mail done: mail 1 headers=1096, mime0=518, mime1=400, mime2=61535 Oct 26 15:50:33.046318 check[4940]: [ 5] read_file: 1 items read from /home/staff/lars/.razor/servers.discovery.lst Oct 26 15:50:33.047204 check[4940]: [ 5] read_file: 1 items read from /home/staff/lars/.razor/servers.nomination.lst Oct 26 15:50:33.048025 check[4940]: [ 5] read_file: 1 items read from /home/staff/lars/.razor/servers.catalogue.lst Oct 26 15:50:33.048930 check[4940]: [ 9] Assigning defaults to hubris.cloudmark.com Oct 26 15:50:33.049494 check[4940]: [ 9] Assigning defaults to truth.cloudmark.com Oct 26 15:50:33.050669 check[4940]: [ 5] read_file: 11 items read from /home/staff/lars/.razor/server.truth.cloudmark.com.conf Oct 26 15:50:33.051455 check[4940]: [ 5] 167610 seconds before closest server discovery Oct 26 15:50:33.052092 check[4940]: [ 6] truth.cloudmark.com is a Catalogue Server srl 61; computed min_cf=1, Server se: 0A Oct 26 15:50:33.052744 check[4940]: [ 8] Computed supported_engines: 2 4 Oct 26 15:50:33.053212 check[4940]: [ 8] Using next closest server truth.cloudmark.com:2703, cached info srl 61 Oct 26 15:50:33.054614 check[4940]: [ 8] mail 1 Subject: Returned mail: see transcript for details Oct 26 15:50:33.076855 check[4940]: [ 6] preproc: mail 1.0 went from 518 bytes to 481 Oct 26 15:50:33.077753 check[4940]: [ 6] preproc: mail 1.1 went from 400 bytes to 325 Segmentation fault (core dumped) dpe1:lars #
dpe1:lars # /usr/local/scripts/razor-check -d < coredump.msg Razor-Log: Computed razorhome from env: /home/staff/lars/.razor Razor-Log: Found razorhome: /home/staff/lars/.razor Razor-Log: No /home/staff/lars/.razor/razor-agent.conf found, skipping. Razor-Log: No razor-agent.conf found, using defaults. Oct 26 15:58:29.168408 check[7236]: [ 1] [bootup] Logging initiated LogDebugLevel=9 to stdout Oct 26 15:58:29.169737 check[7236]: [ 5] computed razorhome=/home/staff/lars/.razor, conf=, ident=/home/staff/lars/.razor/identity Oct 26 15:58:29.170269 check[7236]: [ 2] Razor-Agents v2.20 starting razor-check -d Oct 26 15:58:29.188381 check[7236]: [ 9] uname -a: OpenBSD dpe1 2.9 DPE1#2 i386 Oct 26 15:58:29.189222 check[7236]: [ 8] reading straight RFC822 mail from <stdin> Oct 26 15:58:29.210728 check[7236]: [ 6] read 1 mail Oct 26 15:58:29.211936 check[7236]: [ 8] Client supported_engines: 1 2 3 4 Oct 26 15:58:29.227178 check[7236]: [ 8] prep_mail done: mail 1 headers=1096, mime0=518, mime1=400, mime2=61535 Oct 26 15:58:29.229003 check[7236]: [ 6] skipping whitelist file (empty?): /home/staff/lars/.razor/razor-whitelist Oct 26 15:58:29.230159 check[7236]: [ 5] read_file: 1 items read from /home/staff/lars/.razor/servers.discovery.lst Oct 26 15:58:29.230998 check[7236]: [ 5] read_file: 1 items read from /home/staff/lars/.razor/servers.nomination.lst Oct 26 15:58:29.231719 check[7236]: [ 5] read_file: 1 items read from /home/staff/lars/.razor/servers.catalogue.lst Oct 26 15:58:29.232658 check[7236]: [ 9] Assigning defaults to hubris.cloudmark.com Oct 26 15:58:29.233293 check[7236]: [ 9] Assigning defaults to truth.cloudmark.com Oct 26 15:58:29.234630 check[7236]: [ 5] read_file: 11 items read from /home/staff/lars/.razor/server.truth.cloudmark.com.conf Oct 26 15:58:29.235624 check[7236]: [ 5] 161785 seconds before closest server discovery Oct 26 15:58:29.236457 check[7236]: [ 6] truth.cloudmark.com is a Catalogue Server srl 61; computed min_cf=1, Server se: 0A Oct 26 15:58:29.237094 check[7236]: [ 8] Computed supported_engines: 2 4 Oct 26 15:58:29.237658 check[7236]: [ 8] Using next closest server truth.cloudmark.com:2703, cached info srl 61 Oct 26 15:58:29.239135 check[7236]: [ 8] mail 1 Subject: Returned mail: see transcript for details Oct 26 15:58:29.260146 check[7236]: [ 6] preproc: mail 1.0 went from 518 bytes to 481 Oct 26 15:58:29.260888 check[7236]: [ 6] preproc: mail 1.1 went from 400 bytes to 325 Segmentation fault (core dumped) dpe1:lars #