Breakpoint 1, vPortFree (pv=pv@entry=0x20005fc0 ) at freertos/heap_4.c:306 306 { FREE 0x20005fc0 #0 vPortFree (pv=pv@entry=0x20005fc0 ) at freertos/heap_4.c:306 #1 0x08018f32 in mem_free (rmem=rmem@entry=0x20005fc0 ) at lwip/src/core/mem.c:151 #2 0x0801ee9c in http_state_free (hs=0x20005fc0 ) at lwip/src/apps/httpd/httpd.c:500 #3 http_close_or_abort_conn (abort_conn=0 '\000', hs=0x20005fc0 , pcb=0x20006160 ) at lwip/src/apps/httpd/httpd.c:603 #4 http_close_conn (pcb=pcb@entry=0x20006160 , hs=hs@entry=0x20005fc0 ) at lwip/src/apps/httpd/httpd.c:629 #5 0x0801f0d6 in http_eof (hs=0x20005fc0 , pcb=0x20006160 ) at lwip/src/apps/httpd/httpd.c:657 #6 http_send (pcb=0x20006160 , hs=0x20005fc0 ) at lwip/src/apps/httpd/httpd.c:1572 #7 0x08016fc0 in httpd_post_receive_data (connection=connection@entry=0x20005fc0 , p=) at WebServer.c:439 #8 0x0801f148 in http_post_rxpbuf (hs=0x20005fc0 , p=) at lwip/src/apps/httpd/httpd.c:1697 #9 0x0801f1c2 in http_recv (arg=0x20005fc0 , pcb=0x20006160 , p=0x20006340 , err=) at lwip/src/apps/httpd/httpd.c:2486 #10 0x0801b258 in tcp_input (p=p@entry=0x20006340 , inp=inp@entry=0x20001108 ) at lwip/src/core/tcp_in.c:445 #11 0x0801e562 in ip4_input (p=p@entry=0x20006340 , inp=inp@entry=0x20001108 ) at lwip/src/core/ipv4/ip4.c:680 #12 0x0801e93e in ethernet_input (p=0x20006340 , netif=0x20001108 ) at lwip/src/netif/ethernet.c:176 #13 0x0801e7b6 in tcpip_thread (arg=) at lwip/src/api/tcpip.c:124 #14 0x08017a88 in uxListRemove (pxItemToRemove=) at freertos/list.c:238 Backtrace stopped: previous frame identical to this frame (corrupt stack?) Breakpoint 1, vPortFree (pv=pv@entry=0x20005fc0 ) at freertos/heap_4.c:306 306 { FREE 0x20005fc0 #0 vPortFree (pv=pv@entry=0x20005fc0 ) at freertos/heap_4.c:306 #1 0x08018f32 in mem_free (rmem=rmem@entry=0x20005fc0 ) at lwip/src/core/mem.c:151 #2 0x0801ee9c in http_state_free (hs=0x20005fc0 ) at lwip/src/apps/httpd/httpd.c:500 #3 http_close_or_abort_conn (abort_conn=0 '\000', hs=0x20005fc0 , pcb=0x20006160 ) at lwip/src/apps/httpd/httpd.c:603 #4 http_close_conn (pcb=pcb@entry=0x20006160 , hs=hs@entry=0x20005fc0 ) at lwip/src/apps/httpd/httpd.c:629 #5 0x0801eece in http_eof (hs=0x20005fc0 , pcb=0x20006160 ) at lwip/src/apps/httpd/httpd.c:657 #6 http_check_eof (pcb=pcb@entry=0x20006160 , hs=hs@entry=0x20005fc0 ) at lwip/src/apps/httpd/httpd.c:1073 #7 0x0801f06a in http_send (pcb=0x20006160 , hs=0x20005fc0 ) at lwip/src/apps/httpd/httpd.c:1554 #8 0x0801f1d2 in http_recv (arg=0x20005fc0 , pcb=0x20006160 , p=0x20006340 , err=) at lwip/src/apps/httpd/httpd.c:2490 #9 0x0801b258 in tcp_input (p=p@entry=0x20006340 , inp=inp@entry=0x20001108 ) at lwip/src/core/tcp_in.c:445 #10 0x0801e562 in ip4_input (p=p@entry=0x20006340 , inp=inp@entry=0x20001108 ) at lwip/src/core/ipv4/ip4.c:680 #11 0x0801e93e in ethernet_input (p=0x20006340 , netif=0x20001108 ) at lwip/src/netif/ethernet.c:176 #12 0x0801e7b6 in tcpip_thread (arg=) at lwip/src/api/tcpip.c:124 #13 0x08017a88 in uxListRemove (pxItemToRemove=) at freertos/list.c:238 Backtrace stopped: previous frame identical to this frame (corrupt stack?)