Java虚拟机多次崩溃

问题描述 投票:1回答:1

这是整个错误消息

http://pastebin.com/bDgye0rt

错误日志太大,我无法在此处附加它。我不是非常熟悉jvm在后台的工作方式以及它使用的寄存器。我希望有人可以查看此错误日志并向我解释它的含义。

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x00007ffd18cbcafe, pid=29906, tid=140725158119168
#
# JRE version: 6.0_27-b27
# Java VM: OpenJDK 64-Bit Server VM (20.0-b12 mixed mode linux-amd64 compressed oops)
# Derivative: IcedTea6 1.12.6
# Distribution: Debian GNU/Linux 7.1 (wheezy), package 6b27-1.12.6-1~deb7u1
# Problematic frame:
# C  [libresolv.so.2+0x7afe]  __libc_res_nquery+0x19e
#
# If you would like to submit a bug report, please include
# instructions 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.
#

我无法理解为什么以及如何创建它。它一直在发生。

PS:我有我的机器中发生的另外3次崩溃的错误日志,如果您认为有必要,我可以分享。

EDIT

我有大约8个日志,在8个日志中明确表示程序崩溃之前的最后一个呼叫是

java.net.Inet6AddressImpl.lookupAllHostAddr

我不相信输入是那么相关,因为有一个静态的输入列表被串行解析,并且错误发生在不同的时间帧(有时在程序运行后1小时和其他一些时间6小时,它出现是随机的)。

java crash runtime-error
1个回答
0
投票

这是与glibc和IPv6相关的问题。

添加-Djava.net.preferIPv4Stack = true可以安全地要求JVM首先使用IPv4来避免此问题。

© www.soinside.com 2019 - 2024. All rights reserved.