[Dovecot] SIGBART/SIGSEGV while SELECTing virtual folder

Timo Sirainen tss at iki.fi
Sat Oct 25 20:25:39 EEST 2008


On Mon, 2008-10-20 at 15:37 +0200, Lars Noschinski wrote:
> (gdb) bt full
> #0  mailbox_search_result_free (_result=0x8efc0d0)
>      at mailbox-search-result.c:65
>          result = (struct mail_search_result *) 0x0
>          i = <value optimized out>
>          __PRETTY_FUNCTION__ = "mailbox_search_result_free"
> #1  0xb7f4e12e in virtual_storage_mailbox_close (box=0x8efbeb0)
>      at virtual-storage.c:311
>          i = 0
>          ret = 0

I couldn't reproduce this, but this should fix it anyway: 
http://hg.dovecot.org/dovecot-1.2/rev/0738739a8152

> #5  0x080c86b8 in view_lookup_seq_range (view=0x9956648, first_uid=1, 
>      last_uid=0, first_seq_r=0xbfdce294, last_seq_r=0xbfdce290)
>      at mail-index-view.c:265
> #6  0x080c815c in mail_index_lookup_seq_range (view=0x9956648, first_uid=1, 
>      last_uid=0, first_seq_r=0xbfdce294, last_seq_r=0xbfdce290)
>      at mail-index-view.c:530
> #7  0xb7fa64d6 in virtual_sync_backend_boxes (ctx=0x9e2e3e0)
>      at virtual-sync.c:561

Fixed: ttp://hg.dovecot.org/dovecot-1.2/rev/ba6ec21af651

> #5  0x080c86b8 in view_lookup_seq_range (view=0x8eb77e0, first_uid=1, 
>      last_uid=0, first_seq_r=0xbfc58124, last_seq_r=0xbfc58120)
>      at mail-index-view.c:265
>          __PRETTY_FUNCTION__ = "view_lookup_seq_range"
> #6  0x080c815c in mail_index_lookup_seq_range (view=0x8eb77e0, first_uid=1, 
>      last_uid=0, first_seq_r=0xbfc58124, last_seq_r=0xbfc58120)
>      at mail-index-view.c:530
> No locals.
> #7  0xb7f324d6 in virtual_sync_backend_boxes (ctx=0x90f8eb8)
>      at virtual-sync.c:561
>          i = 10

Same as above.

> On an unrelated note, given the above configuration file, using a
> dovecot-virtual file like
> 
> | mbox/*
> |    all
> 
> causes dovecot to complain:
> 
> Oct 20 13:56:59 vertikal EXT(lars): : Connection closed bytes=22/350
> Oct 20 13:57:03 vertikal EXT(lars): : /home/lars/Mailbox/virtual/test/dovecot-virtual: No mailboxes defined

Fixed: http://hg.dovecot.org/dovecot-1.2/rev/3f6fa7862843
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
Url : http://dovecot.org/pipermail/dovecot/attachments/20081025/9c7f2782/attachment.bin 


More information about the dovecot mailing list