[Dovecot] stable assert error

Paul Jongsma paulj at webtic.nl
Mon Mar 21 17:32:23 EET 2005


On 21-mrt-05, at 14:05, Timo Sirainen wrote:

> On 21.3.2005, at 14:07, Paul Jongsma wrote:
>
>> When moving a message from my inbox to an existing mailbox folder I 
>> get:
>>
>> dovecot: Mar 21 12:52:48 Error: IMAP(paulj): file istream-raw-mbox.c: 
>> line 383 (istream_raw_mbox_get_body_size): assertion failed: 
>> (rstream->body_offset != (uoff_t)-1)
>
> Does it matter which folder you're moving to? Are the other folders 
> working otherwise, only breaking when moving messages?
>
> Could you get gdb backtrace of the crash? 
> http://dovecot.org/bugreport.html
>

Only some folders are affected, most work fine.

A backtrace of the error:

gdb /usr/local/libexec/dovecot/imap  imap.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and 
you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for 
details.
This GDB was configured as "i386-marcel-freebsd"...
Core was generated by `imap'.
Program terminated with signal 6, Aborted.
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /lib/libc.so.5...done.
Loaded symbols for /lib/libc.so.5
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x182091d7 in kill () from /lib/libc.so.5
(gdb) bt
#0  0x182091d7 in kill () from /lib/libc.so.5
#1  0x181fe27e in raise () from /lib/libc.so.5
#2  0x18270627 in abort () from /lib/libc.so.5
#3  0x0808ec5b in i_internal_panic_handler (fmt=0x712b <Address 0x712b 
out of bounds>, args=0xbfbfe6a4 "??\t\b\177\001") at failures.c:374
#4  0x0808e813 in i_panic (format=0x8099a48 "file %s: line %d (%s): 
assertion failed: (%s)") at failures.c:173
#5  0x0806cbdf in istream_raw_mbox_get_body_size (stream=0x80b4920, 
body_size=1873) at istream-raw-mbox.c:403
#6  0x0806a3f3 in mbox_sync_loop (sync_ctx=0xbfbfe9f0, 
mail_ctx=0xbfbfe960, min_message_count=4294967295, partial=1) at 
mbox-sync.c:122
#7  0x0806b913 in mbox_sync (ibox=0x80d0200, 
flags=MBOX_SYNC_LAST_COMMIT) at mbox-sync.c:1201
#8  0x08065a12 in mbox_transaction_commit (_t=0x80d0600, flags=0) at 
mbox-transaction.c:55
#9  0x08054833 in cmd_copy (client=0x80b6080) at cmd-copy.c:97
#10 0x08057b07 in _client_input (context=0x80b6080) at client.c:324
#11 0x08092e14 in io_loop_handler_run (ioloop=0x80b1040) at 
ioloop-poll.c:184
#12 0x08092851 in io_loop_run (ioloop=0x80b1040) at ioloop.c:218
#13 0x0805e164 in main (argc=1, argv=0xbfbfec24, envp=0xbfbfec2c) at 
main.c:224

Best regards,
Paul



More information about the dovecot mailing list