lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] LWIP crash


From: Simon Goldschmidt
Subject: Re: [lwip-users] LWIP crash
Date: Tue, 11 Sep 2012 10:43:58 +0200

Anil kumar wrote:
> Yes, i am using lwip with LWIP_TCPIP_CORE_LOCKING=1.
> 
> How to use the default one, is it the same code base with different
> options
> or is it completely a different code base?

It's a compile-time option only.

> Regarding the crash, i am getting kernel oops with the message "unable to
> handle kernel paging request at virtual address xxx".  xxx is the address
> of the data (dataptr).

Could it be that you have stumbled accross the same problem as Artem Pisarenko 
two weeks ago (see this thread: 
http://lists.nongnu.org/archive/html/lwip-users/2012-08/msg00143.html)?

His problem was that his implementation of lwIP threads did not allow different 
threads to access other thread's memory, which is normally not the case for 
threads (e.g. for pthreads), only for processes and lwIP is not designed for 
this.

It could, however, also be that the pointer just got invalid by corrupted 
memory?


Simon



reply via email to

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