search for: sync_ctx

Displaying 20 results from an estimated 63 matches for "sync_ctx".

2009 Mar 24
1
Making changes to dovecot log levels
...i_error("%s", index->error); } return -1; } changing the line : i_error("%s", index->error); to i_warning("%s", index_error); and for the file src/lib-storage/index/mbox/mbox-sync.c changing this code if (rec == NULL && uid < sync_ctx->idx_next_uid) { /* this UID was already in index and it was expunged */ mbox_sync_set_critical(sync_ctx, "mbox sync: Expunged message reappeared in mailbox %s " "(UID %u < %u, seq=%u, idx_msgs=%u)&...
2005 May 16
2
Assertion Failure in mbox-sync.c
...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 0x00000006 in ?? () No symbol table info available. #3 0x000051ed...
2013 Aug 05
1
Corrupted mboxes with v2.2.4, posix_fallocate and GFS2
...ntee anyway that posix_allocate will extend a file by the exact size requested). After a successful posix_fallocate call, mbox_sync_handle_eof_updates currently proceeds in rewriting the mailbox starting from the originally intended 'file_size': 1306 if (file_set_size(sync_ctx->write_fd, 1307 file_size + -sync_ctx->space_diff) < 0) { 1308 mbox_set_syscall_error(sync_ctx->mbox, 1309 "file_set_size()"); 1310...
2005 Aug 16
2
test80: assert/core debug info
...rgs=0xffbff310) at failures.c:374 #3 0x000690f8 in i_panic (format=0x7d400 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:173 #4 0x0003f338 in mbox_sync_update_header_from (ctx=0xffbff3a0, mail=0xb3900) at mbox-sync-update.c:443 #5 0x0003db78 in mbox_sync_read_and_move (sync_ctx=0xffbff708, mails=Variable "mails" is not available. ) at mbox-sync-rewrite.c:353 #6 0x0003e0dc in mbox_sync_rewrite (sync_ctx=0xffbff708, end_offset=The value of variable 'end_offset' is distributed across several locations, and GDB cannot access its value. ) at mbox-sync-rewri...
2014 Oct 29
2
2.2.15 Panic in mbox_sync_read_next_mail()
...locally with alpine while also running imap-sessions. However it would have been nice with a more graceful action than panic? The panic is preceeded by Error: Next message unexpectedly corrupted in mbox file PATH Panic: file mbox-sync.c: line 152 (mbox_sync_read_next_mail): assertion failed: (sync_ctx->input->v_offset != mail_ctx->mail.from_offset || sync_ctx->input->eof) At #7 in the enclosed backtrace the actual values are sync_ctx->input->v_offset = 564 mail_ctx->mail.from_offset = 564 sync_ctx->input->eof = 0 Some will recommend convertion to maildir, bu...
2008 Dec 04
1
assertion failed in 1.1.7 file mbox-sync.c: line 1305 (mbox_sync_handle_eof_updates)
...AP(username): FETCH for mailbox Sent UID xx got too little data: xx vs xx" messages (that means that unfortunately sometimes some messages are still written truncated) I saw this assertion failure: file mbox-sync.c: line 1305 (mbox_sync_handle_eof_updates): assertion failed: (file_size >= sync_ctx->expunged_space + trailer_size) Regards, Diego. ---- (gdb) bt full #0 0x008a9402 in __kernel_vsyscall () No symbol table info available. #1 0x00a2fd20 in raise () from /lib/libc.so.6 No symbol table info available. #2 0x00a31631 in abort () from /lib/libc.so.6 No symbol table info availabl...
2007 Mar 05
3
Bug: mbox-sync-parse.c: line 228
...Thunderbird, Becky and Squirrel WebMail) Mar 5 23:58:30 localhost dovecot: imap-login: Login: user=<dean>, method=PLAIN, rip=192.168.0.81, lip=81.235.169.182, TLS Mar 5 23:58:30 localhost dovecot: IMAP(dean): file 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) [0x807...
2006 Jan 24
0
1.0beta2: mbox_sync assert
...sert 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 -------------- next part -------------- %gdb imap...
2005 Sep 01
0
another assert/core with 1.0alpha1
...0) at failures.c:374 #3 0x00068f30 in i_panic ( format=0x7d1c0 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:173 #4 0x0003f2d8 in mbox_sync_update_header_from (ctx=0xffbff3a0, mail=0xaf2b0) at mbox-sync-update.c:443 #5 0x0003db18 in mbox_sync_read_and_move (sync_ctx=0xffbff708, mails=Variable "mails" is not available. ) at mbox-sync-rewrite.c:353 #6 0x0003e07c in mbox_sync_rewrite (sync_ctx=0xffbff708, end_offset=The value of variable 'end_offset' is distributed across several locations, and GDB cannot access its value. ) at mbox-sy...
2006 Mar 06
1
asserts and cores in beta3
...p: 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_SYNC_UNDIRTY) == 0) Mar 3 16:18:5...
2007 Jan 05
2
Dovecot rc15 crash in mbox-sync-update.c
...-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 *) 0xcf238 offset = 1 dest_offset = 4294967295 next_end_offset = 14079696 next_move_diff = 6 start_offset = 1275633...
2005 Aug 26
0
1.0alpha1: assert and core
...8) at failures.c:374 #3 0x00068f30 in i_panic ( format=0x7d1c0 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:173 #4 0x0003f2d8 in mbox_sync_update_header_from (ctx=0xffbff318, mail=0xbf930) at mbox-sync-update.c:443 #5 0x0003db18 in mbox_sync_read_and_move (sync_ctx=0xffbff708, mails=Variable "mails" is not available. ) at mbox-sync-rewrite.c:353 #6 0x0003e07c in mbox_sync_rewrite (sync_ctx=0xffbff708, end_offset=The value of variable 'end_offset' is distributed across several locations, and GDB cannot access its value. ) at mbox-sy...
2005 Oct 28
3
Asserion Failure in Current CVS
...<Address 0x6 out of bounds>, args=0x34a9 <Address 0x34a9 out of bounds>) at failures.c:375 No locals. #7 0x0809b784 in i_panic ( format=0x80a88ec "file %s: line %d (%s): assertion failed: (%s)") at failures.c:173 No locals. #8 0x08073c33 in mbox_sync_rewrite (sync_ctx=0xbffff7d0, mail_ctx=0xbffff740, end_offset=Unhandled dwarf expression opcode 0x93 ) at mbox-sync-rewrite.c:447 mails = Variable "mails" is not available. (gdb) bt #0 0xffffe410 in ?? () #1 0xbfffeec8 in ?? () #2 0x00000006 in ?? () #3 0x000034a9 in ?? () #4 0xb7ef1d4...
2017 Feb 03
0
Crash while reading compressed mbox: Panic: file istream-zlib.c: line 416 (i_stream_zlib_seek): assertion failed: (ret == -1)
...0000000010f057ba in i_stream_seek (stream=0x118dd370, v_offset=56248) at istream.c:300 #9 0x0000000010b17702 in istream_raw_mbox_get_body_size (stream=0x118ec870, expected_body_size=36695, body_size_r=0x7fffffffe2a0) at istream-raw-mbox.c:612 #10 0x0000000010b2b0aa in mbox_sync_read_next_mail (sync_ctx=0x7fffffffe418, mail_ctx=0x7fffffffe270) at mbox-sync.c:162 #11 0x0000000010b2964a in mbox_sync_loop (sync_ctx=0x7fffffffe418, mail_ctx=0x7fffffffe270, partial=false) at mbox-sync.c:1057 #12 0x0000000010b290cb in mbox_sync_do (sync_ctx=0x7fffffffe418, flags=MBOX_SYNC_UNDIRTY) at mbox-sync.c:1642...
2006 Nov 12
2
assertion failed: (need_space == (uoff_t)-mails[idx].space)
I'm running Dovecot dovecot-1.0.r13 on FreeBSD (FreeBSD 6.1-RELEASE- p10). Mail is stored in mbox format (dovecot.conf after the msg). Procmail delivers mail to subfolders under ~/.mail, locking using dotfiles. One folder in particular for one user has an mbox file ~/.mail/Cron. Quite often, I'll see that procmail processes are stacking up because ~/.mail/Cron.lock exists, and
2005 Apr 27
0
Assertion Failures in Current CVS version
...92d4 in i_panic ( format=0x80a570c "file %s: line %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 0x08055...
2004 Jun 18
3
1.0-test17
http://dovecot.org/test/ Just mbox fixes since 1.0-test16. The logic is simpler and more correct now. Can anyone break it anymore? I actually tested it a while with Evolution and several mailboxes and it didn't break at least immediately. :) Now maybe a few more days and I dare trying this thing myself with my real mboxes (yes, I'm still using them). Dovecot mailing list archives could
2005 Jul 18
2
Assertion failure in mail-index-transaction.c
I just noticed one instance of this in the current CVS version: dovecot: Jul 18 15:25:48 Error: 5962 IMAP(mailuser): mbox sync: Expunged message reappeared in mailbox /mailhome/new/o/h/mailuser/mbox (UID 2834 < 2872) dovecot: Jul 18 15:25:48 Error: 5962 IMAP(mailuser): file mail-index-transaction.c: line 129 (mail_index_buffer_convert_to_uids): assertion failed: (*seq != 0) dovecot: Jul
2009 Nov 12
1
Bug report
...0004d944a in i_panic (format=Could not find the frame base for "i_panic". ) at failures.c:207 #5 0x000000000045aea8 in istream_raw_mbox_get_body_size (stream=0x40d76070, expected_body_size=18446744073709551615) at istream-raw-mbox.c:578 #6 0x00000000004622f3 in mbox_sync_read_next_mail (sync_ctx=0x7fffffffe290, mail_ctx=0x7fffffffe0b0) at mbox-sync.c:151 #7 0x00000000004649f6 in mbox_sync_loop (sync_ctx=0x7fffffffe290, mail_ctx=0x7fffffffe0b0, partial=false) at mbox-sync.c:1004 #8 0x0000000000465c00 in mbox_sync_do (sync_ctx=0x7fffffffe290, flags=MBOX_SYNC_UNDIRTY) at mbox-sync.c:1535 #9...
2014 Nov 28
2
Dovecot 2.2.15, Panic: file mbox-sync.c: line 152 (mbox_sync_read_next_mail): assertion failed:
...an -------------- next part -------------- Nov 27 08:47:28 sbh16 dovecot: imap(gpc): Error: Next message unexpectedly corrupted in mbox file /www/u/gpc/Mail/list_mgr at 1637732 Nov 27 08:47:28 sbh16 dovecot: imap(gpc): Panic: file mbox-sync.c: line 152 (mbox_sync_read_next_mail): assertion failed: (sync_ctx->input->v_offset != mail_ctx->mail.from_offset || sync_ctx->input->eof) Nov 27 08:47:28 sbh16 dovecot: imap(gpc): Error: Raw backtrace: /usr/local/lib/dovecot/libdovecot.so.0 [0x17deef] -> /usr/local/lib/dovecot/libdovecot.so.0 [0x17df6d] -> /usr/local/lib/dovecot/libdovecot.so...