[Dovecot] pre-1.0.rc27: Index and mbox fixes

Chris Wakelin c.d.wakelin at reading.ac.uk
Sun Mar 11 23:55:08 EET 2007



Timo Sirainen wrote:
> On Sun, 2007-03-11 at 20:54 +0000, Chris Wakelin wrote:
>> Timo Sirainen wrote:
>>> On Sun, 2007-03-11 at 17:23 +0000, Chris Wakelin wrote:
>>>> It crashes at login (using PAM via pam_ldap to Active Directory). And
>>>> no, it was the wrong core file <sheepish grin>. Here's the proper
>>>> backtrace (with "password" instead of what I actually used ;) )
>>> Well, this one is also broken. Some things that point to an invalid
>>> backtrace:
>> <sheepish grin^2> OK this one's actually the right core file *and* the
>> right binary (the other was from dovecot-1.0-beta7.)
> 
> Yes, this one was correct :) This should fix it:
> http://dovecot.org/list/dovecot-cvs/2007-March/008096.html
> 
> I'll build also a new snapshot. I guess I'll delay rc27 until tomorrow
> anyway.
> 

OK that fixed it. I tried running imaptest (something like "imaptest
user=username pass=password host=host.rdg.ac.uk port=5143 seed=6630
mbox=/export/mail/username/INBOX") for 300 seconds, but got

Logi List Stat Sele Fetc Fet2 Stor Dele Expu Appe Logo
100%  50%  50% 100% 100% 100%  50% 100% 100% 100% 100%
                          30%                  5%
   0    0    0    0    2    0    0    0    0    0    0  10/ 10
   0    0    0    0    6    0    0    0    0    0    0  10/ 10
   0    0    0    0    1    7    0    1    1    0    1  10/ 10
   4    1    2    2    1    3    4    3    4    2   10  10/ 10
   7    4    4    6    5   10    3    4    8    4   15  10/ 10
   9    4    3    8    8   10    3    1    8    7   18  10/ 10
   7    5    3    7    8    7    3    0    6    6   11  10/ 10
   7    3    3    8    8   14    4    1    7    7   14  10/ 10
Panic: From-line not found at 8199
Abort (core dumped)

#0  0xff21fbe8 in _libc_kill () from /usr/lib/libc.so.1
#1  0xff1b598c in abort () from /usr/lib/libc.so.1
#2  0x1bc7c in default_panic_handler (
    format=0x16 <Address 0x16 out of bounds>, args=0xffbef450)
    at failures.c:138
#3  0x1be4c in i_panic (format=0x25468 "From-line not found at %llu")
    at failures.c:183
#4  0x14220 in mbox_get_next_size (mbox=0x40930, size_r=0x43e00,
    time_r=0xffbef508) at imaptest10.c:280
#5  0x14bf8 in client_append (client=0x43d78, continued=false)
    at imaptest10.c:441
#6  0x16220 in client_send_next_cmd (client=0x43d78) at imaptest10.c:803
#7  0x16e7c in state_callback (client=0x43d78, cmd=0x422b0,
    line=0x60214 "[READ-WRITE] Select completed.", reply=REPLY_OK)
    at imaptest10.c:1019
#8  0x1755c in client_input (context=0x43d78) at imaptest10.c:1152
#9  0x1f024 in io_loop_handler_run (ioloop=0x408d8) at ioloop-poll.c:199
#10 0x1e844 in io_loop_run (ioloop=0x408d8) at ioloop.c:323
#11 0x19090 in main (argc=8, argv=0xffbef8ec) at imaptest10.c:1606

The mailbox appears now to consist entirely of the UW-IMAP
pseudo-message, except it's been truncated.

Chris

-- 
--+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+-
Christopher Wakelin,                           c.d.wakelin at reading.ac.uk
IT Services Centre, The University of Reading,  Tel: +44 (0)118 378 8439
Whiteknights, Reading, RG6 2AF, UK              Fax: +44 (0)118 975 3094


More information about the dovecot mailing list