Displaying 3 results from an estimated 3 matches for "mail_cache_get_record".
2009 Jul 14
2
Index cache file problems in Dovecot 1.2.0
...4 08:52:53 dovecot: Error: child 17694 (imap) killed with signal 10 (core dumped)
> Jul 14 08:52:54 dovecot: Error: child 17697 (imap) killed with signal 10 (core dumped)
> Jul 14 08:52:55 dovecot: Error: child 17700 (imap) killed with signal 10 (core dumped)
Here's a backtrace
> #0 mail_cache_get_record (cache=0x124e28, offset=289, rec_r=0xffbeeb6c)
> at mail-cache-lookup.c:30
> 30 if (rec->size < sizeof(*rec)) {
> (gdb) bt
> #0 mail_cache_get_record (cache=0x124e28, offset=289, rec_r=0xffbeeb6c)
> at mail-cache-lookup.c:30
> #1 0x84e2c in mail_cache_...
2009 Jun 02
2
record points outside file error with dovecot revision 9116:9ae55b68cf61
...ers or INBOX.
I put some syslog statements in src/lib-index/mail-cache-lookup.c to
help understand this.
if (offset + sizeof(*rec) > cache->mmap_length) {
mail_cache_set_corrupted(cache, "record points
outside file");
syslog(LOG_DEBUG,"mail_cache_get_record rec->size is
%d ", rec->size);
syslog(LOG_DEBUG,"cache->mmap_length is %d ", cache-
>mmap_length);
syslog(LOG_DEBUG,"offset is %d ", offset);
return -1;
}
syslog: mail_cache_get_record rec->size is 2685...
2007 Feb 14
3
severe performance problem (mail cache related?)
...-------- ----------
ff1c3e14 munmap (100000, bdc000, fe6de000, 2dc000, 0, 1ef0) + 8
00080bb4 file_cache_set_size (c03a0, 0, bdc110, 408, 0, 110) + e0
00080cec file_cache_read (0, bdbd08, bdbd08, 408, 0, 684a8) + a4
000594a0 mail_cache_map (191268, bdbd08, 408, ffbff274, 3, fffffffc) + ec
0005ae20 mail_cache_get_record (0, bdbd08, ffbff274, ffbff274, 0, 0) + 20
0005b00c mail_cache_foreach_rec (1959c8, ffbff2ec, 5b3d8, 0, b5760, 7ed8) + 10
0005b2bc mail_cache_foreach (1, 47ae, 5b3d8, 0, 0, 0) + b4
0005b47c mail_cache_field_exists (0, 47ae, 0, c0000000, b4f10, 88184) + 84
0005b64c mail_cache_lookup_field (1959c8, b...