[Dovecot] Assertion failed in mail-search-build.c

Mark Moseley moseleymark at gmail.com
Mon Apr 26 20:15:04 EEST 2010


With Friday's and today's mercurial repo, I'm getting this:

Apr 26 12:55:31 master: Info: Dovecot v2.0.beta4 starting up (core
dumps disabled)
Apr 26 12:58:34 imap-login: Info: Login: user=<mail at box>,
method=PLAIN, rip=10.1.1.206, lip=192.168.152.1
Apr 26 12:58:34 imap(mail at box): Panic: file mail-search-build.c: line
59 (mail_search_build_key_int): assertion failed: (sarg->value.subargs
!= NULL)
Apr 26 12:58:34 imap(mail at box): Error: Raw backtrace:
/usr/lib/dovecot/libdovecot.so.0 [0xb76a3ad1] ->
/usr/lib/dovecot/libdovecot.so.0 [0xb76a3b4f] ->
/usr/lib/dovecot/libdovecot.so.0(i_error+0) [0xb76a3e08] ->
/usr/lib/dovecot/libdovecot-storage.so.0 [0xb76f859e] ->
/usr/lib/dovecot/libdovecot-storage.so.0 [0xb76f860f] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mail_search_build+0x82)
[0xb76f86f2] -> dovecot/imap [mail at box 10.1.1.206
SEARCH](imap_search_args_build+0x48) [0x805d8a8] -> dovecot/imap
[mail at box 10.1.1.206 SEARCH](cmd_search+0xbb) [0x805342b] ->
dovecot/imap [mail at box 10.1.1.206 SEARCH] [0x80564dc] -> dovecot/imap
[mail at box 10.1.1.206 SEARCH] [0x8056579] -> dovecot/imap [mail at box
10.1.1.206 SEARCH](client_handle_input+0x2d) [0x80566ed] ->
dovecot/imap [mail at box 10.1.1.206 SEARCH](client_input+0x5f)
[0x805710f] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0xf5)
[0xb76b0115] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x30)
[0xb76af160] ->
/usr/lib/dovecot/libdovecot.so.0(master_service_run+0x2a) [0xb769ca5a]
-> dovecot/imap [mail at box 10.1.1.206 SEARCH](main+0x2b5) [0x805fb95]
-> /lib/libc.so.6(__libc_start_main+0xe5) [0xb752e455] -> dovecot/imap
[mail at box 10.1.1.206 SEARCH] [0x804e951]
Apr 26 12:58:34 master: Error: service(imap): child 13220 killed with
signal 6 (core dumps disabled)

Login is working fine, just blowing up on that assert by doing a search.

The search is pretty basic, in python:

server.search( None, "(ALL)" )

Testing with a previous version (from a couple of days earlier -- I
don't have the intervening), I don't hit that assertion. The last
changeset on mail-search-build.c in the working copy is
11146:3649ad8c9f9a. Let me know if there's anything you'd like me to
try.


More information about the dovecot mailing list