2.2.27 panic file mail-index-map.c: line 549 (mail_index_map_lookup_seq_range): assertion failed: (first_uid > 0)

Toni Mattila toni at solu.fi
Mon Dec 5 18:28:52 UTC 2016


Hi,

Dec  5 20:24:31 dovecot: imap(xx at yy.zz,7ckWZu1CuZFVTILa): Fatal: master: 
service(imap): child 7292 killed with signal 6 (core dumped)
Dec  5 20:24:32 dovecot: imap(xx at yy.zz,LnAlZu1COBVVTILa): Panic: file 
mail-index-map.c: line 549 (mail_index_map_lookup_seq_range): assertion 
failed: (first_uid > 0)
Dec  5 20:24:32 dovecot: imap(xx at yy.zz,LnAlZu1COBVVTILa): Error: Raw 
backtrace: /usr/lib/dovecot/libdovecot.so.0 [0x32416f] -> 
/usr/lib/dovecot/libdovecot.so.0 [0x3241ed] -> 
/usr/lib/dovecot/libdovecot.so.0 [0x323e0b] -> 
/usr/lib/dovecot/libdovecot-storage.so.0(mail_index_map_lookup_seq_range+0xf1) 
[0x234c61] -> /usr/lib/dovecot/libdovecot-storage.so.0 [0x249c2c] -> 
/usr/lib/dovecot/libdovecot-storage.so.0(mail_index_lookup_seq_range+0x2c) 
[0x24963c] -> 
/usr/lib/dovecot/libdovecot-storage.so.0(mailbox_get_seq_range+0x3f) 
[0x1aa39f] -> 
/usr/lib/dovecot/libdovecot-storage.so.0(mail_search_arg_init+0x26f) 
[0x1997af] -> 
/usr/lib/dovecot/libdovecot-storage.so.0(mail_search_args_init+0x6f) 
[0x19996f] -> dovecot/imap(imap_search_args_build+0x91) [0x8066c91] -> 
dovecot/imap(cmd_search+0xb9) [0x8058219] -> 
dovecot/imap(command_exec+0x83) [0x805f2b3] -> dovecot/imap [0x805d28f] 
-> dovecot/imap [0x805d30a] -> dovecot/imap(client_handle_input+0x45) 
[0x805d515] -> dovecot/imap(client_input+0x71) [0x805da

(gdb) bt
#0  0x00635402 in __kernel_vsyscall ()
#1  0x00949d70 in raise () from /lib/i686/nosegneg/libc.so.6
#2  0x0094b751 in abort () from /lib/i686/nosegneg/libc.so.6
#3  0x00224164 in default_fatal_finish (type=<value optimized out>, 
status=0) at failures.c:201
#4  0x002241ed in i_internal_fatal_handler (ctx=0xbf8627d0, 
format=0x5b7fac "file %s: line %d (%s): assertion failed: (%s)", 
args=0xbf8627f4 "ƿ\\") at failures.c:670
#5  0x00223e0b in i_panic (format=0x5b7fac "file %s: line %d (%s): 
assertion failed: (%s)") at failures.c:275
#6  0x00594c61 in mail_index_map_lookup_seq_range (map=0x89afc50, 
first_uid=0, last_uid=4294967295, first_seq_r=0xbf8628e4, 
last_seq_r=0xbf8628e0) at mail-index-map.c:550
#7  0x005a9c2c in view_lookup_seq_range (view=0x89af670, first_uid=0, 
last_uid=4294967295, first_seq_r=0xbf8628e4, last_seq_r=0xbf8628e0) at 
mail-index-view.c:252
#8  0x005a963c in mail_index_lookup_seq_range (view=0x89af670, 
first_uid=0, last_uid=4294967295, first_seq_r=0xbf8628e4, 
last_seq_r=0xbf8628e0) at mail-index-view.c:513
#9  0x0050a39f in mailbox_get_seq_range (box=0x8995418, uid1=0, 
uid2=4294967295, seq1_r=0xbf8628e4, seq2_r=0xbf8628e0) at mailbox-get.c:11
#10 0x004f97af in mailbox_uidset_change (args=0x89b4d40, arg=0x89b4e10, 
change_uidsets=true, search_saved_uidset=0x8991e7c) at mail-search.c:45
#11 mail_search_arg_init (args=0x89b4d40, arg=0x89b4e10, 
change_uidsets=true, search_saved_uidset=0x8991e7c) at mail-search.c:72
#12 0x004f996f in mail_search_args_init (args=0x89b4d40, box=0x8995418, 
change_uidsets=true, search_saved_uidset=0x8991e7c) at mail-search.c:142
#13 0x08066c91 in imap_search_args_build (cmd=0x8992800, args=0x8995030, 
charset=0x8070f89 "UTF-8", search_args_r=0xbf862998) at 
imap-search-args.c:71
#14 0x08058219 in cmd_search (cmd=0x8992800) at cmd-search.c:42
#15 0x0805f2b3 in command_exec (cmd=0x8992800) at imap-commands.c:181
#16 0x0805d28f in client_command_input (cmd=0x8992800) at imap-client.c:986
#17 0x0805d30a in client_command_input (cmd=0x8992800) at imap-client.c:1046
#18 0x0805d515 in client_handle_next_command (client=0x8991db8) at 
imap-client.c:1088
#19 client_handle_input (client=0x8991db8) at imap-client.c:1100
#20 0x0805dae1 in client_input (client=0x8991db8) at imap-client.c:1147
#21 0x0023aa88 in io_loop_call_io (io=0x8992778) at ioloop.c:599
#22 0x0023c62f in io_loop_handler_run_internal (ioloop=0x8979498) at 
ioloop-epoll.c:222
#23 0x0023ac0f in io_loop_handler_run (ioloop=0x8979498) at ioloop.c:648
#24 0x0023aef8 in io_loop_run (ioloop=0x8979498) at ioloop.c:623
#25 0x001bb49d in master_service_run (service=0x89793c8, 
callback=0x806af90 <client_connected>) at master-service.c:641
#26 0x0806b927 in main (argc=Cannot access memory at address 0x0
) at main.c:460
(gdb)

Panicing stopped when all index files where deleted.

Cheers,

Toni Mattila




More information about the dovecot mailing list