Displaying 20 results from an estimated 40 matches for "mail_index_sync_commit".
2006 May 22
1
beta8: cores on corrupted index file
...44
#1 0x0004f324 in mail_cache_reopen (cache=0xb8f38) at mail-cache.c:95
#2 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 a...
2014 Apr 09
0
Error: broken sync positions in index file
...lib/dovecot/libdovecot.so.0 [0xb7e59350] -> /usr/lib/dovecot/libdovecot.so.0 [0xb7e593cd] -> /usr/lib/dovecot/libdovecot.so.0 [0xb7e58c64] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_transaction_log_set_mailbox_sync_pos+0x9a) [0xb7f8c1aa] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_index_sync_commit+0x9c) [0xb7f82a5c] -> /usr/lib/dovecot/libdovecot-storage.so.0 [0xb7f00f2b] -> /usr/lib/dovecot/libdovecot-storage.so.0 [0xb7f0034a] -> /usr/lib/dovecot/libdovecot-storage.so.0 [0xb7f006ba] -> /usr/lib/dovecot/libdovecot-storage.so.0(maildir_storage_sync_init+0xc1) [0xb7f00851] -> /u...
2012 May 14
1
[Plugin dev] First-time-only cache lock failure
...same way pop3c does.
So, I've got a function similar to pop3c_sync_messages(), performing several mail_index_append() and mail_cache_add() calls.
The problem is that on the first sync, when the index and cache files don't exist yet, there's a failure writing data in cache.
The call to mail_index_sync_commit()\mail_cache_transaction_commit() fails because of mail_cache_transaction_lock().
The index and cache files are properly created, but the cache doesn't contain the MAIL_CACHE_POP3_UIDL values.
It works properly on the second sync, the MAIL_CACHE_POP3_UIDL field being properly saved.
Would you...
2020 Jan 21
2
imap panic: file array.c: line 10 (array_idx_modifiable_i)
...cot/libdovecot.so.0(+0xdb1f1) [0x7fa18def21f1] -> /usr/lib/dovecot/libdovecot.so.0(+0x4a001) [0x7fa18de61001] -> /usr/lib/dovecot/libdovecot.so.0(+0x493bf) [0x7fa18de603bf] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xde920) [0x7fa18e084920] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_index_sync_commit+0x22f) [0x7fa18e096a3f] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x85b4b) [0x7fa18e02bb4b] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x8862a) [0x7fa18e02e62a] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x88937) [0x7fa18e02e937] -> /usr/lib/dovecot/libdovecot-storage.so.0(maildi...
2007 Oct 30
1
Errors in Dovecot 1.0.5
...ync-update.c:
line 841 (mail_index_sync_update_index): assertion failed:
(view->hdr.messages_count == map->hdr.messages_count)
Oct 30 16:11:42 delta2 dovecot: IMAP(x): Raw backtrace: imap [0x462a7e]
-> imap [0x46234c] -> imap(mail_index_sync_update_index+0x7b2)
[0x44a982] -> imap(mail_index_sync_commit+0xe7) [0x447f87] ->
imap(maildir_sync_index_finish+0xd2) [0x420b32] -> imap [0x4225af] ->
imap(maildir_storage_sync_init+0x63) [0x4227b3] ->
imap(imap_sync_nonselected+0xf) [0x41be9f] ->
imap(_cmd_select_full+0xc5) [0x413f95] -> imap(cmd_select+0xb)
[0x41411b] -> imap [0x4...
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))
2020 Jan 27
3
imap panic: file array.c: line 10 (array_idx_modifiable_i)
...cot/libdovecot.so.0(+0xdb1f1) [0x7fa18def21f1] -> /usr/lib/dovecot/libdovecot.so.0(+0x4a001) [0x7fa18de61001] -> /usr/lib/dovecot/libdovecot.so.0(+0x493bf) [0x7fa18de603bf] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xde920) [0x7fa18e084920] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_index_sync_commit+0x22f) [0x7fa18e096a3f] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x85b4b) [0x7fa18e02bb4b] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x8862a) [0x7fa18e02e62a] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x88937) [0x7fa18e02e937] -> /usr/lib/dovecot/libdovecot-storage.so.0(maildi...
2005 Dec 14
2
Panic: file mail-index-sync-ext.c: line 155 (get_ext_header): assertion failed
..._ext_intro ()
No symbol table info available.
#7 0x08092368 in mail_index_sync_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 ta...
2018 Feb 23
2
Assertion during dsync receive
...ibdovecot.so.0(i_fatal+0) [0x7feb583a577c] ->
> /usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_uint32_to_offset+0xa0) [0x7feb587906d0] ->
> /usr/lib64/dovecot/libdovecot-storage.so.0(mail_cache_compress+0x854) [0x7feb58774f34] ->
> /usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_sync_commit+0x25f) [0x7feb587884ff] ->
> /usr/lib64/dovecot/libdovecot-storage.so.0(mdbox_storage_rebuild_in_context+0x10de) [0x7feb5870b3ae] ->
> /usr/lib64/dovecot/libdovecot-storage.so.0(mdbox_sync_begin+0x858) [0x7feb5870ccd8] ->
> /usr/lib64/dovecot/libdovecot-storage.so.0(mdbox_sync+0x4...
2018 Feb 23
2
Assertion during dsync receive
...lib64/dovecot/libdovecot.so.0(i_fatal+0) [0x7feb583a577c] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_uint32_to_offset+0xa0) [0x7feb587906d0] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(mail_cache_compress+0x854) [0x7feb58774f34] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_sync_commit+0x25f) [0x7feb587884ff] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(mdbox_storage_rebuild_in_context+0x10de) [0x7feb5870b3ae] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(mdbox_sync_begin+0x858) [0x7feb5870ccd8] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(mdbox_sync+0x4c) [0x7feb5870c...
2010 Oct 10
1
Dovecot 2.0 lock upgrade assertion failure
...-> /usr/lib/dovecot/libdovecot-storage.so.0 [0x7f03e1bce244]
-> /usr/lib/dovecot/libdovecot-storage.so.0(mail_index_try_lock_exclusive+0x20) [0x7f03e1bce2d0] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_index_write+0x31d) [0x7f03e1be287d] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_index_sync_commit+0x166) [0x7f03e1bda3d6] -> /usr/lib/dovecot/libdovecot-storage.so.0 [0x7f03e1ba1d16] -> /usr/lib/dovecot/libdovecot-storage.so.0(maildir_transaction_save_commit_pre+0x4d2) [0x7f03e1b9d0b2] -> /usr/lib/dovecot/libdovecot-storage.so.0 [0x7f03e1b98213] -> /usr/lib/dovecot/libdovecot-storag...
2015 Mar 10
5
Released Pigeonhole v0.4.7.rc1 for Dovecot v2.2.16.rc1
Hello Dovecot users,
Last time I had a few stupid problems in the releases, so I'll follow
Timo's example and I release an RC first.
The highlights include the implementation of the index and metadata
extensions. Quite a few bugs are fixed as well.
Changelog v0.4.7:
* editheader extension: Made protection against addition and deletion of
headers configurable separately. Also, the
2015 Mar 10
5
Released Pigeonhole v0.4.7.rc1 for Dovecot v2.2.16.rc1
Hello Dovecot users,
Last time I had a few stupid problems in the releases, so I'll follow
Timo's example and I release an RC first.
The highlights include the implementation of the index and metadata
extensions. Quite a few bugs are fixed as well.
Changelog v0.4.7:
* editheader extension: Made protection against addition and deletion of
headers configurable separately. Also, the
2013 Nov 20
0
Dovecot 2.2.5: Panic: file mail-transaction-log.c: line 350 (mail_transaction_log_set_mailbox_sync_pos)
...: Raw
backtrace: /usr/lib64/dovecot/libdovecot.so.0 [0x2b07be142400] ->
/usr/lib64/dovecot/libdovecot.so.0 [0x2b07be142456] ->
/usr/lib64/dovecot/libdovecot.so.0 [0x2b07be141df3] ->
/usr/lib64/dovecot/libdovecot-storage.so.0 [0x2b07bdea066b] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_sync_commit+0x89)
[0x2b07bde97ed9] -> /usr/lib64/dovecot/libdovecot-storage.so.0
[0x2b07bde25e4d] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(maildir_transaction_save_commit_pre+0x856)
[0x2b07bde22186] -> /usr/lib64/dovecot/libdovecot-storage.so.0
[0x2b07bde81cc8] ->
/usr/lib64/dovecot/libdovecot...
2015 May 18
0
Failure at run doveadm deduplicate
...[0x7f77b9f85f9a] -> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0)
[0x7f77b9f39515] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xc296f)
[0x7f77ba2b996f] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mail_index_write+0x1be)
[0x7f77ba2b8c3e] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mail_index_sync_commit+0x262)
[0x7f77ba2b1012] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mdbox_map_atomic_finish+0x26)
[0x7f77ba225a36] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mdbox_sync+0x61)
[0x7f77ba229d91] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mdbox_storage_sync_init+0x66)
[0x7f77ba229e26]...
2020 Jan 22
0
imap panic: file array.c: line 10 (array_idx_modifiable_i)
...cot/libdovecot.so.0(+0xdb1f1) [0x7fa18def21f1] -> /usr/lib/dovecot/libdovecot.so.0(+0x4a001) [0x7fa18de61001] -> /usr/lib/dovecot/libdovecot.so.0(+0x493bf) [0x7fa18de603bf] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0xde920) [0x7fa18e084920] -> /usr/lib/dovecot/libdovecot-storage.so.0(mail_index_sync_commit+0x22f) [0x7fa18e096a3f] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x85b4b) [0x7fa18e02bb4b] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x8862a) [0x7fa18e02e62a] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x88937) [0x7fa18e02e937] -> /usr/lib/dovecot/libdovecot-storage.so.0(maildi...
2010 Apr 15
1
double write-locking dovecot.index.log
...ex_sync_begin_init ->
mail_transaction_log_sync_lock ->
mail_transaction_log_lock_head ->
mail_transaction_log_file_lock ->
mail_index_lock_fd ->
file_wait_lock ->
file_lock_do
"Inner" write lock:
maildir_transaction_save_commit_pre ->
maildir_sync_index_finish ->
mail_index_sync_commit ->
mail_index_write ->
mail_transaction_log_rotate ->
mail_transaction_log_file_create ->
mail_transaction_log_file_create2 ->
mail_transaction_log_file_lock ->
mail_index_lock_fd ->
file_wait_lock ->
file_lock_do
The file being locked is the same, dovecot.index.log.
In an...
2013 Dec 30
0
Warning: fscking index file /.../dovecot.index
...: Raw backtrace:
/usr/lib64/dovecot/libdovecot.so.0 [0x2b3718e07400] ->
/usr/lib64/dovecot/libdovecot.so.0 [0x2b3718e07456] ->
/usr/lib64/dovecot/libdovecot.so.0 [0x2b3718e06df3] ->
/usr/lib64/dovecot/libdovecot-storage.so.0 [0x2b3718b6566b] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_sync_commit+0x89)
[0x2b3718b5ced9] -> /usr/lib64/dovecot/libdovecot-storage.so.0
[0x2b3718aeae4d] -> /usr/lib64/dovecot/libdovecot-storage.so.0
[0x2b3718aea357] -> /usr/lib64/dovecot/libdovecot-storage.so.0
[0x2b3718aea698] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(maildir_storage_sync_init+0xb...
2013 Oct 29
1
Crash in dovecot 2.2.6
...ot/libdovecot-storage.so.0(+0xa9618)
[0xd95e2618] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mail_index_transaction_commit_full+0xd1)
[0xd95e2b31] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mail_index_transaction_commit+0x23)
[0xd95e2c23] ->
/usr/lib/dovecot/libdovecot-storage.so.0(mail_index_sync_commit+0xe9)
[0xd95ec0c9] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x527d2)
[0xd958b7d2] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x51b0c)
[0xd958ab0c] -> /usr/lib/dovecot/libdovecot-storage.so.0(+0x51eea)
[0xd958aeea] ->
/usr/lib/dovecot/libdovecot-storage.so.0(maildir_storage_sy...
2015 Mar 10
0
Released Pigeonhole v0.4.7.rc1 for Dovecot v2.2.16.rc1
...27cef8b253] -> /usr/lib64/dovecot/libdovecot.so.0(+0x24b1a)
[0x7f27cef3cb1a] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0xd3965)
[0x7f27cf2ce965] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_write+0x1f5)
[0x7f27cf2cd7a5] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(mail_index_sync_commit+0x2c4)
[0x7f27cf2c5214] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0x510e8)
[0x7f27cf24c0e8] ->
/usr/lib64/dovecot/libdovecot-storage.so.0(maildir_transaction_save_commit_pre+0x40f)
[0x7f27cf2477ef] -> /usr/lib64/dovecot/libdovecot-storage.so.0(+0xb39c8)
[0x7f27cf2ae9c8] ->
/u...