lwip-users
[Top][All Lists]
Advanced

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

[lwip-users] code stuck in LWIP Assertions


From: steffen.storck
Subject: [lwip-users] code stuck in LWIP Assertions
Date: Tue, 15 Nov 2022 16:13:12 +0000

Hello,

 

My code – without changing anything in the network-section – suddenly stops in these LWIP_ASSERT Lines. Could someone explain me, why?

 

LWIP_ASSERT("offset_to <= p_to->len", offset_to <= p_to->len);

 

LWIP_ASSERT("pbuf_free: p->ref > 0", p->ref > 0);

 

LWIP_ASSERT("mem_free: sanity check alignment", (((mem_ptr_t)rmem) & (MEM_ALIGNMENT-1)) == 0);

 

LWIP_ASSERT("mem_free: legal memory", (u8_t *)rmem >= (u8_t *)ram &&

    (u8_t *)rmem < (u8_t *)ram_end);

 

LWIP_ASSERT("pbuf_free: p->ref > 0", p->ref > 0);

 

LWIP_ASSERT("mem_free: sanity check alignment", (((mem_ptr_t)rmem) & (MEM_ALIGNMENT-1)) == 0);

 

LWIP_ASSERT("mem_free: legal memory", (u8_t *)rmem >= (u8_t *)ram &&

    (u8_t *)rmem < (u8_t *)ram_end);

 

They stay in a loop between third (Sanity check) and the fifth Assertion.

 

Thank you and best regards,

 

Steffen





SEW-EURODRIVE GmbH & Co KG
Kommanditgesellschaft, Sitz: Bruchsal, RG Mannheim HRA 230970
Komplementärin: SEW-EURODRIVE Verwaltungs-GmbH, Sitz: Bruchsal, RG Mannheim HRB 230207

Geschäftsführender Gesellschafter: Jürgen Blickle
Geschäftsführung: Jürgen Blickle (Vorsitzender), Udo Aull, Dr. Jörg Hermes, Dr. Hans Krattenmacher, Christian Mayer, Johann Soder

Attachment: PGP.sig
Description: PGP signature


reply via email to

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