On 19 Sep 2018, at 11.42, Timo Sirainen <tss@iki.fi> wrote:

On 19 Sep 2018, at 11.30, Timo Sirainen <tss@iki.fi> wrote:


On 19 Sep 2018, at 11.11, Simone Lazzaris <s.lazzaris@interactive.eu> wrote:

In data mercoledì 19 settembre 2018 09:30:47 CEST, Timo Sirainen ha scritto:
> On 18 Sep 2018, at 15.15, Simone Lazzaris <s.lazzaris@interactive.eu> wrote:
> > I've got a core dump, and here is the backtrace. Let me know if you want
> > the core file.
> It would be useful if we're able to use it. Could you use
> <https://dovecot.org/tools/core-tar.sh> to send the core and the related
> binaries (e.g. just email to me)? The usage is explained at the beginning
> of the script. At least in theory we could then debug with the core file,
> although I've had some trouble even then.
>
> But just in case the core doesn't work, could you also do:
>
> bt full
> fr 8
> p *((struct doveadm_connection *)io->context)
> p *((struct doveadm_connection *)io->context)->input

 

I'm sending you the tarball created with core-tar; and just in case:

Thanks, the core worked fine. Does the attached patch (on top of the previous one) help?

<director.diff>

Or here's a slightly different patch, although it should be basically the same fix. This includes the previous patch as well.

<director2.diff>

No, forget about that patch. Looks like I forgot I had already fixed this crash, and I guess I was testing with master mainly, which is why I wasn't able to reproduce the crash now: https://github.com/dovecot/core/commit/c0583917fe760b2d901acf83387cc8edb6f99550