2014-01-15 143 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

這樣做的竅門!謝謝。(你應該添加如何直接在這個問題,以防鏈接關閉) –