[Dovecot] assertion mail-transaction-log-view.c

David Halik dhalik at jla.rutgers.edu
Thu Jan 28 21:27:41 EET 2010


I'm not sure how useful this is with optimization turned back on, but 
here it is anyway. This was just a one off that happened last night:

Jan 27 20:49:05 gehenna17.rutgers.edu dovecot: IMAP(user): fscking index 
file /rci/nqu/rci/u2/user/dovecot/.INBOX/dovecot.index
Jan 27 20:49:05 gehenna17.rutgers.edu dovecot: IMAP(user): Panic: file 
mail-transaction-log-view.c: line 108 (mail_transaction_log_view_set): 
assertion failed: (min_file_seq <= max_file_seq)
Jan 27 20:49:05 gehenna17.rutgers.edu dovecot: IMAP(user): Raw 
backtrace: /usr/libexec/dovecot/imap [0x49ede0] -> 
/usr/libexec/dovecot/imap [0x49ee43] -> /usr/libexec/dovecot/imap 
[0x49e4a6] -> 
/usr/libexec/dovecot/imap(mail_transaction_log_view_set+0x4ac) 
[0x486e1c] -> /usr/libexec/dovecot/imap(mail_index_sync_have_any+0x8f) 
[0x47c2bf] -> /usr/libexec/dovecot/imap [0x43cb8a] -> 
/usr/libexec/dovecot/imap(maildir_storage_sync_init+0x14e) [0x43cf0e] -> 
/usr/libexec/dovecot/imap(imap_sync_init+0x67) [0x4283e7] -> 
/usr/libexec/dovecot/imap(cmd_sync_delayed+0x174) [0x428634] -> 
/usr/libexec/dovecot/imap(client_handle_input+0x19e) [0x420c5e] -> 
/usr/libexec/dovecot/imap(client_input+0x5f) [0x42164f] -> 
/usr/libexec/dovecot/imap(io_loop_handler_run+0xf8) [0x4a6c68] -> 
/usr/libexec/dovecot/imap(io_loop_run+0x1d) [0x4a5d7d] -> 
/usr/libexec/dovecot/imap(main+0x620) [0x428f30] -> 
/lib64/libc.so.6(__libc_start_main+0xf4) [0x3ba081d994] -> 
/usr/libexec/dovecot/imap [0x419ad9]

#0 0x0000003ba0830265 in raise (sig=<value optimized out>) at 
../nptl/sysdeps/unix/sysv/linux/raise.c:64
pid = <value optimized out>
selftid = <value optimized out>
#1 0x0000003ba0831d10 in abort () at abort.c:88
act = Could not find the frame base for "abort".
sigs = Could not find the frame base for "abort".
#2 0x000000000049eded in default_fatal_finish (type=<value optimized 
out>, status=0) at failures.c:160
backtrace = 0x12be38a8 "/usr/libexec/dovecot/imap [0x49ede0] -> 
/usr/libexec/dovecot/imap [0x49ee43] -> /usr/libexec/dovecot/imap 
[0x49e4a6] -> 
/usr/libexec/dovecot/imap(mail_transaction_log_view_set+0x4ac) 
[0x486e1c] -> /us"...
#3 0x000000000049ee43 in i_internal_fatal_handler (type=LOG_TYPE_PANIC, 
status=0, fmt=<value optimized out>, args=<value optimized out>) at 
failures.c:443
No locals.
#4 0x000000000049e4a6 in i_panic (format=0x6 <Address 0x6 out of 
bounds>) at failures.c:207
args = {{gp_offset = 40, fp_offset = 48, overflow_arg_area = 
0x7fff2d949840, reg_save_area = 0x7fff2d949780}}
#5 0x0000000000486e1c in mail_transaction_log_view_set (view=0x12c56ee0, 
min_file_seq=<value optimized out>, min_file_offset=9520, 
max_file_seq=95, max_file_offset=24636, reset_r=0x7fff2d9498cf) at 
mail-transaction-log-view.c:108
file = <value optimized out>
files = <value optimized out>
start_offset = <value optimized out>
i = <value optimized out>
seq = <value optimized out>
ret = <value optimized out>
__PRETTY_FUNCTION__ = "mail_transaction_log_view_set"
#6 0x000000000047c2bf in mail_index_sync_have_any (index=<value 
optimized out>, flags=<value optimized out>) at mail-index-sync.c:506
view = (struct mail_index_view *) 0x12c56c40
#7 0x000000000043cb8a in maildir_sync_context (ctx=0x12be3728, 
forced=false, find_uid=0x0, lost_files_r=0x7fff2d949967) at 
maildir-sync.c:697
sync_flags = <value optimized out>
flags = 314502464
new_changed = false
cur_changed = false
lock_failure = <value optimized out>
fname = 0x49d85b "L\211�H\213\\$\bL\213d$\020H\203�\030�\017\037"
ret = <value optimized out>
__PRETTY_FUNCTION__ = "maildir_sync_context"
#8 0x000000000043cf0e in maildir_storage_sync_init (box=0x12bf2a98, 
flags=0) at maildir-sync.c:924
_data_stack_cur_id = 3
mbox = <value optimized out>
ctx = (struct maildir_sync_context *) 0x12be3728
lost_files = <value optimized out>
ret = 0
__PRETTY_FUNCTION__ = "maildir_storage_sync_init"
#9 0x00000000004283e7 in imap_sync_init (client=0x12beed40, 
box=0x12bf2a98, imap_flags=IMAP_SYNC_FLAG_SAFE, flags=0) at imap-sync.c:146
ctx = (struct imap_sync_context *) 0x12bf78b0
__PRETTY_FUNCTION__ = "imap_sync_init"
#10 0x0000000000428634 in cmd_sync_delayed (client=<value optimized 
out>) at imap-sync.c:592
cmd = <value optimized out>
first_expunge = <value optimized out>
first_nonexpunge = (struct client_command_context *) 0x80
__PRETTY_FUNCTION__ = "cmd_sync_delayed"
#11 0x0000000000420c5e in client_handle_input (client=0x12beed40) at 
client.c:729
remove_io = false
handled_commands = true
__PRETTY_FUNCTION__ = "client_handle_input"
#12 0x000000000042164f in client_input (client=0x12beed40) at client.c:753
cmd = <value optimized out>
output = (struct ostream *) 0x12bf00e8
bytes = 15
__PRETTY_FUNCTION__ = "client_input"
#13 0x00000000004a6c68 in io_loop_handler_run (ioloop=<value optimized 
out>) at ioloop-epoll.c:208
ctx = <value optimized out>
event = (const struct epoll_event *) 0x12bec350
list = (struct io_list *) 0x12bf01c0
io = (struct io_file *) 0x12bfb760
tv = {tv_sec = 1799, tv_usec = 999417}
events_count = <value optimized out>
t_id = 2
msecs = <value optimized out>
ret = 1
i = 0
call = <value optimized out>
#14 0x00000000004a5d7d in io_loop_run (ioloop=0x12bec0f0) at ioloop.c:335
No locals.
#15 0x0000000000428f30 in main (argc=<value optimized out>, argv=<value 
optimized out>, envp=0x7fff2d949c18) at main.c:327
No locals.





-- 
================================
David Halik
System Administrator
OIT-CSS Rutgers University
dhalik at jla.rutgers.edu
================================


More information about the dovecot mailing list