Displaying 9 results from an estimated 9 matches for "blocks_count_lin".
Did you mean:
blocks_count_lines
2020 Nov 10
1
imap dumping core in libdovecot-storage with assert "(block_count == 0 || block_idx+1 == block_count)"
...is should fix it:
>
> diff --git a/src/lib-storage/index/index-mail-binary.c b/src/lib-storage/index/index-mail-binary.c
> index 2577f1afe5..f7bf984916 100644
> --- a/src/lib-storage/index/index-mail-binary.c
> +++ b/src/lib-storage/index/index-mail-binary.c
> @@ -339,7 +339,7 @@ blocks_count_lines(struct binary_ctx *ctx, struct istream *full_input)
> i_stream_skip(full_input, skip);
> cur_block_offset += skip;
>
> - if (cur_block->input->eof) {
> + if (i_stream_read_eof(cur_block->input)) {
>...
2020 Nov 04
2
imap dumping core in libdovecot-storage with assert "(block_count == 0 || block_idx+1 == block_count)"
...cktrace:
-------- 8< ---------------- 8< ---------------- 8< ---------------- 8< --------
(gdb) bt
[...]
#5 0x00007ffff7707a25 in i_panic (
format=format at entry=0x7ffff7b7b460 "file %s: line %d (%s): assertion failed: (%s)") at failures.c:523
#6 0x00007ffff7ab5de7 in blocks_count_lines (full_input=0x5555557f1230, ctx=0x7fffffffdb80)
at index-mail-binary.c:357
#7 index_mail_read_binary_to_cache (_mail=0x5555557e3b48, part=0x5555557e4678, include_hdr=<optimized out>,
reason=<optimized out>, binary_r=0x7fffffffdc16, converted_r=0x7fffffffdc17) at index-mail-...
2015 Jul 28
4
Dovecot 2.2.18 Panic: file index-mail-binary.c
Hi,
I got the following in my dovecot log's on an particular email message
with dovecot-imap.
---snip---
Jul 28 08:42:11 hermes dovecot: imap(mborgelt): Panic: file
index-mail-binary.c: line 354 (blocks_count_lines): assertion failed:
(ret == -1)
Jul 28 08:42:11 hermes dovecot: imap(mborgelt): Error: Raw backtrace:
/usr/lib/dovecot/libdovecot.so.0(+0x740f2) [0xb75780f2] ->
/usr/lib/dovecot/libdovecot.so.0(+0x74212) [0xb7578212] ->
/usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0xb7520484] ->...
2015 Sep 07
0
Dovecot 2.2.18 Panic: file index-mail-binary.c
...5, at 10:12, Michael Borgelt <mborgelt at borgelt.org> wrote:
>
> Hi,
> I got the following in my dovecot log's on an particular email message with dovecot-imap.
>
> ---snip---
> Jul 28 08:42:11 hermes dovecot: imap(mborgelt): Panic: file index-mail-binary.c: line 354 (blocks_count_lines): assertion failed: (ret == -1)
Not sure why this wasn't more commonly happening, but here's the fix: http://hg.dovecot.org/dovecot-2.2/rev/865405fce42e
2017 Oct 23
0
Panic: file index-mail-binary.c
...Dovecot Backends with 2.2.32.
i have found a email that my web server send with only one character "=" in
the body of the email and it generate a log error in Dovecot log like this:
Oct 23 13:16:50 dovecot_2.2.32 dovecot: imap(user at domain): Panic: file
index-mail-binary.c: line 358 (blocks_count_lines): assertion failed:
(block_count == 0 || block_idx+1 == block_count)
Oct 23 13:16:50 dovecot_2.2.32 dovecot: imap(user at domain): Error: Raw
backtrace: /usr/local/lib/dovecot/libdovecot.so.0(+0x9a340)
[0x7fc22c186340] -> /usr/local/lib/dovecot/libdovecot.so.0(+0x9a41e)
[0x7fc22c18641e] ->...
2017 Dec 14
0
dovecot crashing
i have a system with panics/crashes and seem to be able to trigger the
problem.
dovecot version: 2.2.33.2 (from ius rpm-package-repository)
maillog:
Dec 14 10:55:00 vimap01 dovecot: imap(XXX): Panic: file index-mail-binary.c: line 358 (blocks_count_lines): assertion failed: (block_count == 0 || block_idx+1 == block_count)
Dec 14 10:55:00 vimap01 dovecot: imap(XXX): Error: Raw backtrace: /usr/lib64/dovecot/libdovecot.so.0(+0x9f3de) [0x7fa6768ef3de] -> /usr/lib64/dovecot/libdovecot.so.0(+0x9f4be) [0x7fa6768ef4be] -> /usr/lib64/dovecot/libdove...
2020 Nov 10
0
imap dumping core in libdovecot-storage with assert "(block_count == 0 || block_idx+1 == block_count)"
...llowing backtrace:
Thanks, this should fix it:
diff --git a/src/lib-storage/index/index-mail-binary.c b/src/lib-storage/index/index-mail-binary.c
index 2577f1afe5..f7bf984916 100644
--- a/src/lib-storage/index/index-mail-binary.c
+++ b/src/lib-storage/index/index-mail-binary.c
@@ -339,7 +339,7 @@ blocks_count_lines(struct binary_ctx *ctx, struct istream *full_input)
i_stream_skip(full_input, skip);
cur_block_offset += skip;
- if (cur_block->input->eof) {
+ if (i_stream_read_eof(cur_block->input)) {
/* go to the nex...
2013 Mar 16
3
crash with dovecot 2.2: Panic: Buffer full
...ream=stream at entry=0x66df90, data_r=data_r at entry=0x7fff684223b0,
size_r=size_r at entry=0x7fff684223b8, threshold=threshold at entry=0) at
istream.c:464
ret = <optimized out>
read_more = false
__FUNCTION__ = "i_stream_read_data"
#17 0x00007f9d1bfd4f84 in blocks_count_lines (full_input=0x66df90,
ctx=0x7fff684223c0) at index-mail-binary.c:319
block_idx = 0
p = <optimized out>
size = 0
data = 0x0
ret = <optimized out>
cur_block = 0x62d410
block_count = 1
cur_offset = 3944
skip = <op...
2015 Jul 28
0
Dovecot 2.2.18 Panic: file index-mail-binary.c
...gards, Michael.
Am 28.07.2015 um 09:12 schrieb Michael Borgelt:
> Hi,
> I got the following in my dovecot log's on an particular email message
> with dovecot-imap.
>
> ---snip---
> Jul 28 08:42:11 hermes dovecot: imap(mborgelt): Panic: file
> index-mail-binary.c: line 354 (blocks_count_lines): assertion failed:
> (ret == -1)
> Jul 28 08:42:11 hermes dovecot: imap(mborgelt): Error: Raw backtrace:
> /usr/lib/dovecot/libdovecot.so.0(+0x740f2) [0xb75780f2] ->
> /usr/lib/dovecot/libdovecot.so.0(+0x74212) [0xb7578212] ->
> /usr/lib/dovecot/libdovecot.so.0(i_fatal+0) [0...