lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #36380] unsent_oversize mismatch in 1.4.1RC1


From: Marco Jakobs
Subject: [lwip-devel] [bug #36380] unsent_oversize mismatch in 1.4.1RC1
Date: Sat, 05 May 2012 18:05:28 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:12.0) Gecko/20100101 Firefox/12.0

Follow-up Comment #14, bug #36380 (project lwip):

TCP_OVERSIZE = 128

Much worse than TCP_MSS. "unsent_oversize mismatch" assert in average of 5-30
seconds after the TCP transmissions start
No EMAC Tx Errors.


TCP_OVERSIZE = 1
Absolutely worse: "unsent_oversize mismatch" assert *immediately* after the
TCP connestion hast started - and anytime. Good setting for testing /
debugging this ;-)
No EMAC Tx Errors.


TCP_OVERSIZE = TCP_MSS: I see EMAC Transmit errors here (buffer underrun, Used
Bit Read etc.) in many cases right before the assert happens.


With TCP_OVERSIZE=1 it was easy to get your requested debug output as the
system gives the assert immediately:


System up and running ... switching to operating mode.
Ethernet link is up. Own IP:10.1.1.1
05.05.12 20:02:43   ***Device started with SW-Version: 02.00***
05.05.12 20:02:43   Restart cause: 00010201
tcp_enqueue_flags: queueing 6509:6510 (0x2)
tcp_output_segment: 6509:6509
tcp_output: nothing to send (00000000)
05.05.12 20:02:43   Internal extension board found.
05.05.12 20:02:43   I/O-Board found with SW-Version: 01.33.
05.05.12 20:02:43   Displayboard found with SW-Version: 01.33.
05.05.12 20:02:53   Device was 0 days, 0 hours, 0 minutes and 24 seconds
down!
05.05.12 20:02:53   Ethernet link is up. Own IP:10.1.1.1
05.05.12 20:02:53   Looking for redundancy CPU.
05.05.12 20:02:53   Alarm logger code 0001 to user 1 passed to eMail output.
05.05.12 20:02:53   Found secondary CPU in standby.
05.05.12 20:02:53   RTU #1 'Keller' is online.
05.05.12 20:02:53   Taking control as PRIMARY CPU.
05.05.12 20:02:53   RTU #2 'Erdgeschoss' is online.
05.05.12 20:02:53   RTU #3 'Obergeschoss' is online.
05.05.12 20:02:54   Local Bus: Unknown scancode FF - bus deactivated!
tcp_output: nothing to send (00000000)
tcp_output_segment: 6509:6509
tcp_output: sending ACK for 859912022
tcp_output: nothing to send (00000000)
tcp_write(pcb=0020cc00, data=00218ff4, len=17, apiflags=1)
tcp_write: queueing 6510:6527
tcp_output_segment: 6510:6527
tcp_output: nothing to send (00000000)
tcp_write(pcb=0020cc00, data=00218ff4, len=12, apiflags=1)
tcp_write: queueing 6527:6539
tcp_output_segment: 6527:6539
tcp_output: nothing to send (00000000)
tcp_write(pcb=0020cc00, data=00218ff4, len=14, apiflags=1)
tcp_write: queueing 6539:6553
tcp_output_segment: 6539:6553
tcp_output: nothing to send (00000000)
tcp_write(pcb=0020cc00, data=00218ff4, len=10, apiflags=1)
tcp_write: queueing 6553:6563
tcp_output_segment: 6553:6563
tcp_output: nothing to send (00000000)
tcp_write(pcb=0020cc00, data=00218ff4, len=29, apiflags=1)
tcp_write: queueing 6563:6592
tcp_output_segment: 6563:6592
tcp_output: nothing to send (00000000)
tcp_write(pcb=0020cc00, data=0021a11e, len=26, apiflags=1)
tcp_write: queueing 6592:6618
tcp_output_segment: 6592:6618
tcp_output: nothing to send (00000000)
tcp_write(pcb=0020cc00, data=00218ff4, len=6, apiflags=1)
tcp_write: queueing 6618:6624
tcp_output_segment: 6618:6624
tcp_enqueue_flags: queueing 6516:6517 (0x12)
tcp_output_segment: 6516:6516
tcp_output: nothing to send (00000000)
tcp_output: nothing to send (00000000)
Logger connection established from 10.0.1.1.
tcp_write(pcb=0020cb64, data=0021bac8, len=154, apiflags=1)
tcp_write: queueing 6517:6671
tcp_output_segment: 6517:6671
tcp_write(pcb=0020cb64, data=0021bac8, len=510, apiflags=1)
tcp_write: queueing 6671:7181
tcp_write(pcb=0020cc00, data=00218ff4, len=15, apiflags=1)
tcp_write: queueing 6624:6639
tcp_output_segment: 6624:6639
tcp_write(pcb=0020cc00, data=00218ff4, len=24, apiflags=1)
tcp_write: queueing 6639:6663
tcp_write(pcb=0020cc00, data=00218ff4, len=18, apiflags=1)
tcp_write(pcb=0020cb64, data=0021bac8, len=509, apiflags=1)
tcp_write(pcb=0020cc00, data=0021a11e, len=21, apiflags=1)
ASSERT:
C:/Projekte/HCS-CPU2/Libraries/lwIP/src/core/tcp_out.c:445:unsent_oversize
mismatch (pcb vs. last_unsent)

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?36380>

_______________________________________________
  Nachricht gesendet von/durch Savannah
  http://savannah.nongnu.org/




reply via email to

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