Displaying 20 results from an estimated 67 matches for "mbox_sync".
2006 Jan 24
0
1.0beta2: mbox_sync assert
Timo,
My first assert in beta2. Syslog said:
Jan 24 09:57:16 emerald dovecot: [ID 107833 mail.error] imap(user): Cached message offset 94625 is invalid for mbox file /var/mail/m/user
Jan 24 09:57:16 emerald dovecot: [ID 107833 mail.error] imap(user): file mbox-sync.c: line 1471 (mbox_sync_do): assertion failed: (!sync_ctx->mbox->mbox_sync_dirty || (flags & MBOX_SYNC_UNDIRTY) == 0)
Gdb analysis on the core file is attached. My setup:
Solaris 9, mbox format, mbox on NFS filesystem (also S9),
index files on local UFS filesystem.
Jeff Earickson
Colby College
--------------...
2005 Apr 27
0
Assertion Failures in Current CVS version
...%d (%s): assertion failed: (%s)")
at failures.c:173
#8 0x08081453 in mail_index_update_ext (t=0x80c9a88, seq=1, ext_id=2,
data=0xbffff6c8, old_data_r=0x0) at mail-index-transaction.c:806
#9 0x0806ccb3 in update_from_offsets (sync_ctx=0xbffff7f0) at mbox-sync.c:598
#10 0x0806f2f9 in mbox_sync (mbox=0x80c3a70, flags=Variable "flags" is not available.
) at mbox-sync.c:1189
#11 0x08068426 in mbox_storage_close (box=0x80c3a70) at mbox-storage.c:955
#12 0x0808ce9d in mailbox_close (box=0x0) at mail-storage.c:300
#13 0x08055e6b in cmd_close (cmd=0x80bcb98) at cmd-close.c:24
#14 0x08...
2007 Jan 05
2
Dovecot rc15 crash in mbox-sync-update.c
...able.
#1 0xff140040 in ?? ()
No symbol table info available.
#2 0x000786a8 in t_buffer_alloc (size=688976) at data-stack.c:346
__PRETTY_FUNCTION__ = "file %s: line %"
#3 0x00078190 in t_pop () at data-stack.c:149
frame_block = (struct stack_frame_block *) 0x7fffffff
#4 0x00042a90 in mbox_sync_update_status (ctx=0x8f7e0)
at mbox-sync-update.c:267
No locals.
#5 0x00041730 in mbox_sync_rewrite (sync_ctx=0xffbff548, mail_ctx=0x39d5,
end_offset=14098141, move_diff=27645, extra_space=1, first_seq=45,
last_seq=163) at mbox-sync-rewrite.c:552
mails = (struct mbox_sync_mail *) 0x...
2008 Aug 17
4
Dovecot 1.1.2, index_mailbox_set_recent_seq crash again
...is crash in
yesterday's logfile (again related to index_mailbox_set_recent_seq):
Aug 16 03:39:58 linux dovecot: IMAP(user1): Raw backtrace: imap [0x80cf8e0] -> imap [0x80cf93a] -> imap [0x80cf26c] -> imap [0x809d11a] -> imap(index_mailbox_set_recent_seq+0x3e) [0x809d15e] -> imap(mbox_sync+0x105d) [0x80823fd] -> imap [0x807a454] -> imap(index_transaction_commit+0x4e) [0x809ddfe] -> imap(cmd_copy+0x35f) [0x805b26f] -> imap(cmd_uid+0x59) [0x805f3d9] -> imap [0x805fd7c] -> imap [0x805fe25] -> imap [0x80605e5] -> imap(client_input+0x5e) [0x80607fe] -> imap(io_l...
2013 Sep 10
1
Dovecot 2.0, 2.1 and 2.2.5 core dump when Quota Plugin (FS) is enabled
...4/dovecot/libdovecot.so.0() [0x3c78219eaa] -> /usr/lib64/dovecot/libdovecot-storage.so.0() [0x3c786600c0] -> /usr/lib/dovecot/lib10_quota_plugin.so(+0xb7e7) [0x7f113b5427e7] -> /usr/lib/dovecot/lib10_quota_plugin.so(+0xb218) [0x7f113b542218] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mbox_sync+0x88) [0x3c7865fea8] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mbox_transaction_save_commit_post+0x27) [0x3c78657c07] -> /usr/lib64/dovecot/libdovecot-storage.so.0() [0x3c786a5313] -> /usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_transaction_commit_full+0x9f) [0x3c786b3cdf] -&g...
2008 Dec 13
3
another assertion failure in dovecot 1.1.7 mbox-sync-rewrite: (mails[idx].from_offset == start_offset)
Sorry, this time I've no core file, (I forgot to set ulimit -c
unlimited before starting dovecot)
Regards,
Diego.
---
dovecot: Dec 09 08:26:52 Panic: IMAP(user): file mbox-sync-rewrite.c:
line 590 (mbox_sync_rewrite): assertion failed:
(mails[idx].from_offset == start_offset)
dovecot: Dec 09 08:26:52 Error: IMAP(user): Raw backtrace:
/usr/libexec/dovecot/imap [0x80f739e] -> /usr/libexec/dovecot/imap
[0x80f7c5f] -> /usr/libexec/dovecot/imap(i_fatal+0) [0x80f7518] ->
/usr/libexec/dovecot/imap(mb...
2006 May 22
1
beta8: cores on corrupted index file
...0x00062c50 in mail_cache_compress_locked (cache=0xb8f38, view=0xffbff320)
at mail-cache-compress.c:305
#3 0x000631d0 in mail_cache_compress (cache=0x0, view=0xbc460)
at mail-cache-compress.c:367
#4 0x00059958 in mail_index_sync_commit (_ctx=0x0) at mail-index-sync.c:671
#5 0x0003c3e0 in mbox_sync (mbox=0x0, flags=4290770300) at mbox-sync.c:1717
#6 0x0003c710 in mbox_storage_sync_init (box=0x1,
flags=MAILBOX_SYNC_FLAG_NO_EXPUNGES) at mbox-sync.c:1780
#7 0x00065b48 in mailbox_sync_init (box=Variable "box" is not available.
) at mail-storage.c:387
#8 0x00028370 in imap_sync_no...
2011 Apr 04
1
Dovecot IMAP repeatedly disconnects
...2.31.255.193, lip=::ffff:172.31.255.1
Apr 4 16:39:21 holly dovecot: IMAP(?user?): mbox
/home/?user?/mail/Trash: seq=1 uid=3469 uid_broken=0 originally needed
17 bytes, now needs 18 bytes
Apr 4 16:39:21 holly dovecot: IMAP(?user?): Raw backtrace: imap
[0x461b7e] -> imap [0x4618ec] -> imap(mbox_sync_rewrite+0x5e3)
[0x4344a3] -> imap [0x42f5c0] -> imap(mbox_sync+0x428) [0x4309a8] ->
imap [0x427a5c] -> imap(cmd_copy+0x2f9) [0x411ff9] -> imap(cmd_uid+0x48)
[0x4152a8] -> imap [0x4157a7] -> imap [0x415839] ->
imap(_client_input+0x6d) [0x415e7d] -> imap(io_loop_handler...
2007 Mar 02
2
rc25: need_space assert, core
...so no useful information on a gdb
traceback:
(gdb) backtrace
#0 0xff1c16e0 in _lwp_kill () from /lib/libc.so.1
#1 0xff15ff38 in raise () from /lib/libc.so.1
#2 0xff140160 in abort () from /lib/libc.so.1
#3 0x00089cd4 in i_internal_panic_handler ()
#4 0x00089728 in i_panic ()
#5 0x00046e58 in mbox_sync_read_and_move ()
#6 0x00047418 in mbox_sync_rewrite ()
#7 0x000426dc in mbox_sync_handle_eof_updates ()
#8 0x00042d68 in mbox_sync_do ()
#9 0x000438b8 in mbox_sync ()
#10 0x00043b40 in mbox_storage_sync_init ()
#11 0x0002a830 in imap_sync_init ()
#12 0x0002adac in cmd_sync ()
#13 0x000231e4 in...
2005 Aug 13
2
IMAP can't read inbox: istream_raw_mbox_get_body_size assertion failed
...ere it is:
# gdb /usr/lib/dovecot/imap core
(gdb) bt full
#0 0x4004d83b in raise () from /lib/tls/libc.so.6
#1 0x4004efa2 in abort () from /lib/tls/libc.so.6
#2 0x08096fcb in i_set_failure_file ()
#3 0x08096ac7 in i_panic ()
#4 0x0807070f in istream_raw_mbox_get_body_size ()
#5 0x0806d1de in mbox_sync_has_changed ()
#6 0x0806eb50 in mbox_sync ()
#7 0x0806f9e7 in mbox_storage_sync_init ()
#8 0x0805ead5 in imap_sync_nonselected ()
#9 0x08057508 in _cmd_select_full ()
#10 0x080576d1 in cmd_select ()
#11 0x08058bf6 in _client_input ()
#12 0x0809c0c1 in io_loop_handler_run ()
#13 0x0809b65b in io...
2004 Sep 29
2
UIDL bug
I noticed a problem with handling UIDL msgnumber in test46.
If you do "UIDL 1" on a POP3 connection it returns the UID of the message
followed by a dot and an error message. I made 2 changes:
I added the following line to line 527 of src/pop3/commands.c
ctx->message = message;
I changed line 559 from:
if (list_uids_iter(client, ctx))
to:
if (!list_uids_iter(client, ctx))
2007 Mar 05
3
Bug: mbox-sync-parse.c: line 228
...le mbox-sync-parse.c: line 228 (parse_x_imap_base): assertion failed: (ctx->sync_ctx->next_uid > ctx->sync_ctx->prev_msg_uid)
Mar 5 23:58:30 localhost dovecot: IMAP(dean): Raw backtrace: imap [0x80a8265] -> imap [0x80a7de7] -> imap [0x8070a04] -> imap [0x8070a17] -> imap(mbox_sync_parse_next_mail+0x200) [0x807101c] -> imap(mbox_sync_rewrite+0x94f) [0x8077813] -> imap [0x80724bc] -> imap(mbox_sync+0x3e2) [0x807447a] -> imap [0x806cd9a] -> imap(cmd_copy+0x23d) [0x8057599] -> imap(cmd_uid+0x76) [0x805a60a] -> imap [0x805afb6] -> imap [0x805af4a] -> im...
2008 May 07
1
Bug [1.1rc5]: Crash during "CPU architecture changed" index upgrade
...0x00061f5e mail_index_transaction_open_updated_view + 958 -> 8
imap 0x00062ba6
mail_index_sync_begin_to + 102 -> 9
imap 0x0006352d mail_index_sync_begin +
77 -> 10 imap 0x00030b50 mbox_sync +
1120 -> 11 imap 0x0003203d
mbox_storage_sync_init + 77 -> 12 imap
0x0004f21f mailbox_sync + 31 -> 13
imap 0x00006167 cmd_select_full + 231 -
> 14 imap...
2005 Oct 18
0
A Couple Assertion Failures
...hdr=0x80c8764,
data=0x80c7a74) at mail-index-sync-update.c:520
#13 0x08086cb6 in mail_index_sync_update_index (sync_ctx=0x80c7618,
sync_only_external=0) at mail-index-sync-update.c:674
#14 0x08084cf3 in mail_index_sync_commit (ctx=0x80c7618)
at mail-index-sync.c:629
#15 0x080708a9 in mbox_sync (mbox=0x80c5c00, flags=Variable "flags" is not available.
) at mbox-sync.c:1707
#16 0x08071589 in mbox_storage_sync_init (box=0x80c5c00,
flags=MAILBOX_SYNC_FLAG_FULL_READ) at mbox-sync.c:1770
#17 0x0808f751 in mailbox_sync_init (box=0x0,
flags=MAILBOX_SYNC_FLAG_FULL_READ) at mai...
2005 Dec 14
2
Panic: file mail-index-sync-ext.c: line 155 (get_ext_header): assertion failed
...ync_keywords ()
No symbol table info available.
#8 0x080893d2 in mail_index_sync_record ()
No symbol table info available.
#9 0x08089c5e in mail_index_sync_update_index ()
No symbol table info available.
#10 0x08087d1d in mail_index_sync_commit ()
No symbol table info available.
#11 0x080726d0 in mbox_sync ()
No symbol table info available.
#12 0x080732b7 in mbox_storage_sync_init ()
No symbol table info available.
#13 0x0805f8e5 in imap_sync_nonselected ()
No symbol table info available.
#14 0x08057f31 in _cmd_select_full ()
No symbol table info available.
#15 0x080580d1 in cmd_select ()
No symbol t...
2008 Mar 10
2
dovecot 1.1.rc3 assertion failed at index_mailbox_set_recent_uid while deleting message with thunderbird.
...args=0xbfd8c6a4 "=???\016\b'") at failures.c:424
#4 0x080cdc3c in i_panic (format=0x80e1750 "file %s: line %d (%s):
assertion failed: (%s)") at failures.c:187
#5 0x0809bb4a in index_mailbox_set_recent_uid (ibox=0x88ca768,
uid=1041) at index-sync.c:39
#6 0x0808085f in mbox_sync_loop (sync_ctx=0xbfd8c8d0,
mail_ctx=0xbfd8cac4, partial=true) at mbox-sync.c:457
#7 0x08081361 in mbox_sync (mbox=0x88ca768, flags=18) at mbox-sync.c:1504
#8 0x08079cf9 in mbox_transaction_commit (t=0x88c5550,
log_file_seq_r=0xbfd8cbc8, log_file_offset_r=0xbfd8cbc0) at
mbox-transaction.c:45
#9 0...
2005 May 16
2
Assertion Failure in mbox-sync.c
...on a couple different mboxes.
This is using the CVS version as of May 14.
So far, these are the only errors and it looks like most/all of the older
ones are gone. (maybe I shouldn't say that ;-)
dovecot: May 16 17:41:07 Error: 20973 IMAP(todd.bluegenesis.com): file mbox-sync.c: line 1165 (mbox_sync_handle_eof_updates): assertion failed: (file_size >= sync_ctx->file_input->v_offset)
dovecot: May 16 17:41:10 Error: child 20973 (imap) killed with signal 6
(gdb) bt full
#0 0xffffe410 in ?? ()
No symbol table info available.
#1 0xbffff518 in ?? ()
No symbol table info available.
#2 0...
2006 Mar 06
1
asserts and cores in beta3
My setup: Solaris 9, built with gcc 4.0.2 (I now have gcc 4.1
installed on my system, but have not rebuilt dovecot). A
couple of asserts and cores in the last few days:
Mar 1 09:25:13 emerald dovecot: [ID 107833 mail.error] imap(tmwillia): file mbox-sync.c: line 1471 (mbox_sync_do): assertion failed: (!sync_ctx->mbox->mbox_sync_dirty || (flags & MBOX_SYNC_UNDIRTY) == 0)
Mar 1 09:58:44 emerald dovecot: [ID 107833 mail.error] imap(eewilson): file mbox-sync.c: line 1471 (mbox_sync_do): assertion failed: (!sync_ctx->mbox->mbox_sync_dirty || (flags & MBOX_...
2017 Jun 06
2
2.2.29.8: YACD (Yet Another Core Dump)
...7 imap(paco_mcs): Error: Next message unexpectedly corrupted in mbox file /var/spool/mail/paco_mcs at 639279728
Jun 06 12:28:47 imap(paco_mcs): Error: Unexpectedly lost From-line from mbox file /var/spool/mail/paco_mcs at 639279728
Jun 06 12:28:47 imap(paco_mcs): Panic: file mbox-sync.c: line 1338 (mbox_sync_handle_eof_updates): assertion failed: (trailer_size <= 2)
Jun 06 12:28:47 imap(paco_mcs): Error: Raw backtrace: /usr/lib/dovecot/libdovecot.so.0(+0x9cd16) [0xb75e7d16] -> /usr/lib/dovecot/libdovecot.so.0(+0x9cd9f) [0xb75e7d9f] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0xb757104e] -&...
2005 Jul 18
2
Assertion failure in mail-index-transaction.c
...082711 in mail_index_buffer_convert_to_uids (t=0x80d14b8,
array=0x80d14d0, range=1) at mail-index-transaction.c:129
#9 0x08083b87 in mail_index_transaction_commit (t=0x80d14b8,
log_file_seq_r=0xbffff65c, log_file_offset_r=0xbffff660)
at mail-index-transaction.c:183
#10 0x080703f4 in mbox_sync (mbox=0x80c5bc0, flags=Variable "flags" is not available.
) at mbox-sync.c:1623
#11 0x080710c9 in mbox_storage_sync_init (box=0x80c5bc0,
flags=MAILBOX_SYNC_FLAG_FULL_READ) at mbox-sync.c:1700
#12 0x0808ef01 in mailbox_sync_init (box=0x0,
flags=MAILBOX_SYNC_FLAG_FULL_READ) at mai...