On Mon, Sep 22, 2008 at 9:56 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: > > On Wed, 2008-09-17 at 22:01 +0200, Diego Liziero wrote: > > On Wed, Sep 17, 2008 at 9:35 PM, Timo Sirainen <[EMAIL PROTECTED]> wrote: > > > > > > Could you do: > > > > > >> #6 0x080fcb64 in i_stream_read_data (stream=0x9094a08, > > >> data_r=0xbfe64444, size_r=0xbfe64440, threshold=0) at istream.c:303 > > >> ret = -1 > > >> read_more = false > > >> __PRETTY_FUNCTION__ = "i_stream_read_data" > > > > > > fr 6 > > > p *stream > > > p *stream.real_stream > > > > (gdb) fr 6 > > #6 0x080fcb64 in i_stream_read_data (stream=0x9094a08, > > data_r=0xbfe64444, size_r=0xbfe64440, threshold=0) at istream.c:303 > > 303 i_assert(stream->stream_errno != 0); > > I'm still not really sure why this is happening. I recently added some > more asserts to v1.2 code tree. Now that I've fixed several bugs in them > maybe they're stable enough for v1.1 too. Does this move the assert to > come earlier? http://hg.dovecot.org/dovecot-1.1/rev/a1a14d67b15d
Not sure if it's related, but the only assertion that is failing now is this one (sorry, this time I've no core file): file index-mail.c: line 1091 (index_mail_close): assertion failed: (!mail->data.destroyi ng_stream) Raw backtrace: /usr/libexec/dovecot/imap [0x80f6a6a] -> /usr/libexec/dovecot/imap [0x80f732b] -> /usr/libexec/dovecot/imap(i_fatal+0) [0x80f6be4] -> /usr/libexec/dovecot/imap(index_mail_close+0xf9) [0x80a8489] -> /usr/libexec/dovecot/imap(index_mail_free+0x1a) [0x80a8abd] -> /usr/libexec/dovecot/imap(mail_free+0x1e) [0x80b3cb0] -> /usr/libexec/dovecot/imap [0x805b7f0] -> /usr/libexec/dovecot/imap(cmd_copy+0x1c4) [0x805ba0e] -> /usr/libexec/dovecot/imap(cmd_uid+0xbb) [0x8061173] -> /usr/libexec/dovecot/imap [0x8062534] -> /usr/libexec/dovecot/imap [0x8062769] -> /usr/libexec/dovecot/imap [0x8062867] -> /usr/libexec/dovecot/imap [0x80628a3] -> /usr/libexec/dovecot/imap(client_input+0xb7) [0x8062a31] -> /usr/libexec/dovecot/imap(io_loop_handler_run+0x17d) [0x8101485] -> /usr/libexec/dovecot/imap(io_loop_run+0x35) [0x810071c] -> /usr/libexec/dovecot/imap(main+0xe4) [0x806debd] -> /lib/libc.so.6(__libc_start_main+0xdc) [0x42bdec] -> /usr/libexec/dovecot/imap [0x805a221] Regards, Diego.