Eclipse 4.4在MacOS上意外退出-从终端运行时有效

时间:2019-02-01 22:36:01

标签: eclipse eclipse-luna macos-mojave

我正在使用带有macOS Mojave版本10.14.3的2017 MacBook Pro。我正在尝试安装Eclipse 4.4,以便使用GGTS插件。

默认情况下,我从eclipse主页下载了安装文件,并将其解压缩到名为“ eclipse”的文件夹中。

我将Eclipse.app移到了Applications文件夹,但是当我启动程序时,它显示一个错误对话框,提示Eclipse意外退出。

但是,当我从终端运行Eclipse时,效果很好,所以我对此感到困惑是什么根本问题。

这是日志

Process:               eclipse [1381]
Path:                  /Applications/Eclipse.app/Contents/MacOS/eclipse
Identifier:            org.eclipse.platform.ide
Version:               4.4.0 (4.4.0.I20140606-1215)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           eclipse [1381]
User ID:               501

Date/Time:             2019-02-01 15:25:06.911 -0700
OS Version:            Mac OS X 10.14.3 (18D42)
Report Version:        12
Bridge OS Version:     3.0 (14Y674)
Anonymous UUID:        982D7B17-3CD6-65E7-C0E9-80F38A781B0B

Sleep/Wake UUID:       AFBA951A-5AAC-4A65-A546-79D101B90607

Time Awake Since Boot: 2600 seconds
Time Since Wake:       1000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000000000000034
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [1381]

VM Regions Near 0x34:
--> 
    __TEXT                 0000000100000000-0000000100004000 [   16K] r-x/rwx SM=COW  /Applications/Eclipse.app/Contents/MacOS/eclipse

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.CoreFoundation        0x00007fff4b48c11b CFBundleGetFunctionPointerForName + 13
1   org.eclipse.platform.ide        0x000000010000306b findSymbol + 66
2   org.eclipse.platform.ide        0x00000001000017f6 original_main + 1572
3   org.eclipse.platform.ide        0x0000000100001eb5 main + 1230
4   org.eclipse.platform.ide        0x0000000100001090 start + 52

Thread 1:
0   libsystem_pthread.dylib         0x00007fff788a53f8 start_wqthread + 0
1   ???                             0x0000000054485244 0 + 1414025796

Thread 2:
0   libsystem_pthread.dylib         0x00007fff788a53f8 start_wqthread + 0
1   ???                             0x0000000000001703 0 + 5891

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x00006000002002c0  rbx: 0x0000000000000000  rcx: 0x6974696e49746573  rdx: 0x0000000000000006
  rdi: 0x0000000000000000  rsi: 0x00006000002002c0  rbp: 0x00007ffeefbff970  rsp: 0x00007ffeefbff960
   r8: 0x736772416c616974   r9: 0x0000000000000000  r10: 0x00007ffeefbff7f0  r11: 0x00007fff4b48c10e
  r12: 0x00000001000043f8  r13: 0x0000600002608060  r14: 0x00006000002002c0  r15: 0x0000600000c04090
  rip: 0x00007fff4b48c11b  rfl: 0x0000000000010206  cr2: 0x00007fffa412ec88

Logical CPU:     0
Error Code:      0x02000170
Trap Number:     133

我一直在寻找解决方案,但是没有找到任何解决方案。如果您需要更多有关该错误的信息,或者有任何建议,请告诉我。这让我很沮丧。

提前谢谢!

1 个答案:

答案 0 :(得分:0)

这是由于安装错误(请参阅Eclipse错误390071)。

4.4的Eclipse(LUNA)为不恰当的MacOS应用。您必须将完整的Eclipse目录移动到/ Applications而不是Eclipse.app

从Eclipse 4.5(火星)开始,Eclipse被打包为适当的应用程序。