v2.3.1: Event leaked (parent=(nil)): http-client.c:137 and 439

Milan Knížek knizek.confy at gmail.com
Thu May 3 10:38:55 EEST 2018


On 01/05/2018 20:58, Aki Tuomi wrote:

>> On 01 May 2018 at 21:21 Milan Knížek <knizek.confy at gmail.com> wrote:
>> 
>> Hi,
>> 
>> After upgrade to dovecot 2.3.1, many IMAP clients cause errors in
>> dovecot log:
>> 
>> May 01 20:15:51 tiger dovecot[21985]: imap: Warning: Event
>> 0x555fd3c01630 leaked (parent=(nil)): http-client.c:137
>> May 01 20:15:51 tiger dovecot[21985]: imap: Warning: Event
>> 0x555fd3c00140 leaked (parent=(nil)): http-client.c:439
>> 
>> Namely:
>> * roundcube 1.3.3
>> * offlineimap
>> * nextcloud mail app
>> 
>> Despite the errors, the basic functionality seems to work - mails are
>> received by the client. However, the GUI clients display an "internal
>> server error" message window on each refresh.
>> 
>> Some other clients do not create any issues:
>> * MailDroid (Android)
>> * getmail
>> 
>> Anybody got a similar behaviour?
>> 
>> --
>> Milan Knížek | knizek.confy at gmail.com
> 
> This is most likely fixed with 
> https://github.com/dovecot/core/commit/dc26c62d7bdd6d361ba38ecf8f64a04b7c9e008e.patch 
> in v2.3.1
> 
> Aki

I tried to apply the patch to v2.3.1 and compilation failed

```
mail-storage.c:429:23: error: 'struct mail_storage' has no member named 
'event'
    event_unref(&storage->event);
```

It probably requires some of the preceeding commits to be applied too. 
Or compile current master. I will try later (next week), too busy now.

Thanks for pointing to it, anyway.

Milan


More information about the dovecot mailing list