【发布时间】:2014-02-03 17:59:59
【问题描述】:
无论如何我都无法在 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 日食平台 x86_64 1:4.3.1-11.fc20试用发行版和从 eclipse.org 下载的版本
总是一样。启动 eclipse Kepler 并崩溃。 使用 Eclipse 市场快速崩溃。
日志:
!ENTRY org.eclipse.osgi 2 1 2014-01-14 17:30:20.014 !MESSAGE NLS 未使用的消息:LaunchConfigurationType_1 在:org.eclipse.debug.internal.core.DebugCoreMessages !会话 2014-01-15 10:55:20.259 -------------------------------------------------- --------- eclipse.buildId=4.3.0.M20130911-1000 java.version=1.7.0_45 java.vendor=甲骨文公司 BootLoader 常量:OS=linux, ARCH=x86_64, WS=gtk, NL=es_ES 框架参数:-product org.eclipse.epp.package.standard.product 命令行参数:-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 工作区退出前一个会话中未保存的更改;刷新工作区以恢复更改。非常大的转储,回溯它不可用,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(非法搜索) 读取(3,“java版本\”1.7.0_45\“”,4096)= 23 read(3, "\nOpenJDK 运行时环境 (fe"..., 4096) = 121 关闭(3)= 0 munmap(0x7f095d66e000, 4096) = 0 close(3) = -1 EBADF(错误的文件描述符) 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 (没有这样的文件或目录) stat("/etc/gre.d/gre64.conf", 0x7fff321cc6b0) = -1 ENOENT (没有这样的文件或目录) stat("/etc/gre.conf", 0x7fff321cc6b0) = -1 ENOENT (没有这样的文件或目录) stat("/etc/gre.d/gre.conf", 0x7fff321cc6b0) = -1 ENOENT (没有这样的文件或目录) openat(AT_FDCWD, "/usr/lib64/", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = 3 getdents(3, /* 781 个条目 */, 32768) = 32728 getdents(3, /* 787 个条目 */, 32768) = 32768 getdents(3, /* 787 个条目 */, 32768) = 32736 getdents(3, /* 775 个条目 */, 32768) = 32744 getdents(3, /* 632 个条目 */, 32768) = 26464 getdents(3, /* 0 个条目 */, 32768) = 0 关闭(3)= 0 克隆(child_stack=0,标志=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD,child_tidptr=0x7f095d643a10)= 2407 wait4(2407,CompilerOracle:排除 org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith CompilerOracle:排除 org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding。 CompilerOracle:排除 org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates.instantiateTemplate CompilerOracle:排除 org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage.addBinding CompilerOracle:排除 org/python/pydev/editor/codecompletion/revisited/PythonPathHelper.isValidSourceFile CompilerOracle:排除 org/eclipse/tycho/core/osgitools/EquinoxResolver.newState 没有保存 bp 日志位置,使用默认值。 [000:000] CPU:15.75.2,x2,2200Mhz,3954MB [000:000] 计算机型号:不可用 [000:001] 浏览器 XEmbed 支持存在:1 [000:001] 浏览器工具包是 Gtk2。 [000:001] 使用 Gtk2 工具包 没有保存 bp 日志位置,使用默认值。 [000:000] CPU:15.75.2,x2,2200Mhz,3954MB [000:000] 计算机型号:不可用 [{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 退出组(0)=? +++ 以 0 退出 +++【问题讨论】:
-
它一定是生成了一个错误日志...把它的内容贴在这里..
-
您正在运行 64 位机器?日志应该提供更多细节。
-
我在使用 oracle java "1.7.0_45" 时遇到了同样的问题