Displaying 20 results from an estimated 24 matches for "maildir_sync_context".
2010 Jan 28
0
assertion mail-transaction-log-view.c
...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?\03...
2015 Dec 23
2
2.2.21 imap core dump after enabling autoexpunge
...gt; [7] maildir_uidlist_lock_timeout(0xbf648, 0x1, 0x1, 0x1, 0x3f, 0x26c00), at 0xff1ff0ec
> [8] maildir_uidlist_sync_lock(0xbf648, 0x8, 0xffbff59f, 0x1, 0x1, 0xf19c8), at 0xff2035bc
> [9] maildir_uidlist_sync_init(0xbf648, 0x8, 0x83d20, 0x1, 0x44, 0xff2f502c), at 0xff203680
> [10] maildir_sync_context(0x83d08, 0x1, 0x0, 0xffbff707, 0x83d20, 0x83d08), at 0xff1fe290
> [11] maildir_sync_run(0x90188, 0x44, 0x0, 0x0, 0x0, 0x90420), at 0xff1fe74c
> [12] maildir_storage_sync_init(0x90188, 0x44, 0x541c, 0x0, 0x80, 0xff2f502c), at 0xff1feaa0
> [13] mailbox_sync(0x90188, 0x44, 0x0, 0x4, 0x4...
2010 Apr 15
1
double write-locking dovecot.index.log
...l_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 another case, maildir_sync_index_begin is reached this way (outer lock):
mailbox_sync ->
mailbox_sync_init ->
maildir_storage_sync_init ->
maildir_sync_context ->
maildir_sync_index_begin ->
mail_index_sync_begin ->
etc. And maildir_sync_index_finish is reached this way (inner lock):
mailbox_sync ->
mailbox_sync_init ->
maildir_storage_sync_init ->
maildir_sync_context ->
maildir_sync_index_finish ->
etc.
Could these lead to data...
2009 Jul 08
1
readdir and rename don't mix; patch included
...lso apply easily to 1.2.0.
--- dovecot-1.1.16/src/lib-storage/index/maildir/maildir-sync.c
2009-05-20 16:42:49.000000000 -0500
+++ dovecot/src/lib-storage/index/maildir/maildir-sync.c 2009-07-07
19:50:37.000000000 -0500
@@ -354,7 +354,8 @@
return -1;
}
-static int maildir_scan_dir(struct maildir_sync_context *ctx, bool
new_dir)
+static int maildir_scan_dir(struct maildir_sync_context *ctx, bool
new_dir,
+ bool final) /* APPLE */
{
struct mail_storage *storage = &ctx->mbox->storage->storage;
const char *path;
@@ -486,6 +487,11 @@
}
}
+ /* APPLE - rename can cause...
2008 Feb 20
1
dovecot: child 53439 (imap) killed with signal 11
...#3 0x0000000000435b9f in maildir_uidlist_sync_deinit (_ctx=0x601198) at
maildir-uidlist.c:1448
_data_stack_cur_id = 5
ctx = (struct maildir_uidlist_sync_ctx *) 0x665040
ret = 0
__PRETTY_FUNCTION__ = "maildir_uidlist_sync_deinit"
#4 0x0000000000430bab in maildir_sync_context (ctx=0x601168,
forced=false, find_uid=0x0, lost_files_r=0x7fffffffdfef)
at maildir-sync.c:836
sync_flags = MAILDIR_UIDLIST_SYNC_PARTIAL
flags = 4294959056
new_changed = true
cur_changed = false
ret = 1
__PRETTY_FUNCTION__ = "maildir_sync_con...
2009 Nov 02
2
dovecot-1.2.6: Panic: pool_data_stack_realloc(): stack frame changed
...31
14 imap 0x000000010002a7c6
maildir_file_do_try + 334
15 imap 0x000000010002a34e maildir_file_do
+ 58
16 imap 0x00000001000263c4
maildir_sync_index + 1102
17 imap 0x000000010002588e
maildir_sync_context + 806
18 imap 0x0000000100025aa4
maildir_storage_sync_init + 92
19 imap 0x000000010004ad9c
mailbox_sync_init + 16
20 imap 0x000000010000ebc8 imap_sync_init +
98
21 imap 0x000000010000fd...
2009 Jul 25
0
dovecot-1.2 with managesieve patch: imap crash with backtrace
...ize = 6334504, st_blocks = 8589951424, st_atim = {
tv_sec = 7687, tv_nsec = 100}, st_mtim = {tv_sec = 0, tv_nsec = 0},
st_ctim = {tv_sec = 0, tv_nsec = 274432}, st_ino = 17592186044416}
expunged = 9
full_rescan = false
__PRETTY_FUNCTION__ = "maildir_sync_index"
#9 0x080860d9 in maildir_sync_context (ctx=0x9480208, forced=false,
find_uid=0x0, lost_files_r=0xbf9af15b) at maildir-sync.c:857
sync_flags = 155805056
flags = 135317216
new_changed = true
cur_changed = false
lock_failure = false
fname = 0x9494fe0 "/home/v/i/virus-al/Maildir"
ret = <value optimized out>
__P...
2009 Dec 14
2
4 crashes, dovecot 1.2.8, with backtrace
...9a858)
at maildir-uidlist.c:1419
__PRETTY_FUNCTION__ = "maildir_uidlist_sync_update"
#9 maildir_uidlist_sync_finish (ctx=0x9e9a858) at maildir-uidlist.c:1832
_data_stack_cur_id = 5
__PRETTY_FUNCTION__ = "maildir_uidlist_sync_finish"
#10 0x08086550 in maildir_sync_context (ctx=0x9e6b488, forced=false,
find_uid=0x0, lost_files_r=0xbfcfa5eb) at maildir-sync.c:842
count = <value optimized out>
final = <value optimized out>
sync_flags = <value optimized out>
flags = 135324992
new_changed = true
cur_c...
2009 Jun 20
1
imap signal 6 crash with backtrace (1.2rc5)
...ize = 6334504, st_blocks = 8589951424, st_atim = {
tv_sec = 7687, tv_nsec = 100}, st_mtim = {tv_sec = 0, tv_nsec = 0},
st_ctim = {tv_sec = 0, tv_nsec = 274432}, st_ino = 17592186044416}
expunged = 9
full_rescan = false
__PRETTY_FUNCTION__ = "maildir_sync_index"
#9 0x08079a49 in maildir_sync_context (ctx=0x9406208, forced=false,
find_uid=0x0, lost_files_r=0xbfe7fb7b) at maildir-sync.c:847
sync_flags = 155423616
flags = 135313235
new_changed = true
cur_changed = false
lock_failure = false
fname = 0x9437c80 "/home/v/i/virus-al/Maildir"
ret = <value optimized out>
__P...
2009 Dec 01
1
dovecot-1.2.8 imap crash (with backtrace)
...240, forced=false,
find_uid=0x0, lost_files_r=0xbfb8106b) at maildir-sync.c:659
hdr = <value optimized out>
#11 maildir_sync_get_changes (ctx=0x8723240, forced=false, find_uid=0x0,
lost_files_r=0xbfb8106b) at maildir-sync.c:679
flags = <value optimized out>
#12 maildir_sync_context (ctx=0x8723240, forced=false, find_uid=0x0,
lost_files_r=0xbfb8106b) at maildir-sync.c:714
sync_flags = <value optimized out>
flags = 135324992
new_changed = <value optimized out>
cur_changed = <value optimized out>
lock_failure = <v...
2009 May 04
2
index_mailbox_set_recent_uid error on 1.1.14
...0x000000010003b86b
index_mailbox_set_recent_uid + 74
6 imap 0x000000010003b8cb
index_mailbox_set_recent_seq + 58
7 imap 0x0000000100018f5d
maildir_sync_index + 2163
8 imap 0x0000000100017ba5
maildir_sync_context + 662
9 imap 0x0000000100017d8e
maildir_storage_sync_init + 104
10 imap 0x000000010000c037 imap_sync_init +
132
11 imap 0x000000010000c289 cmd_sync_delayed
+ 477
12 imap 0x000000010000...
2009 Jun 29
1
Dovecot-1.1.15 panics
...0x000000010001913f
maildir_uidlist_iter_next_rec + 210
6 imap 0x0000000100019177
maildir_uidlist_iter_next + 38
7 imap 0x0000000100018abb
maildir_sync_index + 2019
8 imap 0x0000000100017788
maildir_sync_context + 662
9 imap 0x000000010001797c
maildir_storage_sync_init + 104
10 imap 0x000000010000bbe3
imap_sync_init + 132
11 imap 0x000000010000be35
cmd_sync_delayed + 477
12 imap...
2008 Nov 24
3
Panic from 1.1.7
...8 imap 0x000000010006a319 dotlock_create + 532 ->
9 imap 0x000000010006ac0f file_dotlock_create + 177 ->
10 imap 0x000000010001a925 maildir_uidlist_lock_timeout + 169 ->
11 imap 0x000000010001aa14 maildir_uidlist_sync_init + 66 ->
12 imap 0x0000000100017d48 maildir_sync_context + 299 ->
13 imap 0x000000010001809a maildir_storage_sync_init + 104 ->
14 imap 0x000000010003e183 mailbox_sync + 31 ->
15 imap 0x000000010000bcca imap_status_get + 132 ->
16 imap 0x0000000100005355 cmd_status + 230 ->
17 imap 0x0000000100006cb5 client_co...
2009 May 04
2
mail_index_sync_map error on 1.1.14
...0x0000000100046a0f
mail_index_refresh + 14
8 imap 0x0000000100016e4b
maildir_sync_header_refresh + 24
9 imap 0x0000000100016ee6
maildir_sync_quick_check + 61
10 imap 0x000000010001796a
maildir_sync_context + 91
11 imap 0x0000000100017d8e
maildir_storage_sync_init + 104
12 imap 0x000000010003eb1b mailbox_sync + 31
13 imap 0x00000001000048a8 cmd_select_full
+ 224
14 imap 0x00000001000049f3 cm...
2005 Jul 06
1
test76 segfaults?
Hi,
I was just trying to port my dspam plugin to the latest test release but
ran into trouble so I decided to test the code itself first.
I have the following maildir:
johannes:~/.mail$ find
.
./cur
./new
./new/test
./tmp
./.SPAM
./.SPAM/cur
./.SPAM/new
./.SPAM/tmp
Now I run
$ exec /usr/sbin/dovecot --exec-mail imap
* PREAUTH [CAPABILITY IMAP4rev1 SORT THREAD=REFERENCES MULTIAPPEND UNSELECT
2005 May 26
0
Core dumps when opening an IMAP folder (Was: Re: 1.0-test70)
...ox_sync_init (box=0x3c01e840, flags=0,
failed=0) at index-sync.c:150
ctx = (struct index_mailbox_sync_context *) 0x3c011020
sync_mask = 1006764673
#4 0x1c019b25 in maildir_storage_sync_init (box=0x3c01e840,
flags=MAILBOX_SYNC_FLAG_FAST) at maildir-sync.c:991
ctx = (struct maildir_sync_context *) 0x3c0139b0
ret = 0
#5 0x1c040fc4 in mailbox_sync_init (box=0x8,
flags=MAILBOX_SYNC_FLAG_FAST) at mail-storage.c:333
No locals.
#6 0x1c015150 in imap_sync_init (client=0x3c020000, box=0x3c01e840,
flags=MAILBOX_SYNC_FLAG_FAST) at imap-sync.c:43
ctx = (struct imap_sync_context *...
2008 Aug 23
0
imap crash with signal 6 (backtrace), dovecot 1.1.2
...986cb50,
type=MAIL_INDEX_SYNC_HANDLER_FILE) at mail-index-map.c:932
#11 0x080b4802 in mail_index_sync_commit (_ctx=0x984d32c)
at mail-index-sync.c:755
#12 0x08074169 in maildir_sync_index_finish (_ctx=0x98280ec, failed=false,
cancel=false) at maildir-sync-index.c:248
#13 0x08072ea3 in maildir_sync_context (ctx=0x98280d0,
forced=<value optimized out>, find_uid=0x0, lost_files_r=0xbf922e5b)
at maildir-sync.c:795
#14 0x08073038 in maildir_storage_sync_init (box=0x984e9e8, flags=65)
at maildir-sync.c:859
#15 0x080a49a9 in mailbox_sync (box=0x984e9e8, flags=0, status_items=111,
st...
2012 Feb 19
4
dovecot freezes when trying to get mail from maildir with mail
I'm completely stumped by this problem and I've tried everything at
present - including installing dovecot from scratch.
The problem is that when trying to get email from the server -AND-
there's email in the account, the pop3 or imap process freezes and no
email is fetched. The crazy thing is, that it has been working
perfectly, but suddenly I'm getting these freezes both
2009 Dec 30
3
1.2.9 imap crash with backtrace
I got about 20 (!) of these today
GNU gdb (GDB) 7.0-debian
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB
2008 Dec 02
2
my_vsnprintf crash on HP-UX
...4110540:0 in maildir_get_uidvalidity_next (storage=0x40046698)
at maildir-storage.c:1054
#12 0x4121c60:0 in maildir_uidlist_sync_update (ctx=0x40044e60)
at maildir-uidlist.c:1219
#13 0x4124a70:0 in maildir_uidlist_sync_finish (ctx=0x40044e60)
at maildir-uidlist.c:1609
#14 0x4114120:0 in maildir_sync_context (ctx=0x4001c220, forced=false,
find_uid=0x0, lost_files_r=0x7ffff590) at maildir-sync.c:781
#15 0x41147b0:0 in maildir_storage_sync_init (box=0x4005ca28,
flags=MAILBOX_SYNC_FLAG_FIX_INCONSISTENT|MAILBOX_SYNC_FLAG_FULL_READ)
at maildir-sync.c:859
#16 0x41de2e0:0 in mailbox_sync_init (box...