Displaying 2 results from an estimated 2 matches for "mail_index_set_syscall_error".
2004 Dec 28
1
Debugging msync() failed errors
>From today's maillog:
maillog:Dec 28 09:29:40 aurora dovecot: IMAP(doug): msync() failed with index file /home/doug/Maildir/.projects.job591/dovecot.index: Invalid argument
maillog:Dec 28 09:30:21 aurora dovecot: IMAP(doug): msync() failed with index file /home/doug/Maildir/dovecot.index: Invalid argument
maillog:Dec 28 09:30:22 aurora dovecot: IMAP(doug): msync() failed with index file
2008 Mar 08
2
suspect valgrind error in mail-index-map.c
...eader(map, map);
1119
1120 if (new_map != map->rec_map) {
1121 mail_index_record_map_unlink(map);
1122 map->rec_map = new_map;
1123 } else {
1124 mail_index_unlock(map->index, &new_map->lock_id);
1125 if (munmap(new_map->mmap_base, new_map->mmap_size) < 0)
1126 mail_index_set_syscall_error(map->index, "munmap()");
1127 new_map->mmap_base = NULL;
1128 }
1129 }