lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] LWIP_ASSERT on pbuf_free function


From: Sergio R. Caprile
Subject: Re: [lwip-users] LWIP_ASSERT on pbuf_free function
Date: Mon, 26 Nov 2018 09:58:08 -0300
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Thunderbird/52.9.1

I'm not well versed in sockets here, but since you are using sockets,
there shouldn't be application-related pbuf free issues if threading
rules are respected.
Somewhere in your vendor provided code, someone did not play by the
rules. You have an OS, you have a port, you have a driver, you have many
places to search.
You should check for modified code, and threading misuse, that is, all
code for one socket goes in one thread, all low-level code goes in one
thread.
I would probably start by tracing the free operation to its caller and
wondering why is it trying to free it or why it has been freed before,
and by whom. Most of the times, when it is not a threading issue, it is
a driver issue.




reply via email to

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