2014-01-15 147 views
7

无论如何我无法在Fedora 20中运行Eclipse,总是崩溃。Fedora 20上的Eclipse崩溃

 
java-1.7.0-openjdk 
java-1.7.0-openjdk-devel 
java-1.7.0-openjdk-headless 

Linux * 3.12.7-300.fc20.x86_64 #1 SMP Fri Jan 10 15:35:31 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux 

eclipse-platform x86_64 1:4.3.1-11.fc20 

试图用配版,并与来自eclipse.org

总是相同的下载版本。开始食谱开普勒和崩溃。 使用eclipse marketplace快速崩溃。

日志:

 

    !ENTRY org.eclipse.osgi 2 1 2014-01-14 17:30:20.014 
    !MESSAGE NLS unused message: LaunchConfigurationType_1 in: org.eclipse.debug.internal.core.DebugCoreMessages 
    !SESSION 2014-01-15 10:55:20.259 ----------------------------------------------- 
    eclipse.buildId=4.3.0.M20130911-1000 
    java.version=1.7.0_45 
    java.vendor=Oracle Corporation 
    BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=es_ES 
    Framework arguments: -product org.eclipse.epp.package.standard.product 
    Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.standard.product 

    !ENTRY org.eclipse.core.resources 2 10035 2014-01-15 10:55:58.045 
    !MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes. 

非常大的转储,回溯它不是可用的,Fedora的Bugzilla的不能使用它。

strace的输出:

 
    fstat(3, {st_mode=S_IFIFO|0600, st_size=0, ...}) = 0 
    mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f095d66e000 
    lseek(3, 0, SEEK_CUR)     = -1 ESPIPE (Illegal seek) 
    read(3, "java version \"1.7.0_45\"", 4096) = 23 
    read(3, "\nOpenJDK Runtime Environment (fe"..., 4096) = 121 
    close(3)        = 0 
    munmap(0x7f095d66e000, 4096)   = 0 
    close(3)        = -1 EBADF (Bad file descriptor) 
    wait4(2395, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 2395 
    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_EXITED, si_pid=2395, si_status=0, si_utime=11, si_stime=5} --- 
    stat("/etc/gre64.conf", 0x7fff321cc6b0) = -1 ENOENT (No such file or directory) 
    stat("/etc/gre.d/gre64.conf", 0x7fff321cc6b0) = -1 ENOENT (No such file or directory) 
    stat("/etc/gre.conf", 0x7fff321cc6b0) = -1 ENOENT (No such file or directory) 
    stat("/etc/gre.d/gre.conf", 0x7fff321cc6b0) = -1 ENOENT (No such file or directory) 
    openat(AT_FDCWD, "/usr/lib64/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 
    getdents(3, /* 781 entries */, 32768) = 32728 
    getdents(3, /* 787 entries */, 32768) = 32768 
    getdents(3, /* 787 entries */, 32768) = 32736 
    getdents(3, /* 775 entries */, 32768) = 32744 
    getdents(3, /* 632 entries */, 32768) = 26464 
    getdents(3, /* 0 entries */, 32768)  = 0 
    close(3)        = 0 
    clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f095d643a10) = 2407 
    wait4(2407, CompilerOracle: exclude org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith 
    CompilerOracle: exclude org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding. 
    CompilerOracle: exclude org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates.instantiateTemplate 
    CompilerOracle: exclude org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage.addBinding 
    CompilerOracle: exclude org/python/pydev/editor/codecompletion/revisited/PythonPathHelper.isValidSourceFile 
    CompilerOracle: exclude org/eclipse/tycho/core/osgitools/EquinoxResolver.newState 
    No bp log location saved, using default. 
    [000:000] Cpu: 15.75.2, x2, 2200Mhz, 3954MB 
    [000:000] Computer model: Not available 
    [000:001] Browser XEmbed support present: 1 
    [000:001] Browser toolkit is Gtk2. 
    [000:001] Using Gtk2 toolkit 
    No bp log location saved, using default. 
    [000:000] Cpu: 15.75.2, x2, 2200Mhz, 3954MB 
    [000:000] Computer model: Not available 
    [{WIFSIGNALED(s) && WTERMSIG(s) == SIGSEGV && WCOREDUMP(s)}], 0, NULL) = 2407 
    --- SIGCHLD {si_signo=SIGCHLD, si_code=CLD_KILLED, si_pid=2407, si_status=SIGSEGV, si_utime=5748, si_stime=480} --- 
    shmctl(1343509, IPC_RMID, 0)   = 0 
    munmap(0x7f0956f08000, 2166864)   = 0 
    exit_group(0)       = ? 
    +++ exited with 0 +++ 
+4

它必须产生一个错误日志......在这里发表的内容.. – TheLostMind

+2

您正在运行64位机?日志应该告诉更多细节。 – Kai

+0

我遇到与oracle java“1.7”相同的问题。0_45“ – polarfish

回答

2

在我的情况下谷歌对话,插件是导致此。卸载它。

+0

还有另外一种替代方案,不太暴力(如果你在Eclipse中不使用Chrome) –

9

我今天只是在为此而战。

Fedora 20 and eclipse-platform-4.3.1-11.fc20.i686 
eclipse.buildId=4.3.0.11fc20 
java.version=1.7.0_51 
java.vendor=Oracle Corporation 

一个空的工作区和Eclipse坐在一分钟或两个核心转储。 最初,Eclipse似乎在一个副本上出现异常并粘贴到一个Java文件中。

rpm --erase google-talkplugin-4.9.1.0-1.i386 
And Eclipse is now stable. Thanks for the debug & hint. 
+0

Fedora票证是:https://bugzilla.redhat.com/show_bug.cgi?id = 1043438#c3 – jeffbuhrt

+0

这是现在在F20常见问题解答中:https://fedoraproject.org/wiki/Common_F20_bugs#Eclipse_crashes_with_Google_Talk_plugin_installed – jeffbuhrt

+0

eclipse.org票证是:https://bugs.eclipse.org/bugs/show_bug.cgi?id = 420974 – jeffbuhrt

1

卸载Google talkplugin。

这个工作适合我。

+1

还有其他替代方法,不太暴力(如果你没有在Eclipse中使用Chrome) –

4

如果你不想卸载google-talkplugin,这个答案可以帮助你。 https://bugzilla.redhat.com/show_bug.cgi?id=1043438#c3

它的工作对我来说,有以下environtment:

  • 的openSUSE 13.1 64
  • 的Eclipse 4.3.2
  • 甲骨文的Java 1.7.0-51
+0

这样做的窍门!谢谢。(你应该添加如何直接在这个问题,以防链接关闭) –