Page 1 of 1

AccessVisolationException

Posted: Thu 21 Jul 2022 11:17
by martinst
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

Re: AccessVisolationException

Posted: Tue 04 Oct 2022 08:23
by DmitryGm
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.