This discussion is archived
0 Replies Latest reply: Nov 6, 2012 1:40 AM by Aleksander Stopar RSS

SQLDeveloper crashes JVM using OCI/Thick driver on Linux 64bit

Aleksander Stopar Newbie
Currently Being Moderated

If I don't use OCI/Thick driver, JVM does not crash, SQLdeveloper runs fine, but when I try to connect to a database using OCI/Thick driver with instantclient the Java Virtual Machine fails with the following:

alex@alex oracle]$ ./
[alex@alex oracle]$
Oracle SQL Developer
Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.

LOAD TIME : 459#
# A fatal error has been detected by the Java Runtime Environment:
# SIGSEGV (0xb) at pc=0x00007f530604ef34, pid=5587, tid=139993946457856
# JRE version: 6.0_37-b06
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.12-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [] unsigned+0xd4
# An error report file with more information is saved as:
# /home/alex/prg/oracle/sqldeveloper322/sqldeveloper/sqldeveloper/bin/hs_err_pid5587.log
# If you would like to submit a bug report, please visit:
/home/alex/prg/oracle/sqldeveloper322/sqldeveloper/sqldeveloper/bin/../../ide/bin/ line 544: 5587 Aborted ${JAVA} "${APP_VM_OPTS[@]}" ${APP_ENV_VARS} -classpath ${APP_CLASSPATH} ${APP_MAIN_CLASS} "${APP_APP_OPTS[@]}"

Here is the JVM crash log /home/alex/prg/oracle/sqldeveloper322/sqldeveloper/sqldeveloper/bin/hs_err_pid5587.log (uploaded because of post size limit)

This is the script I use to launch SQLDeveloper:

[alex@alex oracle]$ cat
export TZ
export TNS_ADMIN
export PATH
cd /home/alex/prg/oracle/sqldeveloper322/sqldeveloper
./ &

This is the sqldeveloper.conf (only modified for the location of the JDK, no fancy new garbage collector or memory config)

[alex@alex oracle]$ cat sqldeveloper322/sqldeveloper/sqldeveloper/bin/sqldeveloper.conf
IncludeConfFile ../../ide/bin/ide.conf

#SetJavaHome ../../jdk
SetJavaHome /home/alex/prg/jdk1.6.0_37

AddVMOption -Doracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG=true

AddVMOption -Dsun.java2d.ddoffscreen=false


AddVMOption -XX:MaxPermSize=256M

AddVMOption -Doracle.jdbc.mapDateToTimestamp=false

IncludeConfFile sqldeveloper-nondebug.conf

Here is the Help -> About -> Properties

Another comment:
I tried running SQLdeveloper with the JDK 1.6.0_31, and 1.7.0_07 but it crashes both JVMs, too.

Hope you can fix this.
If you need any more info to sort it out, just let me know.