AV using Oci Session Pooling

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
dpolist
Posts: 2
Joined: Wed 09 Nov 2011 13:08

AV using Oci Session Pooling

Post by dpolist » Mon 14 Nov 2011 16:54

Hi Folks,

I have the following connection string.

User Id=jim;
Password=lion;
Data Source=ORCL;
Oci Session Pooling=true;
Pooling=true;
Oci Session Pool Min Size=10;
Oci Session Pool Increment=5;
Enlist=false;
Statement Cache Size=50;

When running our NHibernate-based unit tests, we get consistent AccessViolations trying to close DataReaders. Here's the relevant Stack Trace portion:

at OciDynamicType.nativeOCIDescriptorFree(IntPtr, Int32)
at OciDynamicType.OCIDescriptorFree(IntPtr, Int32)
at Devart.Data.Oracle.bs.a(IntPtr A_0)
at Devart.Data.Oracle.ay.l()
at Devart.Data.Oracle.ay.a()
at Devart.Data.Oracle.OracleDataReader.Close()

Shalex
Site Admin
Posts: 9543
Joined: Thu 14 Aug 2008 12:44

Post by Shalex » Tue 15 Nov 2011 14:48

Please specify your version of Oracle client and send us a small test project with the corresponding DDL/DML script to reproduce the issue in our environment.

Post Reply