On Mon, Jun 28, 2004 at 08:43:56AM +0200, Andreas Aardal Hanssen quoth:
> On Thu, 24 Jun 2004, Andreas Aardal Hanssen wrote:
> >>http://www.memoryhole.net/~kyle/debugfile-5
> >Thanks, Kyle. This clearly shows the bug in practise. I'm sure I can nail
> >it down now, as soon as I get some quality programming time. :-)
> 
> Binc answers with only the EXISTS to the EXPUNGE command. So it does seem
> that the message was erased, but for some reason it wasn't reported. I
> have to reproduce this, but can't. If you can reproduce it, please see if
> you can provide an strace dump of bincimapd as the bug occurs. I know it's
> not trivial to do this, but it's really the only way I can see what's
> happening behind the scenes right now.

I added strace to my run file, which now looks like this:

exec 2>&1 
exec tcpserver -c 100 -u 0 -g 0 -l $(hostname) -HDRP $IP $PORT \
        /usr/local/bin/envdir /etc/relay-ctrl \
        /usr/local/bin/relay-ctrl-chdir \
        /var/qmail/bin/bincimap-up \
        -p ${IMAPCERT} \
        -J ${JAILPATH} \
        --logtype=multilog --conf=/etc/bincimap/bincimap.conf $SSL -- \
        /var/lib/vpopmail/bin/vchkpw \
        /usr/local/bin/relay-ctrl-allow \
        /usr/bin/strace -s 1024 -f -o /tmp/bincimap.strace \
        /usr/sbin/bincimapd

And just after the expunge problem happened, I moved the strace file off
to http://www.memoryhole.net/~kyle/bincimap.strace1

If and when it happens again, I'll make bincimap.strace2,3,4,5,etc.

> In 1.3 I'll add a --with-debug configure switch which will make Binc
> dump lots of useful stuff to the logs, so it'll be easier to debug
> these problems. But today we'll have to stick with strace.

Looking forward to it!

~Kyle

-- 
Anyway, have fun.
And don't bother reporting any bugs for the next few days. I won't care
anyway.
-- Linus Torvalds, when kernel 2.4 came out

Attachment: pgpfsqAruyoje.pgp
Description: PGP signature

Reply via email to