Eclipse 意外退出 2022-06

Cyb*_*836 3 java eclipse ide macos

我开始学习Java,几天来一直遇到这个错误。我安装了 eclipse 并且运行得很好。第二天,当我尝试打开该应用程序时,它打不开,并且收到一条消息:

\n

“应用程序 \xe2\x80\x9cEclipse\xe2\x80\x9d 无法打开\xe2\x80\x99。”\n然后\n“eclipse 意外退出”

\n

单击“显示详细信息”时:

\n
-------------------------------------\nTranslated Report \n-------------------------------------\n\nIncident Identifier: FAF2D9F4-0509-4333-8A9B-7DD02068E9E1\nCrashReporter Key:   F85AF088-28E6-8FB6-4EAB-F263B78EA434\nHardware Model:      MacBookAir9,1\nProcess:             eclipse [27160]\nPath:                /Applications/Eclipse.app/Contents/MacOS/eclipse\nIdentifier:          org.eclipse.platform.ide\nVersion:             4.24.0 (4.24.0.I20220607-0700)\nCode Type:           X86-64 (Native)\nRole:                Default\nParent Process:      launchd [1]\nCoalition:           org.eclipse.platform.ide [13823]\n\nDate/Time:           2022-06-22 21:02:08.7804 +0530\nLaunch Time:         2022-06-22 21:02:08.6956 +0530\nOS Version:          macOS 12.3.1 (21E258)\nRelease Type:        User\nReport Version:      104\n\nException Type:  EXC_CRASH (SIGKILL (Code Signature Invalid))\nException Codes: 0x0000000000000000, 0x0000000000000000\nException Note:  EXC_CORPSE_NOTIFY\nTermination Reason: CODESIGNING 1 \n\nTriggered by Thread:  0\n\nThread 0 Crashed:\n0                                           0x16854ad0 _dyld_start + 0\n1   ???                                      0x7062000 ???\n\n\nThread 0 crashed with X86 Thread State (64-bit):\n  rax: 0x0000000000000000  rbx: 0x0000000000000000  rcx: 0x0000000000000000  rdx: 0x0000000000000000\n  rdi: 0x0000000000000000  rsi: 0x0000000000000000  rbp: 0x0000000000000000  rsp: 0x00007ff7b8ea1be8\n   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000000000000  r11: 0x0000000000000000\n  r12: 0x0000000000000000  r13: 0x0000000000000000  r14: 0x0000000000000000  r15: 0x0000000000000000\n  rip: 0x0000000016854ad0  rfl: 0x0000000000000200  cr2: 0x0000000000000000\n  \nLogical CPU:     0\nError Code:      0x00000000 \nTrap Number:     0\n\n\nBinary Images:\n        0x16850000 -         0x168bbfff  (*) <dd9e80de-fb3b-349b-96a4-46874ad34d11> \n         0x7062000 -          0x7065fff ??? (*) <bf0baa93-fe7a-3039-ac22-e0007dc821f4> ???\n\nError Formulating Crash Report:\ndyld_process_snapshot_get_shared_cache failed\n\nEOF\n
Run Code Online (Sandbox Code Playgroud)\n

我已经卸载安装两次了,同样的事情不断发生

\n

Bri*_*ice 9

我在使用 Eclipse RCP 时遇到了完全相同的问题,并且在第二次启动时发生了更多问题。Eclipse \xe2\x80\x8d\xe2\x99\x82\xef\xb8\x8f...

\n

我是这样修复的:

\n
codesign --force --deep --sign - /Applications/Eclipse\\ RCP.app\n
Run Code Online (Sandbox Code Playgroud)\n

下载自:

\n
https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/2022-06/R/eclipse-rcp-2022-06-R-macosx-cocoa-x86_64.dmg&r=1\n
Run Code Online (Sandbox Code Playgroud)\n

构建 ID:

\n
Eclipse IDE for RCP and RAP Developers (includes Incubating components)\n\nVersion: 2022-06 (4.24.0)\nBuild id: 20220609-1112\n
Run Code Online (Sandbox Code Playgroud)\n

我的报告 :

\n
-------------------------------------\nTranslated Report (Full Report Below)\n-------------------------------------\n\nIncident Identifier: 1943C246-131A-4DC3-AC4B-BC431277597F\nCrashReporter Key:   9F468016-722D-5A74-FC64-D618E063DE20\nHardware Model:      MacBookPro16,2\nProcess:             eclipse [11128]\nPath:                /Applications/Eclipse RCP.app/Contents/MacOS/eclipse\nIdentifier:          org.eclipse.platform.ide\nVersion:             4.24.0 (4.24.0.I20220607-0700)\nCode Type:           X86-64 (Native)\nRole:                Default\nParent Process:      launchd [1]\nCoalition:           org.eclipse.platform.ide [64436]\n\nDate/Time:           2022-07-04 15:27:03.5732 +0200\nLaunch Time:         2022-07-04 15:27:03.5298 +0200\nOS Version:          macOS 12.4 (21F79)\nRelease Type:        User\nReport Version:      104\n\nException Type:  EXC_CRASH (SIGKILL (Code Signature Invalid))\nException Codes: 0x0000000000000000, 0x0000000000000000\nException Note:  EXC_CORPSE_NOTIFY\nTermination Reason: CODESIGNING 1 \n\nHighlighted by Thread:  0\n\nBacktrace not available\n\nNo thread state (register information) available\n\nBinary Images:\nBinary images description not available\n\nError Formulating Crash Report:\n_dyld_process_info_create failed with 6\ndyld_process_snapshot_get_shared_cache failed\nFailed to create CSSymbolicatorRef - corpse still valid \xc2\xaf\\_(\xe3\x83\x84)_/\xc2\xaf\nthread_get_state(PAGEIN) returned 0x10000003: (ipc/send) invalid destination port\nthread_get_state(EXCEPTION) returned 0x10000003: (ipc/send) invalid destination port\nthread_get_state(FLAVOR) returned 0x10000003: (ipc/send) invalid destination port\n\nEOF\n
Run Code Online (Sandbox Code Playgroud)\n

macOS 版本:

\n
ProductName:    macOS\nProductVersion: 12.4\nBuildVersion:   21F79\n
Run Code Online (Sandbox Code Playgroud)\n

  • 非常感谢,“codesign --force --deep --sign - /Applications/Eclipse.app”适用于正常安装 (2认同)