这是整个错误消息
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.
#我不明白它是怎么创造出来的。它一直在发生。
我有另外3次在我的机器上发生的崩溃的错误日志,如果你认为有必要的话,我可以分享。
编辑
我有大约8条日志,在8条日志中明确指出,程序崩溃前的最后一次调用是
java.net.Inet6AddressImpl.lookupAllHostAddr我不认为输入有那么大的相关性,因为有一个静态的输入列表是串行解析的,并且错误发生在不同的时间框架(有时在程序运行后1小时,有些时候是6小时,它似乎是随机的)。
发布于 2019-04-25 03:46:25
这是一个与glibc和IPv6相关的问题。
添加-Djava.net.preferIPv4Stack=true可以安全地要求JVM首先使用IPv4来避免这个问题。
https://stackoverflow.com/questions/21219388
复制相似问题