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

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Jun 3 06:56:50 EDT 2008


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

User vvaradhan at novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=360157#c1


Veerapuram Varadhan <vvaradhan at novell.com> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
                 CC|                                                |vvaradhan at novell.com
             Status|NEW                                             |NEEDINFO
      Info Provider|                                                |jonathan.gagnon at croesus.com




--- Comment #1 from Veerapuram Varadhan <vvaradhan at novell.com>  2008-06-03 04:56:49 MDT ---
(In reply to comment #0 from Jonathan Gagnon)
> Created an attachment (id=193936)
 --> (https://bugzilla.novell.com/attachment.cgi?id=193936) [details]
> 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.
> 
Can you try it on 1.9?  I tried your repro and it works.  I use MS SQL Server
2k5.


-- 
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