[Top][All Lists]

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

[lwip-users] Pbuf assertion failure

From: Etienne Lanoy
Subject: [lwip-users] Pbuf assertion failure
Date: Fri, 07 Apr 2006 15:14:35 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.0.2) Gecko/20030208 Netscape/7.02

I have add a printf in the pbuf_free function and before the assertion occur the pbuf->flag is equal to 54 (decimal)....
I don't understand what's happend.

Do anyone know how I can solve my problem ? It seem the Pbuf is broken but I haven't any idea to solve this mistakes
in my software.
This occur after a tcp_write and a tcp_output. I do that everywhere in my software and I haven't problems.

I'm using NIOS (Altera) , I have released my quartus 5.1 SP2, Nios 2 5.1 SP1 and I haven't data cache in my Nios core.
So, normally, this is not due to the bug reported by Altera.

Thank you a lot

Etienne Lanoy a écrit:

Yes I'm using Altera Nios but I have search the patch for the Data cache bug but
I've not found it.

I'm very desagree because in all my software I do the same action tcp_write and after tcp_output. There is no problem. Maybe something is broken in my software but
I haven't any idea what can produce this assertion failure.

I thank you a lot for your help.

Best regards,

Jan Ulvesten a écrit:

Are you running Altera/Nios II?

If yes, check out Altera website and/or niosforum.com. There is a
problem with the Nios II data cache. A patch is available (to the IDE).
Jan Ulvesten
Senior Software Engineer
Tel   +47 72 89 56 55
Fax  +47 72 89 56 51
Mob +47 416 62 033

-----Original Message-----
From: Etienne Lanoy [mailto:address@hidden Sent: 6. april 2006 14:21
To: address@hidden
Subject: SPAM? [lwip-users] Pbuf assertion failure


I've a problem with an assertion in the file pbuf.c :
In the function pbuf_free, the assertion

LWIP_ASSERT("pbuf_free: sane flags",
   p->flags == PBUF_FLAG_RAM || p->flags == PBUF_FLAG_ROM ||
   p->flags == PBUF_FLAG_REF || p->flags == PBUF_FLAG_POOL);


Before that I have done a tcp_write and a tcp_output

I've never see it before. Do you know what's happend ?

I use it all arround my software and in my new piece of code I'm writing

fail this assertion...
I don't understand.

I thank you a lot.


reply via email to

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