JVM在应用程序启动几分钟后崩溃。此应用程序在其他计算机上运行正常。此应用程序使用javax.print apis。是否是打印机dll出错?如何解决此问题?
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007fff089c997d, pid=424, tid=20976
#
# JRE version: OpenJDK Runtime Environment AdoptOpenJDK (11.0.10+9) (build 11.0.10+9)
# Java VM: OpenJDK 64-Bit Server VM AdoptOpenJDK (11.0.10+9, mixed mode, tiered, compressed oops, g1 gc, windows-amd64)
# Problematic frame:
# V [jvm.dll+0x2c997d]
#
#
# If you would like to submit a bug report, please visit:
# https://github.com/AdoptOpenJDK/openjdk-support/issues
#
--------------- S U M M A R Y ------------
Host: Intel(R) Xeon(R) Platinum 8253 CPU @ 2.20GHz, 4 cores, 7G, Windows Server 2012 R2 , 64 bit Build 9600 (6.3.9600.20625)
Time: Fri Nov 11 08:13:53 2022 Central Standard Time elapsed time: 98.393674 seconds (0d 0h 1m 38s)
--------------- T H R E A D ---------------
Current thread (0x000000f2716a2800): GCTaskThread "GC Thread#3" [stack: 0x000000f273d80000,0x000000f273e80000] [id=20976]
Stack: [0x000000f273d80000,0x000000f273e80000], sp=0x000000f273e7ded0, free space=1015k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x2c997d]
V [jvm.dll+0x73e694]
V [jvm.dll+0x65856d]
V [jvm.dll+0x73efcc]
V [jvm.dll+0x6595c4]
V [jvm.dll+0x7a9490]
V [jvm.dll+0x739ba4]
V [jvm.dll+0x5f2466]
C [ucrtbase.DLL+0x1c1ae]
C [KERNEL32.DLL+0x13d2]
C [ntdll.dll+0x15504]
siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), reading address 0x0000000000000000
我试着用增加的java堆空间运行应用程序,但它还是崩溃了。
1条答案
按热度按时间rt4zxlrg1#
这是由于少数打印机的驱动程序有问题。删除这些打印机后,应用程序开始正常工作。Java应该能够更好地处理这些情况!