Hi all,
Sometimes, in *debug mode* my program get stuck in mem_malloc(), and can't get
out. ptr scan the ram for a block, but is I can see with my debugger ptr
does'nt scan thru (MEM_SIZE_ALIGNED - size), instead it get reseted before
reaching that value. ptr then scan the ram, get reseted, and so on.
Maybe the debugger goes crazy, but in normal run program I'm also facing that
kind of hanging. It does'nt happen every tim I run the application. But it
always happens when I send SNMP t (walk) request snmp table.
The stack when it happens:
tcpip_thread
ip_inpu
udp_input
snmp_recv
snmp_msg_event
snmp_msg_getnext_event
snmp_varbind_alloc
mem_malloc
setup:
lwIP 1.3.0
FreeRTOS
Code Warrior
any hints?
regards,
__
Francois_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users