Page 1 of 1

AV using Oci Session Pooling

Posted: Mon 14 Nov 2011 16:54
by dpolist
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()

Posted: Tue 15 Nov 2011 14:48
by Shalex
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.