lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] RE: lwip-users Digest, Vol 14, Issue 9


From: Leon Woestenberg
Subject: Re: [lwip-users] RE: lwip-users Digest, Vol 14, Issue 9
Date: Mon, 11 Oct 2004 23:18:44 +0200
User-agent: Mozilla Thunderbird 0.7.1 (Windows/20040626)

Hello Eric,

Eric Shufro wrote:

Kieran,
Why would a pcb->next pointer end up pointing to itself (pcb)?

I get infinite loops and cant figure out why. Wonder if it's something with
the way I call tcpwrite. I create a new pcb, fill in an ip address struct
and call tcp_connect(...ip addr... callback...) etc..

Can you enable assert() debugging in some way on your target?

You could sprinkle some assertions like these:

assert(pbuf->next != pbuf);

into often-called positions, then see when it triggers.

Anyway, good luck in debugging.

Regards, Leon.




reply via email to

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