Jvm crash on windows 2019 machine on JRE upgrade to 8u261

-1

Our application uses JRE8u144. We want to upgrade it to JRE8u261. On upgrade, when I install the application (as an exe file that also installs jre as part of installation ) on Windows 2019, there is a JVM crash. The same application installs and runs fine on Windows 10 and 2016.

I tried debugging the jvm crash logs and it seems to be related to windows events. I commented out the code that raises windows events and it seems to run fine. Does anyone know of compatibility issues between JRE8 and Windows 2019?

Edit: Sorry for not including the details. Below is the jvm crash log. On googling how to debug the below log, I found that it refers to a "Null pointer" exception. The java code that calls SystemEventNativeImpl.dll is a method that is raising a windows event. I checked the windows event message details and that has not changed. I am new to DLL files. Please let me know if you need any specific detail.

# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ff98b9e6efc, 
pid=1012, tid=0x00000000000012b8
#
# JRE version: Java(TM) SE Runtime Environment (8.0_271-b09) (build 
1.8.0_271-b09)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.271-b09 mixed mode 
windows-amd64 compressed oops)
# Problematic frame:
# C  [ADVAPI32.dll+0x16efc]
#
# Core dump written. Default location: xxxx\hs_err_pid1012.mdmp


---------------  T H R E A D  ---------------

 Current thread (0x000001df76ee5800):  JavaThread "WrapperSimpleAppMain" 
[_thread_in_native, id=4792, stack(0x0000002bedf00000,0x0000002bee000000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000000

Registers:
RAX=0x0000000000000000, RBX=0x00000000c0000008, RCX=0x000000007ffe0380, 
RDX=0x00007ff98e42cde8
RSP=0x0000002bedffe260, RBP=0x0000002bedffe5a8, RSI=0x000000007da60008, ` 
RDI=0x0000000000000000
R8 =0x0000000000000008, R9 =0x0000000000000000, R10=0x000001df79c18fe0, 
R11=0x0000000000000000
R12=0x0000000000000000, R13=0x0000000000000000, R14=0x000001df79c23bf0, 
R15=0x0000000000000000
RIP=0x00007ff98b9e6efc, EFLAGS=0x0000000000010202

Top of Stack: (sp=0x0000002bedffe260)
0x0000002bedffe260:   0000000000000040 00000000c0000008
0x0000002bedffe270:   000000007da60008 0000000000000001
0x0000002bedffe280:   000001df65400cc0 000000000000000c
0x0000002bedffe290:   0000000000000020 0000005000000000
0x0000002bedffe2a0:   0000002b99000099 0000000000000010
0x0000002bedffe2b0:   0000000000000000 0000000000000004
0x0000002bedffe2c0:   0000000000000020 0000000000000000
0x0000002bedffe2d0:   000001df65480000 0000002bedffe379
0x0000002bedffe2e0:   0000000000000002 00007ff98e31d997
0x0000002bedffe2f0:   0001000300030004 0000100000040000
0x0000002bedffe300:   0000000000000000 0000000000000000
0x0000002bedffe310:   01d6b7188faf2534 0000000000000000
0x0000002bedffe320:   000000000000000f 0000000000001000
0x0000002bedffe330:   0000000000000000 000001df76e65e70
0x0000002bedffe340:   0000000000000000 0000000000000000
0x0000002bedffe350:   0000000000000000 000001df79c23bf0 

Instructions: (pc=0x00007ff98b9e6efc)
0x00007ff98b9e6edc:   24 38 01 00 00 48 33 cc e8 97 53 00 00 48 81 c4
0x00007ff98b9e6eec:   40 01 00 00 41 5f 41 5e 41 5d 41 5c 5f 5e 5b c3
0x00007ff98b9e6efc:   45 0f b6 04 24 41 d0 e8 4d 8b 4c 24 08 48 8d 15
0x00007ff98b9e6f0c:   70 ba 05 00 e8 bf 01 00 00 e9 a0 fd ff ff cc cc 


Register to memory mapping:

RAX=0x0000000000000000 is an unknown value
RBX=0x00000000c0000008 is an unknown value
RCX=0x000000007ffe0380 is an unknown value
RDX=0x00007ff98e42cde8 is an unknown value
RSP=0x0000002bedffe260 is pointing into the stack for thread: 
0x000001df76ee5800
RBP=0x0000002bedffe5a8 is pointing into the stack for thread: 
0x000001df76ee5800
RSI=0x000000007da60008 is an unknown value
RDI=0x0000000000000000 is an unknown value
R8 =0x0000000000000008 is an unknown value
R9 =0x0000000000000000 is an unknown value
R10=0x000001df79c18fe0 is an unknown value
R11=0x0000000000000000 is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x0000000000000000 is an unknown value
R14=0x000001df79c23bf0 is an unknown value
R15=0x0000000000000000 is an unknown value


Stack: [0x0000002bedf00000,0x0000002bee000000],  sp=0x0000002bedffe260,  
free space=1016k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native 
code)
C  [ADVAPI32.dll+0x16efc]
C  [ADVAPI32.dll+0x16a56]
C  [com_xxx_platform_windows_SystemEventNativeImpl.dll+0x131e]
C  0x000001df65b39ece
windows
dll
java-8
windows-server-2019
jvm-crash
asked on Stack Overflow Nov 10, 2020 by Nandini R • edited Nov 10, 2020 by Nandini R

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0