Displaying 3 results from an estimated 3 matches for "f7354d83d".
2017 Jul 05
2
gzip compressed mbox: Panic: file istream-zlib.c: line 421 (i_stream_zlib_seek): assertion failed: (ret == -1)
...mp;stream->istream)) > 0);
+ } while (i_stream_read(&stream->istream) > 0);
i_assert(ret == -1);
if (stream->istream.v_offset != v_offset) {
But if ret is not assigned, then assert below is useless.
May be better fix will be:
index f7354d83d..06389362a 100644
--- a/src/lib-compression/istream-zlib.c
+++ b/src/lib-compression/istream-zlib.c
@@ -404,7 +404,7 @@ i_stream_zlib_seek(struct istream_private *stream,
uoff_t v_offset, bool mark)
stream->pos = stream->skip;
} else {
/* read and cache...
2017 Jul 05
0
gzip compressed mbox: Panic: file istream-zlib.c: line 421 (i_stream_zlib_seek): assertion failed: (ret == -1)
...} while (i_stream_read(&stream->istream) > 0);
> i_assert(ret == -1);
>
> if (stream->istream.v_offset != v_offset) {
>
> But if ret is not assigned, then assert below is useless.
>
> May be better fix will be:
> index f7354d83d..06389362a 100644
> --- a/src/lib-compression/istream-zlib.c
> +++ b/src/lib-compression/istream-zlib.c
> @@ -404,7 +404,7 @@ i_stream_zlib_seek(struct istream_private *stream,
> uoff_t v_offset, bool mark)
> stream->pos = stream->skip;
> } else {
>...
2017 Jul 05
2
gzip compressed mbox: Panic: file istream-zlib.c: line 421 (i_stream_zlib_seek): assertion failed: (ret == -1)
Hello,
I use mbox compressed by gzip as read-only folder (using zlib plugin).
I have errors in logs:
Panic: file istream-zlib.c: line 416 (i_stream_zlib_seek): assertion
failed: (ret == -1)
and can't read messages in MUA.
IMAP commands to reproduce a bug:
1 SELECT "compressed.gz"
2 UID fetch 2 BODY.PEEK[]
# sleep 5
3 UID fetch 2 BODY.PEEK[]
# repeat sleep/fetch until assert (a