[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lwip-devel] [bug #36273] Bug with MEMP_MEM_MALLOC = 0
From: |
dagos |
Subject: |
[lwip-devel] [bug #36273] Bug with MEMP_MEM_MALLOC = 0 |
Date: |
Fri, 04 May 2012 10:38:51 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 5.1; rv:12.0) Gecko/20100101 Firefox/12.0 |
Follow-up Comment #2, bug #36273 (project lwip):
Configuration LWIP:
PILE_ADDR_IP=10.129.0.11
PILE_NETMASK=255.255.255.0
PILE_ADDR_MAC=00:00:5D:00:00:01
I have 3 threads (look at testeur_bug.c):
2 serveurs threads (1 UDP and 1 TCP)
1 main thread in which client connect to serveur this way:
100 loops:
2 x TCP client (connect, send, recv, and déconnect) (CAS1)
2 x UDP client (connect, send, recv, and déconnect) (CAS2)
At a certain time (which is random), there is a bug in pbuf (see below)
I have 2 serveurs threads so I call 'netconn_recv' in each threads (possible
at the same time...). Is this wrong ?
I don't use Interrupts / Callbacks at all.
*** CAS1 ***
CAS1: Fin de la connexion!
CAS1: Connexion TCP acceptée par la pile LWIP sur le port 1100!
CAS1: TEST OK: Donnée TCP reçue coté pile LWIP sur port 1100: *** DONNEE DE
TEST ***!
CAS1: TEST OK: Acquittement reçu: ACK!!
CAS1: Fin de la connexion!
*** CAS2 ***
CAS2: TEST OK: Donnée UDP reçue coté pile LWIP sur port 1100: E! ====>
BUG!!!
CAS2: TEST OK: Acquittement reçu: E! ====> BUG!!!
and later:
Assertion "pbuf_free: p->ref > 0" failed at line 627 in
SRC/lwip-1.4.0/src/core/pbuf.c
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?36273>
_______________________________________________
Message posté via/par Savannah
http://savannah.nongnu.org/