Bug Tracker item #2990455, was opened at 2010-04-21 15:08 Message generated for change (Comment added) made by szynaka You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2990455&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: None Group: None Status: Open Resolution: None Priority: 9 Private: No Submitted By: borei (boreix) Assigned to: Stevan Bajic (sbajic) Summary: glibc detected double free or corruption Initial Comment: Training ham / spam corpora... [test: spam ] spam/1270805719.H355503P3831.mai result: *** glibc detected *** /usr/local/bin/dspam: double free or corruption (!prev): 0x08356b08 *** ======= Backtrace: ========= /lib/libc.so.6[0x899595] /lib/libc.so.6(cfree+0x59)[0x8999d9] /usr/local/bin/dspam(process_message+0xaeb)[0x80523fb] /usr/local/bin/dspam(process_users+0x9ac)[0x805362c] /usr/local/bin/dspam(main+0x440)[0x8054340] /lib/libc.so.6(__libc_start_main+0xdc)[0x845e9c] /usr/local/bin/dspam[0x804ae41] ======= Memory map: ======== 00101000-00142000 r-xp 00000000 fd:00 622657 /lib/libssl.so.0.9.8b 00142000-00146000 rwxp 00040000 fd:00 622657 /lib/libssl.so.0.9.8b 001d0000-001d1000 r-xp 001d0000 00:00 0 [vdso] 00254000-0025f000 r-xp 00000000 fd:01 3048022 /usr/local/lib/dspam/libpgsql_drv.so.7.0.0 0025f000-00260000 rwxp 0000b000 fd:01 3048022 /usr/local/lib/dspam/libpgsql_drv.so.7.0.0 00557000-0056b000 r-xp 00000000 fd:01 2624430 /usr/local/lib/libdspam.so.7.0.0 0056b000-0056c000 rwxp 00014000 fd:01 2624430 /usr/local/lib/libdspam.so.7.0.0 0056c000-0056d000 rwxp 0056c000 00:00 0 00812000-0082c000 r-xp 00000000 fd:00 622608 /lib/ld-2.5.so 0082c000-0082d000 r-xp 00019000 fd:00 622608 /lib/ld-2.5.so 0082d000-0082e000 rwxp 0001a000 fd:00 622608 /lib/ld-2.5.so 00830000-0096f000 r-xp 00000000 fd:00 622614 /lib/libc-2.5.so 0096f000-00970000 --xp 0013f000 fd:00 622614 /lib/libc-2.5.so 00970000-00972000 r-xp 0013f000 fd:00 622614 /lib/libc-2.5.so 00972000-00973000 rwxp 00141000 fd:00 622614 /lib/libc-2.5.so 00973000-00976000 rwxp 00973000 00:00 0 00978000-0097a000 r-xp 00000000 fd:00 622628 /lib/libdl-2.5.so 0097a000-0097b000 r-xp 00001000 fd:00 622628 /lib/libdl-2.5.so 0097b000-0097c000 rwxp 00002000 fd:00 622628 /lib/libdl-2.5.so 0097e000-009a3000 r-xp 00000000 fd:00 622615 /lib/libm-2.5.so 009a3000-009a4000 r-xp 00024000 fd:00 622615 /lib/libm-2.5.so 009a4000-009a5000 rwxp 00025000 fd:00 622615 /lib/libm-2.5.so 009a7000-009bb000 r-xp 00000000 fd:00 622632 /lib/libpthread-2.5.so 009bb000-009bc000 r-xp 00013000 fd:00 622632 /lib/libpthread-2.5.so 009bc000-009bd000 rwxp 00014000 fd:00 622632 /lib/libpthread-2.5.so 009bd000-009bf000 rwxp 009bd000 00:00 0 009c1000-009fc000 r-xp 00000000 fd:00 622647 /lib/libsepol.so.1 009fc000-009fd000 rwxp 0003a000 fd:00 622647 /lib/libsepol.so.1 009fd000-00a07000 rwxp 009fd000 00:00 0 00a09000-00a1f000 r-xp 00000000 fd:00 622649 /lib/libselinux.so.1 00a1f000-00a21000 rwxp 00015000 fd:00 622649 /lib/libselinux.so.1 00a23000-00a35000 r-xp 00000000 fd:01 2755350 /usr/lib/libz.so.1.2.3 00a35000-00a36000 rwxp 00011000 fd:01 2755350 /usr/lib/libz.so.1.2.3 00a43000-00a56000 r-xp 00000000 fd:00 622622 /lib/libnsl-2.5.so 00a56000-00a57000 r-xp 00012000 fd:00 622622 /lib/libnsl-2.5.so 00a57000-00a58000 rwxp 00013000 fd:00 622622 /lib/libnsl-2.5.so 00a58000-00a5a000 rwxp 00a58000 00:00 0 00a5c000-00a65000 r-xp 00000000 fd:00 622629 /lib/libcrypt-2.5.so 00a65000-00a66000 r-xp 00008000 fd:00 622629 /lib/libcrypt-2.5.so 00a66000-00a67000 rwxp 00009000 fd:00 622629 /lib/libcrypt-2.5.so 00a67000-00a8e000 rwxp 00a67000 00:00 0 00a90000-00a9f000 r-xp 00000000 fd:00 622627 /lib/libresolv-2.5.so 00a9f000-00aa0000 r-xp 0000e000 fd:00 622627 /lib/libresolv-2.5.so 00aa0000-00aa1000 rwxp 0000f000 fd:00 622627 /lib/libresolv-2.5.so 00aa1000-00aa3000 rwxp 00aa1000 00:00 0 00aa5000-00ab0000 r-xp 00000000 fd:00 622618 /lib/libgcc_s-4.1.2-20080825.so.1 00ab0000-00ab1000 rwxp 0000a000 fd:00 622618 /lib/libgcc_s-4.1.2-20080825.so.1 00ae9000-00b08000 r-xp 00000000 fd:01 2755358 /usr/lib/libpq.so.4.1 00b08000-00b09000 rwxp 0001f000 fd:01 2755358 /usr/lib/libpq.so.4.1 00b45000-00b47000 r-xp 00000000 fd:00 622654 /lib/libcom_err.so.2.1 00b47000-00b48000 rwxp 00001000 fd:00 622654 /lib/libcom_err.so.2.1 00b4a000-00b4c000 r-xp 00000000 fd:00 622646 /lib/libkeyutils-1.2.so 00b4c000-00b4d000 rwxp 00001000 fd:00 622646 /lib/libkeyutils-1.2.so 00b4f000-00c6c000 r-xp 00000000 fd:00 622655 /lib/libcrypto.so.0.9.8b 00c6c000-00c7f000 rwxp 0011c000 fd:00 622655 /lib/libcrypto.so.0.9.8b 00c7f000-00c82000 rwxp 00c7f000 00:00 0 00c84000-00d14000 r-xp 00000000 fd:01 2755133 /usr/lib/libkrb5.so.3.3 00d14000-00d17000 rwxp 0008f000 fd:01 2755133 /usr/lib/libkrb5.so.3.3 00d19000-00d21000 r-xp 00000000 fd:01 2755054 /usr/lib/libkrb5support.so.0.1 00d21000-00d22000 rwxp 00007000 fd:01 2755054 /usr/lib/libkrb5support.so.0.1 00d24000-00d49000 r-xp 00000000 fd:01 2755128 /usr/lib/libk5crypto.so.3.1 00d49000-00d4a000 rwxp 00025000 fd:01 2755128 /usr/lib/libk5crypto.so.3.1 00d4c000-00d79000 r-xp 00000000 fd:01 2755142 /usr/lib/libgssapi_krb5.so.2.2 00d79000-00d7a000 rwxp 0002d000 fd:01 2755142 /usr/lib/libgssapi_krb5.so.2.2 00fa4000-00fad000 r-xp 00000000 fd:00 622665 /lib/libnss_files-2.5.so 00fad000-00fae000 r-xp 00008000 fd:00 622665 /lib/libnss_files-2.5.so 00fae000-00faf000 rwxp 00009000 fd:00 622665 /lib/libnss_files-2.5.so 08048000-0805e000 r-xp 00000000 fd:01 2624431 /usr/local/bin/dspam 0805e000-0805f000 rw-p 00015000 fd:01 2624431 /usr/local/bin/dspam 08344000-083bf000 rw-p 08344000 00:00 0 [heap] b7f12000-b7f15000 rw-p b7f12000 00:00 0 b7f1b000-b7f1c000 rw-p b7f1b000 00:00 0 bf96e000-bf983000 rw-p bffea000 00:00 0 [stack] sh: line 1: 28938 Aborted valgrind points to dsapm.c line 856 ==29060== Invalid free() / delete / delete[] ==29060== at 0x4004FDA: free (vg_replace_malloc.c:233) ==29060== by 0x80523FA: process_message (dspam.c:856) ==29060== by 0x805362B: process_users (dspam.c:1869) ==29060== by 0x805433F: main (dspam.c:265) ==29060== Address 0x42A7E90 is 0 bytes inside a block of size 12,744 free'd ==29060== at 0x4004FDA: free (vg_replace_malloc.c:233) ==29060== by 0x4016CF6: _ds_operate (libdspam.c:1150) ==29060== by 0x4017A47: dspam_process (libdspam.c:593) ==29060== by 0x804DB3A: user_classify (dspam.c:1471) ==29060== by 0x804DD63: ensure_confident_result (dspam.c:2760) ==29060== by 0x8052681: process_message (dspam.c:556) ==29060== by 0x805362B: process_users (dspam.c:1869) ==29060== by 0x805433F: main (dspam.c:265) ==29060== ==29060== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 68 from 1) ==29060== malloc/free: in use at exit: 40 bytes in 2 blocks. ==29060== malloc/free: 10,138 allocs, 10,137 frees, 1,463,740 bytes allocated. ==29060== For counts of detected errors, rerun with: -v ==29060== searching for pointers to 2 not-freed blocks. ==29060== checked 87,252 bytes. ==29060== ==29060== LEAK SUMMARY: ==29060== definitely lost: 0 bytes in 0 blocks. ==29060== possibly lost: 0 bytes in 0 blocks. ==29060== still reachable: 40 bytes in 2 blocks. ==29060== suppressed: 0 bytes in 0 blocks. ==29060== Reachable blocks (those to which a pointer was found) are not shown. ==29060== To see them, rerun with: --show-reachable=yes ---------------------------------------------------------------------- Comment By: Ed Szynaka (szynaka) Date: 2010-04-29 19:55 Message: I can duplicate this issue by adding the following line to the group file. Removing the line stops the error from occuring. I used the last debian news email I had laying around to test but it works with any email. I also included everything included previously by boreix just in case. corpususer:classification:* DSPAM 3.9.0 sources compiled with the following flags: $ ./configure --prefix=/usr/local/dspam --sysconfdir=/usr/local/dspam/etc --with-storage-driver=mysql_drv,pgsql_drv --with-mysql-includes=/usr/include/mysql --with-pgsql-includes=/usr/include/postgresql --enable-daemon --enable-debug - -enable-virtual-users --enable-preferences-extension --enable-clamav (gdb) run --stdout --deliver=innocent,spam --user testu...@testdomain.com --debug < debian_news.eml Starting program: /usr/local/bin/dspam --stdout --deliver=innocent,spam --user testu...@testdomain.com --debug < debian_news.eml Failed to read a valid object file image from memory. [Thread debugging using libthread_db enabled] [New Thread 0xb7dad8c0 (LWP 24387)] *** glibc detected *** /usr/local/bin/dspam: double free or corruption (!prev): 0x0812b320 *** ======= Backtrace: ========= /lib/i686/cmov/libc.so.6[0xb7e1c624] /lib/i686/cmov/libc.so.6(cfree+0x96)[0xb7e1e826] /usr/local/bin/dspam(process_message+0xd30)[0x80522d0] /usr/local/bin/dspam(process_users+0x6ee)[0x805337e] /usr/local/bin/dspam(main+0x461)[0x8054521] /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7dc4455] /usr/local/bin/dspam[0x804b4e1] ======= Memory map: ======== 08048000-0805e000 r-xp 00000000 03:08 456103 /usr/local/bin/dspam 0805e000-0805f000 rw-p 00015000 03:08 456103 /usr/local/bin/dspam 0805f000-08180000 rw-p 0805f000 00:00 0 [heap] b7700000-b7721000 rw-p b7700000 00:00 0 b7721000-b7800000 ---p b7721000 00:00 0 b78b2000-b78be000 r-xp 00000000 03:03 48883 /lib/libgcc_s.so.1 b78be000-b78bf000 rw-p 0000b000 03:03 48883 /lib/libgcc_s.so.1 b78bf000-b7925000 r-xp 00000000 03:06 439904 /usr/lib/libgcrypt.so.11.4.4 b7925000-b7927000 rw-p 00066000 03:06 439904 /usr/lib/libgcrypt.so.11.4.4 b7927000-b792a000 r-xp 00000000 03:06 439902 /usr/lib/libgpg-error.so.0.3.0 b792a000-b792b000 rw-p 00002000 03:06 439902 /usr/lib/libgpg-error.so.0.3.0 b792b000-b793a000 r-xp 00000000 03:06 439906 /usr/lib/libtasn1.so.3.0.15 b793a000-b793b000 rw-p 0000e000 03:06 439906 /usr/lib/libtasn1.so.3.0.15 b793b000-b79d2000 r-xp 00000000 03:06 439912 /usr/lib/libgnutls.so.26.4.6 b79d2000-b79d8000 rw-p 00097000 03:06 439912 /usr/lib/libgnutls.so.26.4.6 b79d8000-b79ee000 r-xp 00000000 03:06 441186 /usr/lib/libsasl2.so.2.0.22 b79ee000-b79ef000 rw-p 00015000 03:06 441186 /usr/lib/libsasl2.so.2.0.22 b79ef000-b79fb000 r-xp 00000000 03:06 440035 /usr/lib/liblber-2.4.so.2.1.0 b79fb000-b79fc000 rw-p 0000c000 03:06 440035 /usr/lib/liblber-2.4.so.2.1.0 b79fc000-b7a0c000 r-xp 00000000 03:03 99126 /lib/i686/cmov/libresolv-2.7.so b7a0c000-b7a0e000 rw-p 0000f000 03:03 99126 /lib/i686/cmov/libresolv-2.7.so b7a0e000-b7a10000 rw-p b7a0e000 00:00 0 b7a10000-b7a12000 r-xp 00000000 03:03 48881 /lib/libkeyutils-1.2.so b7a12000-b7a13000 rw-p 00001000 03:03 48881 /lib/libkeyutils-1.2.so b7a13000-b7a1a000 r-xp 00000000 03:06 441308 /usr/lib/libkrb5support.so.0.1 b7a1a000-b7a1b000 rw-p 00006000 03:06 441308 /usr/lib/libkrb5support.so.0.1 b7a1b000-b7a3e000 r-xp 00000000 03:06 440277 /usr/lib/libk5crypto.so.3.1 b7a3e000-b7a3f000 rw-p 00023000 03:06 440277 /usr/lib/libk5crypto.so.3.1 b7a3f000-b7a53000 r-xp 00000000 03:06 439910 /usr/lib/libz.so.1.2.3.3 b7a53000-b7a54000 rw-p 00013000 03:06 439910 /usr/lib/libz.so.1.2.3.3 b7a54000-b7a94000 r-xp 00000000 03:06 440069 /usr/lib/libldap_r-2.4.so.2.1.0 b7a94000-b7a96000 rw-p 0003f000 03:06 440069 /usr/lib/libldap_r-2.4.so.2.1.0 b7a96000-b7a97000 rw-p b7a96000 00:00 0 b7a97000-b7aa0000 r-xp 00000000 03:03 99111 /lib/i686/cmov/libcrypt-2.7.so b7aa0000-b7aa2000 rw-p 00008000 03:03 99111 /lib/i686/cmov/libcrypt-2.7.so b7aa2000-b7ac9000 rw-p b7aa2000 00:00 0 b7ac9000-b7af2000 r-xp 00000000 03:06 440337 /usr/lib/libgssapi_krb5.so.2.2 b7af2000-b7af3000 rw-p 00028000 03:06 440337 /usr/lib/libgssapi_krb5.so.2.2 b7af3000-b7b85000 r-xp 00000000 03:06 440276 /usr/lib/libkrb5.so.3.3 b7b85000-b7b87000 rw-p 00092000 03:06 440276 /usr/lib/libkrb5.so.3.3 b7b87000-b7cc1000 r-xp 00000000 03:06 440096 /usr/lib/i686/cmov/libcrypto.so.0.9.8 b7cc1000-b7cd7000 rw-p 0013a000 03:06 440096 /usr/lib/i686/cmov/libcrypto.so.0.9.8 b7cd7000-b7cda000 rw-p b7cd7000 00:00 0 b7cda000-b7d1d000 r-xp 00000000 03:06 440095 /usr/lib/i686/cmov/libssl.so.0.9.8 b7d1d000-b7d21000 rw-p 00042000 03:06 440095 /usr/lib/i686/cmov/libssl.so.0.9.8 b7d21000-b7d3f000 r-xp 00000000 03:06 439798 /usr/lib/libpq.so.5.1 b7d3f000-b7d40000 rw-p 0001e000 03:06 439798 /usr/lib/libpq.so.5.1 b7d46000-b7d52000 r-xp 00000000 03:06 33012 /usr/local/dspam/lib/dspam/libpgsql_drv.so.7.0.0 b7d52000-b7d53000 rw-p 0000b000 03:06 33012 /usr/local/dspam/lib/dspam/libpgsql_drv.so.7.0.0 b7d53000-b7d75000 rw-p b7d53000 00:00 0 b7d75000-b7d7f000 r-xp 00000000 03:03 99127 /lib/i686/cmov/libnss_files-2.7.so b7d7f000-b7d81000 rw-p 00009000 03:03 99127 /lib/i686/cmov/libnss_files-2.7.so b7d81000-b7d89000 r-xp 00000000 03:03 99116 /lib/i686/cmov/libnss_nis-2.7.so b7d89000-b7d8b000 rw-p 00008000 03:03 99116 /lib/i686/cmov/libnss_nis-2.7.so b7d8b000-b7da0000 r-xp 00000000 03:03 99117 /lib/i686/cmov/libnsl-2.7.so b7da0000-b7da2000 rw-p 00014000 03:03 99117 /lib/i686/cmov/libnsl-2.7.so b7da2000-b7da4000 rw-p b7da2000 00:00 0 b7da4000-b7dab000 r-xp 00000000 03:03 99120 /lib/i686/cmov/libnss_compat-2.7.so b7dab000-b7dad000 rw-p 00006000 03:03 99120 /lib/i686/cmov/libnss_compat-2.7.so b7dad000-b7dae000 rw-p b7dad000 00:00 0 b7dae000-b7f03000 r-xp 00000000 03:03 99122 /lib/i686/cmov/libc-2.7.so b7f03000-b7f04000 r--p 00155000 03:03 99122 /lib/i686/cmov/libc-2.7.so b7f04000-b7f06000 rw-p 00156000 03:03 99122 /lib/i686/cmov/libc-2.7.so b7f06000-b7f09000 rw-p b7f06000 00:00 0 b7f09000-b7f1e000 r-xp 00000000 03:03 99115 /lib/i686/cmov/libpthread-2.7.so b7f1e000-b7f20000 rw-p 00014000 03:03 99115 /lib/i686/cmov/libpthread-2.7.so b7f20000-b7f22000 rw-p b7f20000 00:00 0 b7f22000-b7f24000 r-xp 00000000 03:03 99119 /lib/i686/cmov/libdl-2.7.so b7f24000-b7f26000 rw-p 00001000 03:03 99119 /lib/i686/cmov/libdl-2.7.so b7f26000-b7f27000 rw-p b7f26000 00:00 0 b7f27000-b7f4b000 r Program received signal SIGABRT, Aborted. [Switching to Thread 0xb7dad8c0 (LWP 24387)] 0xffffe410 in ?? () (gdb) bt #0 0xffffe410 in ?? () #1 0xbfd7fb24 in ?? () #2 0x00000006 in ?? () #3 0x00005f43 in ?? () #4 0xb7dd9640 in raise () from /lib/i686/cmov/libc.so.6 #5 0xb7ddb018 in abort () from /lib/i686/cmov/libc.so.6 #6 0xb7e1634d in ?? () from /lib/i686/cmov/libc.so.6 #7 0x00000006 in ?? () #8 0xbfd7fd94 in ?? () #9 0x00000400 in ?? () #10 0xb7eec648 in ?? () from /lib/i686/cmov/libc.so.6 #11 0x00000017 in ?? () #12 0xbfd8849f in ?? () #13 0x00000014 in ?? () #14 0xb7eec661 in ?? () from /lib/i686/cmov/libc.so.6 #15 0x00000002 in ?? () #16 0xb7eec740 in ?? () from /lib/i686/cmov/libc.so.6 #17 0x00000021 in ?? () #18 0xb7eec665 in ?? () from /lib/i686/cmov/libc.so.6 #19 0x00000004 in ?? () #20 0xbfd802c3 in ?? () #21 0x00000008 in ?? () #22 0xb7eec66b in ?? () from /lib/i686/cmov/libc.so.6 #23 0x00000005 in ?? () #24 0x31343a35 in ?? () #25 0x0037313a in ?? () #26 0xb7d51268 in ?? () from /usr/local/dspam/lib/dspam/libpgsql_drv.so #27 0x00000000 in ?? () debug output: 24387: [04/29/2010 15:41:16] No QuarantineAgent option found. Using standard quarantine. 24387: [04/29/2010 15:41:16] DSPAM Instance Startup 24387: [04/29/2010 15:41:16] input args: /home/eszynaka/dspam --stdout --deliver=innocent,spam --user testu...@testdomain.com --debug 24387: [04/29/2010 15:41:16] pass-thru args: 24387: [04/29/2010 15:41:16] processing user testu...@testdomain.com 24387: [04/29/2010 15:41:16] uid = 20006, euid = 20006, gid = 10000, egid = 10000 24387: [04/29/2010 15:41:16] loading preferences for user testu...@testdomain.com 24387: [04/29/2010 15:41:16] _pgsql_drv_getpwnam: successful returning struct for name: testu...@testdomain.com 24387: [04/29/2010 15:41:16] Loading preferences for uid 3856 24387: [04/29/2010 15:41:16] Loading preferences for uid 0 24387: [04/29/2010 15:41:16] Loading preferences for uid 0 24387: [04/29/2010 15:41:16] default preferences empty. reverting to dspam.conf preferences. 24387: [04/29/2010 15:41:16] Loading preferences from dspam.conf 24387: [04/29/2010 15:41:16] using /usr/local/dspam/var/dspam/opt-in/testu...@testdomain.com.dspam as path 24387: [04/29/2010 15:41:16] using /usr/local/dspam/var/dspam/opt-out/testu...@testdomain.com.nodspam as path 24387: [04/29/2010 15:41:16] adding user * to classification group corpususer 24387: [04/29/2010 15:41:16] sedation level set to: 5 24387: [04/29/2010 15:41:16] _pgsql_drv_getpwnam: successful returning struct for name: testu...@testdomain.com 24387: [04/29/2010 15:41:16] _pgsql_drv_getpwnam returning cached name testu...@testdomain.com. 24387: [04/29/2010 15:41:16] Loading 122 BNR patterns 24387: [04/29/2010 15:41:16] _pgsql_drv_getpwnam returning cached name testu...@testdomain.com. 24387: [04/29/2010 15:41:16] Whitelist threshold: 10 24387: [04/29/2010 15:41:16] [graham] [0.010000] [149] (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] [149] (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [graham] [0.010000] OpenOffice+org (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] OpenOffice+org (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [graham] [0.010000] mapnik+viewer (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] mapnik+viewer (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [graham] [0.010000] the+above" (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] the+above" (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [graham] [0.010000] code+from (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] code+from (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [graham] [0.010000] need+the (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] need+the (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [graham] [0.010000] many (2frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] many (2frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] many (2frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [graham] [0.010000] visualize+edit (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] visualize+edit (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [graham] [0.010000] packages+Currently (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] packages+Currently (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [graham] [0.010000] tools+Commandline (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] tools+Commandline (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [graham] [0.010000] helpful (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] helpful (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [graham] [0.010000] but (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] but (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [graham] [0.010000] porter+machine (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] porter+machine (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [graham] [0.010000] 148+149 (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] 148+149 (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [graham] [0.010000] New+and (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] New+and (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] Developers+are (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] parallel (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] SH4+architecture (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] 47 (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] [124] (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] package)+[111] (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] reports (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] late+May (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] help+organisations (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] fix+release (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] [burton] [0.010000] just (1frq, 0s, 3i) 24387: [04/29/2010 15:41:16] Graham-Bayesian Probability: 0.000000 Samples: 15 24387: [04/29/2010 15:41:16] Burton-Bayesian Probability: 0.000000 Samples: 27 24387: [04/29/2010 15:41:16] no factors specified; using default 24387: [04/29/2010 15:41:16] Result Confidence: 0.99 24387: [04/29/2010 15:41:16] _pgsql_drv_getpwnam returning cached name testu...@testdomain.com. 24387: [04/29/2010 15:41:16] Control: [10 10] [10 11] Delta: [0 1] 24387: [04/29/2010 15:41:17] total processing time: 0.73601s 24387: [04/29/2010 15:41:17] checking result for user 24387: [04/29/2010 15:41:17] _pgsql_drv_getpwnam returning NULL for query on name: (null) that returned a null result 24387: [04/29/2010 15:41:17] _ds_getall_spamrecords: unable to _pgsql_drv_getpwnam((null)) 24387: [04/29/2010 15:41:17] _ds_getall_spamrecords() failed 24387: [04/29/2010 15:41:17] user_classify() returned error -5 $ gcc -v Using built-in specs. Target: i486-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.3.2-1.1' --with-bugurl=file:///usr/share/doc/gcc-4.3/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --with-gxx-include-dir=/usr/include/c++/4.3 --program-suffix=-4.3 --enable-clocale=gnu --enable-libstdcxx-debug --enable-objc-gc --enable-mpfr --enable-targets=all --enable-cld --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu Thread model: posix gcc version 4.3.2 (Debian 4.3.2-1.1) $ dpkg -l | grep libc ii klibc-utils 1.5.12-2 small utilities built with klibc for early b ii libc6 2.7-18lenny2 GNU C Library: Shared libraries ii libc6-dev 2.7-18lenny2 GNU C Library: Development Libraries and Hea ii libc6-i686 2.7-18lenny2 GNU C Library: Shared libraries [i686 optimi ii libstdc++2.10-glibc2.2 1:2.95.4-27 The GNU stdc++ library ii linux-libc-dev 2.6.26-21lenny4 Linux support headers for userspace developm $ uname -a Linux dspamdb3 2.6.22.1.jaj #1 SMP Mon Jul 30 11:06:23 EDT 2007 i686 GNU/Linux ---------------------------------------------------------------------- Comment By: Stevan Bajic (sbajic) Date: 2010-04-28 01:17 Message: can you attach that "spam/1270805719.H355503P3831.mail2.server.parasun.com,S=6979:2,S" message here into this bug report? ---------------------------------------------------------------------- Comment By: borei (boreix) Date: 2010-04-27 22:05 Message: sorry, was hammered in the office, couldn't spend time on dspam. i've modified libdspam.c file ------------------------------- if (CTX->signature != NULL) { if (CTX->signature->data != NULL) { free(CTX->signature->data); CTX->signature->data = NULL; /* Added this line, without it i was getting double free or corruption */ } if (CTX->signature != NULL && heap_sort_items > 0) free (CTX->signature); CTX->signature = NULL; } --------------------------------------- but in the log i'm getting the following: 32349: [04/27/2010 14:50:32] No QuarantineAgent option found. Using standard quarantine. 32349: [04/27/2010 14:50:32] DSPAM Instance Startup 32349: [04/27/2010 14:50:32] input args: /usr/local/bin/dspam --debug --user spamfee...@parasun.com --deliver=summary --stdout 32349: [04/27/2010 14:50:32] pass-thru args: 32349: [04/27/2010 14:50:32] processing user spamfee...@parasun.com 32349: [04/27/2010 14:50:32] uid = 0, euid = 0, gid = 0, egid = 12 32349: [04/27/2010 14:50:32] loading preferences for user spamfee...@parasun.com 32349: [04/27/2010 14:50:32] _pgsql_drv_getpwnam: successful returning struct for name: spamfee...@parasun.com 32349: [04/27/2010 14:50:32] Loading preferences for uid 1 32349: [04/27/2010 14:50:32] Loading preferences for uid 0 32349: [04/27/2010 14:50:32] Loading preferences for uid 0 32349: [04/27/2010 14:50:32] default preferences empty. reverting to dspam.conf preferences. 32349: [04/27/2010 14:50:32] Loading preferences from dspam.conf 32349: [04/27/2010 14:50:32] using /usr/local/var/dspam/opt-in/parasun.com/spamfeeder.dspam as path 32349: [04/27/2010 14:50:32] using /usr/local/var/dspam/opt-out/parasun.com/spamfeeder.nodspam as path 32349: [04/27/2010 14:50:32] adding user * to classification group ibbs-west 32349: [04/27/2010 14:50:32] sedation level set to: 0 32349: [04/27/2010 14:50:32] _pgsql_drv_getpwnam: successful returning struct for name: spamfee...@parasun.com ' doesn't contains `:' characterode.c:362: unexpected data: header string ' ' doesn't contains `:' characterode.c:362: unexpected data: header string ' ' doesn't contains `:' characterode.c:362: unexpected data: header string 'Mrs Ann I.Mario ' doesn't contains `:' characterode.c:362: unexpected data: header string '20 Park Road, ' doesn't contains `:' characterode.c:362: unexpected data: header string 'Bristol BS 25LJ, ' doesn't contains `:' characterode.c:362: unexpected data: header string 'England ' doesn't contains `:' characterode.c:362: unexpected data: header string 'Ph # +44 7045703173 ' doesn't contains `:' characterode.c:362: unexpected data: header string ' ' doesn't contains `:' characterode.c:362: unexpected data: header string 'Attn; Sir/Madam ' doesn't contains `:' characterode.c:362: unexpected data: header string ' ' doesn't contains `:' characterode.c:362: unexpected data: header string 'This is for your attention ' doesn't contains `:' characterode.c:362: unexpected data: header string ' 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'We wish to notify you again that you were listed as a be' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'total sum of =A35,600,000.00GBP (Five Million Six Hundre' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'Pounds) in the intent of the deceased (name now withheld' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'second letter to you)It is like this because bad people ' doesn't contains `:' character ' doesn't contains `:' characterode.c:362: unexpected data: header string 's 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'time around. I contacted you because you bear the same S' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'therefore can present you as the Beneficiary to the Inhe' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'is no written Will. Our legal services aim to provide ou' doesn't contains `:' character ' doesn't contains `:' characterode.c:362: unexpected data: header string 'with a complete service. ' doesn't contains `:' characterode.c:362: unexpected data: header string ' 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'We are happy to prepare Wills, set-up and administer Tru' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'administration of Estates and prepare and administer pow' doesn't contains `:' character ' doesn't contains `:' characterode.c:362: unexpected data: header string 'l 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'the papers will be processed in your acceptance. In your' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'deal, we request that you kindly forward to us your lett' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'your current telephone and fax numbers and a forwarding ' doesn't contains `:' character ' doesn't contains `:' characterode.c:362: unexpected data: header string 's 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'file necessary documents at our high court probate divis' doesn't contains `:' character ' doesn't contains `:' characterode.c:362: unexpected data: header string 'of this sum of money. ' doesn't contains `:' characterode.c:362: unexpected data: header string ' ' doesn't contains `:' characterode.c:362: unexpected data: header string 'Yours faithfully ' doesn't contains `:' characterode.c:362: unexpected data: header string ' ' doesn't contains `:' characterode.c:362: unexpected data: header string 'Mrs Ann I.Mario ' doesn't contains `:' characterode.c:362: unexpected data: header string ' ' doesn't contains `:' characterode.c:362: unexpected data: header string ' 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string '<div id=3D"yiv341287105"><div id=3D"yiv1139095539"><div ' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string '><div id=3D"yiv1480619078"><div id=3D"yiv1523917189"><di' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string '58"><div id=3D"yiv1731518424"><div id=3D"yiv1937541620">' doesn't contains `:' character ' doesn't contains `:' characterode.c:362: unexpected data: header string '26707"><div id=3D"yiv452574828"> 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string '<div id=3D"yiv470091027"><div id=3D"yiv1078895832"><div ' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string '><div id=3D"yiv135286916">Mrs Ann I.Mario<br>20 Park Roa' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'LJ,<br>England<br>Ph # +44 7045703173<br>=A0<br>Attn; Si' doesn't contains `:' character ' doesn't contains `:' characterode.c:362: unexpected data: header string 'his is for your attention<br> ' doesn't contains `:' characterode.c:362: unexpected data: header string '=A0<br>We 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'wish to notify you again that you were listed as a benef' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'total sum of =A35,600,000.00GBP (Five Million Six Hundre' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'British Pounds) in the intent of the deceased (name now ' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'this is our second letter to you)It is like this because' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'the internet this time around. I contacted you because y' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'same Surname Identity and therefore can present you as t' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'to the Inheritance since there is no written Will. Our l' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'aim to provide our private clients with a complete servi' doesn't contains `:' character ' doesn't contains `:' characterode.c:362: unexpected data: header string 'e happy to prepare Wills, set-up and administer 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'Trusts, carry out the administration of Estates and prep' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'administer powers of Attorney. All the papers will be pr' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'acceptance. In your acceptance of this deal, we request ' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'forward to us your letter of acceptance; your current te' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'numbers and a forwarding address to enable us file neces' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'at our high court probate division for the release of th' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string '><br>Yours faithfully<br><br>Mrs Ann I.Mario<br></div></' doesn't contains `:' character 32349: [04/27/2010 14:50:32] decode.c:362: unexpected data: header string 'iv></div></div></div></div></div></div></div></div></div' doesn't contains `:' character ' doesn't contains `:' characterode.c:362: unexpected data: header string ' ' doesn't contains `:' characterode.c:362: unexpected data: header string '--0016368e1d7c15457a0483ca8348-- 32349: [04/27/2010 14:50:32] message is signed. retaining original text for reassembly 32349: [04/27/2010 14:50:32] message is signed. retaining original text for reassembly 32349: [04/27/2010 14:50:32] _pgsql_drv_getpwnam returning cached name spamfee...@parasun.com. 32349: [04/27/2010 14:50:32] Whitelist threshold: 10 *Surname (1frq, 9s, 12i):32] [graham] [0.863636] s *Surname (1frq, 9s, 12i):32] [burton] [0.863636] s *acceptance. (1frq, 9s, 12i) [graham] [0.863636] =A0<br>We *acceptance. (1frq, 9s, 12i) [burton] [0.863636] =A0<br>We 32349: [04/27/2010 14:50:32] [graham] [0.863636] Received*0007J6+TF (1frq, 9s, 12i) 32349: [04/27/2010 14:50:32] [burton] [0.863636] Received*0007J6+TF (1frq, 9s, 12i) *I (1frq, 9s, 12i) 14:50:32] [graham] [0.863636] s *I (1frq, 9s, 12i) 14:50:32] [burton] [0.863636] s *Thousand (1frq, 9s, 12i)32] [graham] [0.863636] =A0<br>We *Thousand (1frq, 9s, 12i)32] [burton] [0.863636] =A0<br>We *to+enable (1frq, 9s, 12i)2] [graham] [0.863636] =A0<br>We *to+enable (1frq, 9s, 12i)2] [burton] [0.863636] =A0<br>We *26707"><div (1frq, 9s, 12i) [graham] [0.863636] *26707"><div (1frq, 9s, 12i) [burton] [0.863636] *enable+us (1frq, 9s, 12i)2] [graham] [0.863636] =A0<br>We *enable+us (1frq, 9s, 12i)2] [burton] [0.863636] =A0<br>We *file+necessary (1frq, 9s, 12i)raham] [0.863636] =A0<br>We *file+necessary (1frq, 9s, 12i)urton] [0.863636] =A0<br>We *same+Surname (1frq, 9s, 12i)[graham] [0.863636] s *same+Surname (1frq, 9s, 12i)[burton] [0.863636] s *same+Surname (1frq, 9s, 12i)[graham] [0.863636] =A0<br>We *same+Surname (1frq, 9s, 12i)[burton] [0.863636] =A0<br>We *000.00GBP (1frq, 9s, 12i)2] [graham] [0.863636] *000.00GBP (1frq, 9s, 12i)2] [burton] [0.863636] *deceased+(name (1frq, 9s, 12i)raham] [0.863636] =A0<br>We *deceased+(name (1frq, 9s, 12i)urton] [0.863636] =A0<br>We 32349: [04/27/2010 14:50:32] [graham] [0.863636] From*LONDON+<infokdblondon (1frq, 9s, 12i) 32349: [04/27/2010 14:50:32] [burton] [0.863636] From*LONDON+<infokdblondon (1frq, 9s, 12i) *numbers (1frq, 9s, 12i):32] [graham] [0.863636] l *numbers (1frq, 9s, 12i):32] [burton] [0.863636] l *you+were (1frq, 9s, 12i)32] [burton] [0.863636] =A0<br>We *that (1frq, 9s, 12i):50:32] [burton] [0.863636] l 32349: [04/27/2010 14:50:32] [burton] [0.863636] Received*z5mt1958333ank.5.1270805708813 (1frq, 9s, 12i) *to+enable (1frq, 9s, 12i)2] [burton] [0.863636] l *to+the (1frq, 9s, 12i)0:32] [burton] [0.863636] s *as (2frq, 9s, 12i)14:50:32] [burton] [0.863636] =A0<br>We *as (2frq, 9s, 12i)14:50:32] [burton] [0.863636] =A0<br>We *Estates+and (1frq, 9s, 12i) [burton] [0.863636] =A0<br>We *out (1frq, 9s, 12i)4:50:32] [burton] [0.863636] =A0<br>We 32349: [04/27/2010 14:50:32] [burton] [0.863636] Received*ac15017b86b7+1 (1frq, 9s, 12i) *division (1frq, 9s, 12i)32] [burton] [0.863636] s *were+listed (1frq, 9s, 12i) [burton] [0.863636] =A0<br>We 32349: [04/27/2010 14:50:32] Graham-Bayesian Probability: 1.000000 Samples: 15 32349: [04/27/2010 14:50:32] Burton-Bayesian Probability: 1.000000 Samples: 27 32349: [04/27/2010 14:50:32] using Graham factors 32349: [04/27/2010 14:50:32] Result Confidence: 0.86 32349: [04/27/2010 14:50:32] _pgsql_drv_getpwnam returning cached name spamfee...@parasun.com. 32349: [04/27/2010 14:50:32] Control: [10 10] [11 10] Delta: [1 0] 32349: [04/27/2010 14:50:33] total processing time: 0.62548s 32349: [04/27/2010 14:50:33] checking result for user 32349: [04/27/2010 14:50:33] _pgsql_drv_getpwnam returning NULL for query on name: (null) that returned a null result 32349: [04/27/2010 14:50:33] _ds_getall_spamrecords: unable to _pgsql_drv_getpwnam((null)) 32349: [04/27/2010 14:50:33] _ds_getall_spamrecords() failed 32349: [04/27/2010 14:50:33] user_classify() returned error -5 32349: [04/27/2010 14:50:33] _pgsql_drv_getpwnam returning cached name spamfee...@parasun.com. 32349: [04/27/2010 14:50:33] DSPAM Instance Shutdown. Exit Code: 0 for the following command: /usr/local/bin/dspam --debug --user spamfee...@parasun.com --deliver=summary --stdout < 'spam/1270805719.H355503P3831.mail2.server.parasun.com,S=6979:2,S' ---------------------------------------------------------------------- Comment By: Stevan Bajic (sbajic) Date: 2010-04-22 04:54 Message: What version of DSPAM is this? > #6 0x080523fb in process_message (ATX=0xbfb88f54, message=0x9716190, username=0x970ee58 "spamfee...@parasun.com", result_string=0xbfb88f10) at dspam.c:870 > Line 870 is a comment line if I check dspam.c from GIT. Would be nice if you could post what version you are using. ---------------------------------------------------------------------- Comment By: borei (boreix) Date: 2010-04-22 00:52 Message: (gdb) bt #0 0x00d14402 in __kernel_vsyscall () #1 0x00858df0 in raise () from /lib/libc.so.6 #2 0x0085a701 in abort () from /lib/libc.so.6 #3 0x0089128b in __libc_message () from /lib/libc.so.6 #4 0x00899595 in _int_free () from /lib/libc.so.6 #5 0x008999d9 in free () from /lib/libc.so.6 #6 0x080523fb in process_message (ATX=0xbfb88f54, message=0x9716190, username=0x970ee58 "spamfee...@parasun.com", result_string=0xbfb88f10) at dspam.c:870 #7 0x0805362c in process_users (ATX=0xbfb88f54, message=0x970f048) at dspam.c:1883 #8 0x08054340 in main (argc=6, argv=0xbfb89e34) at dspam.c:265 ---------------------------------------------------------------------- Comment By: Stevan Bajic (sbajic) Date: 2010-04-22 00:19 Message: btw: What version of DSPAM are you using? 3.9.0? GIT? If not git, would it be possible to checkout DSPAM from GIT and try if you get the same issue there as well? ---------------------------------------------------------------------- Comment By: Stevan Bajic (sbajic) Date: 2010-04-22 00:17 Message: To run in gdb do this: --------------------------------------------------- # gdb /usr/local/bin/dspam (gdb) run --debug --user spamfee...@parasun.com --deliver=summary --stdout < 'spam/1270805719.H355503P3831.mail2.server.parasun.com,S=6979:2,S' --------------------------------------------------- ---------------------------------------------------------------------- Comment By: borei (boreix) Date: 2010-04-21 23:38 Message: issue reproduced 100 % using the following command: /usr/local/bin/dspam --debug --user spamfee...@parasun.com --deliver=summary --stdout < 'spam/1270805719.H355503P3831.mail2.server.parasun.com,S=6979:2,S' for any email under spam/directory as well as from exim during scan process. I'm bit confused how to run it within gdb, because gdb is not happy with "<" sign. valgrind shows the following: ==27223== Invalid free() / delete / delete[] ==27223== at 0x4004FDA: free (vg_replace_malloc.c:233) ==27223== by 0x80523FA: process_message (dspam.c:856) ==27223== by 0x805362B: process_users (dspam.c:1869) ==27223== by 0x805433F: main (dspam.c:265) ==27223== Address 0x413F028 is 0 bytes inside a block of size 12,768 free'd ==27223== at 0x4004FDA: free (vg_replace_malloc.c:233) ==27223== by 0x4016CF6: _ds_operate (libdspam.c:1150) ==27223== by 0x4017A47: dspam_process (libdspam.c:593) ==27223== by 0x804DB3A: user_classify (dspam.c:1471) ==27223== by 0x804DD63: ensure_confident_result (dspam.c:2760) ==27223== by 0x8052681: process_message (dspam.c:556) ==27223== by 0x805362B: process_users (dspam.c:1869) ==27223== by 0x805433F: main (dspam.c:265) ==27223== ==27223== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 67 from 1) ==27223== malloc/free: in use at exit: 40 bytes in 2 blocks. ==27223== malloc/free: 9,171 allocs, 9,170 frees, 1,368,176 bytes allocated. ==27223== For counts of detected errors, rerun with: -v ==27223== searching for pointers to 2 not-freed blocks. ==27223== checked 87,252 bytes. ---------------------------------------------------------------------- Comment By: Stevan Bajic (sbajic) Date: 2010-04-21 18:16 Message: Hallo boreix Are you able to trigger that error when ever you need/want? Could you try to run that command then from within GDB and produce an backtrace? Stevan ---------------------------------------------------------------------- Comment By: borei (boreix) Date: 2010-04-21 15:27 Message: [r...@ex-relay04 dspam]# gcc -v Using built-in specs. Target: i386-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-libgcj-multifile --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic --host=i386-redhat-linux Thread model: posix gcc version 4.1.2 20080704 (Red Hat 4.1.2-44) ---------------------------------------------------------------------- Comment By: borei (boreix) Date: 2010-04-21 15:26 Message: [r...@ex-relay04 dspam]# rpm -qa | grep glibc glibc-common-2.5-42.el5_4.3 glibc-2.5-42.el5_4.3 glibc-devel-2.5-42.el5_4.3 glibc-headers-2.5-42.el5_4.3 [r...@ex-relay04 dspam]# uname -a Linux ex-relay04.server.parasun.com 2.6.18-128.1.6.el5 #1 SMP Wed Apr 1 09:19:18 EDT 2009 i686 i686 i386 GNU/Linux ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2990455&group_id=250683 ------------------------------------------------------------------------------ _______________________________________________ Dspam-devel mailing list Dspam-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dspam-devel