[Dovecot] Assert crash with latest HG ddf374a36057
e-frog
e-frog at gmx.de
Thu Apr 24 17:32:27 UTC 2014
Hello,
Latest HG assert crashes with
imap(user): Panic: file mail-storage.c: line 1836
(mailbox_transaction_begin): assertion failed: (box->opened)
Full backtrace is attached.
Thanks,
e-frog
-------------- next part --------------
Core was generated by `dovecot/imap'.
Program terminated with signal SIGABRT, Aborted.
#0 0xb775d424 in __kernel_vsyscall ()
(gdb) bt full
#0 0xb775d424 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb73e7827 in __GI_raise (sig=sig at entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
resultvar = <optimized out>
resultvar = <optimized out>
pid = -1219084288
selftid = 28355
#2 0xb73eac53 in __GI_abort () at abort.c:89
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0xb7645c38, sa_sigaction = 0xb7645c38}, sa_mask = {__val = {0, 3076355807, 3220002956, 10, 3220003060, 3076811340, 3078182889,
3078183557, 3078184545, 8, 3076437534, 3076433244, 3076433384, 0, 3106788048, 3074239107, 3076355310, 3076807736, 3074111164, 0, 3107576200, 3076355899, 3076809776,
3076582416, 3220003060, 3076506719, 3106788048, 0, 3076807736, 3076046770, 3076809776, 3076582416}}, sa_flags = -1074964236, sa_restorer = 0xb758bf81 <i_error+8>}
sigs = {__val = {32, 0 <repeats 31 times>}}
#3 0xb75d7ac0 in default_fatal_finish (type=<optimized out>, status=status at entry=0) at failures.c:193
backtrace = 0xb92dd2f0 "/usr/lib/dovecot/libdovecot.so.0(+0x5fad0) [0xb75d7ad0] -> /usr/lib/dovecot/libdovecot.so.0(+0x5fc01) [0xb75d7c01] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0xb758bee9] -> /usr/lib/dovecot/libdo"...
#4 0xb75d7c01 in i_internal_fatal_handler (ctx=0xbfed5954, format=0xb7718414 "file %s: line %d (%s): assertion failed: (%s)", args=0xbfed5974 "`!r\267,\a") at failures.c:657
status = 0
#5 0xb758bee9 in i_panic (format=format at entry=0xb7718414 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:267
ctx = {type = LOG_TYPE_PANIC, exit_status = 0, timestamp = 0x0}
args = 0xbfed5974 "`!r\267,\a"
#6 0xb76b7aef in mailbox_transaction_begin (box=0xb935ff38, flags=flags at entry=(unknown: 0)) at mail-storage.c:1836
trans = <optimized out>
__FUNCTION__ = "mailbox_transaction_begin"
#7 0xb7387da2 in virtual_backend_box_sync_mail_set (bbox=<optimized out>, bbox=<optimized out>) at virtual-sync.c:105
trans = <optimized out>
#8 0xb7388b50 in virtual_backend_box_sync_mail_set (bbox=0xb9318058, bbox=0xb9318058) at virtual-sync.c:388
No locals.
#9 virtual_sync_index_rec (sync_rec=0xbfed5ac8, ctx=0xb939d988) at virtual-sync.c:370
bbox = 0xb9318058
flags = <optimized out>
vrec = 0xb93a42e8
data = 0xb93a42e8
keywords = 0xb939b958
modify_type = <optimized out>
kw_names = {0x0, 0xb9308768 "8\211\060\271 \211\060\271\070\003\060\271\060\373/\271"}
vseq = 505
seq1 = 505
virtual_ext_id = 2
seq2 = 505
#10 virtual_sync_index_changes (ctx=0xb939d988) at virtual-sync.c:419
keywords = <optimized out>
sync_rec = {uid1 = 274359, uid2 = 274359, type = MAIL_INDEX_SYNC_TYPE_FLAGS, add_flags = 8 '\b', remove_flags = 0 '\000', keyword_idx = 0,
guid_128 = "\t\304X\267\000\000\000\000\260\000\000\000|uu\267"}
#11 virtual_sync (flags=(MAILBOX_SYNC_FLAG_FULL_READ | MAILBOX_SYNC_FLAG_FIX_INCONSISTENT), mbox=0xb9308768) at virtual-sync.c:1514
ctx = 0xb939d988
index_sync_flags = <optimized out>
ret = <optimized out>
#12 virtual_storage_sync_init (box=0xb9308768, flags=(MAILBOX_SYNC_FLAG_FULL_READ | MAILBOX_SYNC_FLAG_FIX_INCONSISTENT)) at virtual-sync.c:1536
mbox = 0xb9308768
sync_ctx = <optimized out>
ret = 0
#13 0xb76b7625 in mailbox_sync_init (box=box at entry=0xb9308768, flags=flags at entry=(MAILBOX_SYNC_FLAG_FULL_READ | MAILBOX_SYNC_FLAG_FIX_INCONSISTENT)) at mail-storage.c:1679
_data_stack_cur_id = 4
ctx = <optimized out>
#14 0xb76b774f in mailbox_sync (box=0xb9308768, flags=(MAILBOX_SYNC_FLAG_FULL_READ | MAILBOX_SYNC_FLAG_FIX_INCONSISTENT), flags at entry=MAILBOX_SYNC_FLAG_FULL_READ) at mail-storage.c:1727
ctx = 0x2e
status = {sync_delayed_expunges = 0}
#15 0xb7790730 in select_open (readonly=false, mailbox=<optimized out>, ctx=0xb9305bf0) at cmd-select.c:311
client = 0xb93050e8
status = {messages = 3075372849, recent = 3076807736, unseen = 3076513959, uidvalidity = 3106787565, uidnext = 3106787408, first_unseen_seq = 48, first_recent_uid = 3076348876,
last_cached_seq = 3106787536, highest_modseq = 2202130043104, highest_pvt_modseq = 13343550109902518285, keywords = 0x3, permanent_flags = 3076807736, permanent_keywords = 0,
allow_new_keywords = 0, nonpermanent_modseqs = 0, no_modseq_tracking = 1, have_guids = 0, have_save_guids = 1, have_only_guid128 = 0}
flags = MAILBOX_FLAG_DROP_RECENT
ret = <optimized out>
#16 cmd_select_full (cmd=cmd at entry=0xb9305b50, readonly=readonly at entry=false) at cmd-select.c:435
client = 0xb93050e8
ctx = <optimized out>
args = 0xb9308380
list_args = 0xb75d5bcc <t_malloc_real+12>
mailbox = 0xb92dd240 "virtual/Lists/Dovecot"
error = 0xb74e5f25 <__memset_sse2+37> "\201\303\033\331\003"
__FUNCTION__ = "cmd_select_full"
#17 0xb77911a7 in cmd_select (cmd=0xb9305b50) at cmd-select.c:444
No locals.
#18 0xb779682a in command_exec (cmd=0xb9305b50) at imap-commands.c:158
hook = 0xb92e5998
ret = <optimized out>
#19 0xb77956aa in client_command_input (cmd=0xb9305b50) at imap-client.c:778
client = 0xb93050e8
command = <optimized out>
__FUNCTION__ = "client_command_input"
#20 0xb77957e9 in client_command_input (cmd=0xb9305b50) at imap-client.c:839
client = 0xb93050e8
command = <optimized out>
__FUNCTION__ = "client_command_input"
#21 0xb7795a85 in client_handle_next_command (remove_io_r=<synthetic pointer>, client=0xb93050e8) at imap-client.c:877
No locals.
#22 client_handle_input (client=client at entry=0xb93050e8) at imap-client.c:889
_data_stack_cur_id = 3
remove_io = false
handled_commands = <optimized out>
__FUNCTION__ = "client_handle_input"
#23 0xb7795e61 in client_input (client=0xb93050e8) at imap-client.c:931
cmd = 0xb9305b08
output = 0xb9305a38
bytes = 34
__FUNCTION__ = "client_input"
#24 0xb75ea4cf in io_loop_call_io (io=0xb9305ad0) at ioloop.c:441
ioloop = 0xb92e5498
t_id = 2
__FUNCTION__ = "io_loop_call_io"
#25 0xb75eb61e in io_loop_handler_run_internal (ioloop=ioloop at entry=0xb92e5498) at ioloop-epoll.c:220
ctx = 0xb92e6610
list = 0xb93059e0
io = <optimized out>
tv = {tv_sec = 1799, tv_usec = 999407}
events_count = <optimized out>
---Type <return> to continue, or q <return> to quit---
msecs = <optimized out>
ret = 1
i = 0
j = 0
call = <optimized out>
__FUNCTION__ = "io_loop_handler_run_internal"
#26 0xb75ea55c in io_loop_handler_run (ioloop=ioloop at entry=0xb92e5498) at ioloop.c:488
No locals.
#27 0xb75ea5e8 in io_loop_run (ioloop=0xb92e5498) at ioloop.c:465
__FUNCTION__ = "io_loop_run"
#28 0xb7591968 in master_service_run (service=0xb92e53c0, callback=0xb779fe10 <client_connected>) at master-service.c:566
No locals.
#29 0xb7788c08 in main (argc=<optimized out>, argv=<optimized out>) at main.c:400
set_roots = {0xb77b04c0 <imap_setting_parser_info>, 0x0}
login_set = {auth_socket_path = 0xb92dd030 "P\320-\271\060", postlogin_socket_path = 0xb92dd060 "ritz.box 192.168.178.103 select]", postlogin_timeout_secs = 60,
callback = 0xb77a0290 <login_client_connected>, failure_callback = 0xb779ff40 <login_client_failed>, request_auth_token = 1}
service_flags = <optimized out>
storage_service_flags = <optimized out>
username = 0x0
c = <optimized out>
More information about the dovecot
mailing list