Quantcast
Channel: VMware Communities : All Content - All Communities
Viewing all articles
Browse latest Browse all 179681

TCP Packet corruption under Win2012 Server and WinSock2

$
0
0

Hello,

  We have been knocking our heads on this one.  We have a mature product that we were QA testing on a VM box.  We ran into a strange issue that we haven't found a solution for.

 

  We are running ESXi-5.1.0-799733-standard on a Dell PowerEdge 2950 with a Broadcom NetXtreme II BCM5708 network card.  Nothing special was setup on the network.

 

  Our VMs are two MS Server 2012 Standard (64-bit).  Our product we having issues with is a TCP/IP client/server architecture.  Under Windows we use WinSock2.  Our programs are linked as 32 bit applications.  The problem occurs randomly in the network stream between the two servses.  We have verified it is at the network level, by using WireShark on both sides.  We can see the packets leaving the client okay and arriving changed at the server.

 

  We have reproduced the behavior on our main product and also on a much more simple set of client/server programs.  We can't reproduce the prooblem if we connect to any other host, for either the client or server part.  It seems to be limited to the virtual network.

 

  The corruption manifests itself as collection of two chunks of bytes, the first is chunk is 6 bytes, followed by 6 bytes of un-touched data, followed by another 17 byte chunk of junk.  The first chunk of junk has the word "Free" in it, which makes it easy to spot, and gives the impression it's a double free().

 

  MS malloc debugging library doesn't find anything, and the programs run without errors, until the junk causes upstream parts of the program to crap out.  Our product has been around for 15 years and has many a terabyte run through it.

 

  Right now we are assuming this issue is a combination of WinSock2, Win2012 and VmWare.  As of today, we have not be able to reproduce the problem with any 3rd party applications (ie ftp).

 

  Any ideas would be greatly appricated.


Viewing all articles
Browse latest Browse all 179681

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>