【问题标题】:Eclipse crashes when I start WindowBuilder GWT当我启动 WindowBuilder GWT 时 Eclipse 崩溃
【发布时间】:2012-12-30 04:10:35
【问题描述】:

当我在 GWT 文件中打开 WindowBuilder 时出现 Eclipse 错误 -> 崩溃(Linux):

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007f59e6ac65a0, pid=25322, tid=140026564249344
#
# JRE version: 7.0_09-b30
# Java VM: OpenJDK 64-Bit Server VM (23.2-b09 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  [libwebkitgtk-1.0.so.0+0x14245a0]  void WTF::freeOwnedGPtr<_GdkEvent>(_GdkEvent*)+0x15df0
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   https://bugs.launchpad.net/ubuntu/+source/openjdk-7/
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.

【问题讨论】:

    标签: eclipse gwt


    【解决方案1】:

    Windowbuilder 与 64 位不兼容。这是一个已知问题。

    【讨论】:

    • 在 windows 中我使用 x64 java + eclipse + gwt - 它可以工作 - 在 linux 中不是
    • Linux 下缺少某些包。我不记得名字了。你可以手动安装它,让它在 Linux 下也能运行。
    • 我是个老家伙,我是这样做的:我为自己构建一个代表设计的简单 HTML 页面,然后通过 GWT 重建它。这样你就可以真正开始学习 GWT,过一段时间你就可以跳过第一步了。或者:您可以使用 Windows。但这不推荐;-)
    【解决方案2】:

    我已经用一些技巧在 Fedora 17-64 位上设置了它:

    1. 从终端运行“sudo yum install webkitgtk”命令。
    2. 转到“eclipse.ini”文件并在该文件末尾添加“-Dorg.eclipse.swt.browser.UseWebKitGTK=true”。

    请参阅this 链接。

    【讨论】:

      猜你喜欢
      • 2013-09-22
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-08-28
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多