sqldeveloper fedora 20 [error occurred during error reporting (printing problematic frame), id 0xb]

16 篇文章 0 订阅
6 篇文章 0 订阅


fedora 20 运行sqldeveloper失败,尝试了修改jvm 更换jdk版本 各种清理缓存,仍然失败,最后发现了这个方法:

$unset GNOME_DESKTOP_SESSION_ID

$unset DBUS_SESSION_BUS_ADDRESS

也就是说直接在命令行下执行这两句话 ,实验证明 只执行第一句就i可以了。

以下摘自http://www.thatjeffsmith.com/archive/2013/07/oracle-sql-developer-4-0-is-finally-here/

Hello there, I am having issues running SQL Dev 4 on Fedora 19…I installed open jdk7 but when I launch the program, the loading screen shows up but program crashes somehow and doesnt boot. When I run it from terminal as su, I get the following:

Oracle SQL Developer
Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.

Sep 09, 2013 9:53:46 AM javax.ide.extension.spi.DefaultElementContext resolveResource
SEVERE: jar:/file:/opt/sqldeveloper/sqldeveloper/extensions/oracle.sqldeveloper.migration.application.jar!/META-INF/extension.xml:16: Resource not found: ‘${SCRATCH_COMMAND_ICON}’.

LOAD TIME : 164#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x0000003b09c62e00, pid=2070, tid=140424423397120
#
# JRE version: 7.0_25-b15
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.25-b01 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C 0x0000003b09c62e00
[error occurred during error reporting (printing problematic frame), id 0xb]

# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try “ulimit -c unlimited” before starting Java again
#
[thread 140424509183744 also had an error]
# An error report file with more information is saved as:
# [thread 140424509183744 also had an error]
#
# If you would like to submit a bug report, please visit:
http://bugreport.sun.com/bugreport/crash.jsp
#
/opt/sqldeveloper/sqldeveloper/bin/../../ide/bin/launcher.sh: line 611: 2070 Aborted (core dumped) ${JAVA} “${APP_VM_OPTS[@]}” ${APP_ENV_VARS} -classpath ${APP_CLASSPATH} ${APP_MAIN_CLASS} “${APP_APP_OPTS[@]}”

Thereafter my fedora shows a message saying “A problem in the jdk-1.7.0_25-fcs package has been detected”

Any ideas how I can fix this


  • thatjeffsmith
    SEP 09, 2013 @ 09:06:37

    It sounds like your java install is borked. Do you have SQL Developer 3.2 installed, if so, does it also ‘not work?’

    Can you try re-installing Java 7?

    REPLY

    • Adrian
      SEP 12, 2013 @ 11:31:07

      Nelson. I was having the same issue as others, that only sudo would make SQLDeveloper to work. After running a strace on SQLDeveloper with and without sudo, I compared the output of both and identified that the one failing was due to being unable to find some awt libraries. So I started removing environment variables and found out that the culprit is GNOME_DESKTOP_SESSION_ID. Just unset that variable and SQLDeveloper will work fine, at least works fine for me :).

      REPLY

      • Jeroen Baten
        DEC 23, 2013 @ 07:22:35

        Yep, worked for me. Thanks!

        REPLY

      • Peter
        JAN 10, 2014 @ 02:52:20

        Thanks a lot!

        REPLY

      • Stephen
        JAN 29, 2014 @ 00:09:55

        Thanks. That helped me, too. I had to unset two variables:

        unset GNOME_DESKTOP_SESSION_ID
        unset DBUS_SESSION_BUS_ADDRESS

        I just added that to the launcher script, and that fixed my problem.



  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值