[Ovmsdev] MDNS crash

Mark Webb-Johnson mark at webb-johnson.net
Mon Mar 19 09:51:22 HKT 2018

It seems that mdns_free is being called, while mdns_free is running…

It is trivial to fix it in the timer deletion code, but that just delays the problem until a bit later (the hostname free).

I am looking at this now.

Regards, Mark.

> On 19 Mar 2018, at 9:40 AM, Stephen Casner <casner at acm.org> wrote:
> On Sun, 18 Mar 2018, Michael Balzer wrote:
>> From a first look at the mdns code in your backtrace, I would guess
>> that's a double free() for the timer, it seems the timer_handle
>> never gets NULLed.
> That may be a bug (deficiency) in the esp-idf mDNS code.
> Perhaps I hit it because OvmsMDNS::StopMDNS was called without
> everything coming up correctly first?
>                                                        -- Steve
> _______________________________________________
> OvmsDev mailing list
> OvmsDev at lists.teslaclub.hk
> http://lists.teslaclub.hk/mailman/listinfo/ovmsdev

More information about the OvmsDev mailing list