adoptium / adoptium-support

For end-user problems reported with our binary distributions
Apache License 2.0
46 stars 15 forks source link

Java window is unexpectedly closed automatically when clicking "virtual media wizard". EXCEPTION_ACCESS_VIOLATION (0xc0000005), Problematic frame: C [javafloppywrapper.dll+0x10a2] #964

Closed chaoqwu closed 11 months ago

chaoqwu commented 11 months ago

Please provide a brief summary of the bug

Java window is unexpectedly closed automatically when clicking "virtual media wizard" image

Please provide steps to reproduce where possible

No response

Expected Results

window not closed

Actual Results

window closed automatically

What Java Version are you using?

openjdk version "1.8.0_392" OpenJDK Runtime Environment (Temurin)(build 1.8.0_392-b08) OpenJDK 64-Bit Server VM (Temurin)(build 25.392-b08, mixed mode)

What is your operating system and platform?

windows 64bit

How did you install Java?

i get it from company own Software Center

Did it work before?

No, 1st time use it

Did you test with the latest update version?

no, i think this is newest version at this moment

Did you test with other Java versions?

no

Relevant log output

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffb982f10a2, pid=26504, tid=0x0000000000005858
#
# JRE version: OpenJDK Runtime Environment (8.0_392-b08) (build 1.8.0_392-b08)
# Java VM: OpenJDK 64-Bit Server VM (25.392-b08 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C  [javafloppywrapper.dll+0x10a2]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
#   https://github.com/adoptium/adoptium-support/issues
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

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

Current thread (0x000001f0c4083000):  JavaThread "AWT-EventQueue-1" [_thread_in_native, id=22616, stack(0x0000000aed600000,0x0000000aed700000)]

siginfo: ExceptionCode=0xc0000005, reading address 0x00000000c3b914b0

Registers:
RAX=0x00000000c3b914b0, RBX=0x0000000aed6fc3b0, RCX=0x00000000c3b914b0, RDX=0x0000000aed6fc190
RSP=0x0000000aed6fc160, RBP=0x0000000aed6fc390, RSI=0x0000000aed6fc190, RDI=0x000001f0c4083260
R8 =0x00000000000005e2, R9 =0x00000000d7c7d6c0, R10=0x0000000000000338, R11=0x0000000071bb4abc
R12=0x0000000000000000, R13=0x000001f0c527a818, R14=0x0000000aed6fc3b0, R15=0x000001f0c4083000
RIP=0x00007ffb982f10a2, EFLAGS=0x0000000000010202

Top of Stack: (sp=0x0000000aed6fc160)
0x0000000aed6fc160:   0000000ac6f0a923 0000000aed6fc3b0
0x0000000aed6fc170:   0000000aed6fc390 0000000aed6fc190
0x0000000aed6fc180:   000000000000002e 0000000000000000
0x0000000aed6fc190:   0000000000000000 0000000000000000
0x0000000aed6fc1a0:   0000000000000000 0000000000000000
0x0000000aed6fc1b0:   0000000000000000 0000000000000000
0x0000000aed6fc1c0:   0000000000000000 0000000000000000
0x0000000aed6fc1d0:   0000000000000000 0000000000000000
0x0000000aed6fc1e0:   0000000000000000 0000000000000000
0x0000000aed6fc1f0:   0000000000000000 0000000000000000
0x0000000aed6fc200:   0000000000000000 0000000000000000
0x0000000aed6fc210:   0000000000000000 0000000000000000
0x0000000aed6fc220:   0000000000000000 0000000000000000
0x0000000aed6fc230:   0000000000000000 0000000000000000
0x0000000aed6fc240:   0000000000000000 0000000000000000
0x0000000aed6fc250:   0000000000000000 0000000000000000 

Instructions: (pc=0x00007ffb982f10a2)
0x00007ffb982f1082:   0d 91 12 01 00 e8 6c 3b 00 00 33 c0 e9 ad 00 00
0x00007ffb982f1092:   00 8b c8 48 8d 54 24 30 48 89 ac 24 d0 01 00 00
0x00007ffb982f10a2:   48 8b 01 ff 50 18 8b e8 85 c0 7f 07 33 c0 e9 83
0x00007ffb982f10b2:   00 00 00 48 8b 07 48 8d 15 41 12 01 00 48 8b cf 

Register to memory mapping:

RAX=0x00000000c3b914b0 is an unallocated location in the heap
RBX=0x0000000aed6fc3b0 is pointing into the stack for thread: 0x000001f0c4083000
RCX=0x00000000c3b914b0 is an unallocated location in the heap
RDX=0x0000000aed6fc190 is pointing into the stack for thread: 0x000001f0c4083000
RSP=0x0000000aed6fc160 is pointing into the stack for thread: 0x000001f0c4083000
RBP=0x0000000aed6fc390 is pointing into the stack for thread: 0x000001f0c4083000
RSI=0x0000000aed6fc190 is pointing into the stack for thread: 0x000001f0c4083000
RDI=0x000001f0c4083260 is an unknown value
R8 =0x00000000000005e2 is an unknown value
R9 =0x00000000d7c7d6c0 is an oop
com.ami.iusb.FloppyRedir 
 - klass: 'com/ami/iusb/FloppyRedir'
R10=0x0000000000000338 is an unknown value
R11=0x0000000071bb4abc is an unknown value
R12=0x0000000000000000 is an unknown value
R13={method} {0x000001f0c527a820} 'listFloppyDrives' '()[Ljava/lang/String;' in 'com/ami/iusb/FloppyRedir'
R14=0x0000000aed6fc3b0 is pointing into the stack for thread: 0x000001f0c4083000
R15=0x000001f0c4083000 is a thread

Stack: [0x0000000aed600000,0x0000000aed700000],  sp=0x0000000aed6fc160,  free space=1008k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [javafloppywrapper.dll+0x10a2]
C  0x000001f0aad89c8e

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  com.ami.iusb.FloppyRedir.listFloppyDrives()[Ljava/lang/String;+0
j  com.ami.iusb.FloppyRedir.getFloppyList()[Ljava/lang/String;+32
j  com.ami.kvm.jviewer.gui.vMediaDialog.getFloppyList()[Ljava/lang/String;+12
j  com.ami.kvm.jviewer.gui.vMediaDialog.<init>(Ljavax/swing/JFrame;Lcom/ami/iusb/IUSBRedirSession;Ljava/lang/String;IIIIIIIIIZLjava/lang/String;)V+896
j  com.ami.kvm.jviewer.gui.JViewerApp.OnvMedia()V+83
j  com.ami.kvm.jviewer.gui.JVMenu$JVMenuListener.actionPerformed(Ljava/awt/event/ActionEvent;)V+825
j  javax.swing.AbstractButton.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+83
j  javax.swing.AbstractButton$Handler.actionPerformed(Ljava/awt/event/ActionEvent;)V+5
j  javax.swing.DefaultButtonModel.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+34
j  javax.swing.DefaultButtonModel.setPressed(Z)V+117
j  javax.swing.AbstractButton.doClick(I)V+64
j  javax.swing.plaf.basic.BasicMenuItemUI.doClick(Ljavax/swing/MenuSelectionManager;)V+53
j  javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Ljava/awt/event/MouseEvent;)V+76
j  java.awt.AWTEventMulticaster.mouseReleased(Ljava/awt/event/MouseEvent;)V+8
j  java.awt.Component.processMouseEvent(Ljava/awt/event/MouseEvent;)V+64
j  javax.swing.JComponent.processMouseEvent(Ljava/awt/event/MouseEvent;)V+23
J 3543 C1 java.awt.Component.processEvent(Ljava/awt/AWTEvent;)V (220 bytes) @ 0x000001f0ab7aa5e4 [0x000001f0ab7aa0c0+0x524]
J 3357 C1 java.awt.Container.processEvent(Ljava/awt/AWTEvent;)V (22 bytes) @ 0x000001f0ab201d4c [0x000001f0ab201a20+0x32c]
J 3356 C1 java.awt.Component.dispatchEventImpl(Ljava/awt/AWTEvent;)V (921 bytes) @ 0x000001f0ab709b5c [0x000001f0ab704640+0x551c]
J 3298 C1 java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V (129 bytes) @ 0x000001f0ab00b5c4 [0x000001f0ab00b480+0x144]
J 3527 C1 java.awt.LightweightDispatcher.retargetMouseEvent(Ljava/awt/Component;ILjava/awt/event/MouseEvent;)V (372 bytes) @ 0x000001f0ab793be4 [0x000001f0ab791360+0x2884]
J 3545 C1 java.awt.LightweightDispatcher.processMouseEvent(Ljava/awt/event/MouseEvent;)Z (286 bytes) @ 0x000001f0ab7b0914 [0x000001f0ab7af200+0x1714]
J 3358 C1 java.awt.LightweightDispatcher.dispatchEvent(Ljava/awt/AWTEvent;)Z (73 bytes) @ 0x000001f0ab2012fc [0x000001f0ab200ec0+0x43c]
J 3298 C1 java.awt.Container.dispatchEventImpl(Ljava/awt/AWTEvent;)V (129 bytes) @ 0x000001f0ab00b564 [0x000001f0ab00b480+0xe4]
J 3359 C1 java.awt.Window.dispatchEventImpl(Ljava/awt/AWTEvent;)V (23 bytes) @ 0x000001f0ab710fe4 [0x000001f0ab710a00+0x5e4]
J 2367 C1 java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V (149 bytes) @ 0x000001f0ab568d3c [0x000001f0ab567500+0x183c]
J 2132 C1 java.awt.EventQueue$3.run()Ljava/lang/Void; (60 bytes) @ 0x000001f0ab4bdd4c [0x000001f0ab4bdb40+0x20c]
J 2131 C1 java.awt.EventQueue$3.run()Ljava/lang/Object; (5 bytes) @ 0x000001f0ab4a9d8c [0x000001f0ab4a9d00+0x8c]
v  ~StubRoutines::call_stub
J 1377  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; (0 bytes) @ 0x000001f0ab238f26 [0x000001f0ab238ec0+0x66]
J 3340 C1 java.awt.EventQueue$4.run()Ljava/lang/Object; (5 bytes) @ 0x000001f0aafcd02c [0x000001f0aafccc00+0x42c]
v  ~StubRoutines::call_stub
J 1377  java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object; (0 bytes) @ 0x000001f0ab238f26 [0x000001f0ab238ec0+0x66]
J 1683 C1 java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V (80 bytes) @ 0x000001f0ab3681fc [0x000001f0ab367380+0xe7c]
J 1706 C1 java.awt.EventDispatchThread.pumpOneEventForFilters(I)V (190 bytes) @ 0x000001f0ab37148c [0x000001f0ab370340+0x114c]
j  java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+35
j  java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
j  java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j  java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j  java.awt.EventDispatchThread.run()V+9
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x000001f0c43be800 JavaThread "Timer-2" daemon [_thread_blocked, id=27732, stack(0x0000000aed500000,0x0000000aed600000)]
  0x000001f0c43c4000 JavaThread "DestroyJavaVM" [_thread_blocked, id=21376, stack(0x0000000aebb00000,0x0000000aebc00000)]
  0x000001f0c289c800 JavaThread "Thread-9" [_thread_blocked, id=17584, stack(0x0000000aee100000,0x0000000aee200000)]
  0x000001f0c289c000 JavaThread "listener" [_thread_in_native, id=13176, stack(0x0000000aee000000,0x0000000aee100000)]
  0x000001f0c289b000 JavaThread "Timer-1" [_thread_blocked, id=25256, stack(0x0000000aed800000,0x0000000aed900000)]
  0x000001f0c2899800 JavaThread "Timer-0" [_thread_blocked, id=30432, stack(0x0000000aed700000,0x0000000aed800000)]
  0x000001f0c289a800 JavaThread "TimerQueue" daemon [_thread_blocked, id=31428, stack(0x0000000aede00000,0x0000000aedf00000)]
  0x000001f0c289e800 JavaThread "Image Fetcher 3" daemon [_thread_blocked, id=17548, stack(0x0000000aeba00000,0x0000000aebb00000)]
  0x000001f0c28a0000 JavaThread "itwpool-1-itwthread-3" daemon [_thread_blocked, id=26632, stack(0x0000000aedb00000,0x0000000aedc00000)]
  0x000001f0c289d800 JavaThread "itwpool-1-itwthread-2" daemon [_thread_blocked, id=11544, stack(0x0000000aeda00000,0x0000000aedb00000)]
  0x000001f0c2899000 JavaThread "itwpool-1-itwthread-1" daemon [_thread_blocked, id=19540, stack(0x0000000aed900000,0x0000000aeda00000)]
=>0x000001f0c4083000 JavaThread "AWT-EventQueue-1" [_thread_in_native, id=22616, stack(0x0000000aed600000,0x0000000aed700000)]
  0x000001f0c23b2800 JavaThread "NetxSecurityThread" daemon [_thread_blocked, id=19416, stack(0x0000000aed400000,0x0000000aed500000)]
  0x000001f0c229c800 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=20312, stack(0x0000000aed300000,0x0000000aed400000)]
  0x000001f0c2303800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=10764, stack(0x0000000aed200000,0x0000000aed300000)]
  0x000001f0c2302800 JavaThread "AWT-Shutdown" [_thread_blocked, id=9132, stack(0x0000000aed100000,0x0000000aed200000)]
  0x000001f0c228f800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=16412, stack(0x0000000aed000000,0x0000000aed100000)]
  0x000001f0c227c000 JavaThread "Output controller consumer daemon" daemon [_thread_blocked, id=1764, stack(0x0000000aecf00000,0x0000000aed000000)]
  0x000001f0c1d54800 JavaThread "Service Thread" daemon [_thread_blocked, id=6568, stack(0x0000000aecd00000,0x0000000aece00000)]
  0x000001f0bf482000 JavaThread "C1 CompilerThread3" daemon [_thread_blocked, id=31688, stack(0x0000000aecc00000,0x0000000aecd00000)]
  0x000001f0bf481000 JavaThread "C2 CompilerThread2" daemon [_thread_blocked, id=24588, stack(0x0000000aecb00000,0x0000000aecc00000)]
  0x000001f0bf47b800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=23960, stack(0x0000000aeca00000,0x0000000aecb00000)]
  0x000001f0bf477800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=26472, stack(0x0000000aec900000,0x0000000aeca00000)]
  0x000001f0bf472800 JavaThread "Attach Listener" daemon [_thread_blocked, id=26980, stack(0x0000000aec800000,0x0000000aec900000)]
  0x000001f0bf442800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=31092, stack(0x0000000aec700000,0x0000000aec800000)]
  0x000001f0bf414000 JavaThread "Finalizer" daemon [_thread_blocked, id=26808, stack(0x0000000aec600000,0x0000000aec700000)]
  0x000001f0bf400000 JavaThread "Reference Handler" daemon [_thread_blocked, id=29792, stack(0x0000000aec500000,0x0000000aec600000)]

Other Threads:
  0x000001f0bf3d0800 VMThread [stack: 0x0000000aec400000,0x0000000aec500000] [id=28684]
  0x000001f0c1d7d800 WatcherThread [stack: 0x0000000aece00000,0x0000000aecf00000] [id=28424]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

heap address: 0x0000000084600000, size: 1978 MB, Compressed Oops mode: 32-bit
Narrow klass base: 0x0000000000000000, Narrow klass shift: 3
Compressed class space size: 1073741824 Address: 0x0000000100000000

Heap:
 PSYoungGen      total 43520K, used 19276K [0x00000000d6d00000, 0x00000000db780000, 0x0000000100000000)
  eden space 38400K, 41% used [0x00000000d6d00000,0x00000000d7c88140,0x00000000d9280000)
  from space 5120K, 65% used [0x00000000d9280000,0x00000000d95cb0c0,0x00000000d9780000)
  to   space 12800K, 0% used [0x00000000dab00000,0x00000000dab00000,0x00000000db780000)
 ParOldGen       total 172032K, used 81403K [0x0000000084600000, 0x000000008ee00000, 0x00000000d6d00000)
  object space 172032K, 47% used [0x0000000084600000,0x000000008957ed28,0x000000008ee00000)
 Metaspace       used 24772K, capacity 25214K, committed 25472K, reserved 1071104K
  class space    used 2923K, capacity 3083K, committed 3200K, reserved 1048576K

Card table byte_map: [0x000001f0ba130000,0x000001f0ba510000] byte_map_base: 0x000001f0b9d0d000

Marking Bits: (ParMarkBitMap*) 0x0000000071bc0830
 Begin Bits: [0x000001f0ba7b0000, 0x000001f0bc698000)
 End Bits:   [0x000001f0bc698000, 0x000001f0be580000)

Polling page: 0x000001f0a8e00000

CodeCache: size=245760Kb used=10622Kb max_used=10622Kb free=235137Kb
 bounds [0x000001f0aad70000, 0x000001f0ab7e0000, 0x000001f0b9d70000]
 total_blobs=3821 nmethods=3176 adapters=557
 compilation: enabled

Compilation events (10 events):
Event: 12.926 Thread 0x000001f0bf482000 3609       3       javax.swing.ArrayTable::size (46 bytes)
Event: 12.926 Thread 0x000001f0bf482000 nmethod 3609 0x000001f0ab7d8d10 code [0x000001f0ab7d8ea0, 0x000001f0ab7d94b0]
Event: 12.926 Thread 0x000001f0bf482000 3606       3       java.lang.reflect.AccessibleObject::setAccessible (21 bytes)
Event: 12.926 Thread 0x000001f0bf482000 nmethod 3606 0x000001f0ab7d9610 code [0x000001f0ab7d97a0, 0x000001f0ab7d9aa0]
Event: 12.926 Thread 0x000001f0bf482000 3607       3       java.lang.reflect.AccessibleObject::setAccessible0 (42 bytes)
Event: 12.926 Thread 0x000001f0bf482000 nmethod 3607 0x000001f0ab7d9bd0 code [0x000001f0ab7d9d60, 0x000001f0ab7da290]
Event: 12.926 Thread 0x000001f0bf482000 3611       3       javax.swing.AbstractButton::setMargin (88 bytes)
Event: 12.926 Thread 0x000001f0bf482000 nmethod 3611 0x000001f0ab7da3d0 code [0x000001f0ab7da5c0, 0x000001f0ab7db020]
Event: 12.926 Thread 0x000001f0bf482000 3610  s    1       java.util.Hashtable::size (5 bytes)
Event: 12.926 Thread 0x000001f0bf482000 nmethod 3610 0x000001f0ab7db2d0 code [0x000001f0ab7db420, 0x000001f0ab7db698]

GC Heap History (10 events):
Event: 2.387 GC heap before
{Heap before GC invocations=3 (full 1):
 PSYoungGen      total 36864K, used 5110K [0x00000000d6d00000, 0x00000000d9600000, 0x0000000100000000)
  eden space 31744K, 0% used [0x00000000d6d00000,0x00000000d6d00000,0x00000000d8c00000)
  from space 5120K, 99% used [0x00000000d9100000,0x00000000d95fdb70,0x00000000d9600000)
  to   space 5120K, 0% used [0x00000000d8c00000,0x00000000d8c00000,0x00000000d9100000)
 ParOldGen       total 84992K, used 7585K [0x0000000084600000, 0x0000000089900000, 0x00000000d6d00000)
  object space 84992K, 8% used [0x0000000084600000,0x0000000084d68610,0x0000000089900000)
 Metaspace       used 20721K, capacity 20972K, committed 21248K, reserved 1069056K
  class space    used 2404K, capacity 2503K, committed 2560K, reserved 1048576K
Event: 2.439 GC heap after
Heap after GC invocations=3 (full 1):
 PSYoungGen      total 36864K, used 0K [0x00000000d6d00000, 0x00000000d9600000, 0x0000000100000000)
  eden space 31744K, 0% used [0x00000000d6d00000,0x00000000d6d00000,0x00000000d8c00000)
  from space 5120K, 0% used [0x00000000d9100000,0x00000000d9100000,0x00000000d9600000)
  to   space 5120K, 0% used [0x00000000d8c00000,0x00000000d8c00000,0x00000000d9100000)
 ParOldGen       total 76288K, used 12160K [0x0000000084600000, 0x0000000089080000, 0x00000000d6d00000)
  object space 76288K, 15% used [0x0000000084600000,0x00000000851e00c8,0x0000000089080000)
 Metaspace       used 20717K, capacity 20966K, committed 21248K, reserved 1069056K
  class space    used 2403K, capacity 2502K, committed 2560K, reserved 1048576K
}
Event: 4.147 GC heap before
{Heap before GC invocations=4 (full 1):
 PSYoungGen      total 36864K, used 31744K [0x00000000d6d00000, 0x00000000d9600000, 0x0000000100000000)
  eden space 31744K, 100% used [0x00000000d6d00000,0x00000000d8c00000,0x00000000d8c00000)
  from space 5120K, 0% used [0x00000000d9100000,0x00000000d9100000,0x00000000d9600000)
  to   space 5120K, 0% used [0x00000000d8c00000,0x00000000d8c00000,0x00000000d9100000)
 ParOldGen       total 76288K, used 12160K [0x0000000084600000, 0x0000000089080000, 0x00000000d6d00000)
  object space 76288K, 15% used [0x0000000084600000,0x00000000851e00c8,0x0000000089080000)
 Metaspace       used 21146K, capacity 21428K, committed 21760K, reserved 1069056K
  class space    used 2426K, capacity 2541K, committed 2560K, reserved 1048576K
Event: 4.149 GC heap after
Heap after GC invocations=4 (full 1):
 PSYoungGen      total 36864K, used 1346K [0x00000000d6d00000, 0x00000000d9c80000, 0x0000000100000000)
  eden space 31744K, 0% used [0x00000000d6d00000,0x00000000d6d00000,0x00000000d8c00000)
  from space 5120K, 26% used [0x00000000d8c00000,0x00000000d8d50940,0x00000000d9100000)
  to   space 5120K, 0% used [0x00000000d9780000,0x00000000d9780000,0x00000000d9c80000)
 ParOldGen       total 76288K, used 12168K [0x0000000084600000, 0x0000000089080000, 0x00000000d6d00000)
  object space 76288K, 15% used [0x0000000084600000,0x00000000851e20c8,0x0000000089080000)
 Metaspace       used 21146K, capacity 21428K, committed 21760K, reserved 1069056K
  class space    used 2426K, capacity 2541K, committed 2560K, reserved 1048576K
}
Event: 4.628 GC heap before
{Heap before GC invocations=5 (full 1):
 PSYoungGen      total 36864K, used 33090K [0x00000000d6d00000, 0x00000000d9c80000, 0x0000000100000000)
  eden space 31744K, 100% used [0x00000000d6d00000,0x00000000d8c00000,0x00000000d8c00000)
  from space 5120K, 26% used [0x00000000d8c00000,0x00000000d8d50940,0x00000000d9100000)
  to   space 5120K, 0% used [0x00000000d9780000,0x00000000d9780000,0x00000000d9c80000)
 ParOldGen       total 76288K, used 12168K [0x0000000084600000, 0x0000000089080000, 0x00000000d6d00000)
  object space 76288K, 15% used [0x0000000084600000,0x00000000851e20c8,0x0000000089080000)
 Metaspace       used 22975K, capacity 23368K, committed 23680K, reserved 1071104K
  class space    used 2729K, capacity 2848K, committed 2944K, reserved 1048576K
Event: 4.640 GC heap after
Heap after GC invocations=5 (full 1):
 PSYoungGen      total 43520K, used 3010K [0x00000000d6d00000, 0x00000000da000000, 0x0000000100000000)
  eden space 38400K, 0% used [0x00000000d6d00000,0x00000000d6d00000,0x00000000d9280000)
  from space 5120K, 58% used [0x00000000d9780000,0x00000000d9a70920,0x00000000d9c80000)
  to   space 5120K, 0% used [0x00000000d9280000,0x00000000d9280000,0x00000000d9780000)
 ParOldGen       total 76288K, used 34676K [0x0000000084600000, 0x0000000089080000, 0x00000000d6d00000)
  object space 76288K, 45% used [0x0000000084600000,0x00000000867dd0f8,0x0000000089080000)
 Metaspace       used 22975K, capacity 23368K, committed 23680K, reserved 1071104K
  class space    used 2729K, capacity 2848K, committed 2944K, reserved 1048576K
}
Event: 5.168 GC heap before
{Heap before GC invocations=6 (full 2):
 PSYoungGen      total 43520K, used 33011K [0x00000000d6d00000, 0x00000000da000000, 0x0000000100000000)
  eden space 38400K, 78% used [0x00000000d6d00000,0x00000000d8a4c508,0x00000000d9280000)
  from space 5120K, 58% used [0x00000000d9780000,0x00000000d9a70920,0x00000000d9c80000)
  to   space 5120K, 0% used [0x00000000d9280000,0x00000000d9280000,0x00000000d9780000)
 ParOldGen       total 76288K, used 64676K [0x0000000084600000, 0x0000000089080000, 0x00000000d6d00000)
  object space 76288K, 84% used [0x0000000084600000,0x0000000088529108,0x0000000089080000)
 Metaspace       used 23567K, capacity 23944K, committed 24192K, reserved 1071104K
  class space    used 2787K, capacity 2912K, committed 2944K, reserved 1048576K
Event: 5.210 GC heap after
Heap after GC invocations=6 (full 2):
 PSYoungGen      total 43520K, used 0K [0x00000000d6d00000, 0x00000000da000000, 0x0000000100000000)
  eden space 38400K, 0% used [0x00000000d6d00000,0x00000000d6d00000,0x00000000d9280000)
  from space 5120K, 0% used [0x00000000d9780000,0x00000000d9780000,0x00000000d9c80000)
  to   space 5120K, 0% used [0x00000000d9280000,0x00000000d9280000,0x00000000d9780000)
 ParOldGen       total 172032K, used 56483K [0x0000000084600000, 0x000000008ee00000, 0x00000000d6d00000)
  object space 172032K, 32% used [0x0000000084600000,0x0000000087d28cd8,0x000000008ee00000)
 Metaspace       used 23567K, capacity 23944K, committed 24192K, reserved 1071104K
  class space    used 2787K, capacity 2912K, committed 2944K, reserved 1048576K
}
Event: 9.334 GC heap before
{Heap before GC invocations=7 (full 2):
 PSYoungGen      total 43520K, used 18663K [0x00000000d6d00000, 0x00000000da000000, 0x0000000100000000)
  eden space 38400K, 48% used [0x00000000d6d00000,0x00000000d7f39c10,0x00000000d9280000)
  from space 5120K, 0% used [0x00000000d9780000,0x00000000d9780000,0x00000000d9c80000)
  to   space 5120K, 0% used [0x00000000d9280000,0x00000000d9280000,0x00000000d9780000)
 ParOldGen       total 172032K, used 56483K [0x0000000084600000, 0x000000008ee00000, 0x00000000d6d00000)
  object space 172032K, 32% used [0x0000000084600000,0x0000000087d28cd8,0x000000008ee00000)
 Metaspace       used 24215K, capacity 24584K, committed 24832K, reserved 1071104K
  class space    used 2851K, capacity 2976K, committed 3072K, reserved 1048576K
Event: 9.346 GC heap after
Heap after GC invocations=7 (full 2):
 PSYoungGen      total 43520K, used 3372K [0x00000000d6d00000, 0x00000000db780000, 0x0000000100000000)
  eden space 38400K, 0% used [0x00000000d6d00000,0x00000000d6d00000,0x00000000d9280000)
  from space 5120K, 65% used [0x00000000d9280000,0x00000000d95cb0c0,0x00000000d9780000)
  to   space 12800K, 0% used [0x00000000dab00000,0x00000000dab00000,0x00000000db780000)
 ParOldGen       total 172032K, used 81403K [0x0000000084600000, 0x000000008ee00000, 0x00000000d6d00000)
  object space 172032K, 47% used [0x0000000084600000,0x000000008957ed28,0x000000008ee00000)
 Metaspace       used 24215K, capacity 24584K, committed 24832K, reserved 1071104K
  class space    used 2851K, capacity 2976K, committed 3072K, reserved 1048576K
}

Deoptimization events (10 events):
Event: 9.286 Thread 0x000001f0c4083000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000001f0ab27eab8 method=java.util.Hashtable.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; @ 60
Event: 9.286 Thread 0x000001f0c4083000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000001f0ab27eab8 method=java.util.Hashtable.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; @ 60
Event: 9.286 Thread 0x000001f0c4083000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000001f0ab27eab8 method=java.util.Hashtable.put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object; @ 60
Event: 9.450 Thread 0x000001f0c289c000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000001f0ab77a850 method=com.ami.kvm.jviewer.soc.video.Decoder.moveBlockIndex()V @ 90
Event: 11.085 Thread 0x000001f0c4083000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000001f0aafd5e04 method=java.awt.Rectangle.inside(II)Z @ 66
Event: 11.090 Thread 0x000001f0c4083000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000001f0ab782e3c method=java.awt.Component.repaint(IIII)V @ 7
Event: 11.122 Thread 0x000001f0c4083000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000001f0ab782e3c method=java.awt.Component.repaint(IIII)V @ 7
Event: 11.202 Thread 0x000001f0c4083000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000001f0ab782e3c method=java.awt.Component.repaint(IIII)V @ 7
Event: 11.202 Thread 0x000001f0c4083000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000001f0ab782e3c method=java.awt.Component.repaint(IIII)V @ 7
Event: 11.966 Thread 0x000001f0c4083000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000001f0ab6fcb78 method=java.awt.Container.findComponentAtImpl(IIZ)Ljava/awt/Component; @ 131

Classes redefined (0 events):
No events

Internal exceptions (10 events):
Event: 4.363 Thread 0x000001f0c289d800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d76328b0) thrown at [C:\workspace\openjdk-build\workspace\build\src\hotspot\src\share\vm\prims\jvm.cpp, line 1514]
Event: 4.364 Thread 0x000001f0c289d800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d76467d0) thrown at [C:\workspace\openjdk-build\workspace\build\src\hotspot\src\share\vm\prims\jvm.cpp, line 1514]
Event: 4.364 Thread 0x000001f0c289d800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d764d0a8) thrown at [C:\workspace\openjdk-build\workspace\build\src\hotspot\src\share\vm\prims\jvm.cpp, line 1514]
Event: 4.364 Thread 0x000001f0c289d800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d764fc08) thrown at [C:\workspace\openjdk-build\workspace\build\src\hotspot\src\share\vm\prims\jvm.cpp, line 1514]
Event: 4.364 Thread 0x000001f0c289d800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d76503c0) thrown at [C:\workspace\openjdk-build\workspace\build\src\hotspot\src\share\vm\prims\jvm.cpp, line 1514]
Event: 4.402 Thread 0x000001f0c289d800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d7847e58) thrown at [C:\workspace\openjdk-build\workspace\build\src\hotspot\src\share\vm\prims\jvm.cpp, line 1514]
Event: 4.414 Thread 0x000001f0c289d800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d7a46bd8) thrown at [C:\workspace\openjdk-build\workspace\build\src\hotspot\src\share\vm\prims\jvm.cpp, line 1514]
Event: 4.418 Thread 0x000001f0c289d800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d7a9f9c8) thrown at [C:\workspace\openjdk-build\workspace\build\src\hotspot\src\share\vm\prims\jvm.cpp, line 1514]
Event: 5.259 Thread 0x000001f0c43c4000 Implicit null exception at 0x000001f0aafd5798 to 0x000001f0aafd6665
Event: 12.012 Thread 0x000001f0c4083000 Exception <a 'java/lang/ClassCastException': javax.swing.JMenuItem cannot be cast to javax.swing.JMenu> (0x00000000d77f37c8) thrown at [C:\workspace\openjdk-build\workspace\build\src\hotspot\src\share\vm\interpreter\interpreterRuntime.cpp, line 386]

Events (10 events):
Event: 12.924 loading class java/awt/datatransfer/SystemFlavorMap$SoftCache
Event: 12.924 loading class java/awt/datatransfer/SystemFlavorMap$SoftCache done
Event: 12.924 loading class javax/swing/TransferHandler$DropHandler
Event: 12.924 loading class javax/swing/TransferHandler$DropHandler done
Event: 12.925 loading class javax/swing/TransferHandler$TransferSupport
Event: 12.925 loading class javax/swing/TransferHandler$TransferSupport done
Event: 12.925 loading class javax/swing/plaf/basic/BasicTableUI$Handler
Event: 12.925 loading class javax/swing/plaf/basic/DragRecognitionSupport$BeforeDrag
Event: 12.925 loading class javax/swing/plaf/basic/DragRecognitionSupport$BeforeDrag done
Event: 12.925 loading class javax/swing/plaf/basic/BasicTableUI$Handler done

Dynamic libraries:
0x00007ff66a2f0000 - 0x00007ff66a341000     C:\Program Files\Eclipse Adoptium\jdk-8.0.392.8-hotspot\jre\bin\java.exe
0x00007ffbc6230000 - 0x00007ffbc6447000     C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007ffbc5130000 - 0x00007ffbc51f4000     C:\WINDOWS\System32\KERNEL32.DLL
0x00007ffbc37c0000 - 0x00007ffbc3b66000     C:\WINDOWS\System32\KERNELBASE.dll
0x00007ffbc3f90000 - 0x00007ffbc4040000     C:\WINDOWS\System32\ADVAPI32.dll
0x00007ffbc56f0000 - 0x00007ffbc5797000     C:\WINDOWS\System32\msvcrt.dll
0x00007ffbc53f0000 - 0x00007ffbc5496000     C:\WINDOWS\System32\sechost.dll
0x00007ffbc5960000 - 0x00007ffbc5a77000     C:\WINDOWS\System32\RPCRT4.dll
0x00007ffbc4040000 - 0x00007ffbc41ed000     C:\WINDOWS\System32\USER32.dll
0x00007ffbc3ca0000 - 0x00007ffbc3cc6000     C:\WINDOWS\System32\win32u.dll
0x00007ffbc4f60000 - 0x00007ffbc4f89000     C:\WINDOWS\System32\GDI32.dll
0x00007ffbc3cd0000 - 0x00007ffbc3de8000     C:\WINDOWS\System32\gdi32full.dll
0x00007ffbc35b0000 - 0x00007ffbc364a000     C:\WINDOWS\System32\msvcp_win.dll
0x00007ffbc3df0000 - 0x00007ffbc3f01000     C:\WINDOWS\System32\ucrtbase.dll
0x00007ffba7680000 - 0x00007ffba7913000     C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.22621.2361_none_2712ced57382f843\COMCTL32.dll
0x00007ffbc5f60000 - 0x00007ffbc5f91000     C:\WINDOWS\System32\IMM32.DLL
0x00007ffb91f80000 - 0x00007ffb92024000     C:\Program Files\McAfee\Endpoint Security\Threat Prevention\Ips\EpMPApi.dll
0x00007ffbc3b70000 - 0x00007ffbc3bdc000     C:\WINDOWS\System32\WINTRUST.dll
0x00007ffbc3650000 - 0x00007ffbc37b6000     C:\WINDOWS\System32\CRYPT32.dll
0x00007ffbc31e0000 - 0x00007ffbc31f2000     C:\WINDOWS\SYSTEM32\MSASN1.dll
0x00000000737c0000 - 0x00000000737cc000     C:\Program Files\McAfee\Endpoint Security\Threat Prevention\Ips\EpMPThe.dll
0x00007ffb98130000 - 0x00007ffb9818b000     C:\Program Files\McAfee\Endpoint Security\Threat Prevention\Ips\HIPHandlers64.dll
0x00007ffbc4350000 - 0x00007ffbc4ba8000     C:\WINDOWS\System32\SHELL32.dll
0x00007ffbc5f00000 - 0x00007ffbc5f5e000     C:\WINDOWS\System32\SHLWAPI.dll
0x00007ffbc0ca0000 - 0x00007ffbc0ece000     C:\WINDOWS\SYSTEM32\dbghelp.dll
0x00007ffbc4bd0000 - 0x00007ffbc4f5a000     C:\WINDOWS\System32\combase.dll
0x00007ffbc41f0000 - 0x00007ffbc42c7000     C:\WINDOWS\System32\OLEAUT32.dll
0x00007ffbafa00000 - 0x00007ffbafa15000     C:\Program Files\Eclipse Adoptium\jdk-8.0.392.8-hotspot\jre\bin\vcruntime140.dll
0x00007ffb8a820000 - 0x00007ffb8a8bb000     C:\Program Files\Eclipse Adoptium\jdk-8.0.392.8-hotspot\jre\bin\msvcp140.dll
0x00000000713e0000 - 0x0000000071c39000     C:\Program Files\Eclipse Adoptium\jdk-8.0.392.8-hotspot\jre\bin\server\jvm.dll
0x00007ffbc5200000 - 0x00007ffbc5208000     C:\WINDOWS\System32\PSAPI.DLL
0x00007ffbb9540000 - 0x00007ffbb9574000     C:\WINDOWS\SYSTEM32\WINMM.dll
0x00007ffbb7600000 - 0x00007ffbb760a000     C:\WINDOWS\SYSTEM32\VERSION.dll
0x00007ffbb64e0000 - 0x00007ffbb64e9000     C:\WINDOWS\SYSTEM32\WSOCK32.dll
0x00007ffbc42d0000 - 0x00007ffbc4341000     C:\WINDOWS\System32\WS2_32.dll
0x00007ffb9cf20000 - 0x00007ffb9cf5a000     C:\Program Files\Eclipse Adoptium\jdk-8.0.392.8-hotspot\jre\bin\splashscreen.dll
0x00007ffbc2460000 - 0x00007ffbc2478000     C:\WINDOWS\SYSTEM32\kernel.appcore.dll
0x00007ffbc0500000 - 0x00007ffbc05ab000     C:\WINDOWS\system32\uxtheme.dll
0x00007ffbb9fe0000 - 0x00007ffbb9ff0000     C:\Program Files\Eclipse Adoptium\jdk-8.0.392.8-hotspot\jre\bin\verify.dll
0x00007ffbae4a0000 - 0x00007ffbae4cb000     C:\Program Files\Eclipse Adoptium\jdk-8.0.392.8-hotspot\jre\bin\java.dll
0x00007ffbc5230000 - 0x00007ffbc537c000     C:\WINDOWS\System32\MSCTF.dll
0x00007ffbaf9b0000 - 0x00007ffbaf9c8000     C:\Program Files\Eclipse Adoptium\jdk-8.0.392.8-hotspot\jre\bin\zip.dll
0x00007ffbc3f10000 - 0x00007ffbc3f8a000     C:\WINDOWS\System32\bcryptPrimitives.dll
0x00007ffbaba30000 - 0x00007ffbabb7a000     C:\WINDOWS\SYSTEM32\textinputframework.dll
0x00007ffbbcc90000 - 0x00007ffbbcdc3000     C:\WINDOWS\SYSTEM32\CoreMessaging.dll
0x00007ffbc12f0000 - 0x00007ffbc1be2000     C:\WINDOWS\SYSTEM32\windows.storage.dll
0x00007ffbc1100000 - 0x00007ffbc123e000     C:\WINDOWS\SYSTEM32\wintypes.dll
0x00007ffbb54c0000 - 0x00007ffbb582c000     C:\WINDOWS\SYSTEM32\CoreUIComponents.dll
0x00007ffbc6040000 - 0x00007ffbc6133000     C:\WINDOWS\System32\SHCORE.dll
0x00007ffbc2cf0000 - 0x00007ffbc2cfc000     C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL
0x00007ffbc34e0000 - 0x00007ffbc3506000     C:\WINDOWS\SYSTEM32\profapi.dll
0x00007ffb4bc30000 - 0x00007ffb4bdc4000     C:\Program Files\Eclipse Adoptium\jdk-8.0.392.8-hotspot\jre\bin\awt.dll
0x00007ffbbcf70000 - 0x00007ffbbd007000     C:\WINDOWS\SYSTEM32\apphelp.dll
0x00007ffbc2d10000 - 0x00007ffbc2d2b000     C:\WINDOWS\SYSTEM32\CRYPTSP.dll
0x00007ffbc2420000 - 0x00007ffbc2455000     C:\WINDOWS\system32\rsaenh.dll
0x00007ffbc2b10000 - 0x00007ffbc2b3c000     C:\WINDOWS\SYSTEM32\USERENV.dll
0x00007ffbc2ea0000 - 0x00007ffbc2ec8000     C:\WINDOWS\SYSTEM32\bcrypt.dll
0x00007ffbaec30000 - 0x00007ffbaec4c000     C:\Program Files\Eclipse Adoptium\jdk-8.0.392.8-hotspot\jre\bin\net.dll
0x00007ffbc2a70000 - 0x00007ffbc2ad9000     C:\WINDOWS\system32\mswsock.dll
0x00007ffbc1d40000 - 0x00007ffbc1d6d000     C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL
0x00007ffbc5660000 - 0x00007ffbc5669000     C:\WINDOWS\System32\NSI.dll
0x00007ffbba2e0000 - 0x00007ffbba2f9000     C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL
0x00007ffbba310000 - 0x00007ffbba32f000     C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL
0x00007ffbc1d70000 - 0x00007ffbc1e69000     C:\WINDOWS\SYSTEM32\DNSAPI.dll
0x00007ffbae8d0000 - 0x00007ffbae8e3000     C:\Program Files\Eclipse Adoptium\jdk-8.0.392.8-hotspot\jre\bin\nio.dll
0x00007ffbc4f90000 - 0x00007ffbc512f000     C:\WINDOWS\System32\ole32.dll
0x00007ffbc0730000 - 0x00007ffbc075b000     C:\WINDOWS\system32\DWMAPI.DLL
0x00007ffb62670000 - 0x00007ffb627bd000     C:\Program Files\Eclipse Adoptium\jdk-8.0.392.8-hotspot\jre\bin\freetype.dll
0x00007ffb6b7b0000 - 0x00007ffb6b881000     C:\Program Files\Eclipse Adoptium\jdk-8.0.392.8-hotspot\jre\bin\fontmanager.dll
0x00007ffb4b0e0000 - 0x00007ffb4b1e0000     C:\WINDOWS\system32\opengl32.dll
0x00007ffb9cc60000 - 0x00007ffb9cc8d000     C:\WINDOWS\SYSTEM32\GLU32.dll
0x00007ffbc05e0000 - 0x00007ffbc0616000     C:\WINDOWS\SYSTEM32\dxcore.dll
0x00007ffb9cc30000 - 0x00007ffb9cc54000     C:\Program Files\Eclipse Adoptium\jdk-8.0.392.8-hotspot\jre\bin\sunec.dll
0x00007ffbb9930000 - 0x00007ffbb993d000     C:\Program Files\Eclipse Adoptium\jdk-8.0.392.8-hotspot\jre\bin\sunmscapi.dll
0x00007ffbc2e70000 - 0x00007ffbc2e9d000     C:\WINDOWS\SYSTEM32\ncrypt.dll
0x00007ffbc2e30000 - 0x00007ffbc2e67000     C:\WINDOWS\SYSTEM32\NTASN1.dll
0x00007ffb9ca20000 - 0x00007ffb9ca4d000     C:\Program Files\Eclipse Adoptium\jdk-8.0.392.8-hotspot\jre\bin\jpeg.dll
0x00007ffb982f0000 - 0x00007ffb98311000     C:\Users\chaoqwu\AppData\Local\Temp\netx-native-45399\javafloppywrapper.dll

VM Arguments:
jvm_args: -Xbootclasspath/a:C:\Program Files (x86)\IcedTeaWeb\WebStart\share/icedtea-web\javaws.jar;C:\Program Files (x86)\IcedTeaWeb\WebStart\share/icedtea-web\plugin.jar;C:\Program Files (x86)\IcedTeaWeb\WebStart\share/icedtea-web\jsobject.jar;C:\Program Files (x86)\IcedTeaWeb\WebStart\win-deps-runtime\js.jar;C:\Program Files (x86)\IcedTeaWeb\WebStart\win-deps-runtime\tagsoup.jar;C:\Program Files (x86)\IcedTeaWeb\WebStart\win-deps-runtime\mslinks.jar;C:\Program Files\Eclipse Adoptium\jdk-8.0.392.8-hotspot\jre\lib\ext\nashorn.jar; -Dicedtea-web.bin.name=javaws.exe -Dicedtea-web.bin.location=C:\Program Files (x86)\IcedTeaWeb\WebStart\bin\javaws.exe 
java_command: net.sourceforge.jnlp.runtime.Boot C:\N-20N3PF1Y8PM6-Data\chaoqwu\Downloads\jviewer.jnlp
java_class_path (initial): C:\Program Files\Eclipse Adoptium\jdk-8.0.392.8-hotspot\jre\lib\rt.jar;C:\Program Files\Eclipse Adoptium\jdk-8.0.392.8-hotspot\jre\lib\ext\jfxrt.jar;
Launcher Type: SUN_STANDARD

Environment Variables:
JAVA_HOME=C:\Program Files\Eclipse Adoptium\jdk-8.0.392.8-hotspot\
PATH=C:\Program Files (x86)\Microsoft\Edge\Application;C:\Program Files\Eclipse Adoptium\jdk-8.0.392.8-hotspot\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Windows\CCM;C:\Program Files (x86)\PuTTY\;C:\Program Files (x86)\IcedTeaWeb\WebStart\bin;C:\Users\chaoqwu\AppData\Local\Microsoft\WindowsApps;C:\Python27;
USERNAME=chaoqwu
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 142 Stepping 12, GenuineIntel

---------------  S Y S T E M  ---------------

OS: Windows 11 , 64 bit Build 22621 (10.0.22621.2428)

CPU:total 8 (initial active 8) (4 cores per cpu, 2 threads per core) family 6 model 142 stepping 12, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, 3dnowpref, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2, adx

Memory: 4k page, physical 8097748k(997168k free), swap 21236932k(7333192k free)

vm_info: OpenJDK 64-Bit Server VM (25.392-b08) for windows-amd64 JRE (1.8.0_392-b08), built on Oct 18 2023 01:02:03 by "jenkins" with MS VC++ 15.9 (VS2017)

time: Wed Nov 29 16:23:24 2023
timezone: China Standard Time
elapsed time: 12.949534 seconds (0d 0h 0m 12s)
karianna commented 11 months ago

You'll need to contact the author of javafloppywrapper.dll - they have an error occuring in that native DLL which is then propagating back through Java

chaoqwu commented 11 months ago

javafloppywrapper.dll

Hi, how to find the author of "javafloppywrapper.dll ". I thought you are the author

karianna commented 11 months ago

where did you install jviewer from?

chaoqwu commented 11 months ago

Jviewer was installed automatically when i installed Java which was downloaded from Nokia software center: image

karianna commented 11 months ago

@chaoqwu OK in that case you need to contact Nokia as they are packaging a version of our binary with IcedTea web

chaoqwu commented 11 months ago

OK. Fine. It's stuck here. Nokia IT is not responsible for 3rd party software issue. Ping-pong happens.

karianna commented 11 months ago

@chaoqwu Ask the Nokia support staff to contact us if required but the error is happening in their software component

chaoqwu commented 11 months ago

@karianna I will talk with them.

alakiza commented 9 months ago

@chaoqwu try to install 32bit java. It helps me on Windows 10 LTSC

plusls commented 9 months ago

It has bug in windows x64 version, you can use my patch script:

#! /usr/bin/env python3
#  Rather than try javaws, lets just download the jars and run them locally

import logging
import os
import platform
import re
import subprocess
import tempfile
import urllib.parse
import zipfile
import argparse

import requests
# from requests.packages.urllib3.exceptions import InsecureRequestWarning
# requests.packages.urllib3.disable_warnings(InsecureRequestWarning)

MAIN_CLASS = "com.ami.kvm.jviewer.JViewer"

#  Follow redirects probably to a https website and then use https rather than http
def scheme_test(server):
    r = requests.get(url=("http://{svr}".format(svr=server)), verify=False)
    return urllib.parse.urlparse(r.url).scheme

# Download the 3 files that are needed. Always named the same, so no
# need to parse jnlp xml
def download_jars(tmpdir: str, scheme: str, ip: str):
    system = platform.system()
    if system == "Linux":
        natives = "Linux_x86_"
    elif system == "Windows":
        natives = "Win"
    elif system == "Darwin":
        natives = "Mac"
    else:
        raise Exception("OS not supported: " + system)
    natives += platform.architecture()[0][:2] + ".jar"

    for jar in ["JViewer.jar", "JViewer-SOC.jar", natives]:
        jar_path = os.path.join(tmpdir, jar)
        jar_url = f'{scheme}://{ip}/Java/release/{jar}'
        r = requests.get(jar_url, verify=False)
        # r.raise_for_status()
        with open(jar_path, "wb") as f:
            logging.info(f"downloading {jar_url} -> {jar_path}")
            f.write(r.content)
        if jar == natives:
            logging.debug(f"extracting {jar_path}")
            try:
                with zipfile.ZipFile(jar_path, "r") as natives_jar:
                    natives_jar.extractall(path=tmpdir)
            except zipfile.BadZipFile:
                logging.error(f"NO NATIVE LIBS FOUND FOR {jar}")

    new_magic_bytes = bytes.fromhex('48 8b 03 45 8b cb'.replace(' ', ''))
    new_new_bytes = bytes.fromhex('48 8b 03 4d 89 d9'.replace(' ', ''))

    delete_magic_bytes = bytes.fromhex('8b d8 8b c8'.replace(' ', ''))
    delete_new_bytes = bytes.fromhex('50 5b 50 59'.replace(' ', ''))

    open_magic_bytes = bytes.fromhex('8b c8 45 33'.replace(' ', ''))
    open_new_bytes = bytes.fromhex('48 91 45 33'.replace(' ', ''))

    close_magic_bytes = bytes.fromhex('8b c8 48 8b 01'.replace(' ', ''))
    close_new_bytes = bytes.fromhex('48 91 48 8b 01'.replace(' ', ''))

    list_get_version_magic_bytes = bytes.fromhex('8b c8 48 8d 54'.replace(' ', ''))
    list_get_version_new_bytes = bytes.fromhex('48 91 48 8d 54'.replace(' ', ''))

    execute_magic_bytes = bytes.fromhex('8b f8 48 8b 06'.replace(' ', ''))
    execute_new_bytes = bytes.fromhex('50 5f 48 8b 06'.replace(' ', ''))

    execute_cdrom_magic_bytes = bytes.fromhex('8b d8 48 8b 07'.replace(' ', ''))
    execute_cdrom_new_bytes = bytes.fromhex('50 5b 48 8b 07'.replace(' ', ''))

    if system == 'Windows':
        for dll in ['javacdromwrapper', 'javafloppywrapper', 'javaharddiskwrapper']:
            with open(f'{tmpdir}/{dll}.dll', 'rb+') as f:
                data = f.read()
                f.seek(0, 0)
                assert(data.count(new_magic_bytes) == 1)
                data = data.replace(new_magic_bytes, new_new_bytes)

                assert(data.count(delete_magic_bytes) == 1)
                data = data.replace(delete_magic_bytes, delete_new_bytes)

                assert(data.count(open_magic_bytes) == 1)
                data = data.replace(open_magic_bytes, open_new_bytes)

                assert(data.count(close_magic_bytes) == 1)
                data = data.replace(close_magic_bytes, close_new_bytes)

                if dll == 'javaharddiskwrapper':
                    assert(data.count(list_get_version_magic_bytes) == 3)
                else:
                    assert(data.count(list_get_version_magic_bytes) == 2)
                data = data.replace(list_get_version_magic_bytes, list_get_version_new_bytes)

                if dll != 'javacdromwrapper':
                    assert(data.count(execute_magic_bytes) == 1)
                    data = data.replace(execute_magic_bytes, execute_new_bytes)
                else:
                    assert(data.count(execute_cdrom_magic_bytes) == 1)
                    data = data.replace(execute_cdrom_magic_bytes, execute_cdrom_new_bytes)
                f.write(data)
    # input()

def run_jviewer(tmpdir: str, scheme: str, ip: str, username: str, password: str):
    session = requests.session()
    login_res = session.post(f"{scheme}://{ip}/rpc/WEBSES/create.asp", data={"WEBVAR_USERNAME": username, "WEBVAR_PASSWORD": password})

    match = re.search("'SESSION_COOKIE' : '([a-zA-Z0-9]+)'", login_res.text)
    assert(match)
    session_cookie = match.group(1)
    session.cookies.update({'SessionCookie': session_cookie})

    jnlp_request = session.get(f'{scheme}://{ip}/Java/jviewer.jnlp?EXTRNIP={ip}&JNLPSTR=JViewer', stream=True)

    jnlp_data = b''
    try:
        for data in jnlp_request.iter_content(chunk_size=1):
            jnlp_data += data
    except requests.exceptions.ChunkedEncodingError as ex:
        pass

    jnlp_path = f'{tmpdir}/jviewer.jnlp'
    with open(jnlp_path, "wb") as jnlpfile:
        jnlpfile.write(jnlp_data)

    args = [
        f"java",
        f"-Djava.library.path={tmpdir}",
        "-cp",
        os.path.join(tmpdir, "*"),
        MAIN_CLASS,
    ]
    args += re.findall(
        "<argument>([^<]+)", jnlp_data.decode()
    )  # Fixes some machines that use malformed xml
    logging.info(" ".join(args))
    subprocess.run(args)

if __name__ == "__main__":
    logging.basicConfig(level=logging.DEBUG)

    parser = argparse.ArgumentParser(
        prog='jviewer-starter',
        description='jviewer-starter')
    parser.add_argument('ip')
    parser.add_argument('username')
    parser.add_argument('password')
    args = parser.parse_args()
    ip = args.ip
    scheme = scheme_test(ip)
    with tempfile.TemporaryDirectory(prefix="jviewer-starter") as td:
        download_jars(td, scheme, ip)
        run_jviewer(td, scheme, ip, args.username, args.password)