[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: |
Jonathan Larmour |
Subject: |
Re: [lwip-users] What's wrong according to logs |
Date: |
Sat, 26 Jul 2008 19:51:14 +0100 |
User-agent: |
Mozilla Thunderbird 1.0.8-1.1.fc3.4.legacy (X11/20060515) |
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 time? If so,
that may be your problem.
Jifl
--
eCosCentric Limited http://www.eCosCentric.com/ The eCos experts
Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571
Registered in England and Wales: Reg No 4422071.
------["The best things in life aren't things."]------ Opinions==mine