Bug Tracker item #2826644, was opened at 2009-07-24 17:50 Message generated for change (Comment added) made by sbajic You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2826644&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: dspam crashes when training with signature Initial Comment: There was one message that I could not train via web-ui and always got an error. I checked on dspam.debug for the problem. $ /usr/bin/dspam --source=error --class=innocent --signature=5,4a64ad79114921676967107 --user ad...@net4b.pt *** glibc detected *** /usr/bin/dspam: double free or corruption (out): 0x00007fffec7d2740 *** Attached is the output of valgrind -v --show-reachable=yes. If there is anything else needed, maybe the tokens, just ask. Cheers, Carlo Rodrigues ---------------------------------------------------------------------- >Comment By: Stevan Bajic (sbajic) Date: 2009-07-24 19:51 Message: Does not crash here :( I have however latest GIT release and GCC 4.4.0 and glibc 2.10.1: ----- theia vuadmin # /lib/libc.so.6 GNU C Library stable release version 2.10.1, by Roland McGrath et al. Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Compiled by GNU CC version 4.4.0. Compiled on a Linux >>2.6.30<< system on 2009-07-07. Available extensions: C stubs add-on version 2.1.2 crypt add-on version 2.1 by Michael Glad and others Gentoo patchset 1 GNU Libidn by Simon Josefsson Native POSIX Threads Library by Ulrich Drepper et al BIND-8.2.3-T5B For bug reporting instructions, please see: <http://www.gnu.org/software/libc/bugs.html>. theia vuadmin # gcc -v Using built-in specs. Target: i686-pc-linux-gnu Configured with: /var/tmp/portage/sys-devel/gcc-4.4.0-r1/work/gcc-4.4.0/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/4.4.0 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/4.4.0/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.0 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.0/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/4.4.0/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/4.4.0/include/g++-v4 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --disable-fixed-point --with-ppl --with-cloog --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-cld --disable-libgcj --with-arch=i686 --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --with-bugurl=http://bugs.gentoo.org/ --with-pkgversion='Gentoo 4.4.0-r1 p1.2' Thread model: posix gcc version 4.4.0 (Gentoo 4.4.0-r1 p1.2) theia vuadmin # mysql -V mysql Ver 14.14 Distrib 5.1.36, for pc-linux-gnu (i686) using readline 5.1 theia vuadmin # ----- When doing that command on my setup: ----- theia vuadmin # wget "https://sourceforge.net/tracker/download.php?group_id=250683&atid=1126467&file_id=33649&aid=2826644" --2009-07-24 19:41:17-- https://sourceforge.net/tracker/download.php?group_id=250683&atid=1126467&file_id=36429&aid=2826644 Resolving sourceforge.net... 216.34.181.60 Connecting to sourceforge.net|216.34.181.60|:443... connected. HTTP request sent, awaiting response... 302 Found Location: http://sourceforge.net/tracker/download.php?group_id=250683&atid=1126467&file_id=336429&aid=282664 [following] --2009-07-24 19:41:18-- http://sourceforge.net/tracker/download.php?group_id=250683&atid=1126467&file_id=33429&aid=2826644 Connecting to sourceforge.net|216.34.181.60|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 1203 (1.2K) [application/x-mimearchive] Saving to: `download.php?group_id=250683&atid=1126467&file_id=336429&aid=2826644' 100%[===================================================================>] 1,203 --.-K/s in 0s 2009-07-24 19:41:18 (51.3 MB/s) - `download.php?group_id=250683&atid=1126467&file_id=336429&aid=2826644' savd [1203/1203] theia vuadmin # mv download.php\?group_id\=250683\&atid\=1126467\&file_id\=336429\&aid\=2826644 teste_virus.ml theia vuadmin # dspam --process --user ste...@bajic.ch --deliver=summary < teste_virus.eml X-DSPAM-Result: ste...@bajic.ch; result="Spam"; class="Spam"; probability=1.0000; confidence=0.70; signature4,4a69f2a0151372646267052 theia vuadmin # dspam --class=innocent --source=error --signature=4,4a69f2a0151372646267052 --user ste...@bajic.ch theia vuadmin # tail -n 4 /var/spool/dspam/data/s/t/stev...@bajic.ch/stev...@bajic.ch.log 1248457376 S Carlo Rodrigues <c...@net4b.pt> 4,4a69f2a0151372646267052 teste de virus (signature) Tagged <47a9ca7a.7080...@net4b.pt> 1248457486 F <None Specified> 4,4a69f2a0151372646267052 <None Specified> Retrained theia vuadmin # ----- BUT I do not use ClamAV inside DSPAM. Maybe that is an problem? Could you (if possible) try once without having ClamAV active (just disable it in dspam.conf) inside DSPAM? If that still crashes, then please try once if you could compile DSPAM without ClamAV and then rerun and see if that sill crashes your DSPAM? Kind Regards from Switzerland Stevan Bajic ---------------------------------------------------------------------- Comment By: Carlo Rodrigues (csmr) Date: 2009-07-24 19:30 Message: Hello, Stevan. I'm including the gdb output, as well as the offending message. I'm using ClamAV, for the virus scanning. Yes, it is reproducible. Just do the following: $ dspam --process --user ad...@net4b.pt --deliver=summary < teste_virus.eml X-DSPAM-Result: ad...@net4b.pt; result="Spam"; class="Virus"; probability=1.0000; confidence=1.00; signature=5,4a69e365308598763220631 $ dspam --class=innocent --source=error --signature=5,4a69e365308598763220631 --user ad...@net4b.pt *** glibc detected *** dspam: double free or corruption (out): 0x00007fffe996fc00 *** Cheers, Carlo Rodrigues ---------------------------------------------------------------------- Comment By: Stevan Bajic (sbajic) Date: 2009-07-24 18:02 Message: Hallo Carlos A GDB trace would be more useful in this case. Can you make one and attach it here? Is the error reproducible? If so then could you send me the message or attach it here? Kind Regards from Switzerland Stevan Bajic ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2826644&group_id=250683 ------------------------------------------------------------------------------ _______________________________________________ Dspam-devel mailing list Dspam-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-devel