[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #49778] sntp_stop does not cancel all timers
From: |
Ari Suutari |
Subject: |
[lwip-devel] [bug #49778] sntp_stop does not cancel all timers |
Date: |
Tue, 6 Dec 2016 16:47:36 +0000 (UTC) |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:49.0) Gecko/20100101 Firefox/49.0 |
URL:
<http://savannah.nongnu.org/bugs/?49778>
Summary: sntp_stop does not cancel all timers
Project: lwIP - A Lightweight TCP/IP stack
Submitted by: arizuu
Submitted on: Tue 06 Dec 2016 04:47:35 PM GMT
Category: None
Severity: 3 - Normal
Item Group: Faulty Behaviour
Status: None
Privacy: Public
Assigned to: None
Open/Closed: Open
Discussion Lock: Any
Planned Release: None
lwIP version: 2.0.0
_______________________________________________________
Details:
Calling sntp_stop doesn't cancel sntp_try_next_server timeout.
This makes system leak timers, causing it to eventually fail with assert:
Assertion "sys_timeout: timeout != NULL, pool MEMP_SYS_TIMEOUT is empty"
failed at line 212 in lwip/src/core/timeouts.c
Patch attached.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Tue 06 Dec 2016 04:47:35 PM GMT Name: sntp.patch Size: 350B By:
arizuu
<http://savannah.nongnu.org/bugs/download.php?file_id=39161>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?49778>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
- [lwip-devel] [bug #49778] sntp_stop does not cancel all timers,
Ari Suutari <=