buglwIP - A Lightweight TCP/IP stack - Bugs: bug #49778, sntp_stop does not cancel all...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #49778: sntp_stop does not cancel all timers

Submitter:  Ari Suutari <arizuu>
Submitted:  Tue 06 Dec 2016 04:47:35 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  Faulty Behaviour Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Planned Release:  None
lwIP version:  2.0.0

Tue 06 Dec 2016 07:29:59 PM UTC, comment #1: 

Thank you for the fix!

Dirk Ziegelmeier <dziegel>
Group administrator
Tue 06 Dec 2016 04:47:35 PM UTC, original submission:  

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.


Ari Suutari <arizuu>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #39161:  sntp.patch added by arizuu (350B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dziegel (Posted a comment)
  • -email is unavailable- added by arizuu (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-12-06 dziegel StatusNone Fixed
        Open/ClosedOpen Closed
    2016-12-06 arizuu Attached File- Added sntp.patch, #39161

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code