[Mono-bugs] [Bug 53972][Nor] New - Programs hang completely while using SqlClient, SybaseClient or TdsClient on Solaris

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Fri, 6 Feb 2004 09:09:32 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by news.mecke@buchert-wf.de.

http://bugzilla.ximian.com/show_bug.cgi?id=53972

--- shadow/53972	2004-02-06 09:09:32.000000000 -0500
+++ shadow/53972.tmp.6471	2004-02-06 09:09:32.000000000 -0500
@@ -0,0 +1,84 @@
+Bug#: 53972
+Product: Mono/Class Libraries
+Version: unspecified
+OS: Solaris 8
+OS Details: Mono 0.30
+Status: NEW   
+Resolution: 
+Severity: Unknown
+Priority: Normal
+Component: Sys.Data.SqlClient
+AssignedTo: rodrigo@ximian.com                            
+ReportedBy: news.mecke@buchert-wf.de               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Programs hang completely while using SqlClient, SybaseClient or TdsClient on Solaris
+
+Description of Problem:
+Trying to execute a program that uses TDS (either SqlClient, SybaseClient
+or TdsClient on Solaris) leads to a hang. When pressing CTRL-C, you get an
+error message. It works fine on windows an Linux (same source, same assambly).
+
+Steps to reproduce the problem:
+1. Copy any of the sources for the Data-Providers, modify
+hostname/Database), compile, execute.
+2. Start on Solaris: mint TestTDS.exe
+
+Actual Results:
+1. Nothing (hangs)
+2. (after pressing CTRL-C):
+Unhandled Exception: System.NullReferenceException: Quit
+#0: 0x00000            in System.Net.Sockets.Socket::Receive_internal
+([14/0xe] [O:74a6f0] [0] [8] [0] )
+#1: 0x00054 call       in System.Net.Sockets.Socket::Receive ([O:74a6f0]
+[0] [8] [0] )
+#2: 0x00059 callvirt   in System.Net.Sockets.NetworkStream::Read
+([O:74a6f0] [0] [8] )
+#3: 0x00018 callvirt   in Mono.Data.Tds.Protocol.TdsComm::GetPhysicalPacket ()
+#4: 0x00059 callvirt   in Mono.Data.Tds.Protocol.TdsComm::GetBytes ([12544]
+[0] )
+#5: 0x0005a callvirt   in Mono.Data.Tds.Protocol.TdsComm::GetString
+([12544] [0] )
+#6: 0x00019 callvirt   in Mono.Data.Tds.Protocol.TdsComm::GetString ([12544] )
+#7: 0x0008e callvirt   in Mono.Data.Tds.Protocol.Tds::ProcessMessage ([171] )
+#8: 0x00286 callvirt   in Mono.Data.Tds.Protocol.Tds::ProcessSubPacket ()
+#9: 0x0001d callvirt   in Mono.Data.Tds.Protocol.Tds::NextResult ()
+#10: 0x00006 callvirt   in Mono.Data.Tds.Protocol.Tds::SkipToEnd ()
+#11: 0x00461 callvirt   in Mono.Data.Tds.Protocol.Tds42::Connect ([O:55ee0] )
+#12: 0x00145 callvirt   in Mono.Data.TdsClient.TdsConnection::Open ()
+#13: 0x0000e callvirt   in .Test::Main ([O:4b860] )
+
+
+Unhandled Exception: System.NullReferenceException: Quit
+#0: 0x00000            in System.Net.Sockets.Socket::Receive_internal
+([14/0xe] [O:74a6f0] [0] [8] [0] )
+#1: 0x00054 call       in System.Net.Sockets.Socket::Receive ([O:74a6f0]
+[0] [8] [0] )
+#2: 0x00059 callvirt   in System.Net.Sockets.NetworkStream::Read
+([O:74a6f0] [0] [8] )
+#3: 0x00018 callvirt   in Mono.Data.Tds.Protocol.TdsComm::GetPhysicalPacket ()
+#4: 0x00059 callvirt   in Mono.Data.Tds.Protocol.TdsComm::GetBytes ([12544]
+[0] )
+#5: 0x0005a callvirt   in Mono.Data.Tds.Protocol.TdsComm::GetString
+([12544] [0] )
+#6: 0x00019 callvirt   in Mono.Data.Tds.Protocol.TdsComm::GetString ([12544] )
+#7: 0x0008e callvirt   in Mono.Data.Tds.Protocol.Tds::ProcessMessage ([171] )
+#8: 0x00286 callvirt   in Mono.Data.Tds.Protocol.Tds::ProcessSubPacket ()
+#9: 0x0001d callvirt   in Mono.Data.Tds.Protocol.Tds::NextResult ()
+#10: 0x00006 callvirt   in Mono.Data.Tds.Protocol.Tds::SkipToEnd ()
+#11: 0x00461 callvirt   in Mono.Data.Tds.Protocol.Tds42::Connect ([O:55ee0] )
+#12: 0x00145 callvirt   in Mono.Data.TdsClient.TdsConnection::Open ()
+#13: 0x0000e callvirt   in .Test::Main ([O:4b860] )
+
+
+Expected Results:
+The contents of the table.
+
+How often does this happen? 
+Always.
+
+Additional Information:
+Seems to be Solaris specific, since same assembly runs fine on windows on
+linux. Additionally, the postgres- and mysql-providers work fine on solaris.