[BUG] 2.2.21 Panic: file imap-client.c: line 841 (client_check_command_hangs): assertion failed: (!have_wait_unfinished || unfinished_count > 0)
Teemu Huovila
teemu.huovila at dovecot.fi
Mon Jan 4 10:54:56 UTC 2016
On 04.01.2016 12:28, Florian Pritz wrote:
> Hi,
>
> I'm seeing the following in my logs. Twice so far, no idea what caused
> it. I do however have the core dump if that is of any use.
>
>> Jan 4 11:14:11 karif dovecot[20876]: imap(username): Panic: file imap-client.c: line 841 (client_check_command_hangs): assertion failed: (!have_wait_unfinished || unfinished_count > 0)
>> Jan 4 11:14:11 karif dovecot[20876]: imap(username): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0xa64ea) [0x7f6f99fa64ea] -> /usr/lib/dovecot/libdovecot.so.0(+0xa7a18) [0x7f6f99fa7a18] -> /usr/lib/dovecot/libdovecot.so.0(i_
>> fatal+0) [0x7f6f99fa686d] -> dovecot/imap() [0x41dde6] -> dovecot/imap(client_continue_pending_input+0xd6) [0x41df50] -> dovecot/imap() [0x4122a9] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0xcd) [0x7f6f99fc3b01] -> /usr/lib/dovec
>> ot/libdovecot.so.0(io_loop_handler_run_internal+0x209) [0x7f6f99fc606e] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x24) [0x7f6f99fc3caa] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0xaf) [0x7f6f99fc3bf6] -> /usr/lib/dovec
>> ot/libdovecot.so.0(master_service_run+0x2e) [0x7f6f99f317af] -> dovecot/imap(main+0x2da) [0x430da2] -> /usr/lib/libc.so.6(__libc_start_main+0xf0) [0x7f6f99b7c610] -> dovecot/imap(_start+0x29) [0x40c639]
>> Jan 4 11:14:11 karif dovecot[20876]: imap(username): Fatal: master: service(imap): child 19463 killed with signal 6 (core dumped)
>
> In case it is easier to read, here's a gdb backtrace:
>
>> #0 0x00007f6f99b8f5f8 in raise () from /usr/lib/libc.so.6
>> #1 0x00007f6f99b90a7a in abort () from /usr/lib/libc.so.6
>> #2 0x00007f6f99fa6539 in default_fatal_finish (type=LOG_TYPE_PANIC, status=0) at failures.c:201
>> #3 0x00007f6f99fa7a18 in i_internal_fatal_handler (ctx=0x7ffe660d4700, format=0x438a60 "file %s: line %d (%s): assertion failed: (%s)", args=0x7ffe660d4720) at failures.c:670
>> #4 0x00007f6f99fa686d in i_panic (format=0x438a60 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:275
>> #5 0x000000000041dde6 in client_check_command_hangs (client=0x2363450) at imap-client.c:841
>> #6 0x000000000041df50 in client_continue_pending_input (client=0x2363450) at imap-client.c:884
>> #7 0x00000000004122a9 in idle_client_input (ctx=0x23642a8) at cmd-idle.c:111
>> #8 0x00007f6f99fc3b01 in io_loop_call_io (io=0x2374600) at ioloop.c:559
>> #9 0x00007f6f99fc606e in io_loop_handler_run_internal (ioloop=0x232c740) at ioloop-epoll.c:220
>> #10 0x00007f6f99fc3caa in io_loop_handler_run (ioloop=0x232c740) at ioloop.c:607
>> #11 0x00007f6f99fc3bf6 in io_loop_run (ioloop=0x232c740) at ioloop.c:583
>> #12 0x00007f6f99f317af in master_service_run (service=0x232c5e0, callback=0x430a35 <client_connected>) at master-service.c:640
>> #13 0x0000000000430da2 in main (argc=1, argv=0x232c390) at main.c:442
Thank you for the report. Could you execute "bt full" in gdb please. Also the output of doveconf -n would be useful.
br,
Teemu Huovila
More information about the dovecot
mailing list