Hello,
I'm using the Debian builds of dovecot-2.2 by S[r]us. Today I started getting the following panic:
log: Panic: file priorityq.c: line 122 (priorityq_remove_idx): assertion failed: (idx < count)
log: Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x7f1ae) [0x7fd368dc31ae] -> /usr/lib/dovecot/libdovecot.so.0(+0x7f269) [0x7fd368dc3269] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fd368d6c81e] -> /usr/lib/dovecot/libdovecot.so.0(+0xa0de8) [0x7fd368de4de8] -> /usr/lib/dovecot/libdovecot.so.0(priorityq_remove+0xb) [0x7fd368de4eeb] -> /usr/lib/dovecot/libdovecot.so.0(+0x9179c) [0x7fd368dd579c] -> /usr/lib/dovecot/libdovecot.so.0(master_status_update+0x93) [0x7fd368d71263] -> /usr/lib/dovecot/libdovecot.so.0(+0x2ecf3) [0x7fd368d72cf3] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_call_io+0x4c) [0x7fd368dd6b2c] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run_internal+0xc5) [0x7fd368dd7e35] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_handler_run+0x25) [0x7fd368dd6bb5] -> /usr/lib/dovecot/libdovecot.so.0(io_loop_run+0x38) [0x7fd368dd6d58] -> /usr/lib/dovecot/libdovecot.so.0(master_service_run+0x13) [0x7fd368d72213] -> dovecot/log(main+0x11c) [0x555e9f81771c] -> /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fd3689bcb45] -> dovecot/log(+0x277d) [0x555e9f81777d]
master: Error: service(log): child 28845 killed with signal 6 (core dumps disabled)
Could anyone please advise?
-- Eugene Paskevich | *==)----------- | Plug me into eugene@raptor.kiev.ua | -----------(==* | The Matrix
27.08.2015, 16:09, "Eugene Paskevich" eugene@raptor.kiev.ua:
Hello,
I'm using the Debian builds of dovecot-2.2 by S[r]us. Today I started getting the following panic:
log: Panic: file priorityq.c: line 122 (priorityq_remove_idx): assertion failed: (idx < count)
Just in case, here is the full backtrace.
(gdb) thread apply all bt full
Thread 1 (LWP 28412):
#0 0x00007fe01d5df107 in raise () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1 0x00007fe01d5e04e8 in abort () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#2 0x00007fe01d9d21a6 in default_fatal_finish (type=<optimized out>, status=status@entry=0) at failures.c:202
backtrace = 0x559b3daf8198 "/usr/lib/dovecot/libdovecot.so.0(+0x7f1ae) [0x7fe01d9d21ae] -> /usr/lib/dovecot/libdovecot.so.0(+0x7f29c) [0x7fe01d9d229c] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fe01d97b81e] -> /usr/lib/d"...
#3 0x00007fe01d9d229c in i_internal_fatal_handler (ctx=0x7fffdc318f70, format=<optimized out>, args=<optimized out>) at failures.c:671
status = 0
#4 0x00007fe01d97b81e in i_panic (format=format@entry=0x7fe01d9ff898 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:276
ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0, timestamp_usecs = 0}
args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fffdc319070, reg_save_area = 0x7fffdc318fb0}}
#5 0x00007fe01d9f3de8 in priorityq_remove_idx (pq=0x559b3db007e0, idx=4294967295) at priorityq.c:122
pq = 0x559b3db007e0
idx = 4294967295
count = 1
#6 0x00007fe01d9f3eeb in priorityq_remove (pq=<optimized out>, item=item@entry=0x559b3db221f0) at priorityq.c:138
No locals.
#7 0x00007fe01d9e479c in timeout_reset_timeval (timeout=0x559b3db221f0, tv_now=tv_now@entry=0x0) at ioloop.c:329
__FUNCTION__ = "timeout_reset_timeval"
#8 0x00007fe01d9e4b4d in timeout_reset (timeout=<optimized out>) at ioloop.c:336
__FUNCTION__ = "timeout_reset"
#9 0x00007fe01dd062a6 in index_mailbox_want_full_sync (box=box@entry=0x559b3db1c410, flags=flags@entry=(unknown: 0)) at index-sync.c:49
ibox = 0x559b3db1c888
#10 0x00007fe01dcbbb60 in maildir_storage_sync_init (box=0x559b3db1c410, flags=(unknown: 0)) at maildir-sync.c:1101
mbox = 0x559b3db1c410
lost_files = false
force_resync = false
ret = 0
__FUNCTION__ = "maildir_storage_sync_init"
#11 0x00007fe01dc90bbb in mailbox_sync_init (box=box@entry=0x559b3db1c410, flags=flags@entry=(unknown: 0)) at mail-storage.c:1651
_data_stack_cur_id = 4
ctx = <optimized out>
#12 0x0000559b3d622a01 in imap_sync_init (client=0x559b3db19010, box=<optimized out>, imap_flags=imap_flags@entry=(unknown: 0), flags=flags@entry=(unknown: 0)) at imap-sync.c:230
__FUNCTION__ = "imap_sync_init"
#13 0x0000559b3d60f05e in idle_sync_now (box=<optimized out>, ctx=0x559b3db19d08) at cmd-idle.c:145
No locals.
#14 0x0000559b3d60f35d in cmd_idle (cmd=0x559b3db19bf0) at cmd-idle.c:308
client = 0x559b3db19010
#15 0x0000559b3d61875c in command_exec (cmd=cmd@entry=0x559b3db19bf0) at imap-commands.c:168
hook = 0x559b3db01120
diff = <optimized out>
finished = <optimized out>
#16 0x0000559b3d616cf2 in client_command_input (cmd=cmd@entry=0x559b3db19bf0) at imap-client.c:821
client = 0x559b3db19010
command = <optimized out>
__FUNCTION__ = "client_command_input"
#17 0x0000559b3d616d80 in client_command_input (cmd=0x559b3db19bf0) at imap-client.c:881
client = 0x559b3db19010
command = <optimized out>
__FUNCTION__ = "client_command_input"
#18 0x0000559b3d6170ed in client_handle_next_command (remove_io_r=<synthetic pointer>, client=0x559b3db19010) at imap-client.c:919
No locals.
#19 client_handle_input (client=0x559b3db19010) at imap-client.c:931
_data_stack_cur_id = 3
remove_io = false
handled_commands = false
client = 0x559b3db19010
#20 0x0000559b3d6174b5 in client_input (client=0x559b3db19010) at imap-client.c:973
cmd = 0xa51de
output = 0x559b3db19a30
bytes = 8
__FUNCTION__ = "client_input"
#21 0x00007fe01d9e5b2c in io_loop_call_io (io=0x559b3db19b00) at ioloop.c:540
ioloop = 0x559b3db00770
t_id = 2
__FUNCTION__ = "io_loop_call_io"
#22 0x00007fe01d9e6e35 in io_loop_handler_run_internal (ioloop=ioloop@entry=0x559b3db00770) at ioloop-epoll.c:220
ctx = 0x559b3db01510
io = <optimized out>
tv = {tv_sec = 1799, tv_usec = 999712}
events_count = <optimized out>
msecs = <optimized out>
ret = 1
i = 0
j = <optimized out>
call = <optimized out>
__FUNCTION__ = "io_loop_handler_run_internal"
#23 0x00007fe01d9e5bb5 in io_loop_handler_run (ioloop=ioloop@entry=0x559b3db00770) at ioloop.c:588
No locals.
#24 0x00007fe01d9e5d58 in io_loop_run (ioloop=0x559b3db00770) at ioloop.c:564
__FUNCTION__ = "io_loop_run"
#25 0x00007fe01d981213 in master_service_run (service=0x559b3db00610, callback=<optimized out>) at master-service.c:642
No locals.
#26 0x0000559b3d60a8f7 in main (argc=1, argv=0x559b3db00390) at main.c:443
set_roots = {0x559b3d833740
-- Eugene Paskevich | *==)----------- | Plug me into eugene@raptor.kiev.ua | -----------(==* | The Matrix
Op 8/27/2015 om 6:17 PM schreef Eugene Paskevich:
27.08.2015, 16:09, "Eugene Paskevich" eugene@raptor.kiev.ua:
Hello,
I'm using the Debian builds of dovecot-2.2 by S[r]us. Today I started getting the following panic:
log: Panic: file priorityq.c: line 122 (priorityq_remove_idx): assertion failed: (idx < count) Just in case, here is the full backtrace.
OK, that confirms my suspicion.
Should be fixed now.
Thanks.
Regards,
Stephan.
(gdb) thread apply all bt full
Thread 1 (LWP 28412): #0 0x00007fe01d5df107 in raise () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #1 0x00007fe01d5e04e8 in abort () from /lib/x86_64-linux-gnu/libc.so.6 No symbol table info available. #2 0x00007fe01d9d21a6 in default_fatal_finish (type=<optimized out>, status=status@entry=0) at failures.c:202 backtrace = 0x559b3daf8198 "/usr/lib/dovecot/libdovecot.so.0(+0x7f1ae) [0x7fe01d9d21ae] -> /usr/lib/dovecot/libdovecot.so.0(+0x7f29c) [0x7fe01d9d229c] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0x7fe01d97b81e] -> /usr/lib/d"... #3 0x00007fe01d9d229c in i_internal_fatal_handler (ctx=0x7fffdc318f70, format=<optimized out>, args=<optimized out>) at failures.c:671 status = 0 #4 0x00007fe01d97b81e in i_panic (format=format@entry=0x7fe01d9ff898 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:276 ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0, timestamp_usecs = 0} args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 0x7fffdc319070, reg_save_area = 0x7fffdc318fb0}} #5 0x00007fe01d9f3de8 in priorityq_remove_idx (pq=0x559b3db007e0, idx=4294967295) at priorityq.c:122 pq = 0x559b3db007e0 idx = 4294967295 count = 1 #6 0x00007fe01d9f3eeb in priorityq_remove (pq=<optimized out>, item=item@entry=0x559b3db221f0) at priorityq.c:138 No locals. #7 0x00007fe01d9e479c in timeout_reset_timeval (timeout=0x559b3db221f0, tv_now=tv_now@entry=0x0) at ioloop.c:329 __FUNCTION__ = "timeout_reset_timeval" #8 0x00007fe01d9e4b4d in timeout_reset (timeout=<optimized out>) at ioloop.c:336 __FUNCTION__ = "timeout_reset" #9 0x00007fe01dd062a6 in index_mailbox_want_full_sync (box=box@entry=0x559b3db1c410, flags=flags@entry=(unknown: 0)) at index-sync.c:49 ibox = 0x559b3db1c888 #10 0x00007fe01dcbbb60 in maildir_storage_sync_init (box=0x559b3db1c410, flags=(unknown: 0)) at maildir-sync.c:1101 mbox = 0x559b3db1c410 lost_files = false force_resync = false ret = 0 __FUNCTION__ = "maildir_storage_sync_init" #11 0x00007fe01dc90bbb in mailbox_sync_init (box=box@entry=0x559b3db1c410, flags=flags@entry=(unknown: 0)) at mail-storage.c:1651 _data_stack_cur_id = 4 ctx = <optimized out> #12 0x0000559b3d622a01 in imap_sync_init (client=0x559b3db19010, box=<optimized out>, imap_flags=imap_flags@entry=(unknown: 0), flags=flags@entry=(unknown: 0)) at imap-sync.c:230 __FUNCTION__ = "imap_sync_init" #13 0x0000559b3d60f05e in idle_sync_now (box=<optimized out>, ctx=0x559b3db19d08) at cmd-idle.c:145 No locals. #14 0x0000559b3d60f35d in cmd_idle (cmd=0x559b3db19bf0) at cmd-idle.c:308 client = 0x559b3db19010 #15 0x0000559b3d61875c in command_exec (cmd=cmd@entry=0x559b3db19bf0) at imap-commands.c:168 hook = 0x559b3db01120 diff = <optimized out> finished = <optimized out> #16 0x0000559b3d616cf2 in client_command_input (cmd=cmd@entry=0x559b3db19bf0) at imap-client.c:821 client = 0x559b3db19010 command = <optimized out> __FUNCTION__ = "client_command_input" #17 0x0000559b3d616d80 in client_command_input (cmd=0x559b3db19bf0) at imap-client.c:881 client = 0x559b3db19010 command = <optimized out> __FUNCTION__ = "client_command_input" #18 0x0000559b3d6170ed in client_handle_next_command (remove_io_r=<synthetic pointer>, client=0x559b3db19010) at imap-client.c:919 No locals. #19 client_handle_input (client=0x559b3db19010) at imap-client.c:931 _data_stack_cur_id = 3 remove_io = false handled_commands = false client = 0x559b3db19010 #20 0x0000559b3d6174b5 in client_input (client=0x559b3db19010) at imap-client.c:973 cmd = 0xa51de output = 0x559b3db19a30 bytes = 8 __FUNCTION__ = "client_input" #21 0x00007fe01d9e5b2c in io_loop_call_io (io=0x559b3db19b00) at ioloop.c:540 ioloop = 0x559b3db00770 t_id = 2 __FUNCTION__ = "io_loop_call_io" #22 0x00007fe01d9e6e35 in io_loop_handler_run_internal (ioloop=ioloop@entry=0x559b3db00770) at ioloop-epoll.c:220 ctx = 0x559b3db01510 io = <optimized out> tv = {tv_sec = 1799, tv_usec = 999712} events_count = <optimized out> msecs = <optimized out> ret = 1 i = 0 j = <optimized out> call = <optimized out> __FUNCTION__ = "io_loop_handler_run_internal" #23 0x00007fe01d9e5bb5 in io_loop_handler_run (ioloop=ioloop@entry=0x559b3db00770) at ioloop.c:588 No locals. #24 0x00007fe01d9e5d58 in io_loop_run (ioloop=0x559b3db00770) at ioloop.c:564 __FUNCTION__ = "io_loop_run" #25 0x00007fe01d981213 in master_service_run (service=0x559b3db00610, callback=<optimized out>) at master-service.c:642 No locals. #26 0x0000559b3d60a8f7 in main (argc=1, argv=0x559b3db00390) at main.c:443 set_roots = {0x559b3d833740
, 0x0} login_set = {auth_socket_path = 0x559b3daf8048 "\001", postlogin_socket_path = 0x0, postlogin_timeout_secs = 60, callback = 0x559b3d624150 , failure_callback = 0x559b3d623ac0 , request_auth_token = 1} service_flags = <optimized out> storage_service_flags = <optimized out> username = 0x0 c = <optimized out> (gdb)
participants (2)
-
Eugene Paskevich
-
Stephan Bosch