Edgar Fuß
2009-Sep-07 08:41 UTC
[Dovecot] file->buffer_offset + file->buffer->used == file->sync_offset
I got the following panic on 1.2.3: Panic: file mail-transaction-log-append.c: line 88 (log_buffer_move_to_memory): assertion failed: (file->buffer_offset + file->buffer->used == file->sync_offset) It's probably related to the file system holding the indexes being full.
Timo Sirainen
2009-Sep-14 01:02 UTC
[Dovecot] file->buffer_offset + file->buffer->used == file->sync_offset
On Mon, 2009-09-07 at 10:41 +0200, Edgar Fu? wrote:> I got the following panic on 1.2.3: > > Panic: file mail-transaction-log-append.c: line 88 (log_buffer_move_to_memory): assertion failed: (file->buffer_offset + file->buffer->used == file->sync_offset) > > It's probably related to the file system holding the indexes being full.Yes, but I'm still not sure why it would happen and I can't reproduce it. You didn't happen to get a core dump? I'd really like to know what "p *file" and "p *file.buffer" says in gdb. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part URL: <http://dovecot.org/pipermail/dovecot/attachments/20090913/25133878/attachment-0002.bin>
Edgar Fuß
2009-Sep-14 11:58 UTC
[Dovecot] file->buffer_offset + file->buffer->used == file->sync_offset
> but I'm still not sure why it would happen and I can't reproduce it.Hm.> You didn't happen to get a core dump?No, sorry. And I would not like to provoke the panic again.> I'd really like to know what "p *file" and "p *file.buffer" says in gdb.Sorry. Any details of our installation that might help? Maildirs on NFS, indexes local. mail_nfs_storage = yes Further digging the logs reveals that for both panics, I have earlier errors: Sep 7 10:06:12 xxx dovecot: IMAP(aaa): Broken file /import/mail/aaa/.yyyyyy/dovecot-uidlist line 6071: UIDs not ordered (6146 >= 6146) Sep 7 10:10:12 xxx dovecot: IMAP(aaa): Panic: file mail-transaction-log-append.c: line 88 (log_buffer_move_to_memory): assertion failed: (file->buffer_offset + file->buffer->used == file->sync_offset) Sep 7 10:08:19 xxx dovecot: IMAP(bbb): Corrupted transaction log file (in-memory index).log seq 4: Transaction log corrupted unexpectedly at 8200: Invalid size 0 (type=1) (sync_offset=10344) Sep 7 10:08:19 xxx dovecot: IMAP(bbb): fscking index file (in-memory index) Sep 7 10:15:33 xxx dovecot: IMAP(bbb): Panic: file mail-transaction-log-append.c: line 88 (log_buffer_move_to_memory): assertion failed: (file->buffer_offset + file->buffer->used == file->sync_offset ) Does this help? I can send uncensored logs if needed.
Reasonably Related Threads
- [PATCH 1/2] nv50: don't emit reloc markers after a referenced vtxbuf is mapped
- assert in mail-transaction-log-file.c
- Seeing "Corrupted transaction log file" error messages.
- patch for test31 compile problem
- [PATCH] nv50: remove vtxbuf stateobject after a referenced vtxbuf is mapped