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

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

Aleksander Stopar Newbie
Currently Being Moderated
Hi!

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 11.2.0.3 the Java Virtual Machine fails with the following:

alex@alex oracle]$ ./s322.sh
[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 [libjvm.so+0x516f34] 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:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
/home/alex/prg/oracle/sqldeveloper322/sqldeveloper/sqldeveloper/bin/../../ide/bin/launcher.sh: 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)
http://temp-share.com/show/KdPf6aq3h




This is the script I use to launch SQLDeveloper:

[alex@alex oracle]$ cat s322.sh
#!/bin/bash
TZ=CET
export TZ
TNS_ADMIN=/home/alex/prg/oracle/instantclient_11203
export TNS_ADMIN
PATH=$PATH:/home/alex/prg/oracle/instantclient_11203
export PATH
LD_LIBRARY_PATH=/home/alex/prg/oracle/instantclient_11203:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
cd /home/alex/prg/oracle/sqldeveloper322/sqldeveloper
./sqldeveloper.sh &
exit



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 -Dwindows.shell.font.languages=

AddVMOption -XX:MaxPermSize=256M

AddVMOption -Doracle.jdbc.mapDateToTimestamp=false

IncludeConfFile sqldeveloper-nondebug.conf



Here is the Help -> About -> Properties
http://temp-share.com/show/Pf3Yp35v2



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.

bye
Aleksander