indexer crash

Aki Tuomi aki.tuomi at open-xchange.com
Mon Aug 30 08:39:01 EEST 2021


> On 29/08/2021 00:42 Onno Molenkamp <onno at flox.org> wrote:
> 
>  
> Hi,
> 
> Because I was getting segfaults in libc in calloc calls by the indexer 
> process of Dovecot 2.3.16, I ran indexer with valgrind to look for 
> possible memory corruption. It did indeed find that indexer was 
> accessing memory that had already been freed, I've attached the log file.
> 
> I've then tried running Dovecot with the fix in commit 
> 97367ef61784a364ccf615cb816be6492329050d, but that didn't make any 
> difference. Reverting (just the code in src/indexer) to the last 
> revision before the recent rewrite to use connection.c 
> (d76761698a06bab60a741c6794252fddec4292ef) did: valgrind doesn't log any 
> errors anymore, and indexer has stopped crashing.
> 
> Onno

Hi!

Thank you for reporting this crash. We'll look into it. Can you please send output of doveconf -n?

Aki


More information about the dovecot mailing list