buglwIP - A Lightweight TCP/IP stack - Bugs: bug #55219, Closing a TCP server with...

 
 

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

bug #55219: Closing a TCP server with altcp_tcp_close triggers assert

Submitter:  Pelle Bergkvist <pellebk>
Submitted:  Thu 13 Dec 2018 08:50:24 AM UTC
   
 
Category:  TCP Severity:  3 - Normal
Item Group:  Crash Error Status:  Fixed
Privacy:  Public Assigned to:  goldsimon
Open/Closed:  Closed Planned Release:  None
lwIP version:  2.1.1

Fri 01 Oct 2021 06:02:23 PM UTC, comment #5: 

Ok, picked for 2.1.3.

Simon Goldschmidt <goldsimon>
Group administrator
Tue 28 Sep 2021 05:26:56 AM UTC, comment #4: 

IMHO, v2.1.3 should include this fix.

Axel Lin <axellin>
Group Member
Tue 04 Feb 2020 06:58:48 PM UTC, comment #3: 

Yes, but as you might have noticed, I'm short of time for lwIP lately, so I'd rather do the next release from master again (as 2.2.0) instead of doing a 2.1.3.

Even with 2.1.2 we could have done that, but mqtt and mdns were in too much change then.

Simon Goldschmidt <goldsimon>
Group administrator
Mon 03 Feb 2020 11:53:40 PM UTC, comment #2: 

This bug report is against v2.1.1, so need to fix STABLE-2_1_x branch as well.

Axel Lin <axellin>
Group Member
Mon 03 Feb 2020 09:13:53 PM UTC, comment #1: 

Fixed, thanks for reporting!

Simon Goldschmidt <goldsimon>
Group administrator
Thu 13 Dec 2018 08:50:24 AM UTC, original submission:  

altcp_tcp_close(struct altcp_pcb*) removes callbacks for the tcp pcb without verifying state of the pcb. When setting callbacks to NULL, TCP asserts that we are not in state LISTEN.

I'm using the latest released version (2.1.2)

Pelle Bergkvist <pellebk>

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by axellin (Posted a comment)
  • -email is unavailable- added by goldsimon (Posted a comment)
  • -email is unavailable- added by pellebk (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
    2020-02-03 goldsimon StatusNone Fixed
        Assigned toNone goldsimon
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code