[Mono-bugs] [Bug 360157] New: SqlConnection.Open freezes when using the connection pool

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Feb 8 14:38:33 EST 2008


https://bugzilla.novell.com/show_bug.cgi?id=360157


           Summary: SqlConnection.Open freezes when using the connection
                    pool
           Product: Mono: Class Libraries
           Version: 1.2.6
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Sys.Data.SqlClient
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: jonathan.gagnon at croesus.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=193936)
 --> (https://bugzilla.novell.com/attachment.cgi?id=193936)
Small test case that freezes on mono 1.2.6.

When using the connection pool, every call to SqlConnection.Open that fails
uses one connection of the connection pool.  If the number of failures equals
to the max pool size of the connection pool, the next call to
SqlConnection.Open will freeze, waiting forever for a connection to become
available (none will ever become available because they seem to be "lost").

See the attached program for an example.  This example doesn't freeze in .NET.


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


More information about the mono-bugs mailing list