首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Java虚拟机多次崩溃

Java虚拟机多次崩溃
EN

Stack Overflow用户
提问于 2014-01-19 16:29:21
回答 1查看 925关注 0票数 2

这是整个错误消息

http://pastebin.com/bDgye0rt

错误日志太大了,我不能把它附在这里。我不太熟悉jvm在后台是如何工作的,以及它使用什么寄存器。我希望有人能看看这个错误日志,并向我解释它的含义。

代码语言:javascript
复制
#
# 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.
#

我不明白它是怎么创造出来的。它一直在发生。

我有另外3次在我的机器上发生的崩溃的错误日志,如果你认为有必要的话,我可以分享。

编辑

我有大约8条日志,在8条日志中明确指出,程序崩溃前的最后一次调用是

代码语言:javascript
复制
java.net.Inet6AddressImpl.lookupAllHostAddr

我不认为输入有那么大的相关性,因为有一个静态的输入列表是串行解析的,并且错误发生在不同的时间框架(有时在程序运行后1小时,有些时候是6小时,它似乎是随机的)。

EN

回答 1

Stack Overflow用户

发布于 2019-04-25 03:46:25

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

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

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/21219388

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档