Displaying 4 results from an estimated 4 matches for "91bbd6753689".
2015 May 16
4
charset_to_utf8 assertion of remaining src_size
...eliably
> trigger the assertion with 'doveadm index -u user INBOX' with only that
> email.
Can you send me some mail that triggers the crash? I'm having trouble reproducing.
> Maybe we should reset the iconv descriptor after each full conversion?
> i.e.:
>
> diff -r 91bbd6753689 src/lib-mail/message-decoder.c
> - --- a/src/lib-mail/message-decoder.c Thu May 14 23:49:12 2015 +0300
> +++ b/src/lib-mail/message-decoder.c Fri May 15 22:52:41 2015 -0700
> @@ -347,6 +347,8 @@
> sizeof(ctx->translation_buf));
>...
2015 May 15
2
charset_to_utf8 assertion of remaining src_size
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi,
I have seen the following assertion fails on my own mail server
(indexer-worker):
Panic: file charset-iconv.c: line 132 (charset_to_utf8): assertion
failed: (*src_size - pos <= CHARSET_MAX_PENDING_BUF_SIZE)
However, when charset_to_utf8_try returns FALSE (e.g. iconv() got
EINVAL or EILSEQ), the for loop in charset_to_utf8 may end earlier,
2015 May 16
0
charset_to_utf8 assertion of remaining src_size
...*src_size - pos <= CHARSET_MAX_PENDING_BUF_SIZE)
I've managed to narrow down the issue to one mail, and can reliably
trigger the assertion with 'doveadm index -u user INBOX' with only that
email.
Maybe we should reset the iconv descriptor after each full conversion?
i.e.:
diff -r 91bbd6753689 src/lib-mail/message-decoder.c
- --- a/src/lib-mail/message-decoder.c Thu May 14 23:49:12 2015 +0300
+++ b/src/lib-mail/message-decoder.c Fri May 15 22:52:41 2015 -0700
@@ -347,6 +347,8 @@
sizeof(ctx->translation_buf));
memcpy(ctx-&g...
2015 May 21
0
charset_to_utf8 assertion of remaining src_size
...39;doveadm index -u user INBOX' with only that
> > email.
>
> Can you send me some mail that triggers the crash? I'm having trouble
> reproducing.
>
> > Maybe we should reset the iconv descriptor after each full conversion?
> > i.e.:
> >
> > diff -r 91bbd6753689 src/lib-mail/message-decoder.c
> > - --- a/src/lib-mail/message-decoder.c Thu May 14 23:49:12 2015 +0300
> > +++ b/src/lib-mail/message-decoder.c Fri May 15 22:52:41 2015 -0700
> > @@ -347,6 +347,8 @@
> > sizeof(ctx->translation_buf))...