Re: [Dovecot] Assertion failed: (pos < input->size)

2007-10-22 Thread Asheesh Laroia
On Mon, 22 Oct 2007, Timo Sirainen wrote: On Mon, 2007-10-22 at 10:16 -0700, Asheesh Laroia wrote: On Sun, 21 Oct 2007, Asheesh Laroia wrote: I fear that the real problem is in base64_decode, but for now I'm going to sleep instead of drowsily being confused by a debugger. When I add the att

Re: [Dovecot] Assertion failed: (pos < input->size)

2007-10-22 Thread Timo Sirainen
On Mon, 2007-10-22 at 10:16 -0700, Asheesh Laroia wrote: > On Sun, 21 Oct 2007, Asheesh Laroia wrote: > > > I fear that the real problem is in base64_decode, but for now I'm going > > to sleep instead of drowsily being confused by a debugger. > > When I add the attached patch, which just adds t

Re: [Dovecot] Assertion failed: (pos < input->size)

2007-10-22 Thread Asheesh Laroia
On Sun, 21 Oct 2007, Asheesh Laroia wrote: I fear that the real problem is in base64_decode, but for now I'm going to sleep instead of drowsily being confused by a debugger. When I add the attached patch, which just adds two asserts toward the end of base64_decode(), I can get base64_decode t

Re: [Dovecot] Assertion failed: (pos < input->size)

2007-10-22 Thread Timo Sirainen
On 22.10.2007, at 6.46, Asheesh Laroia wrote: I'm looking at this in ddd, but my compile of Dovecot doesn't seem to have the "pos" local anymore, which is extremely confusing. Compiler optimizations make debugging difficult. I usually recompile the files I want to debug without -O2 by remov

Re: [Dovecot] Assertion failed: (pos < input->size)

2007-10-21 Thread Asheesh Laroia
On Sun, 21 Oct 2007, Asheesh Laroia wrote: Well, hg bisect doesn't seem to be helping me find the answer. I fear that the real problem is in base64_decode, but for now I'm going to sleep instead of drowsily being confused by a debugger. For what it's worth, http://paulproteus.acm.jhu.edu/bu

Re: [Dovecot] Assertion failed: (pos < input->size)

2007-10-21 Thread Asheesh Laroia
On Sun, 21 Oct 2007, Asheesh Laroia wrote: I'm looking at this in ddd, but my compile of Dovecot doesn't seem to have the "pos" local anymore, which is extremely confusing. Still can't find it. I'm very confused. PEBKAC is possible but I don't see how. It may have something to do with the

Re: [Dovecot] Assertion failed: (pos < input->size)

2007-10-21 Thread Asheesh Laroia
On Sun, 21 Oct 2007, Timo Sirainen wrote: Looks like I can get the same crash with my INBOX also. have to run out and buy ingredients for a birthday cake, so I thought I'd email this very terse message to the list in case it was some help, I'd also have to start studying for tuesday's exam (

Re: [Dovecot] Assertion failed: (pos < input->size)

2007-10-21 Thread Asheesh Laroia
On Sun, 21 Oct 2007, Timo Sirainen wrote: have to run out and buy ingredients for a birthday cake, so I thought I'd email this very terse message to the list in case it was some help, I'd also have to start studying for tuesday's exam (100+ pages about proteins) soon if I intend to pass it..

Re: [Dovecot] Assertion failed: (pos < input->size)

2007-10-21 Thread Timo Sirainen
On Sun, 2007-10-21 at 10:37 -0700, Asheesh Laroia wrote: > Oct 21 10:04:05 alchemy dovecot: imap-login: Login: > user=, > method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS > Oct 21 10:05:44 alchemy dovecot: IMAP(paulproteus): file > message-decoder.c: line 289 (message_decode_body): assertion fail

[Dovecot] Assertion failed: (pos < input->size)

2007-10-21 Thread Asheesh Laroia
Oct 21 10:04:05 alchemy dovecot: imap-login: Login: user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1, TLS Oct 21 10:05:44 alchemy dovecot: IMAP(paulproteus): file message-decoder.c: line 289 (message_decode_body): assertion failed: (pos < input->size) Oct 21 10:05:44 alchemy dovecot: IMAP(paul