X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.8 required=5.0	tests=BAYES_50,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Date: Thu, 8 Jul 2010 15:00:21 +0200
From: Stefan `Sec` Zehl <sec@42.org>
To: cygwin@sourceware.org
Subject: Bug report: procmail hangs on large messages.
Message-ID: <20100708130021.GA79721@ice.42.org>
X-Current-Backlog: 3733 messages
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4.2.3i
I-love-doing-this: really
X-Modeline: vim:set ts=8 sw=4 smarttab tw=72 si noic notitle:
Accept-Languages: de, en
X-URL: http://sec.42.org/
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hi,

I have a problem with cygwin and procmail. If messages exceed a certain
size, procmail just hangs, eating 100% cpu without doing anything. 

I've been trying to debug this further, but it just hangs, even with an
empty .procmailrc file.

Funny enough if I run procmail from within "strace" it runs fine, even
with larger messages.

I'm at a loss how provide you with more info about this problem.

I binary-searched for the cutoff-point:

Does not work: 8573458 bytes. 
Does work:     8573457 bytes.

that is hex 0x82D212, nothing that i recognize...
It appears to depend on total filesize independant of the headers to
body ratio.

Please help.

CU,
    Sec

P.S.:
  procmail -v says its: 
  procmail v3.22 2001/09/10
  cygwin says its 
  procmail-3.22-10

-- 
Ok, we're making progress.  I found a major bug (that Julian is
committing now).                         -- Matthew Dillow on freebsd-chat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

