>>>>> blocking here, no output more...
ip_input: packet accepted on interface pp
ip_input:
IP header:
+-------------------------------+
| 4 | 5 | 0x00 | 40 | (v, hl, tos, len)
+-------------------------------+
| 41141 |010| 0 | (id, flags, offset)
+-------------------------------+
| 64 | 6 | 0x22a0 | (ttl, proto, chksum)
+-------------------------------+
| 192 | 168 | 123 | 20 | (src)
+-------------------------------+
| 192 | 168 | 123 | 21 | (dest)
+-------------------------------+
ip_input: p->len 40 p->tot_len 40
TCP header:
+-------------------------------+
| 47179 | 7 | (src port, dest port)
+-------------------------------+
| 2795943939 | (seq no)
+-------------------------------+
| 0000006532 | (ack no)
+-------------------------------+
| 5 | |010000| 29200 | (hdrlen, flags (ACK
), win)
+-------------------------------+
| 0x95c8 | 0 | (chksum, urgp)
+-------------------------------+
+-+-+-+-+-+-+-+-+-+-+-+-+-+- tcp_input: flags ACK
-+-+-+-+-+-+-+-+-+-+-+-+-+-+
State: ESTABLISHED
tcp_receive: window update 29200
tcp_receive: slow start cwnd 1792
tcp_receive: ACK for 6532, unacked->seqno 6525:6533
tcp_receive: pcb->rttest 51 rtseq 6525 ackno 6532
tcp_receive: experienced rtt 0 ticks (0 msec).
tcp_receive: RTO 3 (1500 milliseconds)
tcp_output: nothing to send ((nil))
tcp_output: snd_wnd 29200, cwnd 1792, wnd 1792, seg == NULL, ack 6532
State: ESTABLISHED
tcp_slowtmr: processing active pcb
tcp_slowtmr: processing active pcb
tcp_slowtmr: polling application
tcp_output: nothing to send ((nil))
tcp_output: snd_wnd 29200, cwnd 1792, wnd 1792, seg == NULL, ack 6532
tcp_slowtmr: processing active pcb
tcp_slowtmr: rtime 3 pcb->rto 3
tcp_slowtmr: cwnd 256 ssthresh 896
tcp_output: snd_wnd 29200, cwnd 256, wnd 256, effwnd 0, seq 6525, ack 6532
Assertion "RST not expected here!" failed at line 1037 in ../../../../../lwip/src/core/tcp_out.c
Aborted (core dumped)
>>>> Sometimes, the lwip stack report "tcp_receive: duplicate seqno" and the simhost
continues running (no abort), the "log_duplicate.txt" attached file contains all log
for this case (please find "duplicate" inside that).