#18 invalid pointers / memory leaks

closed-accepted
daemon (84)
9
2009-07-02
2009-06-06
M. B.
No

hi
i'm using dspam for a little while now - and while migrating my postboxes from pop3 to imap, i noticed dspam dieing on 3 of my messages.
i extracted the raw messages and piped them directly to dspam, so i am positive the problem is not how it's mangled before/after.

penelope p2p # su -l p2p -c 'cat mail-03-positive | dspam --client --stdout --deliver=innocent,spam --user=markus'
*** glibc detected *** dspam: free(): invalid pointer: 0x080b5e60 ***
/bin/bash: line 1: 28115 Done cat mail-03-positive
28116 Aborted | dspam --client --stdout --deliver=innocent,spam --user=markus
penelope p2p # su -l p2p -c 'cat mail-02-positive | dspam --client --stdout --deliver=innocent,spam --user=markus'
*** glibc detected *** dspam: free(): invalid pointer: 0x08103f78 ***
/bin/bash: line 1: 28120 Done cat mail-02-positive
28121 Aborted | dspam --client --stdout --deliver=innocent,spam --user=markus
penelope p2p # su -l p2p -c 'cat mail-01-positive | dspam --client --stdout --deliver=innocent,spam --user=markus'
*** glibc detected *** dspam: free(): invalid pointer: 0x08347ea0 ***
/bin/bash: line 1: 28125 Done cat mail-01-positive
28126 Aborted | dspam --client --stdout --deliver=innocent,spam --user=markus

Just for clarification: I fetch my mail via getmail from a pop3 server and from there dspam gets invoked via "Filter_external" with the above mentioned command-line parameters.
The problem arises with both 3.8.0-r15 (gentoo-build) and GIT.

# 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' '--build=i686-pc-linux-gnu' '--host=i686-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--with-storage-driver=hash_drv,sqlite3_drv' '--with-dspam-home=/var/spool/dspam' '--sysconfdir=/etc/mail/dspam' '--enable-daemon' '--disable-ldap' '--disable-clamav' '--disable-large-scale' '--enable-domain-scale' '--enable-syslog' '--disable-debug' '--disable-bnr-debug' '--disable-verbose-debug' '--enable-long-usernames' '--with-dspam-group=dspam' '--with-dspam-home-group=dspam' '--with-dspam-mode=2511' '--with-logdir=/var/log/dspam' '--disable-virtual-users' '--disable-preferences-extension' '--disable-homedir' 'build_alias=i686-pc-linux-gnu' 'host_alias=i686-pc-linux-gnu' 'CFLAGS=-march=pentium2 -O2 -pipe -fomit-frame-pointer' 'LDFLAGS=-Wl,-O1' 'CXXFLAGS=-march=pentium2 -O2 -pipe -fomit-frame-pointer'

Discussion

  • M. B.

    M. B. - 2009-06-06

    dspam.conf

     
  • Stevan Bajic

    Stevan Bajic - 2009-06-06
    • assigned_to: nobody --> sbajic
    • status: open --> open-accepted
     
  • Stevan Bajic

    Stevan Bajic - 2009-06-06

    Hallo

    Would it be possible to attach the message producing the error in this bug report?
    btw: Thanks for reporting this issue.

    Stevan Bajic

     
  • Stevan Bajic

    Stevan Bajic - 2009-06-06

    Gentoo Ebuild for DSPAM 3.9.0 GIT version

     
  • Stevan Bajic

    Stevan Bajic - 2009-06-06
    • priority: 5 --> 9
     
  • Stevan Bajic

    Stevan Bajic - 2009-06-06

    btw: I attached the ebuild for 3.9.0 GIT including some changes in the old cron job I did for the old Gentoo ebuild. Could you try with that ebuild to fetch directly from GIT and emerge DSPAM 3.9.0?

     
  • Stevan Bajic

    Stevan Bajic - 2009-06-17

    Hallo Markus

    Commit 70bae2b76ea9827c64e83a0823ac326fb324de67 should fix your SQLite3 issue. Can you check out and post any feedback regarding the changes?

    Stevan Bajic

     
  • Stevan Bajic

    Stevan Bajic - 2009-06-17
    • status: open-accepted --> pending-accepted
     
  • SourceForge Robot

    • status: pending-accepted --> closed-accepted
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks