AccessVisolationException

Discussion of open issues, suggestions and bugs regarding ADO.NET provider for Oracle
Post Reply
martinst
Posts: 6
Joined: Thu 26 Mar 2020 12:39

AccessVisolationException

Post by martinst » Thu 21 Jul 2022 11:17

Hello,

our client keeps getting weird crashes of our application (.NET 4.8, EF 6.4.4, dotConnect for Oracle 9.14.1204, Oracle 12.1.0.2).

In the Windows event log, we found the following:

Code: Select all

 System.AccessViolationException
   bei OciDynamicType.nativeOCIStmtFetch(System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef, Int32, UInt16, UInt32)
   bei OciDynamicType.OCIStmtFetch(System.Runtime.InteropServices.HandleRef, System.Runtime.InteropServices.HandleRef, Int32, UInt16, UInt32)
   bei Devart.Data.Oracle.eb.b(Int32)
   bei Devart.Data.Oracle.OracleDataReader.Read()
The crashes seem to appear when tables / views with BLOB columns are accessed.

We cannot reproduce the error (connecting to Oracle 12.1.0.1) and for our client, the crashes also happen on an irregular basis.

Since it is a lot of effort for our client to update: is there any chance a driver update might fix this issue?

Thank you and kind regards,
Martin

DmitryGm
Devart Team
Posts: 152
Joined: Fri 11 Dec 2020 10:27

Re: AccessVisolationException

Post by DmitryGm » Tue 04 Oct 2022 08:23

dotConnect for Oracle 9.14.1204 was released 18-Feb-21

There are many updates and improvements including that:

9.14.1228 01-Apr-21
• The bug with throwing AccessViolationException by OracleCommand.ExecuteScalar() in the OCI mode is fixed
https://www.devart.com/dotconnect/oracl ... story.html

Unfortunately, without being able to reproduce the error, we cannot know its cause.

Post Reply