Bug Tracker item #2874775, was opened at 2009-10-08 09:56
Message generated for change (Tracker Item Submitted) made by ahurt
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=1126467&aid=2874775&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: 5
Private: No
Submitted By: Aaron Hurt (ahurt)
Assigned to: Nobody/Anonymous (nobody)
Summary: dspam crash

Initial Comment:
Error Output from dspam.debug (i added the first logging message...i'll paste 
that code in a bit)

31814: [10/08/2009 04:54:18] we got an error with buffer_cat
31814: [10/08/2009 04:54:18] read_stdin() failure
31839: [10/08/2009 04:54:52] No QuarantineAgent option found. Using standard 
quarantine.

Error From the maillog (syslog)

Oct  8 04:54:18 net1 dspam[31814]: Memory allocation failed


The section of  src/agent_shared.c that I narrowed this down to:

     if (buffer_cat (msg, buf))
     {
LOGDEBUG("we got an error with buffer_cat");
       LOG (LOG_CRIT, ERR_MEM_ALLOC);
       goto bail;
     }

This section starts around line #763 in my file fetched from git lastnight.  
The attached file always produces this error if sent unzipped regardless of who 
dspam is running as or weather it is running as a daemon or standard.  I have 
successfully tested other larger and smaller files both binary and plain text 
with no issue.  If you need anymore information please let me know.


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

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

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Dspam-devel mailing list
Dspam-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspam-devel

Reply via email to