2.2.14 Panic in imap_fetch_more()

Hans Morten Kind Kind at adm.uib.no
Mon Oct 20 09:21:39 UTC 2014


This panic happens with different users, and it also occured in 2.2.13

Panic: file imap-fetch.c: line 556 (imap_fetch_more): assertion failed:
  (ctx->client->output_cmd_lock == NULL || ctx->client->output_cmd_lock == cmd)

hmk


GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-pc-solaris2.10"...
Reading symbols from /datapool/local/dovecot-2.2.14/lib/dovecot/libdovecot-storage.so.0...done.
Loaded symbols for /local/dovecot-2.2.14/lib/dovecot/libdovecot-storage.so.0
Reading symbols from /datapool/local/dovecot-2.2.14/lib/dovecot/libdovecot.so.0...done.
Loaded symbols for /local/dovecot-2.2.14/lib/dovecot/libdovecot.so.0
Reading symbols from /datapool/local/program/lib/libssl.so.1.0.0...done.
Loaded symbols for /local/program/lib/libssl.so.1.0.0
Reading symbols from /datapool/local/program/lib/libcrypto.so.1.0.0...done.
Loaded symbols for /local/program/lib/libcrypto.so.1.0.0
Reading symbols from /datapool/local/program/lib/libz.so...done.
Loaded symbols for /local/program/lib/libz.so
Reading symbols from /lib/libm.so.2...done.
Loaded symbols for /lib/libm.so.2
Reading symbols from /datapool/local/program/lib/libiconv.so.2...done.
Loaded symbols for /local/program/lib/libiconv.so.2
Reading symbols from /lib/librt.so.1...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libsocket.so.1...done.
Loaded symbols for /lib/libsocket.so.1
Reading symbols from /lib/libsendfile.so.1...done.
Loaded symbols for /lib/libsendfile.so.1
Reading symbols from /lib/libc.so.1...done.
Loaded symbols for /lib/libc.so.1
Reading symbols from /lib/libdl.so.1...done.
Loaded symbols for /lib/libdl.so.1
Reading symbols from /usr/lib/libz.so...done.
Loaded symbols for /usr/lib/libz.so
Reading symbols from /lib/libaio.so.1...done.
Loaded symbols for /lib/libaio.so.1
Reading symbols from /lib/libmd.so.1...done.
Loaded symbols for /lib/libmd.so.1
Reading symbols from /lib/ld.so.1...done.
Loaded symbols for /lib/ld.so.1
Core was generated by `dovecot/imap imap-postlogin'.
Program terminated with signal 6, Aborted.
[New process 79111    ]
#0  0xfe7fc8e5 in _lwp_kill () from /lib/libc.so.1
#0  0xfe7fc8e5 in _lwp_kill () from /lib/libc.so.1
No symbol table info available.
#1  0xfe7f7765 in thr_kill () from /lib/libc.so.1
No symbol table info available.
#2  0xfe7a376f in raise () from /lib/libc.so.1
No symbol table info available.
#3  0xfe7829e1 in abort () from /lib/libc.so.1
No symbol table info available.
#4  0xfeda13ba in default_fatal_finish (type=LOG_TYPE_PANIC, status=0) at failures.c:152
	backtrace = 0x8093560 "0xfeda22d7 -> 0xfeda15d3 -> 0x806d60b -> 0x805d326 -> 0x806aa61 -> 0x80699d2 -> 0x8069cb7 -> 0x8069d15 -> 0x8069e57 -> 0x8069fe0 -> 0xfedba96d -> 0xfedbc0cc -> 0xfedbab06 -> 0xfedbaa5d -> 0xfed41db1 -"...
#5  0xfeda22d7 in i_internal_fatal_handler (ctx=0x80479e0, 
    format=0x807f310 "file %s: line %d (%s): assertion failed: (%s)", args=0x8047a04 "\236ó\a\b,\002")
    at failures.c:152
	status = 0
#6  0xfeda15d3 in i_panic (format=0x807f310 "file %s: line %d (%s): assertion failed: (%s)")
    at failures.c:152
	ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0, timestamp_usecs = 0}
	args = 0x8047a04 "\236ó\a\b,\002"
#7  0x0806d60b in imap_fetch_more (ctx=0x80c20e0, cmd=0x80c2018) at ../../src/lib/array.h:158
	ret = 135365712
	__FUNCTION__ = "imap_fetch_more"
#8  0x0805d326 in cmd_fetch (cmd=0x80c2018) at cmd-fetch.c:37
	client = (struct client *) 0x80b17b8
	ctx = (struct imap_fetch_context *) 0x80c20e0
	args = (const struct imap_arg *) 0x80c99f0
	next_arg = (const struct imap_arg *) 0x80c9a20
	list_arg = (const struct imap_arg *) 0x8047a98
	search_args = (struct mail_search_args *) 0x0
	qresync_args = {qresync_sample_seqset = 0x80c20a8, qresync_sample_uidset = 0x807ee7e}
	messageset = 0x80c9ab8 "1899"
	send_vanished = false
	ret = 1
#9  0x0806aa61 in command_exec (cmd=0x80c2018) at imap-commands.c:101
	hook = (const struct command_hook *) 0x809bfd8
	ret = 8
#10 0x080699d2 in client_command_input (cmd=0x80c2018) at imap-client.c:130
	client = (struct client *) 0x80b17b8
	command = (struct command *) 0x3
	__FUNCTION__ = "client_command_input"
#11 0x08069cb7 in client_command_input (cmd=0x80c2018) at imap-client.c:130
	client = (struct client *) 0x80b17b8
	command = (struct command *) 0x809d41c
	__FUNCTION__ = "client_command_input"
#12 0x08069d15 in client_handle_next_command (client=0x80b17b8, remove_io_r=0x8047b9d)
    at imap-client.c:130
No locals.
#13 0x08069e57 in client_handle_input (client=0x80b17b8) at imap-client.c:130
	_data_stack_cur_id = 3
	ret = 10
	remove_io = false
	handled_commands = false
	__FUNCTION__ = "client_handle_input"
#14 0x08069fe0 in client_input (client=0x80b17b8) at imap-client.c:130
	cmd = (struct client_command_context *) 0x80aa9ac
	output = (struct ostream *) 0x80abe10
	bytes = 1143
	__FUNCTION__ = "client_input"
#15 0xfedba96d in io_loop_call_io (io=0x80b7fc8) at ioloop.c:28
	ioloop = (struct ioloop *) 0x809bf20
	t_id = 2
	__FUNCTION__ = "io_loop_call_io"
#16 0xfedbc0cc in io_loop_handler_run_internal (ioloop=0x809bf20) at ioloop-poll.c:96
	ctx = (struct ioloop_handler_context *) 0x809ca10
	pollfd = (struct pollfd *) 0x809e0a8
	tv = {tv_sec = 299, tv_usec = 996793}
	io = (struct io_file *) 0x80b7fc8
	msecs = 299997
	ret = 0
	call = true
#17 0xfedbab06 in io_loop_handler_run (ioloop=0x809bf20) at ioloop.c:28
No locals.
#18 0xfedbaa5d in io_loop_run (ioloop=0x809bf20) at ioloop.c:28
	__FUNCTION__ = "io_loop_run"
#19 0xfed41db1 in master_service_run (service=0x809be68, callback=0x80771da <client_connected>)
    at master-service.c:75
No locals.
#20 0x08077577 in main (argc=2, argv=0x809bc78) at main.c:72
	set_roots = {0x8092fe0, 0x0}
	login_set = {auth_socket_path = 0x80930e8 "\2201\t\b\200", 
  postlogin_socket_path = 0x8093120 "UID FETCH UID FETCH UID FETCH", postlogin_timeout_secs = 60, 
  callback = 0x8076f4e <login_client_connected>, failure_callback = 0x807715d <login_client_failed>, 
  request_auth_token = 1}
	service_flags = MASTER_SERVICE_FLAG_KEEP_CONFIG_OPEN
	storage_service_flags = MAIL_STORAGE_SERVICE_FLAG_DISALLOW_ROOT
	username = 0x0
	c = -1




More information about the dovecot mailing list