lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #56487] [v2.1.2] crash when TCP continuous write encou


From: Song Pu
Subject: [lwip-devel] [bug #56487] [v2.1.2] crash when TCP continuous write encounter wifi disconnect
Date: Thu, 13 Jun 2019 04:19:58 -0400 (EDT)
User-agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.170 Safari/537.36

URL:
  <https://savannah.nongnu.org/bugs/?56487>

                 Summary: [v2.1.2] crash when TCP continuous write  encounter
wifi disconnect
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: pusong666
            Submitted on: Thu 13 Jun 2019 08:19:56 AM UTC
                Category: sockets/netconn
                Severity: 3 - Normal
              Item Group: Crash Error
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
         Planned Release: None
            lwIP version: 2.1.1

    _______________________________________________________

Details:

reproduce ratio:
seldom

lwip option:
enable socket etc.
enable LWIP_TCPIP_CORE_LOCKING

reproduce step:
1. TCP Socket write large data continuously
2. disconnect wifi, then our code will handle "wifi_disconnect" event to
netif_set_addr(sta_if, IP4_ADDR_ANY, IP4_ADDR_ANY, IP4_ADDR_ANY)

result:
crash due to conn->pcb or conn->current_msg == NULL in
lwip_netconn_do_writemore






    _______________________________________________________

Reply to this item at:

  <https://savannah.nongnu.org/bugs/?56487>

_______________________________________________
  Message sent via Savannah
  https://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]