Re: Bug report: procmail hangs on large messages.

2010-07-08 Thread Jason Tishler
Sec,

On Thu, Jul 08, 2010 at 03:00:21PM +0200, Stefan `Sec` Zehl wrote:
> 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.

Sorry, but I cannot reproduce the above problem:

$ wc -c big.mail 
10001689 big.mail
$ procmail http://cygwin.com/faq/faq.using.html#faq.using.bloda

Jason

-- 
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D  8784 1AFD E4CC ECF4 8EF6

--
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



Bug report: procmail hangs on large messages.

2010-07-08 Thread Stefan `Sec` Zehl
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