lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #55477] possible memory leak with sockets


From: Michael Zimmers
Subject: [lwip-devel] [bug #55477] possible memory leak with sockets
Date: Mon, 14 Jan 2019 18:26:13 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0

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

                 Summary: possible memory leak with sockets
                 Project: lwIP - A Lightweight TCP/IP stack
            Submitted by: mzimmers
            Submitted on: Mon 14 Jan 2019 03:26:11 PM PST
                Category: sockets/netconn
                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: Other

    _______________________________________________________

Details:

Hi all -

I'm using lwIP from FreeRTOS within the ES32 IDF. Inside a file called VERSION
is "bf7fc41e" and the latest entry in CHANGELOG is   2016-02-22: Ivan
Delamer:
  * Initial 6LoWPAN support

I hope that adequately pinpoints the version I'm using.

Anyway, I've written a app that uses sockets for UDP multicast communications.
Eventually I noticed I was suffering a memory leak. I've reduced the app to a
loop that:

1. starts Wifi
2. opens a socket
3. closes the socket
4. stops Wifi

Each iteration of this loop consumes about 800 bytes of heap.

I have no idea where to go from here. I do have a sample program (one include
file; two source files) that demonstrates the problem, but it's ESP32
dependent. Is it appropriate to log this as a bug here before I'm sure the
problem resides with lwIP?

Thanks for any guidance.




    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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