After upgrading to Oracle 19c, we are facing "System.AccessViolationException" error intermittently
After upgrading to Oracle 19c from Oracle12c, we are facing "System.AccessViolationException" error intermittently. It never happened earlier.
This error is happening mostly when the application is closing down. Doubly checked that all the connections are being disposed properly. It is happening intermittently not always.
Unhandled Exception: System.AccessViolationException: Attempted to read or write protected memory. This is often an indication that\
other memory is corrupt.
at Oracle.DataAccess.Client.OpsCon.UnRegisterCallbacks(IntPtr& opsConCtx, IntPtr& opsErrCtx, OpoConValCtx*& pOpoConValCtx, OpoCo\
nRefCtx& pOpoConRefCtx)
at Oracle.DataAccess.Client.CallbackHashCtx.Finalize()