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
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,
Etienne
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
SICOM AS
Tel +47 72 89 56 55
Fax +47 72 89 56 51
Mob +47 416 62 033
-----Original Message-----
From: Etienne Lanoy [mailto:[EMAIL PROTECTED] Sent: 6. april 2006 14:21
To: [email protected]
Subject: SPAM? [lwip-users] Pbuf assertion failure
Hello,
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);
occur.
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.
Etienne
_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users