Bug Tracker item #2874775, was opened at 2009-10-08 16:56 Message generated for change (Comment added) made by sbajic 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: 8 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. ---------------------------------------------------------------------- >Comment By: Stevan Bajic (sbajic) Date: 2009-10-08 17:42 Message: I can not reproduce it. Zipped or unzipped. Same result: --------------------- Received: from localhost (localhost [127.0.0.1]) by theia.mydomain.tld (Postfix) with ESMTP id D0781823C05 for <m...@mydomain.tld>; Thu, 8 Oct 2009 17:36:06 +0200 (CEST) X-Virus-Scanned: amavisd-new 2.6.4 (20090625) at mydomain.tld Received: from theia.mydomain.tld ([127.0.0.1]) by localhost (theia.mydomain.tld [127.0.0.1]) (amavisd-new, port 10024) with LMTP id LssNT0gc2EIp for <m...@mydomain.tld>; Thu, 8 Oct 2009 17:36:04 +0200 (CEST) Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=213.165.64.20; helo=mail.gmx.net; envelope-from=rem...@gmx.net; receiver...@mydomain.tld X-DKIM: Sendmail DKIM Filter v2.8.3 theia.mydomain.tld 69D79823C04 X-SenderID: Sendmail Sender-ID Filter v1.0.0 theia.mydomain.tld 69D79823C04 Authentication-Results: theia.mydomain.tld; sender-id=pass header.from=rem...@gmx.net; spf=pass smtp.mfrom=rem...@gmx.net X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 X-policyd-weight: using cached result; rate: -20.244 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by theia.mydomain.tld (Postfix) with SMTP id 69D79823C04 for <m...@mydomain.tld>; Thu, 8 Oct 2009 17:35:46 +0200 (CEST) Received: (qmail 18255 invoked by uid 0); 8 Oct 2009 15:35:36 -0000 Received: from 11.22.33.44 by www178.gmx.net with HTTP; Thu, 08 Oct 2009 17:35:35 +0200 (CEST) Content-Type: multipart/mixed; boundary="========GMX222331255016135876356" Date: Thu, 08 Oct 2009 17:35:35 +0200 From: "Me" <rem...@gmx.net> Message-ID: <20091008153535.222...@gmx.net> MIME-Version: 1.0 Subject: test 2 To: m...@mydomain.tld X-Authenticated: #00000000 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX1/UejlLkhbUptlFvYYJT9K7vVPgzsAjVrYxOJv+aV U0TW4Q/ELr49bVByN6TjrKhURbPLtdvVBRcQ== X-GMX-UID: kGO8ar03eSEqU144/XUhsxZ+IGRvbwBE X-FuHaFi: X-DCC-URT-Metrics: theia 1060; Body=1 Fuz1=1 X-DSPAM-Result: Whitelisted X-DSPAM-Processed: Thu Oct 8 17:36:07 2009 X-DSPAM-Confidence: 1.0000 X-DSPAM-Improbability: 1 in 98689407 chance of being spam X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 4,4ace06e7213132586910079 --========GMX222331255016135876356 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit test 2 -- GRATIS f<FC>r alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 --========GMX222331255016135876356 Content-Type: application/vnd.ms-excel; name="northernmap.csv" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="northernmap.csv" //5QAHIAbwBkAHUAYwB0AE4AYQBtAGUALABEAGUAcwBjAHIAaQBwAHQAaQBvAG4ATABpAG0AaQB0 AGUAZAAsAEQAZQBzAGMAcgBpAHAAdABpAG8AbgBMAG8AbgBnACwAVQBuAGkAdABQAHIAaQBjAGUA ....[snip].... bwAgAHMAYwBhAGwAZQAgAG8AZgAgAG0AaQBsAGUAcwAuACAAKAA4ACAAMQAvADIAIgAgAHgAIAAx ADEAIgApACwAMQAwAC4AMAAwAA0ACgA= --========GMX222331255016135876356-- --------------------- Kind Regards from Switzerland Stevan Bajic ---------------------------------------------------------------------- Comment By: Stevan Bajic (sbajic) Date: 2009-10-08 17:33 Message: > 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. > Ahh! Unzipped? I should read the message better before posting. Let my try again with the unzipped file. ---------------------------------------------------------------------- Comment By: Stevan Bajic (sbajic) Date: 2009-10-08 17:32 Message: I can not reproduce this on my end. They mail gets processed by DSPAM without any issue: ------------------ Received: from localhost (localhost [127.0.0.1]) by nyx.mydomain.tld (Postfix) with ESMTP id 2461EA3C176 for <m...@mydomain.tld>; Thu, 8 Oct 2009 17:16:07 +0200 (CEST) X-Virus-Scanned: amavisd-new 2.6.4 (20090625) at mydomain.tld Received: from nyx.mydomain.tld ([127.0.0.1]) by localhost (nyx.mydomain.tld [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uoJe+0YLi8H0 for <m...@mydomain.tld>; Thu, 8 Oct 2009 17:16:05 +0200 (CEST) Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=213.165.64.20; helo=mail.gmx.net; envelope-from=rem...@gmx.net; receiver...@mydomain.tld X-DKIM: Sendmail DKIM Filter v2.8.3 nyx.mydomain.tld EDBF3A3C16D X-SenderID: Sendmail Sender-ID Filter v1.0.0 nyx.mydomain.tld EDBF3A3C16D Authentication-Results: nyx.mydomain.tld; sender-id=pass header.from=rem...@gmx.net; spf=pass smtp.mfrom=rem...@gmx.net X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 X-policyd-weight: P0F_UNKNOWN=1.5 IN_DNSWL=-3.5 IN_AS4134=1.606 IN_AS4837=0.382 NOT_IN_SPAMCOP=-1.5 NOT_IN_PSBL-SURRIEL=-0.5 NOT_IN_CBL=-0.5 NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_DRONE-ABUSE-CH=-0.5 NOT_IN_BRBL=-1 NOT_IN_BL_NJABL=-1.5 CL_IP_EQ_HELO_IP=-2 (check from: .gmx. - helo: .mail.gmx. - helo-domain: .gmx.) FROM/MX_MATCHES_HELO(DOMAIN)=-2 RANDOM_SENDER=-1.64; rate: -12.652 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by nyx.mydomain.tld (Postfix) with SMTP id EDBF3A3C16D for <m...@mydomain.tld>; Thu, 8 Oct 2009 17:15:44 +0200 (CEST) Received: (qmail 24880 invoked by uid 0); 8 Oct 2009 15:15:35 -0000 Received: from 11.22.33.44 by www083.gmx.net with HTTP; Thu, 08 Oct 2009 17:15:34 +0200 (CEST) Content-Type: multipart/mixed; boundary="========GMX7701255014934563867" Date: Thu, 08 Oct 2009 17:15:34 +0200 From: "Me" <rem...@gmx.net> Message-ID: <20091008151534.7...@gmx.net> MIME-Version: 1.0 Subject: test To: m...@mydomain.tld X-Authenticated: #00000000 X-Flags: 0001 X-Mailer: WWW-Mail 6100 (Global Message Exchange) X-Priority: 3 X-Provags-ID: V01U2FsdGVkX1/xINYVbcnx2AD+9YvGUrIUUt4L/S2MfFrOPvlfSj jTRajWzfqnUOg6uxFrfCGrjrc8Nc646rNCMQ== X-GMX-UID: cmurC2x3fW47VQUB4WRoPTdudmllckX9 X-FuHaFi: X-DCC-URT-Metrics: nyx 1060; Body=1 Fuz1=1 X-DSPAM-Result: Whitelisted X-DSPAM-Processed: Thu Oct 8 17:16:07 2009 X-DSPAM-Confidence: 1.0000 X-DSPAM-Improbability: 1 in 98689409 chance of being spam X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 4,4ace023761846013121310 --========GMX7701255014934563867 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit test -- GRATIS für alle GMX-Mitglieder: Die maxdome Movie-FLAT! Jetzt freischalten unter http://portal.gmx.net/de/go/maxdome01 --========GMX7701255014934563867 Content-Type: application/zip; name="northernmap.csv.zip" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="northernmap.csv.zip" UEsDBBQDAAAIANi7Rzv2lnQBqIcBACzjHAAPAAAAbm9ydGhlcm5tYXAuY3N27F1bU+tGDPZzZ/of ...[snip]... AAEAAQA9AAAA1YcBAAAA --========GMX7701255014934563867-- ------------------ Would it be possible for you to specify what OS, what compiler, what dspam.conf, etc you use? Did you had any issue with that file when using older DSPAM versions? Kind Regards from Switzerland Stevan Bajic ---------------------------------------------------------------------- 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