[Top][All Lists]

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

[lwip-users] dhcp_create_msg failure

From: Behrooz Shafiee
Subject: [lwip-users] dhcp_create_msg failure
Date: Wed, 26 Mar 2014 11:45:18 -0400

Hello Everyone,

 I am trying to port lwip to our research operating system. Everything has gone well so far except when I am trying to assign ip to my interface using dhcp. This does not happen always but pretty often: lwip fails at following assertion in dhcp.c: 1662 (I am using lwip 1.4.1):
  LWIP_ASSERT("dhcp_create_msg: dhcp->p_out == NULL", dhcp->p_out == NULL);

using some outputs I realized this happens because dhcp_create_msg being called consecutively without a dhcp_delete_msg in between. For example I had the following pattern:
where * is when the assertion fails. I don't know the lwip mechanics but I am guessing sometimes the dhcp_delete_message takes longer than usual I guess...
I have attached a log file as well. Please let me know what do you think about this or if you need more information.


Attachment: lwip.log
Description: Text Data

reply via email to

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