fusesource / jansi

Jansi is a small java library that allows you to use ANSI escape sequences to format your console output which works even on windows.
http://fusesource.github.io/jansi/
Apache License 2.0
1.12k stars 139 forks source link

JVM crashes due to systemInstall() when running javaw (no terminal) #216

Closed Osiris-Team closed 1 year ago

Osiris-Team commented 3 years ago

When running the jar without a terminal it crashes.

Show full crash log ```log # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000069ac2a6f, pid=166016, tid=45868 # # JRE version: Java(TM) SE Runtime Environment (15.0.2+7) (build 15.0.2+7-27) # Java VM: Java HotSpot(TM) 64-Bit Server VM (15.0.2+7-27, mixed mode, sharing, tiered, compressed oops, g1 gc, windows-amd64) # Problematic frame: # C [jansi-2.3.4-b540ca4f102e84fa-jansi.dll+0x2a6f] # # No core dump will be written. Minidumps are not enabled by default on client versions of Windows # # If you would like to submit a bug report, please visit: # https://bugreport.java.com/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # --------------- S U M M A R Y ------------ Command Line: C:\Users\syres\Desktop\spigot servers latest\AutoPlug-Client.jar Host: Intel(R) Core(TM) i7 CPU 960 @ 3.20GHz, 8 cores, 15G, Windows 10 , 64 bit Build 19041 (10.0.19041.1023) Time: Thu Jul 15 16:09:35 2021 Pacific Daylight Time elapsed time: 1.008261 seconds (0d 0h 0m 1s) --------------- T H R E A D --------------- Current thread (0x0000017b8791f060): JavaThread "main" [_thread_in_native, id=45868, stack(0x0000006e4a300000,0x0000006e4a400000)] Stack: [0x0000006e4a300000,0x0000006e4a400000], sp=0x0000006e4a3feca0, free space=1019k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [jansi-2.3.4-b540ca4f102e84fa-jansi.dll+0x2a6f] Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j org.fusesource.jansi.internal.CLibrary.isatty(I)I+0 j org.fusesource.jansi.AnsiConsole.ansiStream(Z)Lorg/fusesource/jansi/AnsiPrintStream;+62 j org.fusesource.jansi.AnsiConsole.initStreams()V+7 j org.fusesource.jansi.AnsiConsole.systemInstall()V+15 j com.osiris.autoplug.client.Main.main([Ljava/lang/String;)V+82 v ~StubRoutines::call_stub siginfo: EXCEPTION_ACCESS_VIOLATION (0xc0000005), writing address 0x0000000000000000 Register to memory mapping: RIP=0x0000000069ac2a6f jansi-2.3.4-b540ca4f102e84fa-jansi.dll RAX=0x0 is NULL RBX={method} {0x0000017bab812038} 'isatty' '(I)I' in 'org/fusesource/jansi/internal/CLibrary' RCX=0x0 is NULL RDX=0x0000000069ac6362 jansi-2.3.4-b540ca4f102e84fa-jansi.dll RSP=0x0000006e4a3feca0 is pointing into the stack for thread: 0x0000017b8791f060 RBP=0x0000006e4a3ff160 is pointing into the stack for thread: 0x0000017b8791f060 RSI=0x0000017bab5925d8 is pointing into metadata RDI=0x0000000000000248 is an unknown value R8 =0x0000006e4a3fec98 is pointing into the stack for thread: 0x0000017b8791f060 R9 =0x0000006e4a3ff160 is pointing into the stack for thread: 0x0000017b8791f060 R10=0x0 is NULL R11=0x0000000000000246 is an unknown value R12=0x0 is NULL R13={method} {0x0000017bab812038} 'isatty' '(I)I' in 'org/fusesource/jansi/internal/CLibrary' R14=0x0000006e4a3ff180 is pointing into the stack for thread: 0x0000017b8791f060 R15=0x0000017b8791f060 is a thread Registers: RAX=0x0000000000000000, RBX=0x0000017bab812030, RCX=0x0000000000000000, RDX=0x0000000069ac6362 RSP=0x0000006e4a3feca0, RBP=0x0000006e4a3ff160, RSI=0x0000017bab5925d8, RDI=0x0000000000000248 R8 =0x0000006e4a3fec98, R9 =0x0000006e4a3ff160, R10=0x0000000000000000, R11=0x0000000000000246 R12=0x0000000000000000, R13=0x0000017bab812030, R14=0x0000006e4a3ff180, R15=0x0000017b8791f060 RIP=0x0000000069ac2a6f, EFLAGS=0x0000000000010246 Top of Stack: (sp=0x0000006e4a3feca0) 0x0000006e4a3feca0: 0000017bab812030 00007ffadd52d010 0x0000006e4a3fecb0: 0000006e4a3ff160 0000017bab5925d8 0x0000006e4a3fecc0: 0000006e4a3fecdc 00007ffa00000000 0x0000006e4a3fecd0: 00000000ffffffff 000000109a132b30 0x0000006e4a3fece0: 0000000000000000 0000000000000000 0x0000006e4a3fecf0: 0000017bab812030 0000017b8791f060 0x0000006e4a3fed00: 0000006e4a3feed0 00007ffa99f080c3 0x0000006e4a3fed10: 0000006e4a3feff0 0000017b8fb8cd00 0x0000006e4a3fed20: 00000000ffffffff 00007ffa99ed4424 0x0000006e4a3fed30: 0000017bab812030 0000017b8791f060 0x0000006e4a3fed40: 00007ffa9a3a8bf0 0000000000000000 0x0000006e4a3fed50: 0000006e00000007 0000017b8fb6c1b6 0x0000006e4a3fed60: 0000017bab812030 0000006e4a3fef00 0x0000006e4a3fed70: 0000017b8fb6c1b6 00007ffa9a1bcac8 0x0000006e4a3fed80: 0000017b8fb8e09b 000000000000000e 0x0000006e4a3fed90: 0000006e4a3feed0 00007ffa99d93821 Instructions: (pc=0x0000000069ac2a6f) 0x0000000069ac296f: 00 41 89 c6 4d 85 ed 74 08 4c 89 e9 e8 40 21 00 0x0000000069ac297f: 00 4d 85 e4 74 08 4c 89 e1 e8 33 21 00 00 44 89 0x0000000069ac298f: f0 48 83 c4 20 41 5c 41 5d 41 5e c3 90 90 90 90 0x0000000069ac299f: 90 41 54 48 81 ec 40 04 00 00 44 89 c1 ff 15 5a 0x0000000069ac29af: 89 00 00 49 89 c4 48 89 c1 ff 15 76 88 00 00 83 0x0000000069ac29bf: f8 02 75 15 48 8d 54 24 40 4c 89 e1 ff 15 4b 88 0x0000000069ac29cf: 00 00 85 c0 e9 ba 00 00 00 48 83 3d 40 66 00 00 0x0000000069ac29df: 00 75 14 48 8d 0d 57 39 00 00 ff 15 7d 88 00 00 0x0000000069ac29ef: 48 89 05 2a 66 00 00 48 8b 0d 23 66 00 00 48 85 0x0000000069ac29ff: c9 75 07 31 c0 e9 aa 00 00 00 48 83 3d 17 66 00 0x0000000069ac2a0f: 00 00 75 14 48 8d 15 3a 39 00 00 ff 15 2c 88 00 0x0000000069ac2a1f: 00 48 89 05 01 66 00 00 48 8b 05 fa 65 00 00 48 0x0000000069ac2a2f: 85 c0 74 cf 48 8d 54 24 3c 41 b9 fe 03 00 00 4c 0x0000000069ac2a3f: 8d 44 24 40 4c 89 e1 48 89 54 24 20 ba 01 00 00 0x0000000069ac2a4f: 00 ff d0 85 c0 75 ac 8b 44 24 40 4c 8b 64 24 48 0x0000000069ac2a5f: 48 8d 15 fc 38 00 00 66 d1 e8 4c 89 e1 0f b7 c0 0x0000000069ac2a6f: 66 41 c7 04 44 00 00 e8 15 20 00 00 48 85 c0 74 0x0000000069ac2a7f: 1a 48 8d 15 e7 38 00 00 4c 89 e1 e8 01 20 00 00 0x0000000069ac2a8f: 48 85 c0 0f 95 c0 0f b6 c0 eb 19 48 8d 15 d7 38 0x0000000069ac2a9f: 00 00 4c 89 e1 e8 e7 1f 00 00 48 85 c0 75 d2 e9 0x0000000069ac2aaf: 4f ff ff ff 48 81 c4 40 04 00 00 41 5c c3 90 90 0x0000000069ac2abf: 90 41 54 48 83 ec 20 83 3d 33 67 00 00 00 49 89 0x0000000069ac2acf: cc 75 6b 48 8b 01 ff 90 f8 00 00 00 4c 8d 0d ae 0x0000000069ac2adf: 38 00 00 4c 8d 05 a9 38 00 00 4c 89 e1 48 89 c2 0x0000000069ac2aef: 48 89 05 12 67 00 00 49 8b 04 24 ff 90 f0 02 00 0x0000000069ac2aff: 00 48 8b 15 01 67 00 00 4c 8d 0d 8f 38 00 00 4c 0x0000000069ac2b0f: 89 e1 48 89 05 f8 66 00 00 49 8b 04 24 4c 8d 05 0x0000000069ac2b1f: 7c 38 00 00 ff 90 f0 02 00 00 48 89 05 e8 66 00 0x0000000069ac2b2f: 00 0f ae f0 c7 05 c3 66 00 00 01 00 00 00 48 83 0x0000000069ac2b3f: c4 20 41 5c c3 41 56 41 55 41 54 48 83 ec 20 83 0x0000000069ac2b4f: 3d ab 66 00 00 00 49 89 cc 49 89 d6 4d 89 c5 75 0x0000000069ac2b5f: 05 e8 5b ff ff ff 49 8b 04 24 4c 89 f2 4c 89 e1 Stack slot to memory mapping: stack at sp + 0 slots: {method} {0x0000017bab812038} 'isatty' '(I)I' in 'org/fusesource/jansi/internal/CLibrary' stack at sp + 1 slots: 0x00007ffadd52d010 ntdll.dll stack at sp + 2 slots: 0x0000006e4a3ff160 is pointing into the stack for thread: 0x0000017b8791f060 stack at sp + 3 slots: 0x0000017bab5925d8 is pointing into metadata stack at sp + 4 slots: 0x0000006e4a3fecdc is pointing into the stack for thread: 0x0000017b8791f060 stack at sp + 5 slots: 0x00007ffa00000000 is an unknown value stack at sp + 6 slots: 0x00000000ffffffff is an unknown value stack at sp + 7 slots: 0x000000109a132b30 is an unknown value --------------- P R O C E S S --------------- Threads class SMR info: _java_thread_list=0x0000017bac20e940, length=14, elements={ 0x0000017b8791f060, 0x0000017bab0fa0f0, 0x0000017bab0fabd0, 0x0000017baba14260, 0x0000017baba16c30, 0x0000017baba175f0, 0x0000017baba1b890, 0x0000017baba25360, 0x0000017baba38140, 0x0000017babb7a300, 0x0000017babb83b30, 0x0000017babb8f400, 0x0000017bace1ca60, 0x0000017bac529500 } Java Threads: ( => current thread ) =>0x0000017b8791f060 JavaThread "main" [_thread_in_native, id=45868, stack(0x0000006e4a300000,0x0000006e4a400000)] 0x0000017bab0fa0f0 JavaThread "Reference Handler" daemon [_thread_blocked, id=166096, stack(0x0000006e4aa00000,0x0000006e4ab00000)] 0x0000017bab0fabd0 JavaThread "Finalizer" daemon [_thread_blocked, id=220248, stack(0x0000006e4ab00000,0x0000006e4ac00000)] 0x0000017baba14260 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=197832, stack(0x0000006e4ac00000,0x0000006e4ad00000)] 0x0000017baba16c30 JavaThread "Attach Listener" daemon [_thread_blocked, id=170660, stack(0x0000006e4ad00000,0x0000006e4ae00000)] 0x0000017baba175f0 JavaThread "Service Thread" daemon [_thread_blocked, id=132888, stack(0x0000006e4ae00000,0x0000006e4af00000)] 0x0000017baba1b890 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=45260, stack(0x0000006e4af00000,0x0000006e4b000000)] 0x0000017baba25360 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=71896, stack(0x0000006e4b000000,0x0000006e4b100000)] 0x0000017baba38140 JavaThread "Sweeper thread" daemon [_thread_blocked, id=86196, stack(0x0000006e4b100000,0x0000006e4b200000)] 0x0000017babb7a300 JavaThread "Notification Thread" daemon [_thread_blocked, id=247268, stack(0x0000006e4b200000,0x0000006e4b300000)] 0x0000017babb83b30 JavaThread "Common-Cleaner" daemon [_thread_blocked, id=144564, stack(0x0000006e4b400000,0x0000006e4b500000)] 0x0000017babb8f400 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=149964, stack(0x0000006e4b500000,0x0000006e4b600000)] 0x0000017bace1ca60 JavaThread "C2 CompilerThread2" daemon [_thread_blocked, id=32868, stack(0x0000006e4b600000,0x0000006e4b700000)] 0x0000017bac529500 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=199136, stack(0x0000006e4b700000,0x0000006e4b800000)] Other Threads: 0x0000017bab0f8950 VMThread "VM Thread" [stack: 0x0000006e4a900000,0x0000006e4aa00000] [id=223184] 0x0000017babb7d800 WatcherThread [stack: 0x0000006e4b300000,0x0000006e4b400000] [id=26296] 0x0000017b8796fbd0 GCTaskThread "GC Thread#0" [stack: 0x0000006e4a400000,0x0000006e4a500000] [id=212648] 0x0000017b879844d0 ConcurrentGCThread "G1 Main Marker" [stack: 0x0000006e4a500000,0x0000006e4a600000] [id=25996] 0x0000017b87984fd0 ConcurrentGCThread "G1 Conc#0" [stack: 0x0000006e4a600000,0x0000006e4a700000] [id=82580] 0x0000017baaf720c0 ConcurrentGCThread "G1 Refine#0" [stack: 0x0000006e4a700000,0x0000006e4a800000] [id=52680] 0x0000017baaf72bd0 ConcurrentGCThread "G1 Young RemSet Sampling" [stack: 0x0000006e4a800000,0x0000006e4a900000] [id=186800] Threads with active compile tasks: VM state: not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap address: 0x0000000700200000, size: 4094 MB, Compressed Oops mode: Zero based, Oop shift amount: 3 CDS archive(s) mapped at: [0x0000000800000000-0x0000000800b50000-0x0000000800b50000), size 11862016, SharedBaseAddress: 0x0000000800000000, ArchiveRelocationMode: 0. Compressed class space mapped at: 0x0000000800b50000-0x0000000840b50000, size: 1073741824 Narrow klass base: 0x0000000800000000, Narrow klass shift: 3, Narrow klass range: 0x100000000 GC Precious Log: CPUs: 8 total, 8 available Memory: 16375M Large Page Support: Disabled NUMA Support: Disabled Compressed Oops: Enabled (Zero based) Heap Region Size: 2M Heap Min Capacity: 8M Heap Initial Capacity: 256M Heap Max Capacity: 4094M Pre-touch: Disabled Parallel Workers: 8 Concurrent Workers: 2 Concurrent Refinement Workers: 8 Periodic GC: Disabled Heap: garbage-first heap total 262144K, used 14336K [0x0000000700200000, 0x0000000800000000) region size 2048K, 9 young (18432K), 0 survivors (0K) Metaspace used 7995K, capacity 8222K, committed 8448K, reserved 1056768K class space used 852K, capacity 945K, committed 1024K, reserved 1048576K Heap Regions: E=young(eden), S=young(survivor), O=old, HS=humongous(starts), HC=humongous(continues), CS=collection set, F=free, OA=open archive, CA=closed archive, TAMS=top-at-mark-start (previous, next) | 0|0x0000000700200000, 0x0000000700200000, 0x0000000700400000| 0%| F| |TAMS 0x0000000700200000, 0x0000000700200000| Untracked | 1|0x0000000700400000, 0x0000000700400000, 0x0000000700600000| 0%| F| |TAMS 0x0000000700400000, 0x0000000700400000| Untracked | 2|0x0000000700600000, 0x0000000700600000, 0x0000000700800000| 0%| F| |TAMS 0x0000000700600000, 0x0000000700600000| Untracked | 3|0x0000000700800000, 0x0000000700800000, 0x0000000700a00000| 0%| F| |TAMS 0x0000000700800000, 0x0000000700800000| Untracked | 4|0x0000000700a00000, 0x0000000700a00000, 0x0000000700c00000| 0%| F| |TAMS 0x0000000700a00000, 0x0000000700a00000| Untracked | 5|0x0000000700c00000, 0x0000000700c00000, 0x0000000700e00000| 0%| F| |TAMS 0x0000000700c00000, 0x0000000700c00000| Untracked | 6|0x0000000700e00000, 0x0000000700e00000, 0x0000000701000000| 0%| F| |TAMS 0x0000000700e00000, 0x0000000700e00000| Untracked | 7|0x0000000701000000, 0x0000000701000000, 0x0000000701200000| 0%| F| |TAMS 0x0000000701000000, 0x0000000701000000| Untracked | 8|0x0000000701200000, 0x0000000701200000, 0x0000000701400000| 0%| F| |TAMS 0x0000000701200000, 0x0000000701200000| Untracked | 9|0x0000000701400000, 0x0000000701400000, 0x0000000701600000| 0%| F| |TAMS 0x0000000701400000, 0x0000000701400000| Untracked | 10|0x0000000701600000, 0x0000000701600000, 0x0000000701800000| 0%| F| |TAMS 0x0000000701600000, 0x0000000701600000| Untracked | 11|0x0000000701800000, 0x0000000701800000, 0x0000000701a00000| 0%| F| |TAMS 0x0000000701800000, 0x0000000701800000| Untracked | 12|0x0000000701a00000, 0x0000000701a00000, 0x0000000701c00000| 0%| F| |TAMS 0x0000000701a00000, 0x0000000701a00000| Untracked | 13|0x0000000701c00000, 0x0000000701c00000, 0x0000000701e00000| 0%| F| |TAMS 0x0000000701c00000, 0x0000000701c00000| Untracked | 14|0x0000000701e00000, 0x0000000701e00000, 0x0000000702000000| 0%| F| |TAMS 0x0000000701e00000, 0x0000000701e00000| Untracked | 15|0x0000000702000000, 0x0000000702000000, 0x0000000702200000| 0%| F| |TAMS 0x0000000702000000, 0x0000000702000000| Untracked | 16|0x0000000702200000, 0x0000000702200000, 0x0000000702400000| 0%| F| |TAMS 0x0000000702200000, 0x0000000702200000| Untracked | 17|0x0000000702400000, 0x0000000702400000, 0x0000000702600000| 0%| F| |TAMS 0x0000000702400000, 0x0000000702400000| Untracked | 18|0x0000000702600000, 0x0000000702600000, 0x0000000702800000| 0%| F| |TAMS 0x0000000702600000, 0x0000000702600000| Untracked | 19|0x0000000702800000, 0x0000000702800000, 0x0000000702a00000| 0%| F| |TAMS 0x0000000702800000, 0x0000000702800000| Untracked | 20|0x0000000702a00000, 0x0000000702a00000, 0x0000000702c00000| 0%| F| |TAMS 0x0000000702a00000, 0x0000000702a00000| Untracked | 21|0x0000000702c00000, 0x0000000702c00000, 0x0000000702e00000| 0%| F| |TAMS 0x0000000702c00000, 0x0000000702c00000| Untracked | 22|0x0000000702e00000, 0x0000000702e00000, 0x0000000703000000| 0%| F| |TAMS 0x0000000702e00000, 0x0000000702e00000| Untracked | 23|0x0000000703000000, 0x0000000703000000, 0x0000000703200000| 0%| F| |TAMS 0x0000000703000000, 0x0000000703000000| Untracked | 24|0x0000000703200000, 0x0000000703200000, 0x0000000703400000| 0%| F| |TAMS 0x0000000703200000, 0x0000000703200000| Untracked | 25|0x0000000703400000, 0x0000000703400000, 0x0000000703600000| 0%| F| |TAMS 0x0000000703400000, 0x0000000703400000| Untracked | 26|0x0000000703600000, 0x0000000703600000, 0x0000000703800000| 0%| F| |TAMS 0x0000000703600000, 0x0000000703600000| Untracked | 27|0x0000000703800000, 0x0000000703800000, 0x0000000703a00000| 0%| F| |TAMS 0x0000000703800000, 0x0000000703800000| Untracked | 28|0x0000000703a00000, 0x0000000703a00000, 0x0000000703c00000| 0%| F| |TAMS 0x0000000703a00000, 0x0000000703a00000| Untracked | 29|0x0000000703c00000, 0x0000000703c00000, 0x0000000703e00000| 0%| F| |TAMS 0x0000000703c00000, 0x0000000703c00000| Untracked | 30|0x0000000703e00000, 0x0000000703e00000, 0x0000000704000000| 0%| F| |TAMS 0x0000000703e00000, 0x0000000703e00000| Untracked | 31|0x0000000704000000, 0x0000000704000000, 0x0000000704200000| 0%| F| |TAMS 0x0000000704000000, 0x0000000704000000| Untracked | 32|0x0000000704200000, 0x0000000704200000, 0x0000000704400000| 0%| F| |TAMS 0x0000000704200000, 0x0000000704200000| Untracked | 33|0x0000000704400000, 0x0000000704400000, 0x0000000704600000| 0%| F| |TAMS 0x0000000704400000, 0x0000000704400000| Untracked | 34|0x0000000704600000, 0x0000000704600000, 0x0000000704800000| 0%| F| |TAMS 0x0000000704600000, 0x0000000704600000| Untracked | 35|0x0000000704800000, 0x0000000704800000, 0x0000000704a00000| 0%| F| |TAMS 0x0000000704800000, 0x0000000704800000| Untracked | 36|0x0000000704a00000, 0x0000000704a00000, 0x0000000704c00000| 0%| F| |TAMS 0x0000000704a00000, 0x0000000704a00000| Untracked | 37|0x0000000704c00000, 0x0000000704c00000, 0x0000000704e00000| 0%| F| |TAMS 0x0000000704c00000, 0x0000000704c00000| Untracked | 38|0x0000000704e00000, 0x0000000704e00000, 0x0000000705000000| 0%| F| |TAMS 0x0000000704e00000, 0x0000000704e00000| Untracked | 39|0x0000000705000000, 0x0000000705000000, 0x0000000705200000| 0%| F| |TAMS 0x0000000705000000, 0x0000000705000000| Untracked | 40|0x0000000705200000, 0x0000000705200000, 0x0000000705400000| 0%| F| |TAMS 0x0000000705200000, 0x0000000705200000| Untracked | 41|0x0000000705400000, 0x0000000705400000, 0x0000000705600000| 0%| F| |TAMS 0x0000000705400000, 0x0000000705400000| Untracked | 42|0x0000000705600000, 0x0000000705600000, 0x0000000705800000| 0%| F| |TAMS 0x0000000705600000, 0x0000000705600000| Untracked | 43|0x0000000705800000, 0x0000000705800000, 0x0000000705a00000| 0%| F| |TAMS 0x0000000705800000, 0x0000000705800000| Untracked | 44|0x0000000705a00000, 0x0000000705a00000, 0x0000000705c00000| 0%| F| |TAMS 0x0000000705a00000, 0x0000000705a00000| Untracked | 45|0x0000000705c00000, 0x0000000705c00000, 0x0000000705e00000| 0%| F| |TAMS 0x0000000705c00000, 0x0000000705c00000| Untracked | 46|0x0000000705e00000, 0x0000000705e00000, 0x0000000706000000| 0%| F| |TAMS 0x0000000705e00000, 0x0000000705e00000| Untracked | 47|0x0000000706000000, 0x0000000706000000, 0x0000000706200000| 0%| F| |TAMS 0x0000000706000000, 0x0000000706000000| Untracked | 48|0x0000000706200000, 0x0000000706200000, 0x0000000706400000| 0%| F| |TAMS 0x0000000706200000, 0x0000000706200000| Untracked | 49|0x0000000706400000, 0x0000000706400000, 0x0000000706600000| 0%| F| |TAMS 0x0000000706400000, 0x0000000706400000| Untracked | 50|0x0000000706600000, 0x0000000706600000, 0x0000000706800000| 0%| F| |TAMS 0x0000000706600000, 0x0000000706600000| Untracked | 51|0x0000000706800000, 0x0000000706800000, 0x0000000706a00000| 0%| F| |TAMS 0x0000000706800000, 0x0000000706800000| Untracked | 52|0x0000000706a00000, 0x0000000706a00000, 0x0000000706c00000| 0%| F| |TAMS 0x0000000706a00000, 0x0000000706a00000| Untracked | 53|0x0000000706c00000, 0x0000000706c00000, 0x0000000706e00000| 0%| F| |TAMS 0x0000000706c00000, 0x0000000706c00000| Untracked | 54|0x0000000706e00000, 0x0000000706e00000, 0x0000000707000000| 0%| F| |TAMS 0x0000000706e00000, 0x0000000706e00000| Untracked | 55|0x0000000707000000, 0x0000000707000000, 0x0000000707200000| 0%| F| |TAMS 0x0000000707000000, 0x0000000707000000| Untracked | 56|0x0000000707200000, 0x0000000707200000, 0x0000000707400000| 0%| F| |TAMS 0x0000000707200000, 0x0000000707200000| Untracked | 57|0x0000000707400000, 0x0000000707400000, 0x0000000707600000| 0%| F| |TAMS 0x0000000707400000, 0x0000000707400000| Untracked | 58|0x0000000707600000, 0x0000000707600000, 0x0000000707800000| 0%| F| |TAMS 0x0000000707600000, 0x0000000707600000| Untracked | 59|0x0000000707800000, 0x0000000707800000, 0x0000000707a00000| 0%| F| |TAMS 0x0000000707800000, 0x0000000707800000| Untracked | 60|0x0000000707a00000, 0x0000000707a00000, 0x0000000707c00000| 0%| F| |TAMS 0x0000000707a00000, 0x0000000707a00000| Untracked | 61|0x0000000707c00000, 0x0000000707c00000, 0x0000000707e00000| 0%| F| |TAMS 0x0000000707c00000, 0x0000000707c00000| Untracked | 62|0x0000000707e00000, 0x0000000707e00000, 0x0000000708000000| 0%| F| |TAMS 0x0000000707e00000, 0x0000000707e00000| Untracked | 63|0x0000000708000000, 0x0000000708000000, 0x0000000708200000| 0%| F| |TAMS 0x0000000708000000, 0x0000000708000000| Untracked | 64|0x0000000708200000, 0x0000000708200000, 0x0000000708400000| 0%| F| |TAMS 0x0000000708200000, 0x0000000708200000| Untracked | 65|0x0000000708400000, 0x0000000708400000, 0x0000000708600000| 0%| F| |TAMS 0x0000000708400000, 0x0000000708400000| Untracked | 66|0x0000000708600000, 0x0000000708600000, 0x0000000708800000| 0%| F| |TAMS 0x0000000708600000, 0x0000000708600000| Untracked | 67|0x0000000708800000, 0x0000000708800000, 0x0000000708a00000| 0%| F| |TAMS 0x0000000708800000, 0x0000000708800000| Untracked | 68|0x0000000708a00000, 0x0000000708a00000, 0x0000000708c00000| 0%| F| |TAMS 0x0000000708a00000, 0x0000000708a00000| Untracked | 69|0x0000000708c00000, 0x0000000708c00000, 0x0000000708e00000| 0%| F| |TAMS 0x0000000708c00000, 0x0000000708c00000| Untracked | 70|0x0000000708e00000, 0x0000000708e00000, 0x0000000709000000| 0%| F| |TAMS 0x0000000708e00000, 0x0000000708e00000| Untracked | 71|0x0000000709000000, 0x0000000709000000, 0x0000000709200000| 0%| F| |TAMS 0x0000000709000000, 0x0000000709000000| Untracked | 72|0x0000000709200000, 0x0000000709200000, 0x0000000709400000| 0%| F| |TAMS 0x0000000709200000, 0x0000000709200000| Untracked | 73|0x0000000709400000, 0x0000000709400000, 0x0000000709600000| 0%| F| |TAMS 0x0000000709400000, 0x0000000709400000| Untracked | 74|0x0000000709600000, 0x0000000709600000, 0x0000000709800000| 0%| F| |TAMS 0x0000000709600000, 0x0000000709600000| Untracked | 75|0x0000000709800000, 0x0000000709800000, 0x0000000709a00000| 0%| F| |TAMS 0x0000000709800000, 0x0000000709800000| Untracked | 76|0x0000000709a00000, 0x0000000709a00000, 0x0000000709c00000| 0%| F| |TAMS 0x0000000709a00000, 0x0000000709a00000| Untracked | 77|0x0000000709c00000, 0x0000000709c00000, 0x0000000709e00000| 0%| F| |TAMS 0x0000000709c00000, 0x0000000709c00000| Untracked | 78|0x0000000709e00000, 0x0000000709e00000, 0x000000070a000000| 0%| F| |TAMS 0x0000000709e00000, 0x0000000709e00000| Untracked | 79|0x000000070a000000, 0x000000070a000000, 0x000000070a200000| 0%| F| |TAMS 0x000000070a000000, 0x000000070a000000| Untracked | 80|0x000000070a200000, 0x000000070a200000, 0x000000070a400000| 0%| F| |TAMS 0x000000070a200000, 0x000000070a200000| Untracked | 81|0x000000070a400000, 0x000000070a400000, 0x000000070a600000| 0%| F| |TAMS 0x000000070a400000, 0x000000070a400000| Untracked | 82|0x000000070a600000, 0x000000070a600000, 0x000000070a800000| 0%| F| |TAMS 0x000000070a600000, 0x000000070a600000| Untracked | 83|0x000000070a800000, 0x000000070a800000, 0x000000070aa00000| 0%| F| |TAMS 0x000000070a800000, 0x000000070a800000| Untracked | 84|0x000000070aa00000, 0x000000070aa00000, 0x000000070ac00000| 0%| F| |TAMS 0x000000070aa00000, 0x000000070aa00000| Untracked | 85|0x000000070ac00000, 0x000000070ac00000, 0x000000070ae00000| 0%| F| |TAMS 0x000000070ac00000, 0x000000070ac00000| Untracked | 86|0x000000070ae00000, 0x000000070ae00000, 0x000000070b000000| 0%| F| |TAMS 0x000000070ae00000, 0x000000070ae00000| Untracked | 87|0x000000070b000000, 0x000000070b000000, 0x000000070b200000| 0%| F| |TAMS 0x000000070b000000, 0x000000070b000000| Untracked | 88|0x000000070b200000, 0x000000070b200000, 0x000000070b400000| 0%| F| |TAMS 0x000000070b200000, 0x000000070b200000| Untracked | 89|0x000000070b400000, 0x000000070b400000, 0x000000070b600000| 0%| F| |TAMS 0x000000070b400000, 0x000000070b400000| Untracked | 90|0x000000070b600000, 0x000000070b600000, 0x000000070b800000| 0%| F| |TAMS 0x000000070b600000, 0x000000070b600000| Untracked | 91|0x000000070b800000, 0x000000070b800000, 0x000000070ba00000| 0%| F| |TAMS 0x000000070b800000, 0x000000070b800000| Untracked | 92|0x000000070ba00000, 0x000000070ba00000, 0x000000070bc00000| 0%| F| |TAMS 0x000000070ba00000, 0x000000070ba00000| Untracked | 93|0x000000070bc00000, 0x000000070bc00000, 0x000000070be00000| 0%| F| |TAMS 0x000000070bc00000, 0x000000070bc00000| Untracked | 94|0x000000070be00000, 0x000000070be00000, 0x000000070c000000| 0%| F| |TAMS 0x000000070be00000, 0x000000070be00000| Untracked | 95|0x000000070c000000, 0x000000070c000000, 0x000000070c200000| 0%| F| |TAMS 0x000000070c000000, 0x000000070c000000| Untracked | 96|0x000000070c200000, 0x000000070c200000, 0x000000070c400000| 0%| F| |TAMS 0x000000070c200000, 0x000000070c200000| Untracked | 97|0x000000070c400000, 0x000000070c400000, 0x000000070c600000| 0%| F| |TAMS 0x000000070c400000, 0x000000070c400000| Untracked | 98|0x000000070c600000, 0x000000070c600000, 0x000000070c800000| 0%| F| |TAMS 0x000000070c600000, 0x000000070c600000| Untracked | 99|0x000000070c800000, 0x000000070c800000, 0x000000070ca00000| 0%| F| |TAMS 0x000000070c800000, 0x000000070c800000| Untracked | 100|0x000000070ca00000, 0x000000070ca00000, 0x000000070cc00000| 0%| F| |TAMS 0x000000070ca00000, 0x000000070ca00000| Untracked | 101|0x000000070cc00000, 0x000000070cc00000, 0x000000070ce00000| 0%| F| |TAMS 0x000000070cc00000, 0x000000070cc00000| Untracked | 102|0x000000070ce00000, 0x000000070ce00000, 0x000000070d000000| 0%| F| |TAMS 0x000000070ce00000, 0x000000070ce00000| Untracked | 103|0x000000070d000000, 0x000000070d000000, 0x000000070d200000| 0%| F| |TAMS 0x000000070d000000, 0x000000070d000000| Untracked | 104|0x000000070d200000, 0x000000070d200000, 0x000000070d400000| 0%| F| |TAMS 0x000000070d200000, 0x000000070d200000| Untracked | 105|0x000000070d400000, 0x000000070d400000, 0x000000070d600000| 0%| F| |TAMS 0x000000070d400000, 0x000000070d400000| Untracked | 106|0x000000070d600000, 0x000000070d600000, 0x000000070d800000| 0%| F| |TAMS 0x000000070d600000, 0x000000070d600000| Untracked | 107|0x000000070d800000, 0x000000070d800000, 0x000000070da00000| 0%| F| |TAMS 0x000000070d800000, 0x000000070d800000| Untracked | 108|0x000000070da00000, 0x000000070da00000, 0x000000070dc00000| 0%| F| |TAMS 0x000000070da00000, 0x000000070da00000| Untracked | 109|0x000000070dc00000, 0x000000070dc00000, 0x000000070de00000| 0%| F| |TAMS 0x000000070dc00000, 0x000000070dc00000| Untracked | 110|0x000000070de00000, 0x000000070de00000, 0x000000070e000000| 0%| F| |TAMS 0x000000070de00000, 0x000000070de00000| Untracked | 111|0x000000070e000000, 0x000000070e000000, 0x000000070e200000| 0%| F| |TAMS 0x000000070e000000, 0x000000070e000000| Untracked | 112|0x000000070e200000, 0x000000070e200000, 0x000000070e400000| 0%| F| |TAMS 0x000000070e200000, 0x000000070e200000| Untracked | 113|0x000000070e400000, 0x000000070e400000, 0x000000070e600000| 0%| F| |TAMS 0x000000070e400000, 0x000000070e400000| Untracked | 114|0x000000070e600000, 0x000000070e600000, 0x000000070e800000| 0%| F| |TAMS 0x000000070e600000, 0x000000070e600000| Untracked | 115|0x000000070e800000, 0x000000070e800000, 0x000000070ea00000| 0%| F| |TAMS 0x000000070e800000, 0x000000070e800000| Untracked | 116|0x000000070ea00000, 0x000000070ea00000, 0x000000070ec00000| 0%| F| |TAMS 0x000000070ea00000, 0x000000070ea00000| Untracked | 117|0x000000070ec00000, 0x000000070ec00000, 0x000000070ee00000| 0%| F| |TAMS 0x000000070ec00000, 0x000000070ec00000| Untracked | 118|0x000000070ee00000, 0x000000070ee00000, 0x000000070f000000| 0%| F| |TAMS 0x000000070ee00000, 0x000000070ee00000| Untracked | 119|0x000000070f000000, 0x000000070f200000, 0x000000070f200000|100%| E| |TAMS 0x000000070f000000, 0x000000070f000000| Complete | 120|0x000000070f200000, 0x000000070f400000, 0x000000070f400000|100%| E|CS|TAMS 0x000000070f200000, 0x000000070f200000| Complete | 121|0x000000070f400000, 0x000000070f600000, 0x000000070f600000|100%| E|CS|TAMS 0x000000070f400000, 0x000000070f400000| Complete | 122|0x000000070f600000, 0x000000070f800000, 0x000000070f800000|100%| E|CS|TAMS 0x000000070f600000, 0x000000070f600000| Complete | 123|0x000000070f800000, 0x000000070fa00000, 0x000000070fa00000|100%| E|CS|TAMS 0x000000070f800000, 0x000000070f800000| Complete | 124|0x000000070fa00000, 0x000000070fc00000, 0x000000070fc00000|100%| E|CS|TAMS 0x000000070fa00000, 0x000000070fa00000| Complete | 125|0x000000070fc00000, 0x000000070fe00000, 0x000000070fe00000|100%| E|CS|TAMS 0x000000070fc00000, 0x000000070fc00000| Complete | 126|0x000000070fe00000, 0x0000000710000000, 0x0000000710000000|100%| E|CS|TAMS 0x000000070fe00000, 0x000000070fe00000| Complete | 127|0x0000000710000000, 0x0000000710200000, 0x0000000710200000|100%| E| |TAMS 0x0000000710000000, 0x0000000710000000| Complete Card table byte_map: [0x0000017b9f690000,0x0000017b9fe90000] _byte_map_base: 0x0000017b9be8f000 Marking Bits (Prev, Next): (CMBitMap*) 0x0000017b87972370, (CMBitMap*) 0x0000017b879723b0 Prev Bits: [0x0000017ba0690000, 0x0000017ba4688000) Next Bits: [0x0000017ba4690000, 0x0000017ba8688000) Polling page: 0x0000017b85900000 Metaspace: Usage: Non-class: 7.11 MB capacity, 6.97 MB ( 98%) used, 128.13 KB ( 2%) free+waste, 6.69 KB ( <1%) overhead. Class: 945.00 KB capacity, 852.86 KB ( 90%) used, 88.77 KB ( 9%) free+waste, 3.38 KB ( <1%) overhead. Both: 8.03 MB capacity, 7.81 MB ( 97%) used, 216.90 KB ( 3%) free+waste, 10.06 KB ( <1%) overhead. Virtual space: Non-class space: 8.00 MB reserved, 7.25 MB ( 91%) committed Class space: 1.00 GB reserved, 1.00 MB ( <1%) committed Both: 1.01 GB reserved, 8.25 MB ( <1%) committed Chunk freelists: Non-Class: 19.00 KB Class: 15.00 KB Both: 34.00 KB MaxMetaspaceSize: 17179869184.00 GB CompressedClassSpaceSize: 1.00 GB CodeHeap 'non-profiled nmethods': size=120000Kb used=411Kb max_used=411Kb free=119588Kb bounds [0x0000017b97630000, 0x0000017b978a0000, 0x0000017b9eb60000] CodeHeap 'profiled nmethods': size=120000Kb used=1783Kb max_used=1783Kb free=118216Kb bounds [0x0000017b90100000, 0x0000017b90370000, 0x0000017b97630000] CodeHeap 'non-nmethods': size=5760Kb used=1181Kb max_used=1215Kb free=4578Kb bounds [0x0000017b8fb60000, 0x0000017b8fdd0000, 0x0000017b90100000] total_blobs=1519 nmethods=1078 adapters=355 compilation: enabled stopped_count=0, restarted_count=0 full_count=0 Compilation events (20 events): Event: 0.985 Thread 0x0000017baba25360 1068 3 org.fusesource.jansi.internal.JansiLoader$1::accept (26 bytes) Event: 0.985 Thread 0x0000017baba25360 nmethod 1068 0x0000017b902bad10 code [0x0000017b902baf00, 0x0000017b902bb3d8] Event: 0.987 Thread 0x0000017baba25360 1069 ! 3 java.lang.invoke.MemberName$Factory::resolve (157 bytes) Event: 0.988 Thread 0x0000017baba25360 nmethod 1069 0x0000017b902bb610 code [0x0000017b902bb820, 0x0000017b902bbe88] Event: 0.988 Thread 0x0000017baba25360 1071 1 java.lang.invoke.MethodHandles$Lookup::previousLookupClass (5 bytes) Event: 0.988 Thread 0x0000017baba25360 nmethod 1071 0x0000017b97696890 code [0x0000017b97696a20, 0x0000017b97696ad8] Event: 0.989 Thread 0x0000017baba25360 1072 3 java.util.Optional::empty (6 bytes) Event: 0.989 Thread 0x0000017baba25360 nmethod 1072 0x0000017b902bc190 code [0x0000017b902bc320, 0x0000017b902bc418] Event: 0.989 Thread 0x0000017baba25360 1073 3 jdk.internal.jimage.ImageStringsReader::get (9 bytes) Event: 0.989 Thread 0x0000017baba25360 nmethod 1073 0x0000017b902bc490 code [0x0000017b902bc640, 0x0000017b902bc808] Event: 0.989 Thread 0x0000017baba25360 1074 3 jdk.internal.jimage.BasicImageReader::getString (49 bytes) Event: 0.989 Thread 0x0000017baba25360 nmethod 1074 0x0000017b902bc910 code [0x0000017b902bcae0, 0x0000017b902bcdc8] Event: 0.989 Thread 0x0000017baba25360 1075 3 jdk.internal.jimage.ImageStringsReader::stringFromByteBuffer (28 bytes) Event: 0.990 Thread 0x0000017baba25360 nmethod 1075 0x0000017b902bcf10 code [0x0000017b902bd0e0, 0x0000017b902bd438] Event: 0.990 Thread 0x0000017bace1ca60 1076 4 java.lang.AbstractStringBuilder::getCoder (15 bytes) Event: 0.990 Thread 0x0000017baba25360 1077 3 java.lang.CharacterDataLatin1::digit (32 bytes) Event: 0.990 Thread 0x0000017bace1ca60 nmethod 1076 0x0000017b97696b90 code [0x0000017b97696d00, 0x0000017b97696d58] Event: 0.990 Thread 0x0000017baba25360 nmethod 1077 0x0000017b902bd590 code [0x0000017b902bd740, 0x0000017b902bd978] Event: 0.990 Thread 0x0000017baba25360 1078 3 java.lang.Character::digit (6 bytes) Event: 0.991 Thread 0x0000017baba25360 nmethod 1078 0x0000017b902bda90 code [0x0000017b902bdc40, 0x0000017b902bde78] GC Heap History (0 events): No events Deoptimization events (20 events): Event: 0.928 Thread 0x0000017b8791f060 Uncommon trap: trap_request=0xffffffc6 fr.pc=0x0000017b9767ff28 relative=0x0000000000000ce8 Event: 0.928 Thread 0x0000017b8791f060 Uncommon trap: reason=bimorphic_or_optimized_type_check action=maybe_recompile pc=0x0000017b9767ff28 method=java.util.regex.Pattern$Branch.match(Ljava/util/regex/Matcher;ILjava/lang/CharSequence;)Z @ 50 c2 Event: 0.928 Thread 0x0000017b8791f060 DEOPT PACKING pc=0x0000017b9767ff28 sp=0x0000006e4a3fe020 Event: 0.928 Thread 0x0000017b8791f060 DEOPT UNPACKING pc=0x0000017b8fbae129 sp=0x0000006e4a3fe040 mode 2 Event: 0.928 Thread 0x0000017b8791f060 Uncommon trap: trap_request=0xffffffc6 fr.pc=0x0000017b9767ff28 relative=0x0000000000000ce8 Event: 0.928 Thread 0x0000017b8791f060 Uncommon trap: reason=bimorphic_or_optimized_type_check action=maybe_recompile pc=0x0000017b9767ff28 method=java.util.regex.Pattern$Branch.match(Ljava/util/regex/Matcher;ILjava/lang/CharSequence;)Z @ 50 c2 Event: 0.928 Thread 0x0000017b8791f060 DEOPT PACKING pc=0x0000017b9767ff28 sp=0x0000006e4a3fe020 Event: 0.928 Thread 0x0000017b8791f060 DEOPT UNPACKING pc=0x0000017b8fbae129 sp=0x0000006e4a3fe040 mode 2 Event: 0.968 Thread 0x0000017b8791f060 Uncommon trap: trap_request=0xffffffde fr.pc=0x0000017b97655610 relative=0x0000000000000490 Event: 0.968 Thread 0x0000017b8791f060 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000017b97655610 method=java.util.HashMap.putVal(ILjava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object; @ 253 c2 Event: 0.968 Thread 0x0000017b8791f060 DEOPT PACKING pc=0x0000017b97655610 sp=0x0000006e4a3fe5a0 Event: 0.968 Thread 0x0000017b8791f060 DEOPT UNPACKING pc=0x0000017b8fbae129 sp=0x0000006e4a3fe540 mode 2 Event: 0.969 Thread 0x0000017b8791f060 Uncommon trap: trap_request=0xffffffde fr.pc=0x0000017b97655610 relative=0x0000000000000490 Event: 0.969 Thread 0x0000017b8791f060 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000017b97655610 method=java.util.HashMap.putVal(ILjava/lang/Object;Ljava/lang/Object;ZZ)Ljava/lang/Object; @ 253 c2 Event: 0.969 Thread 0x0000017b8791f060 DEOPT PACKING pc=0x0000017b97655610 sp=0x0000006e4a3fe5a0 Event: 0.969 Thread 0x0000017b8791f060 DEOPT UNPACKING pc=0x0000017b8fbae129 sp=0x0000006e4a3fe540 mode 2 Event: 0.982 Thread 0x0000017b8791f060 Uncommon trap: trap_request=0xffffff45 fr.pc=0x0000017b976783dc relative=0x000000000000157c Event: 0.982 Thread 0x0000017b8791f060 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000017b976783dc method=java.util.regex.Pattern$Start.match(Ljava/util/regex/Matcher;ILjava/lang/CharSequence;)Z @ 10 c2 Event: 0.982 Thread 0x0000017b8791f060 DEOPT PACKING pc=0x0000017b976783dc sp=0x0000006e4a3fe240 Event: 0.982 Thread 0x0000017b8791f060 DEOPT UNPACKING pc=0x0000017b8fbae129 sp=0x0000006e4a3fe210 mode 2 Classes unloaded (0 events): No events Classes redefined (0 events): No events Internal exceptions (19 events): Event: 0.107 Thread 0x0000017b8791f060 Exception (0x000000071014a230) thrown [./open/src/hotspot/share/prims/jni.cpp, line 578] Event: 0.107 Thread 0x0000017b8791f060 Exception (0x000000071014a5c8) thrown [./open/src/hotspot/share/prims/jni.cpp, line 578] Event: 0.116 Thread 0x0000017b8791f060 Exception (0x00000007101d8e18) thrown [./open/src/hotspot/share/prims/jni.cpp, line 578] Event: 0.116 Thread 0x0000017b8791f060 Exception (0x00000007101d9128) thrown [./open/src/hotspot/share/prims/jni.cpp, line 578] Event: 0.125 Thread 0x0000017b8791f060 Exception (0x00000007101f7430) thrown [./open/src/hotspot/share/interpreter/linkResolver.cpp, line 782] Event: 0.153 Thread 0x0000017b8791f060 Exception (0x000000070fea8d38) thrown [./open/src/hotspot/share/interpreter/linkResolver.cpp, line 782] Event: 0.155 Thread 0x0000017b8791f060 Exception (0x000000070feac938) thrown [./open/src/hotspot/share/interpreter/linkResolver.cpp, line 782] Event: 0.238 Thread 0x0000017b8791f060 Exception (0x000000070ffc7e88) thrown [./open/src/hotspot/share/interpreter/linkResolver.cpp, line 782] Event: 0.245 Thread 0x0000017b8791f060 Exception (0x000000070ffd2358) thrown [./open/src/hotspot/share/interpreter/linkResolver.cpp, line 782] Event: 0.249 Thread 0x0000017b8791f060 Exception (0x000000070ffd8ba0) thrown [./open/src/hotspot/share/prims/jni.cpp, line 578] Event: 0.283 Thread 0x0000017b8791f060 Exception (0x000000070fc08d58) thrown [./open/src/hotspot/share/interpreter/linkResolver.cpp, line 782] Event: 0.285 Thread 0x0000017b8791f060 Exception (0x000000070fc141c8) thrown [./open/src/hotspot/share/interpreter/linkResolver.cpp, line 782] Event: 0.286 Thread 0x0000017b8791f060 Exception (0x000000070fc17ce8) thrown [./open/src/hotspot/share/interpreter/linkResolver.cpp, line 848] Event: 0.289 Thread 0x0000017b8791f060 Exception (0x000000070fc1e3f0) thrown [./open/src/hotspot/share/interpreter/linkResolver.cpp, line 782] Event: 0.410 Thread 0x0000017b8791f060 Implicit null exception at 0x0000017b97650075 to 0x0000017b97650138 Event: 0.576 Thread 0x0000017b8791f060 Exception (0x000000070f703a98) thrown [./open/src/hotspot/share/interpreter/linkResolver.cpp, line 782] Event: 0.595 Thread 0x0000017b8791f060 Exception (0x000000070f71a798) thrown [./open/src/hotspot/share/interpreter/linkResolver.cpp, line 782] Event: 0.773 Thread 0x0000017b8791f060 Exception (0x000000070f249990) thrown [./open/src/hotspot/share/interpreter/linkResolver.cpp, line 782] Event: 0.978 Thread 0x0000017b8791f060 Exception (0x000000070f1358b0) thrown [./open/src/hotspot/share/interpreter/linkResolver.cpp, line 1374] Events (20 events): Event: 0.977 loading class java/lang/ProcessEnvironment$CheckedEntrySet done Event: 0.977 loading class java/lang/ProcessEnvironment$CheckedEntrySet$1 Event: 0.977 loading class java/lang/ProcessEnvironment$CheckedEntrySet$1 done Event: 0.977 loading class java/lang/ProcessEnvironment$CheckedEntry Event: 0.977 loading class java/lang/ProcessEnvironment$CheckedEntry done Event: 0.979 loading class java/lang/SecurityException Event: 0.980 loading class java/lang/SecurityException done Event: 0.980 loading class java/io/FilenameFilter Event: 0.980 loading class java/io/FilenameFilter done Event: 0.981 loading class java/io/FilePermission$1 Event: 0.981 loading class jdk/internal/access/JavaIOFilePermissionAccess Event: 0.981 loading class jdk/internal/access/JavaIOFilePermissionAccess done Event: 0.981 loading class java/io/FilePermission$1 done Event: 0.988 loading class java/util/Formatter$FixedString Event: 0.988 loading class java/util/Formatter$FixedString done Event: 0.993 loading class java/io/DeleteOnExitHook Event: 0.994 loading class java/io/DeleteOnExitHook done Event: 0.994 loading class java/io/DeleteOnExitHook$1 Event: 0.994 loading class java/io/DeleteOnExitHook$1 done Event: 1.001 Loaded shared library C:\Users\syres\AppData\Local\Temp\jansi-2.3.4-b540ca4f102e84fa-jansi.dll Dynamic libraries: 0x00007ff685b90000 - 0x00007ff685b9f000 C:\Program Files\Java\jdk-15.0.2\bin\javaw.exe 0x00007ffadd490000 - 0x00007ffadd685000 C:\WINDOWS\SYSTEM32\ntdll.dll 0x00007ffadbfc0000 - 0x00007ffadc07d000 C:\WINDOWS\System32\KERNEL32.DLL 0x00007ffadb230000 - 0x00007ffadb4f9000 C:\WINDOWS\System32\KERNELBASE.dll 0x00007ffadaff0000 - 0x00007ffadb0f0000 C:\WINDOWS\System32\ucrtbase.dll 0x00007ffad4b40000 - 0x00007ffad4b58000 C:\Program Files\Java\jdk-15.0.2\bin\jli.dll 0x00007ffacbf20000 - 0x00007ffacbf39000 C:\Program Files\Java\jdk-15.0.2\bin\VCRUNTIME140.dll 0x00007ffadd3a0000 - 0x00007ffadd44c000 C:\WINDOWS\System32\ADVAPI32.dll 0x00007ffadc3e0000 - 0x00007ffadc47e000 C:\WINDOWS\System32\msvcrt.dll 0x00007ffadbc30000 - 0x00007ffadbccb000 C:\WINDOWS\System32\sechost.dll 0x00007ffadbe70000 - 0x00007ffadbf9a000 C:\WINDOWS\System32\RPCRT4.dll 0x00007ffadbcd0000 - 0x00007ffadbe70000 C:\WINDOWS\System32\USER32.dll 0x00007ffadb0f0000 - 0x00007ffadb112000 C:\WINDOWS\System32\win32u.dll 0x00007ffac6320000 - 0x00007ffac65ba000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.1083_none_60bbe31371f34e71\COMCTL32.dll 0x00007ffadd1f0000 - 0x00007ffadd21a000 C:\WINDOWS\System32\GDI32.dll 0x00007ffadb120000 - 0x00007ffadb22b000 C:\WINDOWS\System32\gdi32full.dll 0x00007ffadad40000 - 0x00007ffadaddd000 C:\WINDOWS\System32\msvcp_win.dll 0x00007ffad2e90000 - 0x00007ffad2e9a000 C:\WINDOWS\SYSTEM32\VERSION.dll 0x00007ffadd0a0000 - 0x00007ffadd0d0000 C:\WINDOWS\System32\IMM32.DLL 0x00007ffad5840000 - 0x00007ffad584c000 C:\Program Files\Java\jdk-15.0.2\bin\vcruntime140_1.dll 0x00007ffab6ac0000 - 0x00007ffab6b51000 C:\Program Files\Java\jdk-15.0.2\bin\msvcp140.dll 0x00007ffa99bc0000 - 0x00007ffa9a71e000 C:\Program Files\Java\jdk-15.0.2\bin\server\jvm.dll 0x00007ffadc950000 - 0x00007ffadc958000 C:\WINDOWS\System32\PSAPI.DLL 0x00007ffac72b0000 - 0x00007ffac72d7000 C:\WINDOWS\SYSTEM32\WINMM.dll 0x00007ffad5940000 - 0x00007ffad5949000 C:\WINDOWS\SYSTEM32\WSOCK32.dll 0x00007ffadc110000 - 0x00007ffadc17b000 C:\WINDOWS\System32\WS2_32.dll 0x00007ffad94b0000 - 0x00007ffad94c2000 C:\WINDOWS\SYSTEM32\kernel.appcore.dll 0x00007ffad3120000 - 0x00007ffad312a000 C:\Program Files\Java\jdk-15.0.2\bin\jimage.dll 0x00007ffad8990000 - 0x00007ffad8b74000 C:\WINDOWS\SYSTEM32\DBGHELP.DLL 0x00007ffad2590000 - 0x00007ffad25bc000 C:\WINDOWS\SYSTEM32\dbgcore.DLL 0x00007ffadacb0000 - 0x00007ffadad33000 C:\WINDOWS\System32\bcryptPrimitives.dll 0x00007ffac83c0000 - 0x00007ffac83e5000 C:\Program Files\Java\jdk-15.0.2\bin\java.dll 0x00007ffadc960000 - 0x00007ffadd09f000 C:\WINDOWS\System32\SHELL32.dll 0x00007ffad8d00000 - 0x00007ffad9491000 C:\WINDOWS\SYSTEM32\windows.storage.dll 0x00007ffadb720000 - 0x00007ffadba75000 C:\WINDOWS\System32\combase.dll 0x00007ffada640000 - 0x00007ffada66c000 C:\WINDOWS\SYSTEM32\Wldp.dll 0x00007ffadb590000 - 0x00007ffadb63e000 C:\WINDOWS\System32\SHCORE.dll 0x00007ffadd2d0000 - 0x00007ffadd325000 C:\WINDOWS\System32\shlwapi.dll 0x00007ffadab10000 - 0x00007ffadab2f000 C:\WINDOWS\SYSTEM32\profapi.dll 0x00007ffacbf00000 - 0x00007ffacbf19000 C:\Program Files\Java\jdk-15.0.2\bin\net.dll 0x00007ffad1800000 - 0x00007ffad190a000 C:\WINDOWS\SYSTEM32\WINHTTP.dll 0x00007ffada3a0000 - 0x00007ffada40a000 C:\WINDOWS\system32\mswsock.dll 0x00007ffac8300000 - 0x00007ffac8312000 C:\Program Files\Java\jdk-15.0.2\bin\nio.dll 0x00007ffac0fd0000 - 0x00007ffac0fe8000 C:\Program Files\Java\jdk-15.0.2\bin\zip.dll 0x00007ffacc070000 - 0x00007ffacc07d000 C:\Program Files\Java\jdk-15.0.2\bin\sunmscapi.dll 0x00007ffadae30000 - 0x00007ffadaf8f000 C:\WINDOWS\System32\CRYPT32.dll 0x00007ffada6b0000 - 0x00007ffada6d7000 C:\WINDOWS\SYSTEM32\ncrypt.dll 0x00007ffada670000 - 0x00007ffada6ab000 C:\WINDOWS\SYSTEM32\NTASN1.dll 0x00007ffada580000 - 0x00007ffada598000 C:\WINDOWS\SYSTEM32\CRYPTSP.dll 0x00007ffad9cd0000 - 0x00007ffad9d04000 C:\WINDOWS\system32\rsaenh.dll 0x00007ffadabd0000 - 0x00007ffadabf7000 C:\WINDOWS\System32\bcrypt.dll 0x00007ffadaad0000 - 0x00007ffadaafe000 C:\WINDOWS\SYSTEM32\USERENV.dll 0x00007ffada5a0000 - 0x00007ffada5ac000 C:\WINDOWS\SYSTEM32\CRYPTBASE.dll 0x00007ffada040000 - 0x00007ffada07b000 C:\WINDOWS\SYSTEM32\IPHLPAPI.DLL 0x00007ffadd330000 - 0x00007ffadd338000 C:\WINDOWS\System32\NSI.dll 0x00007ffad4220000 - 0x00007ffad4237000 C:\WINDOWS\SYSTEM32\dhcpcsvc6.DLL 0x00007ffad4100000 - 0x00007ffad411d000 C:\WINDOWS\SYSTEM32\dhcpcsvc.DLL 0x00007ffada080000 - 0x00007ffada14c000 C:\WINDOWS\SYSTEM32\DNSAPI.dll 0x00007ffad0970000 - 0x00007ffad097a000 C:\Windows\System32\rasadhlp.dll 0x00007ffad0350000 - 0x00007ffad03cf000 C:\WINDOWS\System32\fwpuclnt.dll 0x0000000069ac0000 - 0x0000000069ae4000 C:\Users\syres\AppData\Local\Temp\jansi-2.3.4-b540ca4f102e84fa-jansi.dll dbghelp: loaded successfully - version: 4.0.5 - missing functions: none symbol engine: initialized successfully - sym options: 0x614 - pdb path: .;C:\Program Files\Java\jdk-15.0.2\bin;C:\WINDOWS\SYSTEM32;C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.19041.1083_none_60bbe31371f34e71;C:\Program Files\Java\jdk-15.0.2\bin\server;C:\Users\syres\AppData\Local\Temp VM Arguments: java_command: C:\Users\syres\Desktop\spigot servers latest\AutoPlug-Client.jar java_class_path (initial): C:\Users\syres\Desktop\spigot servers latest\AutoPlug-Client.jar Launcher Type: SUN_STANDARD [Global flags] intx CICompilerCount = 4 {product} {ergonomic} uint ConcGCThreads = 2 {product} {ergonomic} uint G1ConcRefinementThreads = 8 {product} {ergonomic} size_t G1HeapRegionSize = 2097152 {product} {ergonomic} uintx GCDrainStackTargetSize = 64 {product} {ergonomic} size_t InitialHeapSize = 268435456 {product} {ergonomic} size_t MarkStackSize = 4194304 {product} {ergonomic} size_t MaxHeapSize = 4292870144 {product} {ergonomic} size_t MaxNewSize = 2575302656 {product} {ergonomic} size_t MinHeapDeltaBytes = 2097152 {product} {ergonomic} size_t MinHeapSize = 8388608 {product} {ergonomic} uintx NonNMethodCodeHeapSize = 5839372 {pd product} {ergonomic} uintx NonProfiledCodeHeapSize = 122909434 {pd product} {ergonomic} uintx ProfiledCodeHeapSize = 122909434 {pd product} {ergonomic} uintx ReservedCodeCacheSize = 251658240 {pd product} {ergonomic} bool SegmentedCodeCache = true {product} {ergonomic} size_t SoftMaxHeapSize = 4292870144 {manageable} {ergonomic} bool UseCompressedClassPointers = true {lp64_product} {ergonomic} bool UseCompressedOops = true {lp64_product} {ergonomic} bool UseG1GC = true {product} {ergonomic} bool UseLargePagesIndividualAllocation = false {pd product} {ergonomic} Logging: Log output configuration: #0: stdout all=warning uptime,level,tags #1: stderr all=off uptime,level,tags Environment Variables: PATH=C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\Common Files\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Users\syres\AppData\Local\Microsoft\WindowsApps; USERNAME=syres OS=Windows_NT PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 26 Stepping 5, GenuineIntel --------------- S Y S T E M --------------- OS: Windows 10 , 64 bit Build 19041 (10.0.19041.1023) OS uptime: 1 days 1:12 hours CPU: total 8 (initial active 8) (4 cores per cpu, 2 threads per core) family 6 model 26 stepping 5 microcode 0x1d, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht, tsc, tscinvbit, tscinv, clflush Memory: 4k page, system-wide physical 16375M (4858M free) TotalPageFile size 34807M (AvailPageFile size 11387M) current process WorkingSet (physical memory assigned to process): 73M, peak: 74M current process commit charge ("private bytes"): 363M, peak: 365M vm_info: Java HotSpot(TM) 64-Bit Server VM (15.0.2+7-27) for windows-amd64 JRE (15.0.2+7-27), built on Dec 7 2020 20:07:01 by "mach5one" with unknown MS VC++:1925 END. ```
Stexxe commented 3 years ago

Why this issue is closed? Is it already fixed?

Osiris-Team commented 3 years ago

@Stexxe yeah. "Just found out that the user was running the jar without a terminal..."

Stexxe commented 3 years ago

Is it expected to crash in this case?

garydgregory commented 3 years ago

It should NEVER be ok to crash the JVM IMO.

Stexxe commented 3 years ago

@Osiris-Team can you fix it?

Osiris-Team commented 3 years ago

I can reopen, but I dont really care, since it only happens when running the jar without a terminal.

Osiris-Team commented 2 years ago

So... I'm back and I need this fixed, since now its actually causing me trouble ^^ Any ideas anyone?

Couldn't it be fixed by checking if we are running without a terminal, before loading the native libs? If that's the case we simply do nothing, since there is nothing to display ANSI to.

This should work for Java7+ source and docs:

if (System.console() == null) // Running without a terminal, thus do nothing aka return
    return;

@gnodet Since I need this ASAP I'm gonna try it on my fork. Brb with updates if it works.

Osiris-Team commented 2 years ago

Soo, I'm back with a working fix! You can use my fork here: https://github.com/Osiris-Team/jansi What I did was to add the code above to JansiLoader.initialize() and AnsiConsole.systemInstall() methods top.

gnodet commented 1 year ago

I haven't been able to reproduce exactly the problem, see #265 ...

Osiris-Team commented 1 year ago

Possibly already fixed, since this issue is 2 years old? Oh and #265 seems to use Path java = javaHome.resolve(win ? "bin\\java.exe" : "bin/java"); even though it should use javaw.

gnodet commented 1 year ago

Possibly already fixed, since this issue is 2 years old? Oh and #265 seems to use Path java = javaHome.resolve(win ? "bin\\java.exe" : "bin/java"); even though it should use javaw.

That's the problem. I can't reproduce it with java even if System.console() == null, which is the case in the test because the process is forked without inheriting the system streams. So either the test, or the added check is wrong...

Osiris-Team commented 1 year ago

@gnodet what do you mean? Can't u simply rename java to javaw in your test?

gnodet commented 1 year ago

@gnodet what do you mean? Can't u simply rename java to javaw in your test?

I can, but the does not cause any crash. If your fix was correct, i.e. testing System.console() != null, then the same should happen with test with java instead of javaw, because the test does cause System.console() to be null. This usually means that there's no terminal, which is the case in the test because we're working the JVM completely. Fwiw, I've replaced java to javaw locally and the test works correctly.

I must assume this has been fixed somehow in master. Could you please double check with your environment, as I can't produce any crash...

Osiris-Team commented 1 year ago

@gnodet I just tested it again on my fork with fixes removed and with javaw -jar .\jansi-2.4.2.jar (its 2.4.2 because I messed with the version number but if you check github it says its 22 commits behind), and then I get the JVM crash.

#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007ffdabd829bf, pid=9632, tid=19696
#
# JRE version: Java(TM) SE Runtime Environment (18.0.1.1+2) (build 18.0.1.1+2-6)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (18.0.1.1+2-6, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, windows-amd64)
# Problematic frame:
# C  [jansi-2.4.2-2f88cd0360c5de83-jansi.dll+0x29bf]
...

I would guess that something fixed it in newer jansi versions.

gnodet commented 1 year ago

@Osiris-Team I think I found the problem. Could you double check with the PR #265 ? I still can't find a way to replicate the test programmatically though... hence the confirmation asked.

Osiris-Team commented 1 year ago

@gnodet I think you can replicate it by modifying the test to first start a new bash/Powershell terminal then running the Javaw command from there.