[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #56431] LWIP_ASSERT in sys_timeout because SNTP use so
From: |
David GIRAULT |
Subject: |
[lwip-devel] [bug #56431] LWIP_ASSERT in sys_timeout because SNTP use so much timeouts |
Date: |
Wed, 5 Jun 2019 06:03:32 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 Safari/537.36 |
Follow-up Comment #2, bug #56431 (project lwip):
Hi simon,
I have already include a translation for two of the cb in my previous comment.
cb=0x0809fc89 -> sntp_request
cb=0x0809fb4d -> sntp_retry
the other cb are mostly for cyclic timers.
cb=0x08093205 -> lwip_cyclic_timer
cb=0x0809f219 -> mqtt_cyclic_timer
cb=0x080932b1 -> tcpip_tcp_timer
All non-null args seems to be entries in lwip_cyclic_timers table.
After analysis, sntp.c, I found that sys_untimeout() wasn't called at some
place. Not sure what is the initial cause.
See attached patch. It isn't included yet in our customer's version, so I
don't have result yet.
Regards,
David
(file #47037)
_______________________________________________________
Additional Item Attachment:
File name: 0001-sntp-remove-existing-timeout-before-creating-new.patch Size:2
KB
<https://savannah.nongnu.org/file/0001-sntp-remove-existing-timeout-before-creating-new.patch?file_id=47037>
_______________________________________________________
Reply to this item at:
<https://savannah.nongnu.org/bugs/?56431>
_______________________________________________
Message posté via Savannah
https://savannah.nongnu.org/