Re: [exim] stuck exim processes

Top Page
Delete this message
Reply to this message
Author: Jeremy Harris
Date:  
To: exim-users
Subject: Re: [exim] stuck exim processes
On 22/03/2022 13:02, Patrik Peng via Exim-users wrote:
> LOG: MAIN PANIC DIE
>   bad memory allocation requested (-83643 bytes) at string_localpart_utf8_to_alabel 146
> LOG: MAIN PANIC
>   Delivery status for ������@somehost.net: got 0 of 7 bytes (pipeheader) from transport process 108 for transport smtp
>
> Compared to:
>
> LOG: MAIN PANIC
>   SIGSEGV (maybe attempt to write to immutable memory)
> LOG: MAIN PANIC
>   Delivery status for ������@somehost.net: got 0 of 7 bytes (pipeheader) from transport process 92288 for transport smtp
>
> I guess that's no big help.


On the contrary, it says that we're asking to alloc a silly memory chunk size
- and from looking at the code that means that stringprep_utf8_to_ucs4()
has written a totally bogus value back for it's 3rd arg.

uint32_t * stringprep_utf8_to_ucs4(const char * str, ssize_t len, size_t * items_written);


Try pulling in commit d2f99aad04, which was made
following similar issues (since 4.95).
--
Cheers,
Jeremy