Re: [Firebird-net-provider] Deadlock problem (possible: DNET-382)

2011-09-30 Thread Mark Rotteveel
On 29-9-2011 17:37, Scott Morgan wrote: On 09/29/2011 04:20 PM, Mark Rotteveel wrote: The solution would at minimum require that FbCommand.Dispose sync in the exact same order as Rollback (so first database.syncObject, and then GdsStatement) (or that Rollback use the exact same order as in

Re: [Firebird-net-provider] Deadlock problem (possible: DNET-382)

2011-09-30 Thread Scott Morgan
On 09/30/2011 12:59 PM, Mark Rotteveel wrote: True, but making sure that you always lock resources in the same order, is the only sure way to prevent deadlocks. I think I see the problem: In Version10/GdsTransaction.cs (copy/paste from the Sourceforge SVN browser, so excuse the formatting)