Random crashes (System.AccessViolationException)

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
Posts: 18
Joined: Tue 26 Aug 2008 13:30

Random crashes (System.AccessViolationException)

Post by vmakkenz » Tue 11 Feb 2014 10:49


We got a windows services that randomly crashes.
It seems to happen mostly when we try to read objects of type sdo_geometry.

We are using Devart 7.8.287

I've include the last part of the stacktrace.

Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.AccessViolationException
at OciDynamicType.nativeOCITableSize(System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef, Int32 ByRef)
at OciDynamicType.OCITableSize(System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef, Int32 ByRef)
at Devart.Data.Oracle.z.get_Count()
at Devart.Data.Oracle.OracleArray.Devart.Data.Oracle.ICustomOracleArray.FromOracleArray(Devart.Data.Oracle.NativeOracleArray)
at Devart.Data.Oracle.OracleObject.c(System.Object, Devart.Data.Oracle.OracleAttribute)
at Devart.Data.Oracle.OracleObject.Devart.Data.Oracle.ICustomOracleObject.FromOracleObject(Devart.Data.Oracle.NativeOracleObject)
at Devart.Data.Oracle.OracleObject.a(Devart.Data.Oracle.b7, Devart.Data.Oracle.OracleConnection, Boolean)
at Devart.Data.Oracle.OracleDataReader.GetValue(Int32)

Devart Team
Posts: 8088
Joined: Thu 14 Aug 2008 12:44

Re: Random crashes (System.AccessViolationException)

Post by Shalex » Thu 13 Feb 2014 09:14

Please give us the following information:
1) the versions and capacity (x86 or x64) of your Oracle server and Oracle client
2) send us a small test project with the corresponding DDL/DML script so that we can reproduce System.AccessViolationException in our environment

Post Reply