Bug Tracker item #2815880, was opened at 2009-07-02 17:11
Message generated for change (Comment added) made by csmr
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2815880&group_id=250683

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: daemon
Group: v3.9.0
Status: Open
Resolution: None
Priority: 9
Private: No
Submitted By: Carlo Rodrigues (csmr)
Assigned to: Stevan Bajic (sbajic)
Summary: Another email that crashes dspam 3.9.0 git

Initial Comment:
dspam crashes when classifying this email. I noticed it while running 
dspam_train, but it also crashes by invoking dspam, isolated, or in 
client/server mode.

dspam --class=spam --source=corpus --user ad...@net4b.pt < 
Spam/1222473209.13708_2.relay-2.lx.esp\,S\=2939\:2\,S
*** glibc detected *** dspam: munmap_chunk(): invalid pointer: 
0x00000000036cfb60 ***                                                 
*** glibc detected *** dspam: malloc(): memory corruption: 0x00000000036cf880 
***

NOTE: 3.8.0 does not crash, but 3.9.0 does.

I'm using the latest git code, after commit 
9d7c29ac1ced95157a814754595b2b9d7a14f4cd .

I'm uploading the offending message.

----------------------------------------------------------------------

>Comment By: Carlo Rodrigues (csmr)
Date: 2009-07-03 11:39

Message:
It's a text / html message.

See the attached  dspam.conf.

This is a x86_64 system. I haven't tested it in on 32 bits, though. I'll
do that as well.

The output of 'dspam --version';

# dspam --version

DSPAM Anti-Spam Suite GIT (agent/library)

Copyright (c) 2002-2009 DSPAM Project
http://dspam.sourceforge.net.

DSPAM may be copied only under the terms of the GNU General Public
License,
a copy of which can be found with the DSPAM distribution kit.

Configuration parameters: '--prefix=/usr' '--with-logdir=/var/log/dspam'
'--with-dspam-home=/var/dspam' '--with-dspam-home-mode=2775'
'--with-dspam-home-owner=dspam' '--with-dspam-home-group=dspam'
'--with-dspam-mode=0755' '--with-dspam-owner=dspam'
'--with-dspam-group=dspam' '--sysconfdir=/etc' '--enable-daemon'
'--enable-clamav' '--enable-virtual-users' '--enable-preferences-extension'
'--with-storage-driver=mysql_drv'
'--with-delivery-agent=/usr/sbin/sendmail'
'--with-mysql-libraries=/usr/lib64/mysql'
'--with-mysql-includes=/usr/include/mysql' '--enable-debug'

dspam.debug contents:

5593: [07/03/2009 11:36:17] DSPAM Instance Startup
5593: [07/03/2009 11:36:17] input args: dspam --class=spam --source=corpus
--user ad...@net4b.pt
5593: [07/03/2009 11:36:17] pass-thru args:
5593: [07/03/2009 11:36:17] processing user ad...@net4b.pt
5593: [07/03/2009 11:36:17] uid = 0, euid = 0, gid = 0, egid = 0
5593: [07/03/2009 11:36:17] loading preferences for user ad...@net4b.pt
5593: [07/03/2009 11:36:17] _mysql_drv_getpwnam: successful returning
struct for name: ad...@net4b.pt
5593: [07/03/2009 11:36:17] Loading preferences for uid 3
5593: [07/03/2009 11:36:17] Loading preferences for uid 0
5593: [07/03/2009 11:36:17] loaded default preferences externally
5593: [07/03/2009 11:36:17] using /var/dspam/opt-in/ad...@net4b.pt.dspam
as path
5593: [07/03/2009 11:36:17] using
/var/dspam/opt-out/ad...@net4b.pt.nodspam as path
5593: [07/03/2009 11:36:17] assigning user ad...@net4b.pt to group
default
5593: [07/03/2009 11:36:17] assigning user ad...@net4b.pt to group
ad...@net4b.pt
5593: [07/03/2009 11:36:17] sedation level set to: 5
5593: [07/03/2009 11:36:17] _mysql_drv_getpwnam: successful returning
struct for name: ad...@net4b.pt
5593: [07/03/2009 11:36:17] Connecting to 127.0.0.1:3310 for virus check
5593: [07/03/2009 11:36:17] Connecting to 127.0.0.1:1060 for virus stream
transmission
5593: [07/03/2009 11:36:17] message is signed.  retaining original text
for reassembly
5593: [07/03/2009 11:36:17] message is signed.  retaining original text
for reassembly

----------------------------------------------------------------------

Comment By: Stevan Bajic (sbajic)
Date: 2009-07-02 22:18

Message:
Hallo Carlo

Damn! That should not happen. Lt me guess: The mail is not pure text but
is a HTML mail. Right?

Could you post your dspam.conf and any other additional information you
have?


Kind Regards,

Stevan Bajic

----------------------------------------------------------------------

Comment By: Carlo Rodrigues (csmr)
Date: 2009-07-02 17:18

Message:
By the way, I'm using mysql backend and osb tokenizer.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2815880&group_id=250683

------------------------------------------------------------------------------
_______________________________________________
Dspam-devel mailing list
Dspam-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-devel

Reply via email to