JVM Crash with Instant Client. EXCEPTION_ACCESS_VIOLATION in ocijdbc10.dll

(Doc ID 422860.1)

Last updated on AUGUST 16, 2016

Applies to:

JDBC - Version and later
Information in this document applies to any platform.
***Checked for relevance on 08-Mar-2013***


A Java web application connects to a database using the Instant Client. The application uses Hibernate and runs on a Tomcat web server. The application fails with the error: 

   An unexpected exception has been detected in native code outside the VM. 
   Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x62F0C9A7 

and a java stack trace the top of which is:

   Current Java thread:
      at oracle.jdbc.driver.T2CStatement.t2cParseExecuteDescribe(Native Method)
      at oracle.jdbc.driver.T2CPreparedStatement.executeForDescribe(T2CPreparedStatement.java:518)
      at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1039)
      at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1132)
      at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
      at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3329)
      - locked <0x1002bb00> (a oracle.jdbc.driver.T2CPreparedStatement)
      - locked <0x10802108> (a oracle.jdbc.driver.T2CConnection)
      at org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery     (DelegatingPreparedStatement.java:92)

A Java command-line application connects to a database using the Instant Client. The applications uses Hibernate. It fails with the same error.

When a Full Client is used instead of the Instant Client the error does not occur.

Both the Instant Client and Full Client use ojdbc14.jar and JDK 1.4. The database is version


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms