Displaying 19 results from an estimated 19 matches for "istream_raw_mbox_get_body_size".
2005 Oct 02
2
file istream-raw-mbox.c: line 450 (istream_raw_mbox_get_body_size): assertion failed: (rstream->mail_size != (uoff_t)-1)
...er from 0.99.14 to 1.0alpha3.
Unfortunately the new version does not work. The log file says:
Oct 2 20:40:02 knut dovecot: imap-login: Login: user=<arved>,
method=PLAIN, rip=213.225.30.218, lip=213.9.70.XXX, TLS
Oct 2 20:40:02 knut dovecot: imap(arved): file istream-raw-mbox.c:
line 450 (istream_raw_mbox_get_body_size): assertion failed:
(rstream->mail_size != (uoff_t)-1)
Oct 2 20:40:02 knut dovecot: child 98766 (imap) killed with signal 6
The Server is running on FreeBSD 5.4-STABLE, Client is Apple Mail
1.3.11 connecting via imaps.
any ideas, whats wrong?
regards
tilman
2005 Aug 13
2
IMAP can't read inbox: istream_raw_mbox_get_body_size assertion failed
...oxe
ii dovecot-pop3d 0.99.20050712-2 secure POP3 server that supports mbox and maildir mailboxe
Here's what's in mail.log:
Aug 13 15:09:10 sandbox dovecot: imap-login: Login: stan [70.48.39.107]
Aug 13 15:09:10 sandbox dovecot: IMAP(stan): file istream-raw-mbox.c: line 383 (istream_raw_mbox_get_body_size): assertion failed: (rstream->body_offset != (uoff_t)-1)
Aug 13 15:09:10 sandbox dovecot: child 6748 (imap) killed with signal 6
I got a core dump. Here it is:
# gdb /usr/lib/dovecot/imap core
(gdb) bt full
#0 0x4004d83b in raise () from /lib/tls/libc.so.6
#1 0x4004efa2 in abort () from /lib...
2010 Mar 09
1
Panic: file istream-raw-mbox.c: line 583 (istream_raw_mbox_get_body_size): assertion failed: (rstream->body_offset != (uoff_t)-1)
Hi
We run dovecot 1.2.10 on Solaris 10 and had a few days ago this error
message in the logs:
Mar 6 21:48:55 dovecot: [ID 583609 mail.crit] IMAP(username): Panic: file
istream-raw-mbox.c: line 583 (istream_raw_mbox_get_body_size): assertion
failed: (rstream->body_offset != (uoff_t)-1)
Mar 6 21:48:55 dovecot: [ID 583609 mail.error] IMAP(username): Raw
backtrace: 0xb1064 -> 0xb0aa0 -> 0x552a8 -> 0x554fc -> 0x55768 -> 0x55d90
-> 0x57590 -> 0x57ac4 -> 0x715e0 -> 0x642c4 -> 0x57bd4 -> 0x7138...
2008 Oct 27
1
Embedded "From<space>" Lines
...e of
the body of the message. When this happens, the body_offset will
point to the blank line between the headers and the body and not the
actual first line of the body. This will cause the stream to be
mispositioned at the time of the "From<space>" verification check in
istream_raw_mbox_get_body_size and the (actually correct)
expected_body_size will be rejected.
I have enclosed a simple diff that will work around this by adjusting
the body_offset to point to the next line at the time of call to
istream_raw_mbox_is_valid_from in istream_raw_mbox_get_body_size.
This appears to handle t...
2005 Mar 21
2
stable assert error
Hello,
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)
dovecot: Mar 21 12:52:48 Error: child 10265 (imap) killed with signal 6
This after moving from 0.99 to 1.0 stable on 5.3-RELEASE-p5
Client is Apple Mail program
Anything I can do to fix or investigate?
Thanks
Paul
2005 Apr 12
2
assertion failed in 1.0-stable
Hello everybody,
I get the following assertion error with dovecot 1.0-stable when
accessing a large folder:
file istream-raw-mbox.c: line 383 (istream_raw_mbox_get_body_size):
assertion failed: (rstream->body_offset != (uoff_t)-1)
There is no error when using dovecot 0.99.14.
Any ideas ?
Martin
-----------------------------------------------------------------
Martin Preen, Universitaet Freiburg, Institut fuer Informatik
Georges-Koehler-Allee, Geb.52, Zi.00-006,...
2011 Aug 26
1
occasional dovecot crash, core captured but no symbol table info?
...y mail application (Apple Mail) tried to synchronize many large mailboxes.
The log entries look like this:
Aug 26 10:26:15 computer dovecot: dovecot: child 23223 (imap) killed with signal 6 (core dumped)
Aug 26 10:26:30 computer dovecot: IMAP(granitemon): Panic: file istream-raw-mbox.c: line 583 (istream_raw_mbox_get_body_size): assertion failed: (rstream->body_offset != (uoff_t)-1)
Aug 26 10:26:30 computer dovecot: IMAP(granitemon): Raw backtrace: imap() [0x80f0e1e] -> imap() [0x80f0e82] -> imap() [0x80f0809] -> imap(istream_raw_mbox_get_body_size+0x407) [0x8092f47] -> imap(istream_raw_mbox_next+0x25) [0x...
2009 Nov 12
1
Bug report
...s.c:160
#3 0x00000000004d9f7e in i_internal_fatal_handler (type=Could not find the frame base for "i_internal_fatal_handler".
) at failures.c:440
#4 0x00000000004d944a in i_panic (format=Could not find the frame base for "i_panic".
) at failures.c:207
#5 0x000000000045aea8 in istream_raw_mbox_get_body_size (stream=0x40d76070, expected_body_size=18446744073709551615) at istream-raw-mbox.c:578
#6 0x00000000004622f3 in mbox_sync_read_next_mail (sync_ctx=0x7fffffffe290, mail_ctx=0x7fffffffe0b0) at mbox-sync.c:151
#7 0x00000000004649f6 in mbox_sync_loop (sync_ctx=0x7fffffffe290, mail_ctx=0x7fffffffe0b0,...
2005 Jun 08
1
assertion failed -0.99 -> 1.0-stable
...cxxx/.imap/INBOX) failed: Permission denied
--> I can't understand why since /opt/dovecot/c is rwxrwxrwt and belongs
to root:wheel
3. dovecot: IMAP(xxxx): UIDs broken with partial sync in mbox file /yyyy/zzzz/xxxx/Mail/Drafts
4. dovecot: IMAP(xxxx): file istream-raw-mbox.c: line 383 (istream_raw_mbox_get_body_size): assertion failed:
+(rstream->body_offset != (uoff_t)-1)
--> That one occured each time a user connected with Eudora (on OS-X)
moved messages from INBOX to some of her IMAP mailboxes.
Since it was in real life, I hadn't time to get a gdb backtrace.
Notes :
. that user had resta...
2005 Jul 20
1
CR LF in stable
Hello,
It seems that mbox format mailboxes holding \r\n (CR + LF) character
sequences (instead of \n only) still cause assertion failures when
moving messages from one folder to another.
--
dovecot: Jul 19 17:14:52 Error: IMAP(dovetest): file istream-raw-mbox.c: line 38
3 (istream_raw_mbox_get_body_size): assertion failed: (rstream->body_offset != (
uoff_t)-1)
--
I seems to work in -test78 though.
Is there any plan to handle this in -stable branch ?
--
Thomas Hummel | Institut Pasteur
<hummel at pasteur.fr> | P?le informatique - syst?mes et r?seau
2006 Nov 16
1
two assertion failures
...I was able to overcome the earlier-reported problems (of dovecot treating
the standard mailboxes in /var/mail/ as directories) by specifying
mail_location (continuing to use the 0.99-era dovecot.conf did not work).
Then I started seeing assertion-failures like:
file istream-raw-mbox.c: line 499 (istream_raw_mbox_get_body_size): assertion failed: (rstream->mail_size != (uoff_t)-1)
these disappeared, when I disabled mmap-access (mmap is limited to 1Gb on
FreeBSD/i386), although dovecot-0.99 worked... I can now get to my mail again,
but every once in a while the following assertion kills the connection:
file mail-tran...
2007 Jan 08
1
unable to read mail - file istream-raw-mbox.c: line 499...
...else) am suddely unable to read mail.
Dovecot dumps the following in it's log:
# BEGIN LOG ENTRIES #
dovecot: Jan 07 18:15:52 Info: imap-login: Login: user=<username>,
method=PLAIN, rip=::1, lip=::1, TLS
dovecot: Jan 07 18:15:52 Error: IMAP(username): file
istream-raw-mbox.c: line 499 (istream_raw_mbox_get_body_size):
assertion failed: (rstream->mail_size != (uoff_t)-1)
dovecot: Jan 07 18:15:52 Error: child 1584 (imap) killed with signal 6
# END LOG ENTRIES #
NOTE: 'username' represents the users name at that time.
The users subscribed to folders all show up. But no mail is visable.
Dovecot is le...
2004 Sep 21
3
Dovecot 1.0-test45 indexing issues
...till ocasionally get corrupt mailboxes
and indexes that need to be wiped out.
I setup 1.0-test45 on one of our mailservers to start testing it and ran
into a few issues. The first one is if I try to use mail_read_mmaped=yes
I get this error:
Error: POP3(sobo1): file istream-raw-mbox.c: line 410 (istream_raw_mbox_get_body_size):
assertion failed: (rstream->mail_size != (uoff_t)-1)
for every mailbox.
If I switch to mail_read_mmaped=no everything works, but performance is
extremely bad. I have a few test mailboxes with about 20k messages and if
I toggle a message flag from unread to read, dovecot seems to re-read the...
2006 Dec 04
3
assertion failed
Hi,
Would anyone know what these errors mean?
Running DoveCot RC15 on RedHat ES 4
Dec 1 17:30:53 serv-01 dovecot: pop3-login: file client.c: line 423
(client_unref): assertion failed: (client->destroyed)
Dec 1 17:31:21 serv-01 dovecot: pop3-login: file client.c: line 423
(client_unref): assertion failed: (client->destroyed)
Dec 1 17:31:25 serv-01 dovecot: pop3-login: file client.c:
2009 Oct 03
1
Another 1.2.5 imap panic
...> Oct 03 13:30:50 IMAP 6067 xxxxxxxx 134.225.1.46 : Info: delete: uid=472, msgid=<xxxxxxxx>
> Oct 03 13:33:27 IMAP 6067 xxxxxxxx 134.225.1.46 : Info: delete: uid=475, msgid=<xxxxxxxx>
> Oct 03 13:34:20 IMAP 6067 xxxxxxxx 134.225.1.46 : Panic: file istream-raw-mbox.c: line 578 (istream_raw_mbox_get_body_size): assertion failed: (rstream->body_offset != (uoff_t)-1)
Backtrace:
> Core was generated by `imap [xxxxxxxx 134.225.1.46]'.
> Program terminated with signal 6, Abort.
> #0 0xff21fe78 in ?? ()
> (gdb) bt
> #0 0xff21fe78 in ?? ()
> #1 0xbe258 in ?? ()
> #2 0xbeb14 in...
2005 Feb 25
4
corruption and errors in dovecot-stable
...ovecot: Feb 22 11:44:17 Error: IMAP(njr): file mbox-sync-parse.c: line
221 (parse_x_uid): assertion failed: (!ctx->sync_ctx->sync_restart)
dovecot: Feb 22 11:44:17 Error: child 19931 (imap) killed with signal 6
dovecot: Feb 25 06:26:09 Error: IMAP(kbode): file istream-raw-mbox.c:
line 383 (istream_raw_mbox_get_body_size): assertion failed:
(rstream->body_offset != (uoff_t)-1)
dovecot: Feb 25 06:26:09 Error: child 83423 (imap) killed with signal 6
(I think this refers to the mailbox that was corrupted)
dovecot: Feb 25 12:30:40 Error: IMAP(sachs): Transaction log file
/home/sachs/Mail/.imap/INBOX/dovecot.inde...
2017 Feb 03
0
Crash while reading compressed mbox: Panic: file istream-zlib.c: line 416 (i_stream_zlib_seek): assertion failed: (ret == -1)
..._stream_zlib_seek (stream=0x118dd300,
v_offset=56248, mark=false) at istream-zlib.c:416
#7 0x0000000010f05e48 in i_stream_skip (stream=0x118dd370, count=32489)
at istream.c:278
#8 0x0000000010f057ba in i_stream_seek (stream=0x118dd370,
v_offset=56248) at istream.c:300
#9 0x0000000010b17702 in istream_raw_mbox_get_body_size
(stream=0x118ec870, expected_body_size=36695,
body_size_r=0x7fffffffe2a0) at istream-raw-mbox.c:612
#10 0x0000000010b2b0aa in mbox_sync_read_next_mail
(sync_ctx=0x7fffffffe418, mail_ctx=0x7fffffffe270) at mbox-sync.c:162
#11 0x0000000010b2964a in mbox_sync_loop (sync_ctx=0x7fffffffe418,
mail_ct...
2007 Dec 17
3
FETCH for mailbox INBOX UID 39641 got too little data: 4823 vs 4825
Whenever I try to access an e-mail in the middle (rather than at the end) of
the mailbox, my mail-client (KMail) gets an error a message like this is
logged in the maillog:
IMAP(mi): FETCH for mailbox INBOX UID 39641 got too little data: 4823 vs 4825
IMAP(mi): Disconnected: Disconnected
The actual numbers vary, but it is always X vs X+2
The problem started when I upgraded to 1.0.8.
2009 Mar 03
4
failed assertion in 1.1.8: istream.c: line 81
...mat=0x80ca9a0 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:197
#6 0x080bb8a1 in i_stream_read (stream=0x8102e28) at istream.c:93
#7 0x080bbd3d in i_stream_read_data (stream=0x8102e28, data_r=0xbfbfe350, size_r=0xbfbfe354, threshold=0) at istream.c:322
#8 0x0806d85b in istream_raw_mbox_get_body_size (stream=0x8102e28, expected_body_size=11013) at istream-raw-mbox.c:562
#9 0x080736dd in mbox_sync_do (sync_ctx=0xbfbfe640, flags=0) at mbox-sync.c:151
#10 0x08075700 in mbox_sync (mbox=0x8103028, flags=0) at mbox-sync.c:1833
#11 0x08070001 in mbox_save_init (_t=0x80f2980, flags=0, keywords=0x0, re...