我有两个类,\'PeerMessage\' 和 \'PeerMessageOps\'(这只是一个例子)。PeerMessageOps 包含 PeerMessage 类访问的常量值。但我不知道为什么,
我有两个类,\'PeerMessage\' 和 \'PeerMessageOps\'(这只是一个例子)。PeerMessageOps 包含 PeerMessage 类访问的常量值。但我不知道为什么,每次我从 PeerMessage 类执行 \'PeerMessageOps.thing\' 时,Eclipse 都会停止运行并退出,并 hr_err_pid.log
在个人文件夹中留下一个存档(我不明白里面有什么)。在我将新的源存档合并到现有项目后,这种情况开始发生。这也发生在我之前使用的任何存档上。如果我不从另一个类访问一个类,则不会发生此问题,并且一切都正常运行。
hr_err_pid.log
( 截屏 ):
A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007884fd3b61f8, pid=3363, tid=3364
#
# JRE version: OpenJDK Runtime Environment Temurin-17.0.9+9 (17.0.9+9) (build 17.0.9+9)
# Java VM: OpenJDK 64-Bit Server VM Temurin-17.0.9+9 (17.0.9+9, mixed mode, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
# Problematic frame:
# C [libwebkit2gtk-4.0.so.37+0xdb61f8]
#
# Core dump will be written. Default location: Core dumps may be processed with "/usr/share/apport/apport -p%p -s%s -c%c -d%d -P%P -u%u -g%g -- %E" (or dumping to /home/mpatari/core.3363)
#
# If you would like to submit a bug report, please visit:
# https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- S U M M A R Y ------------
Command Line: -Dosgi.requiredJavaVersion=17 [email protected]/eclipse-workspace -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Xms256m -Xmx2048m -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Declipse.p2.max.threads=10 -Doomph.update.url=https://download.eclipse.org/oomph/updates/milestone/latest -Doomph.redirection.index.redirection=index:/->https://raw.githubusercontent.com/eclipse-oomph/oomph/master/setups/ --add-opens=java.base/java.lang=ALL-UNNAMED -Dorg.eclipse.swt.browser.DefaultType=mozilla /home/mpatari/eclipse/jee-2023-092/eclipse//plugins/org.eclipse.equinox.launcher_1.6.500.v20230717-2134.jar -os linux -ws gtk -arch x86_64 -showsplash /home/mpatari/.p2/pool/plugins/org.eclipse.epp.package.common_4.29.0.20230907-1200/splash.bmp -launcher /home/mpatari/eclipse/jee-2023-092/eclipse/eclipse -name Eclipse --launcher.library /home/mpatari/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.700.v20221108-1024/eclipse_11801.so -startup /home/mpatari/eclipse/jee-2023-092/eclipse//plugins/org.eclipse.equinox.launcher_1.6.500.v20230717-2134.jar --launcher.appendVmargs -exitdata 2 -product org.eclipse.epp.package.jee.product -vm /home/mpatari/.p2/pool/plugins/org.eclipse.justj.openjdk.hotspot.jre.full.linux.x86_64_17.0.9.v20231028-0858/jre/bin/java -vmargs -Dosgi.requiredJavaVersion=17 [email protected]/eclipse-workspace -Dosgi.dataAreaRequiresExplicitInit=true -Dorg.eclipse.swt.graphics.Resource.reportNonDisposed=true -Dsun.java.command=Eclipse -Xms256m -Xmx2048m -XX:+UseG1GC -XX:+UseStringDeduplication --add-modules=ALL-SYSTEM -Declipse.p2.max.threads=10 -Doomph.update.url=https://download.eclipse.org/oomph/updates/milestone/latest -Doomph.redirection.index.redirection=index:/->https://raw.githubusercontent.com/eclipse-oomph/oomph/master/setups/ --add-opens=java.base/java.lang=ALL-UNNAMED -Dorg.eclipse.swt.browser.DefaultType=mozilla -jar /home/mpatari/eclipse/jee-2023-092/eclipse//plugins/org.eclipse.equinox.launcher_1.6.500.v20230717-2134.jar
Host: 12th Gen Intel(R) Core(TM) i3-12100, 8 cores, 7G, Ubuntu 22.04.2 LTS
Time: Thu Apr 18 12:46:35 2024 IST elapsed time: 678.075570 seconds (0d 0h 11m 18s)
我尝试重新安装 Eclipse 并创建一个新的工作区来导入以前的项目,但问题仍然存在。我在 Ubuntu 中运行 Eclipse,项目是 Java 的。我还检查了 Eclipse 是否已更新到最新版本。非常感谢您的回复。
Eclipse IDE 2024-03 在 Ubuntu 下崩溃,导致 hr_err_pid.log
下载声明:
本站所有软件和资料均为软件作者提供或网友推荐发布而来,仅供学习和研究使用,不得用于任何商业用途。如本站不慎侵犯你的版权请联系我,我将及时处理,并撤下相关内容!