[Dovecot] Virtual folder, Program terminated with signal 6

Matthias Rieber ml-dovecot at zu-con.org
Sat Dec 26 20:40:16 EET 2009


Hi,

I've regularly crashes with a certain virtual folder. Erasing the 
dovecot-index.* files help just for few hours/days. Here are to 
backtraces:

Core was generated by `imap'.
Program terminated with signal 6, Aborted.
[New process 25893]
#0  0xf7df8556 in raise () from /lib/libc.so.6
#0  0xf7df8556 in raise () from /lib/libc.so.6
No symbol table info available.
#1  0xf7df9d78 in abort () from /lib/libc.so.6
No symbol table info available.
#2  0x080f2d25 in default_fatal_finish (type=<value optimized out>, status=0) at failures.c:160
 	backtrace = 0x88ee860 "imap [0x80f2d11] -> imap [0x80f2d92] -> imap [0x80f26e9] -> imap(index_search_result_update_flags+0x295) [0x80b2305] -> /usr/local/lib/dovecot/imap/lib20_virtual_plugin.so [0xf7da937d] -> /usr/local/l"...
#3  0x080f2d92 in i_internal_fatal_handler (type=LOG_TYPE_PANIC, status=0, fmt=0x810b88c "file %s: line %d (%s): assertion failed: (%s)",
     args=0xff8b2ea4 "\\S\021\bW") at failures.c:443
No locals.
#4  0x080f26e9 in i_panic (format=0x810b88c "file %s: line %d (%s): assertion failed: (%s)") at failures.c:207
No locals.
#5  0x080b2305 in index_search_result_update_flags (result=0x9400cb0, uids=0xff8b3150) at index-search-result.c:87
 	search_arg = {next = 0x89024c0, type = SEARCH_UIDSET, value = {subargs = 0x0, seqset = {arr = {buffer = 0x88ee4a8, element_size = 8}, v = 0x88ee4a8,
       v_modifiable = 0x88ee4a8}, str = 0x0, time = 0, size = 0, flags = 0, search_flags = 0, thread_type = MAIL_THREAD_NONE, keywords = 0x0, modseq = 0x0,
     search_args = 0x0, search_result = 0x0}, context = 0x0, hdr_field_name = 0x0, not = 0, match_always = 0, result = -1}
 	ret = <value optimized out>
 	__PRETTY_FUNCTION__ = "index_search_result_update_flags"
#6  0xf7da937d in virtual_sync_backend_boxes (ctx=0x93f6660) at virtual-sync.c:733
 	_data_stack_cur_id = 4
 	i = 0
 	ret = 155151376
#7  0xf7daa25b in virtual_storage_sync_init (box=0xb20e070, flags=65) at virtual-sync.c:1486
 	sync_ctx = <value optimized out>
 	ret = <value optimized out>
#8  0x080b6ab2 in mailbox_sync (box=0x6525, flags=65, status_items=239, status_r=0xff8b3338) at mail-storage.c:593
 	ctx = <value optimized out>
#9  0x080651b8 in cmd_select_full (cmd=0x88fbc88, readonly=false) at cmd-select.c:273
 	client = (struct client *) 0x88fb9f8
 	box = (struct mailbox *) 0x0
 	ctx = (struct imap_select_context *) 0x88fbd28
 	args = (const struct imap_arg *) 0x88fe508
 	mailbox = 0x88ee2b8 "obfuscated"
 	ret = <value optimized out>
 	__PRETTY_FUNCTION__ = "cmd_select_full"
#10 0x08065919 in cmd_select (cmd=0x88fbc88) at cmd-select.c:389
No locals.
#11 0x08067bfc in client_command_input (cmd=0x88fbc88) at client.c:612
 	client = (struct client *) 0x88fb9f8
 	command = <value optimized out>
 	__PRETTY_FUNCTION__ = "client_command_input"
#12 0x08067c99 in client_command_input (cmd=0x88fbc88) at client.c:661
 	client = (struct client *) 0x88fb9f8
 	command = <value optimized out>
 	__PRETTY_FUNCTION__ = "client_command_input"
#13 0x08067e0d in client_handle_input (client=0x88fb9f8) at client.c:702
 	_data_stack_cur_id = 3
 	ret = false
 	remove_io = <value optimized out>
 	handled_commands = false
 	__PRETTY_FUNCTION__ = "client_handle_input"
#14 0x0806876f in client_input (client=0x88fb9f8) at client.c:753
 	cmd = <value optimized out>
 	output = (struct ostream *) 0x88fbbac
 	bytes = <value optimized out>
 	__PRETTY_FUNCTION__ = "client_input"
#15 0x080fbac0 in io_loop_handler_run (ioloop=0x88f61a8) at ioloop-epoll.c:208
 	ctx = (struct ioloop_handler_context *) 0x88f6c18
 	event = (const struct epoll_event *) 0x88f6c58
 	list = (struct io_list *) 0x88fbc30
 	io = (struct io_file *) 0x88fbc08
 	tv = {tv_sec = 1, tv_usec = 707102}
 	t_id = 2
 	msecs = <value optimized out>
 	ret = 1
 	i = 0
 	j = 0
 	call = <value optimized out>
#16 0x080faf30 in io_loop_run (ioloop=0x88f61a8) at ioloop.c:335
No locals.
#17 0x0807127a in main (argc=) at main.c:327
No locals.


Core was generated by `imap'.
Program terminated with signal 6, Aborted.
[New process 26275]
#0  0xf7ea4556 in raise () from /lib/libc.so.6
#0  0xf7ea4556 in raise () from /lib/libc.so.6
No symbol table info available.
#1  0xf7ea5d78 in abort () from /lib/libc.so.6
No symbol table info available.
#2  0x080f2d25 in default_fatal_finish (type=<value optimized out>, status=0) at failures.c:160
 	backtrace = 0x88d9860 "imap [0x80f2d11] -> imap [0x80f2d92] -> imap [0x80f26e9] -> imap(index_search_result_update_flags+0x295) [0x80b2305] -> /usr/local/lib/dovecot/imap/lib20_virtual_plugin.so [0xf7e5537d] -> /usr/local/l"...
#3  0x080f2d92 in i_internal_fatal_handler (type=LOG_TYPE_PANIC, status=0, fmt=0x810b88c "file %s: line %d (%s): assertion failed: (%s)",
     args=0xffe03774 "\\S\021\bW") at failures.c:443
No locals.
#4  0x080f26e9 in i_panic (format=0x810b88c "file %s: line %d (%s): assertion failed: (%s)") at failures.c:207
No locals.
#5  0x080b2305 in index_search_result_update_flags (result=0x9318e10, uids=0xffe03a20) at index-search-result.c:87
 	search_arg = {next = 0x893dfe8, type = SEARCH_UIDSET, value = {subargs = 0x0, seqset = {arr = {buffer = 0x88d94a8, element_size = 8}, v = 0x88d94a8,
       v_modifiable = 0x88d94a8}, str = 0x0, time = 0, size = 0, flags = 0, search_flags = 0, thread_type = MAIL_THREAD_NONE, keywords = 0x0, modseq = 0x0,
     search_args = 0x0, search_result = 0x0}, context = 0x0, hdr_field_name = 0x0, not = 0, match_always = 0, result = -1}
 	ret = <value optimized out>
 	__PRETTY_FUNCTION__ = "index_search_result_update_flags"
#6  0xf7e5537d in virtual_sync_backend_boxes (ctx=0x930e9e8) at virtual-sync.c:733
 	_data_stack_cur_id = 4
 	i = 0
 	ret = 154202008
#7  0xf7e5625b in virtual_storage_sync_init (box=0x88ebcf0, flags=65) at virtual-sync.c:1486
 	sync_ctx = <value optimized out>
 	ret = <value optimized out>
#8  0x080b6ab2 in mailbox_sync (box=0x66a3, flags=65, status_items=239, status_r=0xffe03c08) at mail-storage.c:593
 	ctx = <value optimized out>
#9  0x080651b8 in cmd_select_full (cmd=0x88e6c88, readonly=false) at cmd-select.c:273
 	client = (struct client *) 0x88e69f8
 	box = (struct mailbox *) 0x0
 	ctx = (struct imap_select_context *) 0x88e6d28
 	args = (const struct imap_arg *) 0x88e9508
 	mailbox = 0x88d92b8 "obfuscated"
 	ret = <value optimized out>
 	__PRETTY_FUNCTION__ = "cmd_select_full"
#10 0x08065919 in cmd_select (cmd=0x88e6c88) at cmd-select.c:389
No locals.
#11 0x08067bfc in client_command_input (cmd=0x88e6c88) at client.c:612
 	client = (struct client *) 0x88e69f8
 	command = <value optimized out>
 	__PRETTY_FUNCTION__ = "client_command_input"
#12 0x08067c99 in client_command_input (cmd=0x88e6c88) at client.c:661
 	client = (struct client *) 0x88e69f8
 	command = <value optimized out>
 	__PRETTY_FUNCTION__ = "client_command_input"
#13 0x08067e0d in client_handle_input (client=0x88e69f8) at client.c:702
 	_data_stack_cur_id = 3
 	ret = false
 	remove_io = <value optimized out>
 	handled_commands = false
 	__PRETTY_FUNCTION__ = "client_handle_input"
#14 0x0806876f in client_input (client=0x88e69f8) at client.c:753
 	cmd = <value optimized out>
 	output = (struct ostream *) 0x88e6bac
 	bytes = <value optimized out>
 	__PRETTY_FUNCTION__ = "client_input"
#15 0x080fbac0 in io_loop_handler_run (ioloop=0x88e11a8) at ioloop-epoll.c:208
 	ctx = (struct ioloop_handler_context *) 0x88e1c18
 	event = (const struct epoll_event *) 0x88e1c58
 	list = (struct io_list *) 0x88e6c30
 	io = (struct io_file *) 0x88e6c08
 	tv = {tv_sec = 1, tv_usec = 627183}
 	t_id = 2
 	msecs = <value optimized out>
 	ret = 1
 	i = 0
 	j = 0
 	call = <value optimized out>
#16 0x080faf30 in io_loop_run (ioloop=0x88e11a8) at ioloop.c:335
No locals.
#17 0x0807127a in main (argc=) at main.c:327
No locals.

kind regards,

Matthias


More information about the dovecot mailing list