[Mono-bugs] [Bug 381151] DataAdapter returns 0 rows after an SQL timeout occured

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Apr 23 11:46:04 EDT 2008


User gert.driesen at pandora.be added comment

--- Comment #14 from Gert Driesen <gert.driesen at pandora.be>  2008-04-23 09:46:04 MST ---
I've now updated another repro that forces a lock, similar to what Mark
described, and which shows that the connection is no longer usable after the

Running that repro, you'll get the following exception on Mono:

Unhandled Exception: System.IO.IOException: Read failure --->
SocketException: An established connection was aborted in your host machine.
  at System.Net.Sockets.Socket.Receive (System.Byte[] buf, Int32 offset, Int32
ize, SocketFlags flags) [0x00000]
  at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, Int32 offset,
Int32 size) [0x00000] --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.Read (System.Byte[] buffer, Int32 offset,
Int32 size) [0x00000]
  at Mono.Data.Tds.Protocol.TdsComm.GetPhysicalPacketHeader () [0x00000]
  at Mono.Data.Tds.Protocol.TdsComm.GetPhysicalPacket () [0x00000]
  at Mono.Data.Tds.Protocol.TdsComm.GetByte () [0x00000]
  at Mono.Data.Tds.Protocol.Tds.ProcessSubPacket () [0x00000]
  at Mono.Data.Tds.Protocol.Tds.NextResult () [0x00000]
  at System.Data.SqlClient.SqlDataReader.NextResult () [0x00000]
  at (wrapper remoting-invoke-with-check)
xtResult ()
  at System.Data.SqlClient.SqlDataReader..ctor
 command) [0x00000]
  at (wrapper remoting-invoke-with-check)
tor (System.Data.SqlClient.SqlCommand)
  at System.Data.SqlClient.SqlCommand.ExecuteReader (CommandBehavior behavior)
  at System.Data.SqlClient.SqlCommand.ExecuteReader () [0x00000]
  at (wrapper remoting-invoke-with-check)
teReader ()
  at Program.RunTest (System.Data.SqlClient.SqlConnection conn) [0x00000]
  at Program.Main () [0x00000]

Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

More information about the mono-bugs mailing list