Hi Timo, I'd like to present to you the problem below we are facing with 1.1.13 version of Dovecot (the version available on Debian Lenny backport repository).
I'd like to know if this bug has an easy fix, so that we can prepare a package that contains it, or if it's already fixed in a subsequent release, and so we can involve the dovecot maintainers to prepare a new backport ;) We are facing this on a production system, so we can experiment the solution a bit (but not that much :) ). Regards, Sandro Sandro Tosi wrote: > Package: dovecot-imapd > Version: 1:1.1.13-2~bpo50+1 > Severity: important > > Hello, > when sending a 'sort' command, dovecot disconnects the client and > generates a traceback in the log: > > [session] > $ telnet <host> 143 > Connected to <host> > Escape character is '^]'. > * OK Dovecot ready. > a login <username> <password> > a OK Logged in. > a select inbox > * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent) > * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $MDNSent > \*)] Flags permitted. > * 42 EXISTS > * 0 RECENT > * OK [UNSEEN 16] First unseen. > * OK [UIDVALIDITY 1243421055] UIDs valid > * OK [UIDNEXT 333] Predicted next UID > a OK [READ-WRITE] Select completed. > a sort (from) iso-8859-1 all > Connection closed by foreign host. > > [log] > dovecot: 2009-07-28 08:12:59 Panic: IMAP(<username>): file > index-sort-string.c: line 168 (index_sort_node_add): assertion failed: > (ctx->lowest_nonexpunged_zero == 0 || ctx->lowest_nonexpunged_zero > > node->seq) > dovecot: 2009-07-28 08:12:59 Error: IMAP(<username>): Raw backtrace: > imap [0x80d8c81] -> imap [0x80d8d02] -> imap [0x80d8689] -> imap > [0x80a1501] -> imap(index_sort_list_add_string+0x43) [0x80a1653] -> > imap(index_storage_search_next_nonblock+0xc1) [0x809e7e1] -> > imap(mailbox_search_next+0x2a) [0x80a685a] -> imap(imap_sort+0xdc) > [0x806901c] -> imap(cmd_sort+0x24c) [0x806166c] -> imap [0x8062cdc] -> > imap [0x8062d73] -> imap [0x806332d] -> imap(client_input+0x5e) > [0x80637ae] -> imap(io_loop_handler_run+0xe0) [0x80e0c70] -> > imap(io_loop_run+0x20) [0x80e00e0] -> imap(main+0x472) [0x806b9b2] -> > /lib/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7db4455] -> imap > [0x805cd61] > > Let us know if we can support you in any way, since it's really > important to us to get this fixed asap. > > Regards, > Sandro > > -- System Information: > Debian Release: 5.0.2 > APT prefers stable > APT policy: (500, 'stable') > Architecture: i386 (i686) > > Kernel: Linux 2.6.26-2-686-bigmem (SMP w/8 CPU cores) > Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) > Shell: /bin/sh linked to /bin/bash > > Versions of packages dovecot-imapd depends on: > ii dovecot-common 1:1.1.13-2~bpo50+1 secure mail server that > supports m > ii libc6 2.7-18 GNU C Library: Shared libraries > ii libssl0.9.8 0.9.8g-15+lenny1 SSL shared libraries > > dovecot-imapd recommends no packages. > > dovecot-imapd suggests no packages. > > -- no debconf information > > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org