gpt4 book ai didi

java - Eclipse (C++) 崩溃无法写入核心转储。核心转储已被禁用

转载 作者:太空宇宙 更新时间:2023-11-04 13:43:22 26 4
gpt4 key购买 nike

我在这里发现了一个相关的问题:how to fix “Failed to write core dump.核心转储已被禁用”错误,同时运行 java 和此处:Eclipse 在启动时崩溃以及此处:Eclipse 继续崩溃。

这些解决方案对我的问题不起作用:

# A fatal error has been detected by the Java Runtime Environment:
#
#SIGSEGV (0xb) at pc=0x00007f235f554fe0, pid=5347, tid=139790954133248
#
# JRE version: OpenJDK Runtime Environment (7.0_65-b32) (build 1.7.0_65-b32)
# Java VM: OpenJDK 64-Bit Server VM (24.65-b04 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea 2.5.3
# Distribution: Ubuntu 14.04 LTS, package 7u71-2.5.3-0ubuntu0.14.04.1
# Problematic frame:
# C [libglib-2.0.so.0+0x38fe0] g_str_hash+0x0
#
# Failed to write core dump. Core dumps have been disabled. To enable coredumping, 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:
# http://icedtea.classpath.org/bugzilla
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

当我想打开幻灯片时发生崩溃:Windows/Breakingpoint Types。在我用鼠标点击幻灯片的那一刻,ecipse 试图打开幻灯片(女巫是空的)并崩溃。此外,我无法在我的代码中设置 BreakingPoints,/Run 下的选项显示为灰色。 Shift+Contro+B 也不起作用。

我试过:重新安装eclipse,将行添加到 config.ini(单独)

-Dorg.eclipse.swt.browser.DefaultType=mozilla
org.eclipse.swt.browser.DefaultType=mozilla

我正在使用:面向并行应用程序开发人员的 Eclipse版本:Luna Service Release 1 (4.4.1)内部版本号:20140925-1800Ubuntu 14.04

感谢阅读。

`

最佳答案

SIGSEV 与由于数组边界、无效内存地址引起的段错误有关。

解决方案:

  • 先重新安装eclipse。

  • 如果不行就用 eclipse 重新安装 java。

添加 -XX:LoopUnrollLimit=1 作为参数。

引用:Enterprise Software Development : Don't use JAVA-7

关于java - Eclipse (C++) 崩溃无法写入核心转储。核心转储已被禁用,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26928776/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com