[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] What's wrong according to logs
From: |
Caglar Akyuz |
Subject: |
Re: [lwip-users] What's wrong according to logs |
Date: |
Sun, 27 Jul 2008 15:48:24 +0300 |
User-agent: |
Thunderbird 1.5.0.8 (X11/20060911) |
zhou yi wrote:
>> zhou yi wrote:
>>> Dear all:
>>> I port LwIP 1.1.1 to at91sam7x256 with rtl8201 phy, and write a
>>> modbus tcp procotol, now I test my modbus tcp procotol, the system run
>>> for about 30 minutes, the log will like this:
>>> Assertion "pbuf_free: p->ref > 0" failed at line 574 in
>>> E:\work\7x256.200807251944\7x256\src\LwIP\src\core\pbuf.c
>>> Assertion "mem_free: legal memory" failed at line 149 in
>> [snip]
>>
>> Do you have more than one thread operating on lwIP at one tAssertion
>> "mem_free: legal memory" failed at line 149 in ime? If so,
>> that may be your problem.
> No, I have only 3 thread created. One for led control, One for httpd deamon
> but never used, One for modbus tcp which will use lwip.
Do you use freeRTOS port? Because that port creates a task for lwip other than
user created tasks.
Caglar