I am working with a library named R5. It has a main method com.conveyal.r5.R5Main to start it as service. It works perfectly fine. But when i try to use it in my application as library and call the same flow, JVM crashes and following traces prints on the console.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fd2945622d4, pid=20894, tid=0x00007fd29595b700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_131-b11) (build 1.8.0_131-b11)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.131-b11 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x7fe2d4]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /home/user/workspace/r5-project/hs_err_pid20894.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
My project pom.xml is:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.playground.r5</groupId>
<artifactId>r5-project</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
<name>r5-project</name>
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.conveyal</groupId>
<artifactId>r5</artifactId>
<version>2.1.1</version>
</dependency>
</dependencies>
</project>
And code that crashes is:
String dir = "/home/user/r5/portland";
File file = new File(dir, "network.dat");
TransportNetwork transportNetwork = TransportNetwork.read(file);
And the content of file hs_err_pid20894.log that it mentions are:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007fd2945622d4, pid=20894, tid=0x00007fd29595b700
#
# JRE version: Java(TM) SE Runtime Environment (8.0_131-b11) (build 1.8.0_131-b11)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.131-b11 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# V [libjvm.so+0x7fe2d4]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x00007fd28c013800): JavaThread "main" [_thread_in_vm, id=20901, stack(0x00007fd29585b000,0x00007fd29595c000)]
siginfo: si_signo: 11 (SIGSEGV), si_code: 2 (SEGV_ACCERR), si_addr: 0x00007fd22c021000
Registers:
RAX=0x00007fd2840a6264, RBX=0x00007fd28c013800, RCX=0x00000006db82e378, RDX=0xfffffffff4fef5b4
RSP=0x00007fd295959eb8, RBP=0x00007fd295959f10, RSI=0x0000000000000000, RDI=0x00007fd229a8ed0c
R8 =0x000000002d30bab3, R9 =0x0000000000000010, R10=0x00007fd27d01fc78, R11=0x00007fd294729190
R12=0x0000000000000000, R13=0x00007fd295959fe8, R14=0x00007fd294d25f40, R15=0x00007fd294d2acc0
RIP=0x00007fd2945622d4, EFLAGS=0x0000000000010286, CSGSFS=0x0000000000000033, ERR=0x0000000000000004
TRAPNO=0x000000000000000e
Top of Stack: (sp=0x00007fd295959eb8)
0x00007fd295959eb8: 00007fd2947ff2af 0000000000000010
0x00007fd295959ec8: 00007fd229a8ed0c 00007fd28c013800
0x00007fd295959ed8: 00007fd200000000 00007fd295959fa8
0x00007fd295959ee8: 00007fd272880dc8 0000000000000000
0x00007fd295959ef8: 00007fd272880dc8 00007fd29595a008
0x00007fd295959f08: 00007fd28c013800 00007fd295959fa8
0x00007fd295959f18: 00007fd27d01fca4 000000005a617566
0x00007fd295959f28: 00007fd295959f80 00007fd28c013800
0x00007fd295959f38: 00007fd295959f90 00007fd272880dc8
0x00007fd295959f48: 0000000000000000 00007fd295959fa8
0x00007fd295959f58: 00007fd27d01f8bb 00007fd27d01f879
0x00007fd295959f68: 00007fd295959f68 00007fd272880dc8
0x00007fd295959f78: 00007fd29595a008 00007fd2728aed80
0x00007fd295959f88: 0000000000000000 00007fd272880dc8
0x00007fd295959f98: 0000000000000000 00007fd295959fc8
0x00007fd295959fa8: 00007fd29595a050 00007fd27d00833d
0x00007fd295959fb8: 0000000000000000 00007fd27d016478
0x00007fd295959fc8: 000000005a617566 00007fd29595a050
0x00007fd295959fd8: 0000000000000010 00000007559d0c70
0x00007fd295959fe8: 0000000681216e10 00007fd229a8ed0c
0x00007fd295959ff8: 00007fd27d018dd2 0000000000000000
0x00007fd29595a008: 00000007594b3ee0 00007fd29595a010
0x00007fd29595a018: 00007fd272e0c106 00007fd29595a0a8
0x00007fd29595a028: 00007fd272e0db08 0000000000000000
0x00007fd29595a038: 00007fd272e0c198 00007fd295959fc8
0x00007fd29595a048: 00007fd29595a070 00007fd29595a0f0
0x00007fd29595a058: 00007fd27d00833d 0000000000000000
0x00007fd29595a068: 00000007559d0c70 000000005a617566
0x00007fd29595a078: 00007fd200000000 0000000001b8ed0c
0x00007fd29595a088: 0000000000000000 0000000000000000
0x00007fd29595a098: 00007fd27d018dd2 00000007559d0c70
0x00007fd29595a0a8: 0000000759487a20 00007fd29595a0b0
Instructions: (pc=0x00007fd2945622d4)
0x00007fd2945622b4: 74 47 fe 66 89 71 08 c3 0f 1f 40 00 48 8b 74 d0
0x00007fd2945622c4: e8 48 89 74 d1 e8 48 8b 74 d0 f0 48 89 74 d1 f0
0x00007fd2945622d4: 48 8b 74 d0 f8 48 89 74 d1 f8 48 8b 34 d0 48 89
0x00007fd2945622e4: 34 d1 48 83 c2 04 7e d4 48 83 ea 04 7c 93 eb a1
Register to memory mapping:
RAX=0x00007fd2840a6264 is an unknown value
RBX=0x00007fd28c013800 is a thread
RCX=0x00000006db82e378 is pointing into object: 0x0000000681216e10
[B
- klass: {type array byte}
- length: 1516336486
RDX=0xfffffffff4fef5b4 is an unknown value
RSP=0x00007fd295959eb8 is pointing into the stack for thread: 0x00007fd28c013800
RBP=0x00007fd295959f10 is pointing into the stack for thread: 0x00007fd28c013800
RSI=0x0000000000000000 is an unknown value
RDI=0x00007fd229a8ed0c is an unknown value
R8 =0x000000002d30bab3 is an unknown value
R9 =0x0000000000000010 is an unknown value
R10=0x00007fd27d01fc78 is at code_begin+1528 in an Interpreter codelet
method entry point (kind = native) [0x00007fd27d01f680, 0x00007fd27d0205c0] 3904 bytes
R11=0x00007fd294729190: <offset 0x9c5190> in /usr/lib/jvm/java-8-oracle/jre/lib/amd64/server/libjvm.so at 0x00007fd293d64000
R12=0x0000000000000000 is an unknown value
R13=0x00007fd295959fe8 is pointing into the stack for thread: 0x00007fd28c013800
R14=0x00007fd294d25f40: <offset 0xfc1f40> in /usr/lib/jvm/java-8-oracle/jre/lib/amd64/server/libjvm.so at 0x00007fd293d64000
R15=0x00007fd294d2acc0: <offset 0xfc6cc0> in /usr/lib/jvm/java-8-oracle/jre/lib/amd64/server/libjvm.so at 0x00007fd293d64000
Stack: [0x00007fd29585b000,0x00007fd29595c000], sp=0x00007fd295959eb8, free space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x7fe2d4]
j sun.misc.Unsafe.copyMemory(Ljava/lang/Object;JLjava/lang/Object;JJ)V+0
j org.nustaq.offheap.bytez.malloc.MallocBytez.copyTo(Lorg/nustaq/offheap/bytez/BasicBytez;JJJ)V+38
j com.conveyal.r5.util.ExpandingMMFBytez.copyTo(Lorg/nustaq/offheap/bytez/BasicBytez;JJJ)V+20
j org.nustaq.serialization.coders.FSTBytezDecoder.readStringAsc()Ljava/lang/String;+60
j org.nustaq.serialization.FSTClazzNameRegistry.decodeClass(Lorg/nustaq/serialization/FSTDecoder;Lorg/nustaq/serialization/FSTConfiguration;)Lorg/nustaq/serialization/FSTClazzInfo;+28
j org.nustaq.serialization.coders.FSTBytezDecoder.readClass()Lorg/nustaq/serialization/FSTClazzInfo;+9
j org.nustaq.serialization.FSTObjectInput.readClass()Lorg/nustaq/serialization/FSTClazzInfo;+4
j org.nustaq.serialization.FSTObjectInput.readObjectWithHeader(Lorg/nustaq/serialization/FSTClazzInfo$FSTFieldInfo;)Ljava/lang/Object;+28
j org.nustaq.serialization.FSTObjectInput.readObjectFields(Lorg/nustaq/serialization/FSTClazzInfo$FSTFieldInfo;Lorg/nustaq/serialization/FSTClazzInfo;[Lorg/nustaq/serialization/FSTClazzInfo$FSTFieldInfo;Ljava/lang/Object;II)V+491
j org.nustaq.serialization.FSTObjectInput.instantiateAndReadNoSer(Ljava/lang/Class;Lorg/nustaq/serialization/FSTClazzInfo;Lorg/nustaq/serialization/FSTClazzInfo$FSTFieldInfo;I)Ljava/lang/Object;+266
j org.nustaq.serialization.FSTObjectInput.readObjectWithHeader(Lorg/nustaq/serialization/FSTClazzInfo$FSTFieldInfo;)Ljava/lang/Object;+172
j org.nustaq.serialization.FSTObjectInput.readObjectFields(Lorg/nustaq/serialization/FSTClazzInfo$FSTFieldInfo;Lorg/nustaq/serialization/FSTClazzInfo;[Lorg/nustaq/serialization/FSTClazzInfo$FSTFieldInfo;Ljava/lang/Object;II)V+491
j org.nustaq.serialization.FSTObjectInput.instantiateAndReadNoSer(Ljava/lang/Class;Lorg/nustaq/serialization/FSTClazzInfo;Lorg/nustaq/serialization/FSTClazzInfo$FSTFieldInfo;I)Ljava/lang/Object;+266
j org.nustaq.serialization.FSTObjectInput.readObjectWithHeader(Lorg/nustaq/serialization/FSTClazzInfo$FSTFieldInfo;)Ljava/lang/Object;+172
j org.nustaq.serialization.FSTObjectInput.readObjectInternal([Ljava/lang/Class;)Ljava/lang/Object;+38
j org.nustaq.serialization.FSTObjectInput.readObject([Ljava/lang/Class;)Ljava/lang/Object;+63
j com.conveyal.r5.util.ExpandingMMFBytez.readObjectFromFile(Ljava/io/File;)Ljava/lang/Object;+38
j com.conveyal.r5.transit.TransportNetwork.read(Ljava/io/File;)Lcom/conveyal/r5/transit/TransportNetwork;+11
j org.playground.otp.otp.R5App.main([Ljava/lang/String;)V+15
v ~StubRoutines::call_stub
V [libjvm.so+0x691d16]
V [libjvm.so+0x6d3132]
V [libjvm.so+0x6ef99a]
C [libjli.so+0x7bdf] JavaMain+0x81f
C [libpthread.so.0+0x76ba] start_thread+0xca
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.misc.Unsafe.copyMemory(Ljava/lang/Object;JLjava/lang/Object;JJ)V+0
j org.nustaq.offheap.bytez.malloc.MallocBytez.copyTo(Lorg/nustaq/offheap/bytez/BasicBytez;JJJ)V+38
j com.conveyal.r5.util.ExpandingMMFBytez.copyTo(Lorg/nustaq/offheap/bytez/BasicBytez;JJJ)V+20
j org.nustaq.serialization.coders.FSTBytezDecoder.readStringAsc()Ljava/lang/String;+60
j org.nustaq.serialization.FSTClazzNameRegistry.decodeClass(Lorg/nustaq/serialization/FSTDecoder;Lorg/nustaq/serialization/FSTConfiguration;)Lorg/nustaq/serialization/FSTClazzInfo;+28
j org.nustaq.serialization.coders.FSTBytezDecoder.readClass()Lorg/nustaq/serialization/FSTClazzInfo;+9
j org.nustaq.serialization.FSTObjectInput.readClass()Lorg/nustaq/serialization/FSTClazzInfo;+4
j org.nustaq.serialization.FSTObjectInput.readObjectWithHeader(Lorg/nustaq/serialization/FSTClazzInfo$FSTFieldInfo;)Ljava/lang/Object;+28
j org.nustaq.serialization.FSTObjectInput.readObjectFields(Lorg/nustaq/serialization/FSTClazzInfo$FSTFieldInfo;Lorg/nustaq/serialization/FSTClazzInfo;[Lorg/nustaq/serialization/FSTClazzInfo$FSTFieldInfo;Ljava/lang/Object;II)V+491
j org.nustaq.serialization.FSTObjectInput.instantiateAndReadNoSer(Ljava/lang/Class;Lorg/nustaq/serialization/FSTClazzInfo;Lorg/nustaq/serialization/FSTClazzInfo$FSTFieldInfo;I)Ljava/lang/Object;+266
j org.nustaq.serialization.FSTObjectInput.readObjectWithHeader(Lorg/nustaq/serialization/FSTClazzInfo$FSTFieldInfo;)Ljava/lang/Object;+172
j org.nustaq.serialization.FSTObjectInput.readObjectFields(Lorg/nustaq/serialization/FSTClazzInfo$FSTFieldInfo;Lorg/nustaq/serialization/FSTClazzInfo;[Lorg/nustaq/serialization/FSTClazzInfo$FSTFieldInfo;Ljava/lang/Object;II)V+491
j org.nustaq.serialization.FSTObjectInput.instantiateAndReadNoSer(Ljava/lang/Class;Lorg/nustaq/serialization/FSTClazzInfo;Lorg/nustaq/serialization/FSTClazzInfo$FSTFieldInfo;I)Ljava/lang/Object;+266
j org.nustaq.serialization.FSTObjectInput.readObjectWithHeader(Lorg/nustaq/serialization/FSTClazzInfo$FSTFieldInfo;)Ljava/lang/Object;+172
j org.nustaq.serialization.FSTObjectInput.readObjectInternal([Ljava/lang/Class;)Ljava/lang/Object;+38
j org.nustaq.serialization.FSTObjectInput.readObject([Ljava/lang/Class;)Ljava/lang/Object;+63
j com.conveyal.r5.util.ExpandingMMFBytez.readObjectFromFile(Ljava/io/File;)Ljava/lang/Object;+38
j com.conveyal.r5.transit.TransportNetwork.read(Ljava/io/File;)Lcom/conveyal/r5/transit/TransportNetwork;+11
j org.playground.otp.otp.R5App.main([Ljava/lang/String;)V+15
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x00007fd28c0f8000 JavaThread "Service Thread" daemon [_thread_blocked, id=20924, stack(0x00007fd2708b4000,0x00007fd2709b5000)]
0x00007fd28c0da800 JavaThread "C1 CompilerThread2" daemon [_thread_blocked, id=20923, stack(0x00007fd2709b5000,0x00007fd270ab6000)]
0x00007fd28c0d8800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=20922, stack(0x00007fd270ab6000,0x00007fd270bb7000)]
0x00007fd28c0d5800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=20921, stack(0x00007fd270bb7000,0x00007fd270cb8000)]
0x00007fd250001000 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=20917, stack(0x00007fd270cb8000,0x00007fd270db9000)]
0x00007fd28c0d3800 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=20916, stack(0x00007fd270db9000,0x00007fd270eba000)]
0x00007fd28c0d0000 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=20915, stack(0x00007fd270eba000,0x00007fd270fbb000)]
0x00007fd28c0bf800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=20911, stack(0x00007fd2711bf000,0x00007fd2712c0000)]
0x00007fd28c08d800 JavaThread "Finalizer" daemon [_thread_blocked, id=20908, stack(0x00007fd2712c0000,0x00007fd2713c1000)]
0x00007fd28c089000 JavaThread "Reference Handler" daemon [_thread_blocked, id=20907, stack(0x00007fd2713c1000,0x00007fd2714c2000)]
=>0x00007fd28c013800 JavaThread "main" [_thread_in_vm, id=20901, stack(0x00007fd29585b000,0x00007fd29595c000)]
Other Threads:
0x00007fd28c081800 VMThread [stack: 0x00007fd2714c2000,0x00007fd2715c3000] [id=20906]
0x00007fd28c10b000 WatcherThread [stack: 0x00007fd2707b3000,0x00007fd2708b4000] [id=20925]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap:
PSYoungGen total 74752K, used 27738K [0x0000000755580000, 0x000000075a880000, 0x00000007c0000000)
eden space 64512K, 27% used [0x0000000755580000,0x000000075669c2f0,0x0000000759480000)
from space 10240K, 99% used [0x0000000759480000,0x0000000759e7a740,0x0000000759e80000)
to space 10240K, 0% used [0x0000000759e80000,0x0000000759e80000,0x000000075a880000)
ParOldGen total 1652224K, used 1499320K [0x0000000680000000, 0x00000006e4d80000, 0x0000000755580000)
object space 1652224K, 90% used [0x0000000680000000,0x00000006db82e388,0x00000006e4d80000)
Metaspace used 9358K, capacity 9604K, committed 9728K, reserved 1058816K
class space used 1133K, capacity 1210K, committed 1280K, reserved 1048576K
Card table byte_map: [0x00007fd2914e7000,0x00007fd291ee8000] byte_map_base: 0x00007fd28e0e7000
Marking Bits: (ParMarkBitMap*) 0x00007fd294d29f60
Begin Bits: [0x00007fd273000000, 0x00007fd278000000)
End Bits: [0x00007fd278000000, 0x00007fd27d000000)
Polling page: 0x00007fd295979000
CodeCache: size=245760Kb used=1803Kb max_used=1803Kb free=243956Kb
bounds [0x00007fd27d000000, 0x00007fd27d270000, 0x00007fd28c000000]
total_blobs=590 nmethods=255 adapters=257
compilation: enabled
Compilation events (10 events):
Event: 143.796 Thread 0x00007fd28c0da800 252 3 java.lang.ref.Finalizer::hasBeenFinalized (14 bytes)
Event: 143.796 Thread 0x00007fd28c0da800 nmethod 252 0x00007fd27d1c0690 code [0x00007fd27d1c0800, 0x00007fd27d1c09b0]
Event: 143.796 Thread 0x00007fd28c0da800 253 ! 3 java.lang.ref.Finalizer::remove (94 bytes)
Event: 143.797 Thread 0x00007fd28c0da800 nmethod 253 0x00007fd27d1c0a10 code [0x00007fd27d1c0ba0, 0x00007fd27d1c10b0]
Event: 143.797 Thread 0x00007fd28c0da800 254 3 java.lang.System$2::invokeFinalize (5 bytes)
Event: 143.800 Thread 0x00007fd28c0da800 nmethod 254 0x00007fd27d1c1250 code [0x00007fd27d1c13c0, 0x00007fd27d1c15e8]
Event: 143.800 Thread 0x00007fd28c0da800 240 ! 3 java.lang.ref.Reference::tryHandlePending (115 bytes)
Event: 143.800 Thread 0x00007fd28c0da800 nmethod 240 0x00007fd27d1c1690 code [0x00007fd27d1c18c0, 0x00007fd27d1c25c8]
Event: 143.800 Thread 0x00007fd28c0da800 241 ! 3 java.lang.ref.ReferenceQueue::enqueue (119 bytes)
Event: 143.801 Thread 0x00007fd28c0da800 nmethod 241 0x00007fd27d1c2b10 code [0x00007fd27d1c2cc0, 0x00007fd27d1c34a8]
GC Heap History (2 events):
Event: 143.757 GC heap before
{Heap before GC invocations=1 (full 0):
PSYoungGen total 74752K, used 63191K [0x0000000755580000, 0x000000075a880000, 0x00000007c0000000)
eden space 64512K, 97% used [0x0000000755580000,0x0000000759335f58,0x0000000759480000)
from space 10240K, 0% used [0x0000000759e80000,0x0000000759e80000,0x000000075a880000)
to space 10240K, 0% used [0x0000000759480000,0x0000000759480000,0x0000000759e80000)
ParOldGen total 171008K, used 0K [0x0000000680000000, 0x000000068a700000, 0x0000000755580000)
object space 171008K, 0% used [0x0000000680000000,0x0000000680000000,0x000000068a700000)
Metaspace used 9283K, capacity 9540K, committed 9728K, reserved 1058816K
class space used 1124K, capacity 1210K, committed 1280K, reserved 1048576K
Event: 143.789 GC heap after
Heap after GC invocations=1 (full 0):
PSYoungGen total 74752K, used 10217K [0x0000000755580000, 0x000000075a880000, 0x00000007c0000000)
eden space 64512K, 0% used [0x0000000755580000,0x0000000755580000,0x0000000759480000)
from space 10240K, 99% used [0x0000000759480000,0x0000000759e7a740,0x0000000759e80000)
to space 10240K, 0% used [0x0000000759e80000,0x0000000759e80000,0x000000075a880000)
ParOldGen total 171008K, used 18523K [0x0000000680000000, 0x000000068a700000, 0x0000000755580000)
object space 171008K, 10% used [0x0000000680000000,0x0000000681216e10,0x000000068a700000)
Metaspace used 9283K, capacity 9540K, committed 9728K, reserved 1058816K
class space used 1124K, capacity 1210K, committed 1280K, reserved 1048576K
}
Deoptimization events (2 events):
Event: 0.158 Thread 0x00007fd28c013800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007fd27d10af68 method=java.lang.String.hashCode()I # 14
Event: 0.191 Thread 0x00007fd28c013800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00007fd27d136898 method=java.lang.String.indexOf(II)I # 49
Internal exceptions (10 events):
Event: 87.524 Thread 0x00007fd28c013800 Exception <a 'java/lang/ClassNotFoundException': ch/qos/logback/core/encoder/LayoutWrappingEncoderCustomizer> (0x0000000756625c88) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u131/8869/hotspot/src/share/vm/classfile/systemDictionary.cpp, line 2
Event: 87.531 Thread 0x00007fd28c013800 Exception <a 'java/lang/ArrayIndexOutOfBoundsException': 68> (0x00000007566296c0) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u131/8869/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp, line 366]
Event: 87.534 Thread 0x00007fd28c013800 Exception <a 'java/lang/ArrayIndexOutOfBoundsException': 35> (0x000000075662d420) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u131/8869/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp, line 366]
Event: 87.535 Thread 0x00007fd28c013800 Exception <a 'java/lang/ArrayIndexOutOfBoundsException': 6> (0x000000075662eed8) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u131/8869/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp, line 366]
Event: 87.536 Thread 0x00007fd28c013800 Exception <a 'java/lang/ArrayIndexOutOfBoundsException': 36> (0x0000000756631058) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u131/8869/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp, line 366]
Event: 87.596 Thread 0x00007fd28c013800 Exception <a 'java/lang/ClassNotFoundException': ch/qos/logback/core/pattern/PatternLayoutEncoderBaseCustomizer> (0x00000007566644e0) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u131/8869/hotspot/src/share/vm/classfile/systemDictionary.cpp, lin
Event: 87.603 Thread 0x00007fd28c013800 Exception <a 'java/lang/ArrayIndexOutOfBoundsException': 78> (0x0000000756667e10) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u131/8869/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp, line 366]
Event: 87.605 Thread 0x00007fd28c013800 Exception <a 'java/lang/ArrayIndexOutOfBoundsException': 36> (0x000000075666a4b8) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u131/8869/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp, line 366]
Event: 87.671 Thread 0x00007fd28c013800 Exception <a 'java/lang/ClassNotFoundException': ch/qos/logback/classic/encoder/PatternLayoutEncoderCustomizer> (0x00000007566a24f8) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u131/8869/hotspot/src/share/vm/classfile/systemDictionary.cpp, line
Event: 87.678 Thread 0x00007fd28c013800 Exception <a 'java/lang/ArrayIndexOutOfBoundsException': 98> (0x00000007566a5890) thrown at [/HUDSON/workspace/8-2-build-linux-amd64/jdk8u131/8869/hotspot/src/share/vm/interpreter/interpreterRuntime.cpp, line 366]
Events (10 events):
Event: 148.930 loading class gnu/trove/list/array/TShortArrayList
Event: 148.930 loading class gnu/trove/list/array/TShortArrayList done
Event: 148.932 loading class gnu/trove/list/array/TShortArrayList$1
Event: 148.932 loading class gnu/trove/list/array/TShortArrayList$1 done
Event: 148.933 loading class gnu/trove/iterator/TShortIterator
Event: 148.933 loading class gnu/trove/iterator/TShortIterator done
Event: 148.934 loading class gnu/trove/procedure/TShortProcedure
Event: 148.934 loading class gnu/trove/procedure/TShortProcedure done
Event: 148.935 loading class gnu/trove/function/TShortFunction
Event: 148.935 loading class gnu/trove/function/TShortFunction done
....
In your code or in R5 library there is a call to org.nustaq.offheap.bytez.malloc.MallocBytez.copyTo which is internally calling sun.misc.Unsafe.copyMemory you need to be very careful while dealing with unsafe api's.
It is always recommended not to use sun.misc.Unsafe api's which is designed only used for java internal api's.
Please find the blog suggesting the concerns of the same- https://jaxenter.com/hazelcast-on-java-unsafe-class-119286.html
From the crash logs it is clear that there is issue in handling unsafe api's
Stack: [0x00007fd29585b000,0x00007fd29595c000], sp=0x00007fd295959eb8, free space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x7fe2d4]
j sun.misc.Unsafe.copyMemory(Ljava/lang/Object;JLjava/lang/Object;JJ)V+0
j org.nustaq.offheap.bytez.malloc.MallocBytez.copyTo(Lorg/nustaq/offheap/bytez/BasicBytez;JJJ)V+38
j com.conveyal.r5.util.ExpandingMMFBytez.copyTo(Lorg/nustaq/offheap/bytez/BasicBytez;JJJ)V+20
The problem mostly encounter due to version miss match of current r5 API and available network.dat file that was generated with some earlier version of r5. To solve the issue delete network.dat and regenerate using current version. This will solve the issue.
R5 don't validate network.dat before loading, and api throw exception while loading.
Related
I tried to check the jdk version in cmd by typing javac -version when i hit enter i got this
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_IN_PAGE_ERROR (0xc0000006) at pc=0x5d002e63, pid=3872, tid=4900
#
# JRE version: Java(TM) SE Runtime Environment (8.0_91-b14) (build 1.8.0_91-b14)
# Java VM: Java HotSpot(TM) Client VM (25.91-b14 mixed mode, sharing windows-x86 )
# Problematic frame:
# V [jvm.dll+0xd2e63]
#
# 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:
# http://bugreport.java.com/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x013bbc00): JavaThread "main" [_thread_in_vm, id=4900, stack(0x01840000,0x01890000)]
siginfo: ExceptionCode=0xc0000006
Error accessing class data sharing archive. Mapped file inaccessible during execution, possible disk/network problem.
Registers:
EAX=0x0000000d, EBX=0x00000002, ECX=0x140f82e0, EDX=0x8dc9649f
ESP=0x0188a908, EBP=0x0188a908, ESI=0x1549c29c, EDI=0x140f82e0
EIP=0x5d002e63, EFLAGS=0x00010246
Top of Stack: (sp=0x0188a908)
0x0188a908: 0188a928 5cf7b6ca 15147230 0000000d
0x0188a918: 0000000d 8dc9649f 15147230 012636f8
0x0188a928: 0188a94c 5cf7b76c 000047ac 15147230
0x0188a938: 0000000d 8dc9649f 0188add4 00000052
0x0188a948: 0000000d 0188aa30 5cf63147 15147230
0x0188a958: 0000000d 0188a980 0188add4 013bbc00
0x0188a968: 1449f898 0701e400 00fce500 00000002
0x0188a978: 00000000 0188af24 8dc9649f 00000002
Instructions: (pc=0x5d002e63)
0x5d002e43: e8 48 c6 fc ff 8b c8 8b 46 04 83 c4 14 f7 d8 1b
0x5d002e53: c0 f7 d0 23 c1 5e 5d c3 cc cc cc cc cc 55 8b ec
0x5d002e63: 0f b7 01 3b 45 0c 74 06 32 c0 5d c2 08 00 56 85
0x5d002e73: c0 7e 19 8b 75 08 8d a4 24 00 00 00 00 8a 54 30
Register to memory mapping:
EAX=0x0000000d is an unknown value
EBX=0x00000002 is an unknown value
ECX=
[error occurred during error reporting (printing register info), id 0xc0000006]
Stack: [0x01840000,0x01890000], sp=0x0188a908, free space=298k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0xd2e63]
V [jvm.dll+0x4b6ca]
V [jvm.dll+0x4b76c]
V [jvm.dll+0x33147]
V [jvm.dll+0x33463]
V [jvm.dll+0x39165]
V [jvm.dll+0x4fa17]
V [jvm.dll+0x106ab9]
V [jvm.dll+0x106c8b]
C [java.dll+0x1c7d]
C 0x02000000
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j java.lang.ClassLoader.defineClass1(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Ljava/lang/String;)Ljava/lang/Class;+0
j java.lang.ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;+27
j java.security.SecureClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;+12
j java.net.URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+138
j java.net.URLClassLoader.access$100(Ljava/net/URLClassLoader;Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+3
j java.net.URLClassLoader$1.run()Ljava/lang/Class;+43
j java.net.URLClassLoader$1.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j java.net.URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+13
j java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+70
j sun.misc.Launcher$AppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+81
j java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3
v ~StubRoutines::call_stub
j java.lang.ClassLoader.defineClass1(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Ljava/lang/String;)Ljava/lang/Class;+0
j java.lang.ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;+27
j java.security.SecureClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;+12
j java.net.URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+138
j java.net.URLClassLoader.access$100(Ljava/net/URLClassLoader;Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+3
j java.net.URLClassLoader$1.run()Ljava/lang/Class;+43
j java.net.URLClassLoader$1.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j java.net.URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+13
j java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+70
j sun.misc.Launcher$AppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+81
j java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3
v ~StubRoutines::call_stub
j java.lang.ClassLoader.defineClass1(Ljava/lang/String;[BIILjava/security/ProtectionDomain;Ljava/lang/String;)Ljava/lang/Class;+0
j java.lang.ClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/ProtectionDomain;)Ljava/lang/Class;+27
j java.security.SecureClassLoader.defineClass(Ljava/lang/String;[BIILjava/security/CodeSource;)Ljava/lang/Class;+12
j java.net.URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+138
j java.net.URLClassLoader.access$100(Ljava/net/URLClassLoader;Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+3
j java.net.URLClassLoader$1.run()Ljava/lang/Class;+43
j java.net.URLClassLoader$1.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j java.net.URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+13
j java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+70
j sun.misc.Launcher$AppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+81
j java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3
v ~StubRoutines::call_stub
j com.sun.tools.javac.main.Option$2.matches(Ljava/lang/String;)Z+12
j com.sun.tools.javac.main.Main.processArgs([Ljava/lang/String;[Ljava/lang/String;)Ljava/util/Collection;+74
j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;[Ljava/lang/String;Lcom/sun/tools/javac/util/Context;Lcom/sun/tools/javac/util/List;Ljava/lang/Iterable;)Lcom/sun/tools/javac/main/Main$Result;+146
j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;Lcom/sun/tools/javac/util/Context;Lcom/sun/tools/javac/util/List;Ljava/lang/Iterable;)Lcom/sun/tools/javac/main/Main$Result;+7
j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;Lcom/sun/tools/javac/util/Context;)Lcom/sun/tools/javac/main/Main$Result;+7
j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;)Lcom/sun/tools/javac/main/Main$Result;+15
j com.sun.tools.javac.Main.compile([Ljava/lang/String;)I+12
j com.sun.tools.javac.Main.main([Ljava/lang/String;)V+1
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x01325c00 JavaThread "Service Thread" daemon [_thread_blocked, id=5680, stack(0x15030000,0x15080000)]
0x012f7c00 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=5336, stack(0x017e0000,0x01830000)]
0x012f6000 JavaThread "Attach Listener" daemon [_thread_blocked, id=3484, stack(0x14fe0000,0x15030000)]
0x012f3000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5564, stack(0x14ec0000,0x14f10000)]
0x012e1000 JavaThread "Finalizer" daemon [_thread_blocked, id=3164, stack(0x14e30000,0x14e80000)]
0x01283c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=4028, stack(0x14770000,0x147c0000)]
=>0x013bbc00 JavaThread "main" [_thread_in_vm, id=4900, stack(0x01840000,0x01890000)]
Other Threads:
0x0127f800 VMThread [stack: 0x146d0000,0x14720000] [id=1024]
0x01330400 WatcherThread [stack: 0x14f80000,0x14fd0000] [id=3056]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap:
def new generation total 2432K, used 316K [0x03c00000, 0x03ea0000, 0x09150000)
eden space 2176K, 2% used [0x03c00000, 0x03c0f1e8, 0x03e20000)
from space 256K, 100% used [0x03e60000, 0x03ea0000, 0x03ea0000)
to space 256K, 0% used [0x03e20000, 0x03e20000, 0x03e60000)
tenured generation total 5504K, used 169K [0x09150000, 0x096b0000, 0x13c00000)
the space 5504K, 3% used [0x09150000, 0x0917a780, 0x0917a800, 0x096b0000)
Metaspace used 547K, capacity 2628K, committed 2752K, reserved 4480K
Card table byte_map: [0x01740000,0x017d0000] byte_map_base: 0x01722000
Polling page: 0x00250000
CodeCache: size=32768Kb used=726Kb max_used=726Kb free=32041Kb
bounds [0x01bd0000, 0x01c88000, 0x03bd0000]
total_blobs=178 nmethods=40 adapters=70
compilation: enabled
Compilation events (10 events):
Event: 0.219 Thread 0x012f7c00 36 s! sun.misc.URLClassPath::getLoader (197 bytes)
Event: 0.220 Thread 0x012f7c00 nmethod 36 0x01c81a88 code [0x01c81ce0, 0x01c82e0c]
Event: 0.220 Thread 0x012f7c00 37 java.lang.String::<init> (82 bytes)
Event: 0.221 Thread 0x012f7c00 nmethod 37 0x01c83f88 code [0x01c840d0, 0x01c842e0]
Event: 0.221 Thread 0x012f7c00 38 s sun.misc.URLClassPath::getNextLoader (88 bytes)
Event: 0.221 Thread 0x012f7c00 nmethod 38 0x01c84508 code [0x01c84650, 0x01c84a44]
Event: 0.221 Thread 0x012f7c00 39 sun.misc.URLClassPath::getResource (83 bytes)
Event: 0.221 Thread 0x012f7c00 nmethod 39 0x01c84d88 code [0x01c84eb0, 0x01c84fd4]
Event: 0.224 Thread 0x012f7c00 40 ! sun.misc.URLClassPath$JarLoader::getResource (85 bytes)
Event: 0.229 Thread 0x012f7c00 nmethod 40 0x01c850c8 code [0x01c85240, 0x01c856b4]
GC Heap History (2 events):
Event: 0.224 GC heap before
{Heap before GC invocations=0 (full 0):
def new generation total 2432K, used 2176K [0x03c00000, 0x03ea0000, 0x09150000)
eden space 2176K, 100% used [0x03c00000, 0x03e20000, 0x03e20000)
from space 256K, 0% used [0x03e20000, 0x03e20000, 0x03e60000)
to space 256K, 0% used [0x03e60000, 0x03e60000, 0x03ea0000)
tenured generation total 5504K, used 0K [0x09150000, 0x096b0000, 0x13c00000)
the space 5504K, 0% used [0x09150000, 0x09150000, 0x09150200, 0x096b0000)
Metaspace used 544K, capacity 2628K, committed 2752K, reserved 4480K
Event: 0.228 GC heap after
Heap after GC invocations=1 (full 0):
def new generation total 2432K, used 256K [0x03c00000, 0x03ea0000, 0x09150000)
eden space 2176K, 0% used [0x03c00000, 0x03c00000, 0x03e20000)
from space 256K, 100% used [0x03e60000, 0x03ea0000, 0x03ea0000)
to space 256K, 0% used [0x03e20000, 0x03e20000, 0x03e60000)
tenured generation total 5504K, used 169K [0x09150000, 0x096b0000, 0x13c00000)
the space 5504K, 3% used [0x09150000, 0x0917a780, 0x0917a800, 0x096b0000)
Metaspace used 544K, capacity 2628K, committed 2752K, reserved 4480K
}
Deoptimization events (0 events):
No events
Internal exceptions (8 events):
Event: 0.056 Thread 0x013bbc00 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.defineClass(Ljava/lang/String;[BII)Ljava/lang/Class; name or signature does not match> (0x03c079d8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u91\6644\hotspot\src\share\vĽzwÚy¬?
Event: 0.056 Thread 0x013bbc00 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.prefetchRead(Ljava/lang/Object;J)V name or signature does not match> (0x03c07ca8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u91\6644\hotspot\src\share\vm\prims\jni.cpp, l4[}`$ÄÉ?
Event: 0.201 Thread 0x013bbc00 Exception <a 'java/security/PrivilegedActionException'> (0x03d520e0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u91\6644\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.201 Thread 0x013bbc00 Exception <a 'java/security/PrivilegedActionException'> (0x03d524c0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u91\6644\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.202 Thread 0x013bbc00 Exception <a 'java/security/PrivilegedActionException'> (0x03d560d0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u91\6644\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.202 Thread 0x013bbc00 Exception <a 'java/security/PrivilegedActionException'> (0x03d564b0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u91\6644\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.206 Thread 0x013bbc00 Exception <a 'java/security/PrivilegedActionException'> (0x03d8b0d8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u91\6644\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.206 Thread 0x013bbc00 Exception <a 'java/security/PrivilegedActionException'> (0x03d8b4b8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u91\6644\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Events (10 events):
Event: 0.224 loading class com/sun/tools/doclint/DocLint$BadArgs
Event: 0.224 loading class com/sun/tools/doclint/DocLint$BadArgs done
Event: 0.224 loading class com/sun/tools/doclint/DocLint$DeclScanner
Event: 0.224 loading class com/sun/tools/doclint/DocLint$DeclScanner done
Event: 0.224 Executing VM operation: GenCollectForAllocation
Event: 0.228 Executing VM operation: GenCollectForAllocation done
Event: 0.228 loading class com/sun/source/util/TreePathScanner
Event: 0.228 loading class com/sun/source/util/TreePathScanner done
Event: 0.228 loading class com/sun/source/util/TreeScanner
Event: 0.228 loading class com/sun/source/util/TreeScanner done
Dynamic libraries:
0x01230000 - 0x01236000 C:\Program Files\Java\jdk1.8.0_91\bin\javac.exe
0x76df0000 - 0x76f32000 C:\Windows\SYSTEM32\ntdll.dll
0x76bb0000 - 0x76c85000 C:\Windows\system32\kernel32.dll
0x74f80000 - 0x74fcb000 C:\Windows\system32\KERNELBASE.dll
0x6a070000 - 0x6a09b000 C:\Program Files\Java\jdk1.8.0_91\bin\jli.dll
0x756b0000 - 0x75751000 C:\Windows\system32\ADVAPI32.dll
0x76a50000 - 0x76afc000 C:\Windows\system32\msvcrt.dll
0x75a00000 - 0x75a19000 C:\Windows\SYSTEM32\sechost.dll
0x76b00000 - 0x76ba2000 C:\Windows\system32\RPCRT4.dll
0x73d10000 - 0x73eae000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_41e855142bd5705d\COMCTL32.dll
0x76fe0000 - 0x7702e000 C:\Windows\system32\GDI32.dll
0x75b40000 - 0x75c09000 C:\Windows\system32\USER32.dll
0x757a0000 - 0x757aa000 C:\Windows\system32\LPK.dll
0x76f40000 - 0x76fdd000 C:\Windows\system32\USP10.dll
0x76890000 - 0x768e7000 C:\Windows\system32\SHLWAPI.dll
0x69fb0000 - 0x6a06f000 C:\Program Files\Java\jdk1.8.0_91\bin\MSVCR100.dll
0x75a90000 - 0x75aaf000 C:\Windows\system32\IMM32.DLL
0x768f0000 - 0x769bc000 C:\Windows\system32\MSCTF.dll
0x69de0000 - 0x69e9f000 C:\Program Files\Java\jdk1.8.0_91\jre\bin\msvcr100.dll
0x5cf30000 - 0x5d2fa000 C:\Program Files\Java\jdk1.8.0_91\jre\bin\client\jvm.dll
0x6dd60000 - 0x6dd67000 C:\Windows\system32\WSOCK32.dll
0x75760000 - 0x75795000 C:\Windows\system32\WS2_32.dll
0x75ab0000 - 0x75ab6000 C:\Windows\system32\NSI.dll
0x707b0000 - 0x707e2000 C:\Windows\system32\WINMM.dll
0x742f0000 - 0x742f9000 C:\Windows\system32\VERSION.dll
0x75a20000 - 0x75a25000 C:\Windows\system32\PSAPI.DLL
0x71610000 - 0x7161c000 C:\Program Files\Java\jdk1.8.0_91\jre\bin\verify.dll
0x69f80000 - 0x69fa1000 C:\Program Files\Java\jdk1.8.0_91\jre\bin\java.dll
0x6ab20000 - 0x6ab33000 C:\Program Files\Java\jdk1.8.0_91\jre\bin\zip.dll
0x75c40000 - 0x7688b000 C:\Windows\system32\SHELL32.dll
0x76c90000 - 0x76ded000 C:\Windows\system32\ole32.dll
0x74d60000 - 0x74d6b000 C:\Windows\system32\profapi.dll
0x66af0000 - 0x66bdb000 C:\Windows\system32\dbghelp.dll
VM Arguments:
jvm_args: -Denv.class.path=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip -Dapplication.home=C:\Program Files\Java\jdk1.8.0_91 -Xms8m
java_command: com.sun.tools.javac.Main -version
java_class_path (initial): C:\Program Files\Java\jdk1.8.0_91/lib/tools.jar;C:\Program Files\Java\jdk1.8.0_91/classes
Launcher Type: SUN_STANDARD
Environment Variables:
CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Java\jre1.8.0_131\bin;C:\Program Files\Java\jdk1.8.0_91\bin;E:\MinGW\bin;C:\Program Files\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\;C:\Program Files\MySQL\MySQL Fabric 1.5 & MySQL Utilities 1.5\Doctrine extensions for PHP\;C:\Program Files\MySQL\MySQL Server 5.7\bin;E:\doxygen\bin
USERNAME=abc
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 37 Stepping 5, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 Build 7601 (6.1.7601.23392)
CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 37 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht, tsc, tscinvbit
Memory: 4k page, physical 1956984k(316744k free), swap 3913968k(1731388k free)
vm_info: Java HotSpot(TM) Client VM (25.91-b14) for windows-x86 JRE (1.8.0_91-b14), built on Apr 1 2016 01:01:28 by "java_re" with MS VC++ 10.0 (VS2010)
time: Fri Jun 02 16:11:31 2017
elapsed time: 4 seconds (0d 0h 0m 4s)
and whenever i type javac it shows the list as it should, also I can execute my programs from eclipse. I didn't tried from cmd.
Anyone having idea what this is?
Edit: it worked randomly after i repeatedly executed the command but it comes back.
It seems like you have a corrupted installation ("possible disk/network problem."), please reinstall your JRE/JDK and report back if that solved the issue.
It looked fine for me in cmd on Windows.
# Problematic frame:
# V [jvm.dll+0xd2e63]
Maybe your jvm.dll is corrupted. You may want to try a reinstall. From the error message you posted, your current version is:
Java(TM) SE Runtime Environment (8.0_91-b14) (build 1.8.0_91-b14)
Are there multiple JRE OR OS available in your system? This is crashing on particular version command checking. Finding it's root cause is difficult as there may be multiple resons for this.
i've started programming with libgdx and i've made a platformer game, similar to mario. The problem comes when i run the game, it gets a crash.
On android the crash happens in less than half a minute and i get this error:
A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0x1000e in tid 10731 (GLThread 18415)
On pc the crash happens whenever, sometimes i can play the hole lvl without problems and sometimes it crash after a couple seconds. I get this error:
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000066bcbd0d, pid=6980, tid=0x0000000000000b04
JRE version: Java(TM) SE Runtime Environment (8.0_101-b13) (build 1.8.0_101-b13)
Java VM: Java HotSpot(TM) 64-Bit Server VM (25.101-b13 mixed mode windows-amd64 compressed oops)
Problematic frame:
C [gdx-box2d64.dll+0xbd0d]
Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
An error report file with more information is saved as:
E:\Android Projects\oscarinabros2\android\assets\hs_err_pid6980.log
If you would like to submit a bug report, please visit:
http://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.
AL lib: (EE) alc_cleanup: 1 device not closed
And creates a file on my assets folder:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000066bcbd0d, pid=6980, tid=0x0000000000000b04
#
# JRE version: Java(TM) SE Runtime Environment (8.0_101-b13) (build 1.8.0_101-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.101-b13 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [gdx-box2d64.dll+0xbd0d]
#
# 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:
# http://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.
#
--------------- T H R E A D ---------------
Current thread (0x0000000059886800): JavaThread "LWJGL Application" [_thread_in_native, id=2820, stack(0x000000005acb0000,0x000000005adb0000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x0000002000404040
Registers:
RAX=0x0000002000404040, RBX=0x00000000003af890, RCX=0x00000000003af860, RDX=0x00000000000000b8
RSP=0x000000005adaea10, RBP=0x0000000000000006, RSI=0x00000000003af860, RDI=0x000000005adaead0
R8 =0x00000000003af860, R9 =0x0000000000000002, R10=0x0000000000000000, R11=0x0000000000000001
R12=0x0000000000000000, R13=0x0000000056e395f0, R14=0x0000000000000010, R15=0x0000000059886800
RIP=0x0000000066bcbd0d, EFLAGS=0x0000000000010202
Top of Stack: (sp=0x000000005adaea10)
0x000000005adaea10: 00000000003c8b00 000000000000016b
0x000000005adaea20: 00000000003f8f10 0000000066bc39ae
0x000000005adaea30: 00000000003af860 00000000003af860
0x000000005adaea40: 0000000000000001 000000005adaead0
0x000000005adaea50: 000000005adaebf0 0000000000000000
0x000000005adaea60: 0000000056e395f0 0000000066be2483
0x000000005adaea70: 00000000000005d0 0000000066be0498
0x000000005adaea80: 0000000000000009 0000000059886800
0x000000005adaea90: 0000000000000001 0000000000000001
0x000000005adaeaa0: 0000000000000001 0000000066be8616
0x000000005adaeab0: 0000000000000088 00000000000000fa
0x000000005adaeac0: 0000000000000780 00000000003f3788
0x000000005adaead0: 4296c7ae00000002 000000003eb33333
0x000000005adaeae0: 0000000000000000 0000000000000000
0x000000005adaeaf0: 0000010100000000 00000000d5f9ad01
0x000000005adaeb00: 0000000000000000 000000003f800000
Instructions: (pc=0x0000000066bcbd0d)
0x0000000066bcbced: 48 8d 05 6c a3 05 00 0f b6 1c 18 80 fb 0d 0f b6
0x0000000066bcbcfd: eb 77 21 48 8d 1c de 48 8b 43 10 48 85 c0 74 3a
0x0000000066bcbd0d: 48 8b 10 48 89 53 10 48 83 c4 28 5b 5e 5f 5d 41
0x0000000066bcbd1d: 5c 41 5d c3 48 8d 15 18 9e 04 00 48 8d 0d 99 9e
Register to memory mapping:
RAX=0x0000002000404040 is an unknown value
RBX=0x00000000003af890 is an unknown value
RCX=0x00000000003af860 is an unknown value
RDX=0x00000000000000b8 is an unknown value
RSP=0x000000005adaea10 is pointing into the stack for thread: 0x0000000059886800
RBP=0x0000000000000006 is an unknown value
RSI=0x00000000003af860 is an unknown value
RDI=0x000000005adaead0 is pointing into the stack for thread: 0x0000000059886800
R8 =0x00000000003af860 is an unknown value
R9 =0x0000000000000002 is an unknown value
R10=0x0000000000000000 is an unknown value
R11=0x0000000000000001 is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x0000000056e395f0 is pointing into metadata
R14=0x0000000000000010 is an unknown value
R15=0x0000000059886800 is a thread
Stack: [0x000000005acb0000,0x000000005adb0000], sp=0x000000005adaea10, free space=1018k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [gdx-box2d64.dll+0xbd0d]
C [gdx-box2d64.dll+0x22483]
C [gdx-box2d64.dll+0x28616]
C 0x000000000255df24
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
J 626 com.badlogic.gdx.physics.box2d.World.jniCreateBody(JIFFFFFFFFZZZZZF)J (0 bytes) # 0x000000000255dea6 [0x000000000255de00+0xa6]
J 625 C1 com.badlogic.gdx.physics.box2d.World.createBody(Lcom/badlogic/gdx/physics/box2d/BodyDef;)Lcom/badlogic/gdx/physics/box2d/Body; (120 bytes) # 0x000000000255d3fc [0x000000000255d260+0x19c]
J 1215 C1 tk.droptheswag.oscarinabros.sprites.enemies.Bala.defineEnemy()V (105 bytes) # 0x00000000026feb04 [0x00000000026fe760+0x3a4]
J 1351 C2 tk.droptheswag.oscarinabros.sprites.enemies.David.update(F)V (170 bytes) # 0x000000000278c240 [0x000000000278b8c0+0x980]
J 1235 C1 tk.droptheswag.oscarinabros.screens.PlayScreen.update(F)V (315 bytes) # 0x0000000002715d1c [0x0000000002715400+0x91c]
J 1355 C1 tk.droptheswag.oscarinabros.screens.PlayScreen.render(F)V (418 bytes) # 0x00000000027a3e2c [0x00000000027a3da0+0x8c]
J 1320 C1 tk.droptheswag.oscarinabros.OscarinaBros.render()V (5 bytes) # 0x000000000276442c [0x0000000002764220+0x20c]
j com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop()V+698
j com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run()V+27
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0000000059afe000 JavaThread "LWJGL Timer" daemon [_thread_blocked, id=4772, stack(0x000000005bca0000,0x000000005bda0000)]
0x0000000001db8000 JavaThread "DestroyJavaVM" [_thread_blocked, id=3900, stack(0x0000000001ec0000,0x0000000001fc0000)]
=>0x0000000059886800 JavaThread "LWJGL Application" [_thread_in_native, id=2820, stack(0x000000005acb0000,0x000000005adb0000)]
0x0000000058c20000 JavaThread "Monitor Ctrl-Break" daemon [_thread_in_native, id=3764, stack(0x0000000059470000,0x0000000059570000)]
0x0000000058a71000 JavaThread "Service Thread" daemon [_thread_blocked, id=4808, stack(0x0000000058e30000,0x0000000058f30000)]
0x0000000058a05800 JavaThread "C1 CompilerThread2" daemon [_thread_blocked, id=5996, stack(0x0000000058fd0000,0x00000000590d0000)]
0x0000000058a00800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=5032, stack(0x0000000058800000,0x0000000058900000)]
0x0000000057098800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=6500, stack(0x0000000058900000,0x0000000058a00000)]
0x0000000057094000 JavaThread "Attach Listener" daemon [_thread_blocked, id=2484, stack(0x0000000058690000,0x0000000058790000)]
0x0000000057092800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5072, stack(0x00000000584e0000,0x00000000585e0000)]
0x000000005707b000 JavaThread "Finalizer" daemon [_thread_blocked, id=6552, stack(0x0000000057fe0000,0x00000000580e0000)]
0x0000000057034000 JavaThread "Reference Handler" daemon [_thread_blocked, id=3856, stack(0x0000000058340000,0x0000000058440000)]
Other Threads:
0x000000005702c800 VMThread [stack: 0x00000000580e0000,0x00000000581e0000] [id=2200]
0x0000000058a8a800 WatcherThread [stack: 0x0000000059250000,0x0000000059350000] [id=7016]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap:
PSYoungGen total 38400K, used 9645K [0x00000000d5d00000, 0x00000000d8780000, 0x0000000100000000)
eden space 33280K, 15% used [0x00000000d5d00000,0x00000000d621b6c8,0x00000000d7d80000)
from space 5120K, 86% used [0x00000000d7d80000,0x00000000d81cff70,0x00000000d8280000)
to space 5120K, 0% used [0x00000000d8280000,0x00000000d8280000,0x00000000d8780000)
ParOldGen total 87552K, used 80K [0x0000000081600000, 0x0000000086b80000, 0x00000000d5d00000)
object space 87552K, 0% used [0x0000000081600000,0x0000000081614010,0x0000000086b80000)
Metaspace used 8927K, capacity 9055K, committed 9344K, reserved 1058816K
class space used 843K, capacity 852K, committed 896K, reserved 1048576K
Card table byte_map: [0x0000000011650000,0x0000000011a50000] byte_map_base: 0x0000000011245000
Marking Bits: (ParMarkBitMap*) 0x000000006e7fa6d0
Begin Bits: [0x0000000012350000, 0x00000000142f8000)
End Bits: [0x00000000142f8000, 0x00000000162a0000)
Polling page: 0x00000000001c0000
CodeCache: size=245760Kb used=5222Kb max_used=5229Kb free=240537Kb
bounds [0x0000000002290000, 0x00000000027c0000, 0x0000000011290000]
total_blobs=1865 nmethods=1357 adapters=421
compilation: enabled
Compilation events (10 events):
Event: 100.915 Thread 0x0000000058a05800 1363 3 com.badlogic.gdx.scenes.scene2d.ui.Value$3::get (30 bytes)
Event: 100.916 Thread 0x0000000058a05800 nmethod 1363 0x0000000002789d90 code [0x0000000002789f20, 0x000000000278a4c8]
Event: 100.916 Thread 0x0000000058a05800 1365 3 com.badlogic.gdx.utils.FloatArray::get (54 bytes)
Event: 100.917 Thread 0x0000000058a05800 nmethod 1365 0x0000000002790550 code [0x0000000002790760, 0x00000000027911d8]
Event: 100.917 Thread 0x0000000058a05800 1364 3 com.badlogic.gdx.scenes.scene2d.ui.Value$4::get (30 bytes)
Event: 100.918 Thread 0x0000000058a05800 nmethod 1364 0x0000000002789450 code [0x00000000027895e0, 0x0000000002789b88]
Event: 104.197 Thread 0x0000000057098800 1366 4 org.lwjgl.opengl.Display::getHeight (30 bytes)
Event: 104.200 Thread 0x0000000057098800 nmethod 1366 0x00000000027b0790 code [0x00000000027b08e0, 0x00000000027b0b38]
Event: 105.147 Thread 0x0000000058a00800 1367 4 com.badlogic.gdx.graphics.OrthographicCamera::update (164 bytes)
Event: 105.176 Thread 0x0000000058a00800 nmethod 1367 0x00000000027adc90 code [0x00000000027adee0, 0x00000000027ae890]
GC Heap History (2 events):
Event: 87.103 GC heap before
{Heap before GC invocations=1 (full 0):
PSYoungGen total 38400K, used 33280K [0x00000000d5d00000, 0x00000000d8780000, 0x0000000100000000)
eden space 33280K, 100% used [0x00000000d5d00000,0x00000000d7d80000,0x00000000d7d80000)
from space 5120K, 0% used [0x00000000d8280000,0x00000000d8280000,0x00000000d8780000)
to space 5120K, 0% used [0x00000000d7d80000,0x00000000d7d80000,0x00000000d8280000)
ParOldGen total 87552K, used 0K [0x0000000081600000, 0x0000000086b80000, 0x00000000d5d00000)
object space 87552K, 0% used [0x0000000081600000,0x0000000081600000,0x0000000086b80000)
Metaspace used 8885K, capacity 8991K, committed 9088K, reserved 1056768K
class space used 843K, capacity 852K, committed 896K, reserved 1048576K
Event: 87.111 GC heap after
Heap after GC invocations=1 (full 0):
PSYoungGen total 38400K, used 4415K [0x00000000d5d00000, 0x00000000d8780000, 0x0000000100000000)
eden space 33280K, 0% used [0x00000000d5d00000,0x00000000d5d00000,0x00000000d7d80000)
from space 5120K, 86% used [0x00000000d7d80000,0x00000000d81cff70,0x00000000d8280000)
to space 5120K, 0% used [0x00000000d8280000,0x00000000d8280000,0x00000000d8780000)
ParOldGen total 87552K, used 80K [0x0000000081600000, 0x0000000086b80000, 0x00000000d5d00000)
object space 87552K, 0% used [0x0000000081600000,0x0000000081614010,0x0000000086b80000)
Metaspace used 8885K, capacity 8991K, committed 9088K, reserved 1056768K
class space used 843K, capacity 852K, committed 896K, reserved 1048576K
}
Deoptimization events (10 events):
Event: 86.499 Thread 0x0000000059886800 Uncommon trap: reason=array_check action=maybe_recompile pc=0x000000000267b33c method=com.badlogic.gdx.utils.Array.add(Ljava/lang/Object;)V # 46
Event: 86.499 Thread 0x0000000059886800 Uncommon trap: reason=array_check action=maybe_recompile pc=0x000000000267b33c method=com.badlogic.gdx.utils.Array.add(Ljava/lang/Object;)V # 46
Event: 86.499 Thread 0x0000000059886800 Uncommon trap: reason=array_check action=maybe_recompile pc=0x000000000267b33c method=com.badlogic.gdx.utils.Array.add(Ljava/lang/Object;)V # 46
Event: 86.514 Thread 0x0000000059886800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000000026f04c8 method=com.badlogic.gdx.scenes.scene2d.ui.WidgetGroup.validate()V # 75
Event: 87.118 Thread 0x0000000059886800 Uncommon trap: reason=array_check action=maybe_recompile pc=0x000000000267b33c method=com.badlogic.gdx.utils.Array.add(Ljava/lang/Object;)V # 46
Event: 87.230 Thread 0x0000000059886800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000002675834 method=tk.droptheswag.oscarinabros.sprites.enemies.David.update(F)V # 99
Event: 87.230 Thread 0x0000000059886800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x00000000026e91e8 method=com.badlogic.gdx.scenes.scene2d.ui.WidgetGroup.validate()V # 75
Event: 91.897 Thread 0x0000000059886800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000002643278 method=tk.droptheswag.oscarinabros.sprites.enemies.Snake.update(F)V # 14
Event: 91.898 Thread 0x0000000059886800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000002647184 method=tk.droptheswag.oscarinabros.sprites.enemies.Snake.draw(Lcom/badlogic/gdx/graphics/g2d/Batch;)V # 4
Event: 97.930 Thread 0x0000000059886800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000000000279763c method=tk.droptheswag.oscarinabros.screens.PlayScreen.handleInput(F)V # 124
Internal exceptions (10 events):
Event: 0.127 Thread 0x0000000001db8000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d60af390) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u101\7261\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.127 Thread 0x0000000001db8000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d60b3460) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u101\7261\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.127 Thread 0x0000000001db8000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d60b3670) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u101\7261\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.220 Thread 0x0000000001db8000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d61efe28) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u101\7261\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.220 Thread 0x0000000001db8000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d61f1b00) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u101\7261\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.220 Thread 0x0000000001db8000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d61f2c70) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u101\7261\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.220 Thread 0x0000000001db8000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d61f7dd8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u101\7261\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.220 Thread 0x0000000001db8000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d61f8a30) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u101\7261\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.220 Thread 0x0000000001db8000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d61f9658) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u101\7261\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 87.230 Thread 0x0000000059886800 Implicit null exception at 0x00000000026746e9 to 0x0000000002675829
Events (10 events):
Event: 97.930 Thread 0x0000000059886800 DEOPT PACKING pc=0x000000000279763c sp=0x000000005adaefc0
Event: 97.930 Thread 0x0000000059886800 DEOPT UNPACKING pc=0x00000000022d582a sp=0x000000005adaef38 mode 2
Event: 99.247 Thread 0x0000000059886800 DEOPT PACKING pc=0x00000000027174fd sp=0x000000005adaee10
Event: 99.247 Thread 0x0000000059886800 DEOPT UNPACKING pc=0x00000000022d787f sp=0x000000005adaebd0 mode 0
Event: 100.914 Thread 0x0000000059886800 DEOPT PACKING pc=0x00000000027174fd sp=0x000000005adaee10
Event: 100.914 Thread 0x0000000059886800 DEOPT UNPACKING pc=0x00000000022d787f sp=0x000000005adaebd0 mode 0
Event: 102.580 Thread 0x0000000059886800 DEOPT PACKING pc=0x00000000027174fd sp=0x000000005adaee10
Event: 102.580 Thread 0x0000000059886800 DEOPT UNPACKING pc=0x00000000022d787f sp=0x000000005adaebd0 mode 0
Event: 104.247 Thread 0x0000000059886800 DEOPT PACKING pc=0x00000000027174fd sp=0x000000005adaee10
Event: 104.247 Thread 0x0000000059886800 DEOPT UNPACKING pc=0x00000000022d787f sp=0x000000005adaebd0 mode 0
Dynamic libraries:
0x000000013f210000 - 0x000000013f247000 C:\Program Files\Java\jdk1.8.0_101\bin\java.exe
0x0000000076e80000 - 0x000000007702a000 C:\Windows\SYSTEM32\ntdll.dll
0x0000000076c60000 - 0x0000000076d7f000 C:\Windows\system32\kernel32.dll
0x000007fefcea0000 - 0x000007fefcf0a000 C:\Windows\system32\KERNELBASE.dll
0x000007fefede0000 - 0x000007fefeebb000 C:\Windows\system32\ADVAPI32.dll
0x000007fefd070000 - 0x000007fefd10f000 C:\Windows\system32\msvcrt.dll
0x000007fefeab0000 - 0x000007fefeacf000 C:\Windows\SYSTEM32\sechost.dll
0x000007fefebb0000 - 0x000007fefecdd000 C:\Windows\system32\RPCRT4.dll
0x0000000076d80000 - 0x0000000076e7a000 C:\Windows\system32\USER32.dll
0x000007fefcf70000 - 0x000007fefcfd7000 C:\Windows\system32\GDI32.dll
0x000007fefcfe0000 - 0x000007fefcfee000 C:\Windows\system32\LPK.dll
0x000007fefece0000 - 0x000007fefedaa000 C:\Windows\system32\USP10.dll
0x000007fefad50000 - 0x000007fefaf44000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_fa3b1e3d17594757\COMCTL32.dll
0x000007fefcff0000 - 0x000007fefd061000 C:\Windows\system32\SHLWAPI.dll
0x000007fefedb0000 - 0x000007fefedde000 C:\Windows\system32\IMM32.DLL
0x000007fefd600000 - 0x000007fefd709000 C:\Windows\system32\MSCTF.dll
0x0000000070760000 - 0x0000000070832000 C:\Program Files\Java\jdk1.8.0_101\jre\bin\msvcr100.dll
0x000000006dfe0000 - 0x000000006e87a000 C:\Program Files\Java\jdk1.8.0_101\jre\bin\server\jvm.dll
0x000007feef9d0000 - 0x000007feef9d9000 C:\Windows\system32\WSOCK32.dll
0x000007fefd110000 - 0x000007fefd15d000 C:\Windows\system32\WS2_32.dll
0x000007fefd3e0000 - 0x000007fefd3e8000 C:\Windows\system32\NSI.dll
0x000007fef9ed0000 - 0x000007fef9f0b000 C:\Windows\system32\WINMM.dll
0x000007fefbe10000 - 0x000007fefbe1c000 C:\Windows\system32\VERSION.dll
0x0000000077040000 - 0x0000000077047000 C:\Windows\system32\PSAPI.DLL
0x0000000071660000 - 0x000000007166f000 C:\Program Files\Java\jdk1.8.0_101\jre\bin\verify.dll
0x0000000071630000 - 0x0000000071659000 C:\Program Files\Java\jdk1.8.0_101\jre\bin\java.dll
0x00000000709a0000 - 0x00000000709b6000 C:\Program Files\Java\jdk1.8.0_101\jre\bin\zip.dll
0x000007fefdd20000 - 0x000007fefeaaa000 C:\Windows\system32\SHELL32.dll
0x000007fefd3f0000 - 0x000007fefd5f3000 C:\Windows\system32\ole32.dll
0x000007fefcbb0000 - 0x000007fefcbbf000 C:\Windows\system32\profapi.dll
0x000007fefb950000 - 0x000007fefb95f000 C:\Program Files\Android\Android Studio\bin\breakgen64.dll
0x0000000070720000 - 0x000000007073a000 C:\Program Files\Java\jdk1.8.0_101\jre\bin\net.dll
0x000007fefc390000 - 0x000007fefc3e5000 C:\Windows\system32\mswsock.dll
0x000007fefc380000 - 0x000007fefc387000 C:\Windows\System32\wship6.dll
0x0000000065580000 - 0x0000000065616000 C:\Users\dam224\AppData\Local\Temp\libgdxdam224\8aad67a5\gdx64.dll
0x000007fefc3f0000 - 0x000007fefc408000 C:\Windows\system32\CRYPTSP.dll
0x000007fefc0f0000 - 0x000007fefc137000 C:\Windows\system32\rsaenh.dll
0x000007fefcf40000 - 0x000007fefcf5e000 C:\Windows\system32\USERENV.dll
0x000007fefca50000 - 0x000007fefca5f000 C:\Windows\system32\CRYPTBASE.dll
0x000007fefbcf0000 - 0x000007fefbd17000 C:\Windows\system32\IPHLPAPI.DLL
0x000007fefbce0000 - 0x000007fefbceb000 C:\Windows\system32\WINNSI.DLL
0x000007fefa980000 - 0x000007fefa991000 C:\Windows\system32\dhcpcsvc6.DLL
0x000007fefa960000 - 0x000007fefa978000 C:\Windows\system32\dhcpcsvc.DLL
0x0000000070740000 - 0x0000000070751000 C:\Program Files\Java\jdk1.8.0_101\jre\bin\nio.dll
0x0000000180000000 - 0x0000000180053000 C:\Users\dam224\AppData\Local\Temp\libgdxdam224\dc0f0009\lwjgl64.dll
0x000007fef3100000 - 0x000007fef321d000 C:\Windows\system32\OPENGL32.dll
0x000007fef1c00000 - 0x000007fef1c2d000 C:\Windows\system32\GLU32.dll
0x000007fef1b00000 - 0x000007fef1bf1000 C:\Windows\system32\DDRAW.dll
0x000007fef30f0000 - 0x000007fef30f8000 C:\Windows\system32\DCIMAN32.dll
0x000007fefd200000 - 0x000007fefd3d7000 C:\Windows\system32\SETUPAPI.dll
0x000007fefcbd0000 - 0x000007fefcc06000 C:\Windows\system32\CFGMGR32.dll
0x000007fefead0000 - 0x000007fefebaa000 C:\Windows\system32\OLEAUT32.dll
0x000007fefcf20000 - 0x000007fefcf3a000 C:\Windows\system32\DEVOBJ.dll
0x000007fefa7a0000 - 0x000007fefa7b8000 C:\Windows\system32\dwmapi.dll
0x00000000121b0000 - 0x0000000012214000 C:\Users\dam224\AppData\Local\Temp\libgdxdam224\dc0f0009\OpenAL64.dll
0x000007fefacf0000 - 0x000007fefad46000 C:\Windows\system32\uxtheme.dll
0x000007fefd8a0000 - 0x000007fefd939000 C:\Windows\system32\CLBCatQ.DLL
0x000007fefa9a0000 - 0x000007fefaacc000 C:\Windows\System32\PROPSYS.dll
0x000007fefcdb0000 - 0x000007fefcdeb000 C:\Windows\system32\WINTRUST.dll
0x000007fefcc40000 - 0x000007fefcdad000 C:\Windows\system32\CRYPT32.dll
0x000007fefcbc0000 - 0x000007fefcbcf000 C:\Windows\system32\MSASN1.dll
0x000007fef9660000 - 0x000007fef96e8000 C:\Windows\system32\dsound.dll
0x000007fefb960000 - 0x000007fefb98c000 C:\Windows\system32\POWRPROF.dll
0x000007fefb0b0000 - 0x000007fefb0fb000 C:\Windows\System32\MMDevApi.dll
0x000007fef9c70000 - 0x000007fef9cbf000 C:\Windows\system32\AUDIOSES.DLL
0x000000005adb0000 - 0x000000005b556000 C:\Windows\system32\ig75icd64.dll
0x000007fef4160000 - 0x000007fef45aa000 C:\Windows\system32\igdusc64.dll
0x000007feef010000 - 0x000007feef0ac000 C:\Windows\system32\mscms.dll
0x000007fef9570000 - 0x000007fef95b2000 C:\Windows\system32\icm32.dll
0x0000000066bc0000 - 0x0000000066c7b000 C:\Users\dam224\AppData\Local\Temp\libgdxdam224\b6038e5c\gdx-box2d64.dll
0x000007fef9b00000 - 0x000007fef9c25000 C:\Windows\system32\dbghelp.dll
VM Arguments:
jvm_args: -Didea.launcher.port=7532 -Didea.launcher.bin.path=C:\Program Files\Android\Android Studio\bin -Dfile.encoding=UTF-8
java_command: com.intellij.rt.execution.application.AppMain tk.droptheswag.oscarinabros.desktop.DesktopLauncher
java_class_path (initial): C:\Program Files\Java\jdk1.8.0_101\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\deploy.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\cldrdata.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\dnsns.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\jaccess.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\jfxrt.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\localedata.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\nashorn.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\sunec.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\sunmscapi.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\ext\zipfs.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\javaws.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\jce.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\jfr.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\jfxswt.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\management-agent.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\plugin.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\resources.jar;C:\Program Files\Java\jdk1.8.0_101\jre\lib\rt.jar;E:\Android Projects\oscarinabros2\desktop\build\classes\main;E:\Android Projects\oscarinabros2\core\build\classes\main;C:\Users\dam224\.gradle\caches\modules-2\files-2.1\com.badlogicgames.gdx\gdx\1.9.4\4b4b7962d1bc75af0438f5c81ec1010557bc9ee5\gdx-1.9.4.jar;C:\Users\dam224\.gradle\caches\modules-2\files-2.1\com.badlogicgames.gdx\gdx-box2d\1.9.4\98a0d25c9f0637fecac6e4aacf7287aa635964f5\gdx-box2d-1.9.4.jar;C:\Users\dam224\.gradle\caches\modules-2\files-2.1\com.badlogicgames.gdx\gdx-backend-lwjgl\1.9.4\4c6c108a9dcbc07096de8594b93f9cab33856fe2\gdx-backend-lwjgl-1.9.4.jar;C:\Users\dam224\.gradle\caches\modules-2\files-2.1\com.badlogicgames.gdx\gdx
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Norman\npm\bin;C:\Users\dam224\AppData\Local\Android\sdk\platform-tools;C:\Users\dam224\AppData\Local\Android\sdk\tools;C:\Users\dam224\AppData\Local\Android\sdk\build-tools\24.0.2
USERNAME=dam224
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 , 64 bit Build 7601 (6.1.7601.23539)
CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 60 stepping 3, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, rtm, lzcnt, tsc, tscinvbit, bmi1, bmi2
Memory: 4k page, physical 8292724k(3691020k free), swap 16583588k(10849440k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (25.101-b13) for windows-amd64 JRE (1.8.0_101-b13), built on Jun 22 2016 01:21:29 by "java_re" with MS VC++ 10.0 (VS2010)
time: Thu Oct 06 09:30:17 2016
elapsed time: 107 seconds (0d 0h 1m 47s)
i've tried and searched but i cant find anything to solve it, any idea what could be the problem or how could i identify it? it doesnt seem to happen in any specific time or event.
You are getting a crash in one of the (probably c) libraries used. EXCEPTION_ACCESS_VIOLATION means you are trying to read/write memory that is not supposed to be read/written.
Something like (pseudo)
Array array = new Array[10]();
array[11] = 1;
What is going wrong is hard to say from this info. But these kind of unpredictable errors are usually a concurrency problem.
found the error, i was trying to set active bodies from the b2world that were already destroyed, just added a condition so it doesnt do that if it is destroyed
for (Enemy enemy : creator.getEnemies()) {
enemy.update(dt);
if (!enemy.destroyed && enemy.getX() < player.getX() + 272 / OscarinaBros.PPM) {
enemy.b2body.setActive(true);
}
}
for (Item item : creator.getItems()) {
item.update(dt);
if (!item.destroyed && item.getX() < player.getX() + 272 / OscarinaBros.PPM) {
item.b2body.setActive(true);
}
}
I have this Java class I am trying to run using Eclipse Mars.1 IDE.
Here's the code :
import com.xuggle.mediatool.IMediaReader;
import com.xuggle.mediatool.IMediaWriter;
import com.xuggle.mediatool.ToolFactory;
import com.xuggle.xuggler.ICodec;
public class VideoToAudio {
public void convertVideoToAudio(){
IMediaReader reader = ToolFactory.makeReader("C:/Users/hbxd78/Desktop/test.mp4");
IMediaWriter writer = ToolFactory.makeWriter("C:/Users/hbxd78/Desktop/agf.mp3", reader);
int sampleRate = 44100;
int channels = 1;
writer.setMaskLateStreamExceptions(true);
writer.addAudioStream(1, 0, ICodec.ID.CODEC_ID_MP3, channels, sampleRate);
reader.addListener(writer);
while (reader.readPacket() == null) ;
}
public static void main(String [] args){
VideoToAudio vta = new VideoToAudio();
try{
vta.convertVideoToAudio();
}
catch(Exception e){
System.out.println("Could not open video file");
e.printStackTrace();
}
}
}
When trying to run the following code I get the following error shown in my Eclipse console :
Here's the error log returned from program executions
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006ee76520, pid=6852, tid=3424
#
# JRE version: Java(TM) SE Runtime Environment (8.0_66-b18) (build 1.8.0_66-b18)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.66-b18 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [xuggle2013058311529011075.dll+0x736520]
#
# 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:
# http://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.
#
--------------- T H R E A D ---------------
Current thread (0x000000000267e000): JavaThread "main" [_thread_in_native, id=3424, stack(0x0000000002710000,0x0000000002810000)]
siginfo: ExceptionCode=0xc0000005, reading address 0xffffffffffffffff
Registers:
RAX=0x00000000006ed090, RBX=0x000000001aa90120, RCX=0x00000000006ed090, RDX=0x0000000000000009
RSP=0x000000000280e270, RBP=0x00000000006ec7d0, RSI=0x00000000006ee090, RDI=0x0000000000000004
R8 =0x000000006ee77580, R9 =0x000000006ee76490, R10=0x00000000006efe20, R11=0x00000000006f0430
R12=0x00000000006f0c30, R13=0x0000000000000004, R14=0x0000000000000184, R15=0x000000006fab8f20
RIP=0x000000006ee76520, EFLAGS=0x0000000000010202
Top of Stack: (sp=0x000000000280e270)
0x000000000280e270: 000000006ee76665 000000006ee774c5
0x000000000280e280: 000000006ee77505 000000006ee77545
0x000000000280e290: 000000006ee77585 000000006ee79426
0x000000000280e2a0: 000000006fab8f20 00000000006ed090
0x000000000280e2b0: 000000001aa925e0 0000000002bc74c0
0x000000000280e2c0: 3fe0000000000000 0000000000000000
0x000000000280e2d0: 40c7760000000000 0000000000000000
0x000000000280e2e0: 3fe0000000000000 0000000000000001
0x000000000280e2f0: 000000001aa935e0 000000006ea45d24
0x000000000280e300: 3f40624dd2f1a9fc 0000000000000000
0x000000000280e310: 0000000000000000 0000000000000000
0x000000000280e320: 0000000000000000 0000000000000000
0x000000000280e330: 000000001aa9c4e0 000000006fab7320
0x000000000280e340: 0000000017568d9d 000000001aa90080
0x000000000280e350: 0000000000000001 00000000006ec7d0
0x000000000280e360: 00000000006ec850 0000000000000000
Instructions: (pc=0x000000006ee76520)
0x000000006ee76500: c4 e3 5d 0c c0 55 c5 e4 5c c8 c5 e4 58 c0 c5 fc
0x000000006ee76510: 29 01 c5 fc 29 49 20 c3 0f 1f 84 00 00 00 00 00
0x000000006ee76520: c5 fc 28 51 40 c5 fc 28 59 60 c5 ec 5c fb c5 ec
0x000000006ee76530: 58 d3 c5 c4 57 3d 26 41 84 00 c5 ec c6 df be c5
Register to memory mapping:
RAX=0x00000000006ed090 is an unknown value
RBX=0x000000001aa90120 is an unknown value
RCX=0x00000000006ed090 is an unknown value
RDX=0x0000000000000009 is an unknown value
RSP=0x000000000280e270 is pointing into the stack for thread: 0x000000000267e000
RBP=0x00000000006ec7d0 is an unknown value
RSI=0x00000000006ee090 is an unknown value
RDI=0x0000000000000004 is an unknown value
R8 =0x000000006ee77580 is an unknown value
R9 =0x000000006ee76490 is an unknown value
R10=0x00000000006efe20 is an unknown value
R11=0x00000000006f0430 is an unknown value
R12=0x00000000006f0c30 is an unknown value
R13=0x0000000000000004 is an unknown value
R14=0x0000000000000184 is an unknown value
R15=0x000000006fab8f20 is an unknown value
Stack: [0x0000000002710000,0x0000000002810000], sp=0x000000000280e270, free space=1016k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [xuggle2013058311529011075.dll+0x736520]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.xuggle.xuggler.XugglerJNI.IContainer_open__SWIG_1(JLcom/xuggle/xuggler/IContainer;Ljava/lang/String;IJLcom/xuggle/xuggler/IContainerFormat;ZZ)I+0
j com.xuggle.xuggler.IContainer.open(Ljava/lang/String;Lcom/xuggle/xuggler/IContainer$Type;Lcom/xuggle/xuggler/IContainerFormat;ZZ)I+19
j com.xuggle.mediatool.MediaReader.open()V+20
j com.xuggle.mediatool.MediaReader.readPacket()Lcom/xuggle/xuggler/IError;+8
j VideoToAudio.convertVideoToAudio()V+50
j VideoToAudio.main([Ljava/lang/String;)V+9
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0000000018df2000 JavaThread "Service Thread" daemon [_thread_blocked, id=4048, stack(0x0000000019aa0000,0x0000000019ba0000)]
0x0000000018d7c800 JavaThread "C1 CompilerThread2" daemon [_thread_blocked, id=3660, stack(0x00000000197c0000,0x00000000198c0000)]
0x0000000018d7b000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=6928, stack(0x0000000019660000,0x0000000019760000)]
0x0000000018d74000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=2028, stack(0x0000000019250000,0x0000000019350000)]
0x0000000018d72800 JavaThread "Attach Listener" daemon [_thread_blocked, id=684, stack(0x00000000194c0000,0x00000000195c0000)]
0x0000000017b1e800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6244, stack(0x0000000019350000,0x0000000019450000)]
0x0000000017ab7000 JavaThread "Finalizer" daemon [_thread_blocked, id=5412, stack(0x0000000018940000,0x0000000018a40000)]
0x0000000017ab0000 JavaThread "Reference Handler" daemon [_thread_blocked, id=5868, stack(0x0000000018c70000,0x0000000018d70000)]
=>0x000000000267e000 JavaThread "main" [_thread_in_native, id=3424, stack(0x0000000002710000,0x0000000002810000)]
Other Threads:
0x0000000017aaa800 VMThread [stack: 0x0000000018a80000,0x0000000018b80000] [id=2800]
0x0000000018e3e000 WatcherThread [stack: 0x0000000019970000,0x0000000019a70000] [id=1824]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap:
PSYoungGen total 38400K, used 5326K [0x00000000d5b00000, 0x00000000d8580000, 0x0000000100000000)
eden space 33280K, 16% used [0x00000000d5b00000,0x00000000d6033a28,0x00000000d7b80000)
from space 5120K, 0% used [0x00000000d8080000,0x00000000d8080000,0x00000000d8580000)
to space 5120K, 0% used [0x00000000d7b80000,0x00000000d7b80000,0x00000000d8080000)
ParOldGen total 87552K, used 0K [0x0000000081000000, 0x0000000086580000, 0x00000000d5b00000)
object space 87552K, 0% used [0x0000000081000000,0x0000000081000000,0x0000000086580000)
Metaspace used 4376K, capacity 5216K, committed 5504K, reserved 1056768K
class space used 484K, capacity 528K, committed 640K, reserved 1048576K
Card table byte_map: [0x0000000011f80000,0x0000000012380000] byte_map_base: 0x0000000011b78000
Marking Bits: (ParMarkBitMap*) 0x000000005531a5b0
Begin Bits: [0x0000000012da0000, 0x0000000014d60000)
End Bits: [0x0000000014d60000, 0x0000000016d20000)
Polling page: 0x0000000000240000
CodeCache: size=245760Kb used=1548Kb max_used=1560Kb free=244211Kb
bounds [0x0000000002bc0000, 0x0000000002e30000, 0x0000000011bc0000]
total_blobs=534 nmethods=214 adapters=233
compilation: enabled
Compilation events (10 events):
Event: 2.318 Thread 0x0000000018d7c800 210 3 java.lang.String::regionMatches (149 bytes)
Event: 2.318 Thread 0x0000000018d7c800 nmethod 210 0x0000000002d38a90 code [0x0000000002d38ce0, 0x0000000002d39978]
Event: 2.318 Thread 0x0000000018d7c800 211 3 java.lang.String::concat (47 bytes)
Event: 2.319 Thread 0x0000000018d7c800 nmethod 211 0x0000000002d41990 code [0x0000000002d41b60, 0x0000000002d42318]
Event: 2.320 Thread 0x0000000018d7b000 212 4 java.lang.String::indexOf (166 bytes)
Event: 2.321 Thread 0x0000000018d7c800 213 3 java.lang.ref.Finalizer::register (10 bytes)
Event: 2.321 Thread 0x0000000018d7c800 nmethod 213 0x0000000002d42690 code [0x0000000002d42820, 0x0000000002d42c48]
Event: 2.321 Thread 0x0000000018d7c800 214 3 java.lang.ref.Finalizer::<init> (23 bytes)
Event: 2.322 Thread 0x0000000018d7c800 nmethod 214 0x0000000002d42e10 code [0x0000000002d42fa0, 0x0000000002d43308]
Event: 2.327 Thread 0x0000000018d7b000 nmethod 212 0x0000000002d46590 code [0x0000000002d466e0, 0x0000000002d46bf8]
GC Heap History (0 events):
No events
Deoptimization events (1 events):
Event: 0.906 Thread 0x000000000267e000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000002d2e190 method=java.util.zip.InflaterInputStream.read([BII)I # 69
Internal exceptions (10 events):
Event: 0.217 Thread 0x000000000267e000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d5da38e0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u66\5298\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.217 Thread 0x000000000267e000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d5da4878) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u66\5298\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.217 Thread 0x000000000267e000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d5da4a88) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u66\5298\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.217 Thread 0x000000000267e000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d5da59e0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u66\5298\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.217 Thread 0x000000000267e000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d5da5bf0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u66\5298\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.228 Thread 0x000000000267e000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d5dda7a8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u66\5298\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.228 Thread 0x000000000267e000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d5dda9b8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u66\5298\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.229 Thread 0x000000000267e000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d5dde748) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u66\5298\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.229 Thread 0x000000000267e000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d5dde958) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u66\5298\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.230 Thread 0x000000000267e000 Exception <a 'java/lang/NoClassDefFoundError': org/slf4j/impl/StaticLoggerBinder> (0x00000000d5de1d28) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u66\5298\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 199]
Events (10 events):
Event: 2.320 loading class com/xuggle/xuggler/ICodec$Type
Event: 2.320 loading class com/xuggle/xuggler/ICodec$Type done
Event: 2.320 loading class com/xuggle/xuggler/ICodec$Type$SwigNext
Event: 2.320 loading class com/xuggle/xuggler/ICodec$Type$SwigNext done
Event: 2.321 loading class com/xuggle/mediatool/event/AddStreamEvent
Event: 2.321 loading class com/xuggle/mediatool/event/AddStreamEvent done
Event: 2.321 loading class com/xuggle/mediatool/event/AStreamCoderMixin
Event: 2.321 loading class com/xuggle/mediatool/event/AStreamCoderMixin done
Event: 2.321 loading class com/xuggle/mediatool/event/AStreamMixin
Event: 2.321 loading class com/xuggle/mediatool/event/AStreamMixin done
Dynamic libraries:
0x000000013f020000 - 0x000000013f057000 C:\Program Files\Java\jre1.8.0_66\bin\javaw.exe
0x0000000077a30000 - 0x0000000077bd9000 C:\Windows\SYSTEM32\ntdll.dll
0x0000000077910000 - 0x0000000077a30000 C:\Windows\system32\kernel32.dll
0x000007fefdc90000 - 0x000007fefdcfc000 C:\Windows\system32\KERNELBASE.dll
0x0000000075670000 - 0x00000000756f7000 C:\Windows\System32\SYSFER.DLL
0x000007feff830000 - 0x000007feff90b000 C:\Windows\system32\ADVAPI32.dll
0x000007feff220000 - 0x000007feff2bf000 C:\Windows\system32\msvcrt.dll
0x000007feffb90000 - 0x000007feffbaf000 C:\Windows\SYSTEM32\sechost.dll
0x000007fefe110000 - 0x000007fefe23d000 C:\Windows\system32\RPCRT4.dll
0x0000000077810000 - 0x000000007790a000 C:\Windows\system32\USER32.dll
0x000007fefe2c0000 - 0x000007fefe327000 C:\Windows\system32\GDI32.dll
0x000007fefe440000 - 0x000007fefe44e000 C:\Windows\system32\LPK.dll
0x000007fefdd40000 - 0x000007fefde0a000 C:\Windows\system32\USP10.dll
0x000007fefbf80000 - 0x000007fefc174000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_fa3b1e3d17594757\COMCTL32.dll
0x000007fefde10000 - 0x000007fefde81000 C:\Windows\system32\SHLWAPI.dll
0x000007feff1f0000 - 0x000007feff21e000 C:\Windows\system32\IMM32.DLL
0x000007fefe330000 - 0x000007fefe439000 C:\Windows\system32\MSCTF.dll
0x0000000056500000 - 0x00000000565d2000 C:\Program Files\Java\jre1.8.0_66\bin\msvcr100.dll
0x0000000054b10000 - 0x0000000055399000 C:\Program Files\Java\jre1.8.0_66\bin\server\jvm.dll
0x000007fefd340000 - 0x000007fefd349000 C:\Windows\system32\WSOCK32.dll
0x000007feff780000 - 0x000007feff7cd000 C:\Windows\system32\WS2_32.dll
0x000007fefe450000 - 0x000007fefe458000 C:\Windows\system32\NSI.dll
0x000007fefb330000 - 0x000007fefb36b000 C:\Windows\system32\WINMM.dll
0x000007fefc7e0000 - 0x000007fefc7ec000 C:\Windows\system32\VERSION.dll
0x0000000077bf0000 - 0x0000000077bf7000 C:\Windows\system32\PSAPI.DLL
0x000000006bdd0000 - 0x000000006bddf000 C:\Program Files\Java\jre1.8.0_66\bin\verify.dll
0x0000000059300000 - 0x0000000059329000 C:\Program Files\Java\jre1.8.0_66\bin\java.dll
0x000000005d600000 - 0x000000005d616000 C:\Program Files\Java\jre1.8.0_66\bin\zip.dll
0x000007fefe460000 - 0x000007feff1e9000 C:\Windows\system32\SHELL32.dll
0x000007feff440000 - 0x000007feff643000 C:\Windows\system32\ole32.dll
0x000007fefd930000 - 0x000007fefd93f000 C:\Windows\system32\profapi.dll
0x000007fefce00000 - 0x000007fefce18000 C:\Windows\system32\CRYPTSP.dll
0x000007fefcae0000 - 0x000007fefcb27000 C:\Windows\system32\rsaenh.dll
0x000007fefc840000 - 0x000007fefc85e000 C:\Windows\system32\USERENV.dll
0x000007fefd860000 - 0x000007fefd86f000 C:\Windows\system32\CRYPTBASE.dll
0x00000000592e0000 - 0x00000000592fa000 C:\Program Files\Java\jre1.8.0_66\bin\net.dll
0x000007fefcda0000 - 0x000007fefcdf5000 C:\Windows\system32\mswsock.dll
0x000007fefd330000 - 0x000007fefd337000 C:\Windows\System32\wship6.dll
0x000007fefa3d0000 - 0x000007fefa3f7000 C:\Windows\system32\IPHLPAPI.DLL
0x000007fefa3c0000 - 0x000007fefa3cb000 C:\Windows\system32\WINNSI.DLL
0x000007fef9ba0000 - 0x000007fef9bb1000 C:\Windows\system32\dhcpcsvc6.DLL
0x000007fef9b10000 - 0x000007fef9b28000 C:\Windows\system32\dhcpcsvc.DLL
0x00000000592c0000 - 0x00000000592d1000 C:\Program Files\Java\jre1.8.0_66\bin\nio.dll
0x000000006e740000 - 0x000000006fda5000 C:\Users\hbxd78\AppData\Local\Temp\xuggle\xuggle2013058311529011075.dll
0x000007feea410000 - 0x000007feea427000 C:\Windows\system32\AVICAP32.dll
0x000007fedf3c0000 - 0x000007fedf3e9000 C:\Windows\system32\MSVFW32.dll
0x000007fef8300000 - 0x000007fef8425000 C:\Windows\system32\dbghelp.dll
VM Arguments:
jvm_args: -Dfile.encoding=Cp1255
java_command: VideoToAudio
java_class_path (initial): C:\Users\hbxd78\workspaceNew\DecodeAndPlayAudio\bin;C:\Users\hbxd78\workspaceNew\DecodeAndPlayAudio\lib\JMF-2.1.1e\lib\customizer.jar;C:\Users\hbxd78\workspaceNew\DecodeAndPlayAudio\lib\JMF-2.1.1e\lib\jmf.jar;C:\Users\hbxd78\workspaceNew\DecodeAndPlayAudio\lib\JMF-2.1.1e\lib\mediaplayer.jar;C:\Users\hbxd78\workspaceNew\DecodeAndPlayAudio\lib\JMF-2.1.1e\lib\multiplayer.jar;C:\Users\hbxd78\workspaceNew\DecodeAndPlayAudio\lib\jmf-2.1.1e.jar;C:\Users\hbxd78\workspaceNew\DecodeAndPlayAudio\lib\jmf.jar;C:\Users\hbxd78\workspaceNew\DecodeAndPlayAudio\lib\JLayer1.0.1\jl1.0.1.jar;C:\Users\hbxd78\workspaceNew\DecodeAndPlayAudio\xuggle-xuggler-5.4.jar;C:\Users\hbxd78\workspaceNew\JARs\slf4j-api-1.7.13.jar
Launcher Type: SUN_STANDARD
Environment Variables:
CLASSPATH=.;.;.;C:\PROGRA~2\JMF21~1.1E\lib\sound.jar;C:\PROGRA~2\JMF21~1.1E\lib\jmf.jar;C:\PROGRA~2\JMF21~1.1E\lib;
PATH=C:/Program Files/Java/jre1.8.0_66/bin/server;C:/Program Files/Java/jre1.8.0_66/bin;C:/Program Files/Java/jre1.8.0_66/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\TDM-GCC-64\bin;C:\msys\1.0\bin;\C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\IBM\RationalSDLC\common;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Program Files\Common Files\Microsoft Shared\Microsoft Online Services;C:\Program Files (x86)\Common Files\Microsoft Shared\Microsoft Online Services;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\IBM\RationalSDLC\ClearCase\bin;C:\Program Files (x86)\IBM\gsk8\lib;C:\Program Files (x86)\IBM\gsk8\bin;C:\Program Files (x86)\IBM\RationalSDLC\ClearCase\RemoteClient\cteapis;C:\Users\hbxd78\Downloads\eclipse-java-mars-1-win32-x86_64\eclipse;
USERNAME=HBXD78
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 45 Stepping 7, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 , 64 bit Build 7601 (6.1.7601.19045)
CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 45 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, clmul, tsc, tscinvbit, tscinv
Memory: 4k page, physical 8316404k(3383016k free), swap 12508872k(6751408k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (25.66-b18) for windows-amd64 JRE (1.8.0_66-b18), built on Nov 9 2015 10:51:13 by "java_re" with MS VC++ 10.0 (VS2010)
time: Wed Jan 13 11:01:59 2016
elapsed time: 2 seconds (0d 0h 0m 2s)
-------------------------------------------------------------------------------
I tried:
Updating Java to latest version.
Update Windows
Restart PC
Enable Mini-dumps through Advanced System Settings -- > Startup & Recovery -- > Settings -- > Choosing 'small memory dump'.
Update Graphic Driver to latest from official producer's (Nvidia) website.
deleting '.metadata' Folder from Eclipse's workspace folder and Imported the existing project.
So far no luck, my simple app is trying to extract audio from a video.
Updating Java to latest version.
You have a problem in native code. Updating Java will unlikely help in that situation.
Update Windows
This will only help if the native code that you use is updated through Windows Updates.
Enable Mini-dumps through Advanced System Settings -- > Startup & Recovery -- > Settings -- > Choosing 'small memory dump'.
This setting is for kernel mode crashes (Blue Screen), not for application crashes (user mode). There is also a setting for application crashes (a Registry setting called LocalDumps) but it won't work for Java, since Java does its own exception handling.
To get crash dumps from Java 9 and above, use the following command line switch:
-XX:+CreateCoredumpOnCrash
On Java 8 and before, use the Windows specific command line
-XX:+CreateMinidumpOnCrash
This will give you more details on what happens at the time of the crash. It will still be an AccessViolation but you'll get the callstack etc. - if you have the knowledge of debugging it with WinDbg or similar.
Update Graphic Driver to latest from official producer's (Nvidia) website.
There's no evidence that this is related to the Graphics card.
Had a similar issue with JDK 1.8.0_261, did downgrade the version to JDK 1.8.0_251 and the same resolved the issue. May be you can try to upgrade the JDK version. Looks like a bug as per the below links:
https://issues.apache.org/jira/browse/CASSANDRA-15950
https://cassandra.link/feed/cassandra-windows-10-access-violation
I'm using jni4net to call a library i made in C# (using visual studio 2013) from Java (Eclipse).
Here is the code of my C# library :
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace ClassLibrary2
{
public class Class1
{
// Simple method that just prints a hard-coded string.
public void Hello()
{
Console.WriteLine("Hello Java, from .NET!");
}
// Parameterized method that accepts a string
public void Repeat(string line)
{
Console.WriteLine(line);
}
public int mult(int n)
{
return n*2;
}
}
}
and here is my java code :
import net.sf.jni4net.Bridge;
import net.sf.jni4net.Ref;
public class jni {
public static void main(String[] args) {
try {
//Bridge.setVerbose(true);
Bridge.init();
Bridge.LoadAndRegisterAssemblyFrom(new File("ClassLibrary2.j4n.dll"));
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
Class1 c = new Class1();
c.Hello();
c.Repeat("pippo");
c.mult(2);
}
}
I'm using "proxygen" script that was included into jni4net packet to wrap mt C# code into Java.
when i call the functions "Hello" and "Repeat" everything works just fine.
I get the correct output, but when calling the function "mult" I get the following error :
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (0xe0434352), pid=6808, tid=7100
#
# JRE version: Java(TM) SE Runtime Environment (8.0_11-b12) (build 1.8.0_11- b12)
# Java VM: Java HotSpot(TM) Client VM (25.11-b03 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [KERNELBASE.dll+0xc42d]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# An error report file with more information is saved as:
# C:\ws\DLL\jni4net\hs_err_pid6808.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
It also generates a log file, here it is :
--------------- T H R E A D ---------------
Current thread (0x00dcc000): JavaThread "main" [_thread_in_native, id=7100, stack(0x00e60000,0x00eb0000)]
siginfo: ExceptionCode=0xe0434352, ExceptionInformation=0x80131513 0x00000000 0x00000000 0x00000000 0x72450000
Registers:
EAX=0x00eae5ec, EBX=0x00000005, ECX=0x00000005, EDX=0x00000000
ESP=0x00eae5ec, EBP=0x00eae63c, ESI=0x00eae6ac, EDI=0x00000001
EIP=0x7566c42d, EFLAGS=0x00000202
Top of Stack: (sp=0x00eae5ec)
0x00eae5ec: e0434352 00000001 00000000 7566c42d
0x00eae5fc: 00000005 80131513 00000000 00000000
0x00eae60c: 00000000 72450000 00000001 00000000
0x00eae61c: 006d235c 001f0178 00000000 001f0150
0x00eae62c: 72461865 006d235c 00239dc0 00eae5f4
0x00eae63c: 00eae6e0 725a2a42 e0434352 00000001
0x00eae64c: 00000005 00eae6ac d1e7f1fc 1665aae0
0x00eae65c: 002a7da8 00eae798 00239dc0 00000001
Instructions: (pc=0x7566c42d)
0x7566c40d: 02 50 ff 75 14 8d 45 c4 50 e8 57 ad 02 00 83 c4
0x7566c41d: 0c eb 03 89 45 c0 8d 45 b0 50 ff 15 5c 11 66 75
0x7566c42d: c9 c2 10 00 cc cc cc cc cc 8b ff 55 8b ec 56 8b
0x7566c43d: 75 08 83 fe f4 72 18 83 fe f6 77 13 8d 45 08 50
Register to memory mapping:
EAX=0x00eae5ec is pointing into the stack for thread: 0x00dcc000
EBX=0x00000005 is an unknown value
ECX=0x00000005 is an unknown value
EDX=0x00000000 is an unknown value
ESP=0x00eae5ec is pointing into the stack for thread: 0x00dcc000
EBP=0x00eae63c is pointing into the stack for thread: 0x00dcc000
ESI=0x00eae6ac is pointing into the stack for thread: 0x00dcc000
EDI=0x00000001 is an unknown value
Stack: [0x00e60000,0x00eb0000], sp=0x00eae5ec, free space=313k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [KERNELBASE.dll+0xc42d]
C [clr.dll+0x152a42]
C [clr.dll+0x2255ef]
C [clr.dll+0x22de52]
C [clrjit.dll+0x28df]
C [clrjit.dll+0x290b]
C [clrjit.dll+0x1d53]
C [clrjit.dll+0x1f48]
C [clrjit.dll+0x3405]
C [clrjit.dll+0x3635]
C [clrjit.dll+0x3823]
C [clrjit.dll+0x36f6]
C [clrjit.dll+0x385f]
C [clr.dll+0x34710]
C [clr.dll+0x347a9]
C [clr.dll+0x347eb]
C [clr.dll+0x33684]
C [clr.dll+0x33920]
C [clr.dll+0x41e5e]
C [clr.dll+0x150b6]
C [clr.dll+0x4279]
C 0x151d4d03
j classlibrary2.Class1.mult(I)I+0
j jni4net.jni.main([Ljava/lang/String;)V+43
v ~StubRoutines::call_stub
V [jvm.dll+0x142295]
V [jvm.dll+0x2073ae]
V [jvm.dll+0x14232e]
V [jvm.dll+0xce7c7]
V [jvm.dll+0xd6d6f]
C [javaw.exe+0x20d8]
C [javaw.exe+0xab91]
C [javaw.exe+0xac1b]
C [kernel32.dll+0x1338a]
C [ntdll.dll+0x39f72]
C [ntdll.dll+0x39f45]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j classlibrary2.Class1.mult(I)I+0
j jni4net.jni.main([Ljava/lang/String;)V+43
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x15c0ac00 JavaThread "Thread-0" daemon [_thread_in_native, id=5404, stack(0x15ef0000,0x15f40000)]
0x007b9000 JavaThread "Service Thread" daemon [_thread_blocked, id=5452, stack(0x15ad0000,0x15b20000)]
0x00788400 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=7312, stack(0x04700000,0x04750000)]
0x00787400 JavaThread "Attach Listener" daemon [_thread_blocked, id=6992, stack(0x01240000,0x01290000)]
0x00779400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=568, stack(0x15940000,0x15990000)]
0x00776c00 JavaThread "Finalizer" daemon [_thread_blocked, id=4412, stack(0x15390000,0x153e0000)]
0x00771c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=5608, stack(0x151f0000,0x15240000)]
=>0x00dcc000 JavaThread "main" [_thread_in_native, id=7100, stack(0x00e60000,0x00eb0000)]
Other Threads:
0x0076fc00 VMThread [stack: 0x04790000,0x047e0000] [id=5488]
0x007ba800 WatcherThread [stack: 0x15a50000,0x15aa0000] [id=6180]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap:
def new generation total 4928K, used 3145K [0x04800000, 0x04d50000, 0x09d50000)
eden space 4416K, 71% used [0x04800000, 0x04b12798, 0x04c50000)
from space 512K, 0% used [0x04c50000, 0x04c50000, 0x04cd0000)
to space 512K, 0% used [0x04cd0000, 0x04cd0000, 0x04d50000)
tenured generation total 10944K, used 0K [0x09d50000, 0x0a800000, 0x14800000)
the space 10944K, 0% used [0x09d50000, 0x09d50000, 0x09d50200, 0x0a800000)
Metaspace used 532K, capacity 2664K, committed 2752K, reserved 4480K
Card table byte_map: [0x00ce0000,0x00d70000] byte_map_base: 0x00cbc000
Polling page: 0x000c0000
CodeCache: size=32768Kb used=748Kb max_used=748Kb free=32020Kb
bounds [0x02700000, 0x027c0000, 0x04700000]
total_blobs=203 nmethods=59 adapters=76
compilation: enabled
Compilation events (10 events):
Event: 0.371 Thread 0x00788400 54 java.nio.DirectLongBufferU::ix (10 bytes)
Event: 0.371 Thread 0x00788400 nmethod 54 0x027ba008 code [0x027ba100, 0x027ba190]
Event: 0.382 Thread 0x00788400 56 java.lang.AbstractStringBuilder::expandCapacity (50 bytes)
Event: 0.383 Thread 0x00788400 nmethod 56 0x027ba448 code [0x027ba560, 0x027ba798]
Event: 0.400 Thread 0x00788400 57 java.lang.String::endsWith (17 bytes)
Event: 0.401 Thread 0x00788400 nmethod 57 0x027ba8c8 code [0x027ba9d0, 0x027baa7c]
Event: 0.424 Thread 0x00788400 58 java.lang.String::indexOf (25 bytes)
Event: 0.424 Thread 0x00788400 nmethod 58 0x027bab48 code [0x027bac50, 0x027bad1c]
Event: 0.424 Thread 0x00788400 59 java.util.HashMap::hash (20 bytes)
Event: 0.424 Thread 0x00788400 nmethod 59 0x027bae08 code [0x027baf00, 0x027baf9c]
GC Heap History (0 events):
No events
Deoptimization events (0 events):
No events
Internal exceptions (10 events):
Event: 0.423 Thread 0x00dcc000 Exception <a 'java/security/PrivilegedActionException'> (0x04adeeb0) thrown at [D:\re\puppet\workspace\8-2-build-windows-i586-cygwin\jdk8u11\648\hotspot\src\share\vm\prims\jvm.cpp, line 1248]
Event: 0.423 Thread 0x00dcc000 Exception <a 'java/security/PrivilegedActionException'> (0x04ae0e20) thrown at [D:\re\puppet\workspace\8-2-build-windows-i586-cygwin\jdk8u11\648\hotspot\src\share\vm\prims\jvm.cpp, line 1248]
Event: 0.424 Thread 0x00dcc000 Exception <a 'java/security/PrivilegedActionException'> (0x04ae2d68) thrown at [D:\re\puppet\workspace\8-2-build-windows-i586-cygwin\jdk8u11\648\hotspot\src\share\vm\prims\jvm.cpp, line 1248]
Event: 0.425 Thread 0x00dcc000 Exception <a 'java/security/PrivilegedActionException'> (0x04ae4b50) thrown at [D:\re\puppet\workspace\8-2-build-windows-i586-cygwin\jdk8u11\648\hotspot\src\share\vm\prims\jvm.cpp, line 1248]
Event: 0.425 Thread 0x00dcc000 Exception <a 'java/security/PrivilegedActionException'> (0x04afceb0) thrown at [D:\re\puppet\workspace\8-2-build-windows-i586-cygwin\jdk8u11\648\hotspot\src\share\vm\prims\jvm.cpp, line 1248]
Event: 0.426 Thread 0x00dcc000 Exception <a 'java/security/PrivilegedActionException'> (0x04afef48) thrown at [D:\re\puppet\workspace\8-2-build-windows-i586-cygwin\jdk8u11\648\hotspot\src\share\vm\prims\jvm.cpp, line 1248]
Event: 0.426 Thread 0x00dcc000 Exception <a 'java/security/PrivilegedActionException'> (0x04b00ef0) thrown at [D:\re\puppet\workspace\8-2-build-windows-i586-cygwin\jdk8u11\648\hotspot\src\share\vm\prims\jvm.cpp, line 1248]
Event: 0.429 Thread 0x00dcc000 Exception <a 'java/security/PrivilegedActionException'> (0x04b03080) thrown at [D:\re\puppet\workspace\8-2-build-windows-i586-cygwin\jdk8u11\648\hotspot\src\share\vm\prims\jvm.cpp, line 1248]
Event: 0.430 Thread 0x00dcc000 Exception <a 'java/security/PrivilegedActionException'> (0x04b05ee0) thrown at [D:\re\puppet\workspace\8-2-build-windows-i586-cygwin\jdk8u11\648\hotspot\src\share\vm\prims\jvm.cpp, line 1248]
Event: 0.444 Thread 0x00dcc000 Exception <a 'java/security/PrivilegedActionException'> (0x04b099f8) thrown at [D:\re\puppet\workspace\8-2-build-windows-i586-cygwin\jdk8u11\648\hotspot\src\share\vm\prims\jvm.cpp, line 1248]
Events (10 events):
Event: 0.425 loading class system/IFormattable_
Event: 0.425 loading class system/IFormattable_ done
Event: 0.426 loading class system/__IFormattable
Event: 0.426 loading class system/__IFormattable done
Event: 0.429 loading class system/NotSupportedException
Event: 0.429 loading class system/NotSupportedException done
Event: 0.430 loading class system/NullReferenceException
Event: 0.430 loading class system/NullReferenceException done
Event: 0.444 loading class classlibrary2/Class1
Event: 0.444 loading class classlibrary2/Class1 done
Dynamic libraries:
0x012d0000 - 0x01300000 C:\Program Files (x86)\Java\jre8\bin\javaw.exe
0x77710000 - 0x77890000 C:\Windows\SysWOW64\ntdll.dll
0x75fc0000 - 0x760d0000 C:\Windows\syswow64\kernel32.dll
0x75660000 - 0x756a7000 C:\Windows\syswow64\KERNELBASE.dll
0x760d0000 - 0x76170000 C:\Windows\syswow64\ADVAPI32.dll
0x757a0000 - 0x7584c000 C:\Windows\syswow64\msvcrt.dll
0x75770000 - 0x75789000 C:\Windows\SysWOW64\sechost.dll
0x75560000 - 0x75650000 C:\Windows\syswow64\RPCRT4.dll
0x750b0000 - 0x75110000 C:\Windows\syswow64\SspiCli.dll
0x750a0000 - 0x750ac000 C:\Windows\syswow64\CRYPTBASE.dll
0x75440000 - 0x75540000 C:\Windows\syswow64\USER32.dll
0x752a0000 - 0x75330000 C:\Windows\syswow64\GDI32.dll
0x75430000 - 0x7543a000 C:\Windows\syswow64\LPK.dll
0x751a0000 - 0x7523d000 C:\Windows\syswow64\USP10.dll
0x6f920000 - 0x6fabe000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\COMCTL32.dll
0x75330000 - 0x75387000 C:\Windows\syswow64\SHLWAPI.dll
0x75c30000 - 0x75c90000 C:\Windows\system32\IMM32.DLL
0x75b60000 - 0x75c2c000 C:\Windows\syswow64\MSCTF.dll
0x52640000 - 0x526ff000 C:\Program Files (x86)\Java\jre8\bin\msvcr100.dll
0x68230000 - 0x685c7000 C:\Program Files (x86)\Java\jre8\bin\client\jvm.dll
0x74d40000 - 0x74d47000 C:\Windows\system32\WSOCK32.dll
0x753f0000 - 0x75425000 C:\Windows\syswow64\WS2_32.dll
0x75540000 - 0x75546000 C:\Windows\syswow64\NSI.dll
0x74cd0000 - 0x74d02000 C:\Windows\system32\WINMM.dll
0x758e0000 - 0x758e5000 C:\Windows\syswow64\PSAPI.DLL
0x6b830000 - 0x6b83c000 C:\Program Files (x86)\Java\jre8\bin\verify.dll
0x68200000 - 0x68221000 C:\Program Files (x86)\Java\jre8\bin\java.dll
0x681e0000 - 0x681f3000 C:\Program Files (x86)\Java\jre8\bin\zip.dll
0x76520000 - 0x7716a000 C:\Windows\syswow64\SHELL32.dll
0x75e60000 - 0x75fbc000 C:\Windows\syswow64\ole32.dll
0x75280000 - 0x7528b000 C:\Windows\syswow64\profapi.dll
0x52de0000 - 0x52dea000 C:\ws\DLL\jni4net\jni4net.n.w32.v40-0.8.8.0.dll
0x74420000 - 0x7446a000 C:\Windows\SYSTEM32\MSCOREE.DLL
0x743a0000 - 0x7441b000 C:\Windows\Microsoft.NET\Framework\v4.0.30319\mscoreei.dll
0x72450000 - 0x72aeb000 C:\Windows\Microsoft.NET\Framework\v4.0.30319\clr.dll
0x72370000 - 0x72443000 C:\Windows\system32\MSVCR110_CLR0400.dll
0x711b0000 - 0x721de000 C:\Windows\assembly\NativeImages_v4.0.30319_32\mscorlib\ce5f61c5754789df97be8dc991c47d07\mscorlib.ni.dll
0x72250000 - 0x72266000 C:\Windows\system32\CRYPTSP.dll
0x72210000 - 0x7224b000 C:\Windows\system32\rsaenh.dll
0x71060000 - 0x710dd000 C:\Windows\Microsoft.NET\Framework\v4.0.30319\clrjit.dll
0x75ad0000 - 0x75b5f000 C:\Windows\syswow64\OLEAUT32.dll
0x763d0000 - 0x7651a000 C:\Windows\syswow64\urlmon.dll
0x75270000 - 0x75274000 C:\Windows\syswow64\api-ms-win-downlevel-ole32-l1-1-0.dll
0x776e0000 - 0x776e4000 C:\Windows\syswow64\api-ms-win-downlevel-shlwapi-l1-1-0.dll
0x75720000 - 0x75725000 C:\Windows\syswow64\api-ms-win-downlevel-advapi32-l1-1-0.dll
0x75730000 - 0x75734000 C:\Windows\syswow64\api-ms-win-downlevel-user32-l1-1-0.dll
0x75290000 - 0x75294000 C:\Windows\syswow64\api-ms-win-downlevel-version-l1-1-0.dll
0x74e80000 - 0x74e89000 C:\Windows\system32\version.DLL
0x75650000 - 0x75653000 C:\Windows\syswow64\api-ms-win-downlevel-normaliz-l1-1-0.dll
0x75790000 - 0x75793000 C:\Windows\syswow64\normaliz.DLL
0x76170000 - 0x763a2000 C:\Windows\syswow64\iertutil.dll
0x758f0000 - 0x75ac6000 C:\Windows\syswow64\WININET.dll
0x763b0000 - 0x763c7000 C:\Windows\syswow64\USERENV.dll
0x705f0000 - 0x705f8000 C:\Windows\system32\Secur32.dll
0x6c170000 - 0x6c174000 C:\Windows\system32\api-ms-win-downlevel-advapi32-l2-1-0.dll
0x70000000 - 0x70012000 C:\Windows\Microsoft.NET\Framework\v4.0.30319\nlssorting.dll
0x70600000 - 0x70fa4000 C:\Windows\assembly\NativeImages_v4.0.30319_32\System\17a393b77ae757f0768501fb95ff5af6\System.ni.dll
0x70520000 - 0x7052e000 C:\Windows\system32\RpcRtRemote.dll
0x6f820000 - 0x6f90b000 C:\Windows\system32\dbghelp.dll
VM Arguments:
jvm_args: -Dfile.encoding=Cp1252
java_command: jni4net.jni
java_class_path (initial): C:\ws\DLL\jni4net\bin;C:\ws\DLL\jni4net\jni4net.j-0.8.8.0.jar;C:\ws\DLL\jni4net\ClassLibrary2.j4n.jar
Launcher Type: SUN_STANDARD
Environment Variables:
CLASSPATH=.;C:\Program Files (x86)\Java\jre7\lib\ext\QTJava.zip
PATH=C:/Program Files (x86)/Java/jre8/bin/client;C:/Program Files (x86)/Java/jre8/bin;C:/Program Files (x86)/Java/jre8/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\CodeBlocks\MinGW\bin;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\ ;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\GitExtensions\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\;C:\Users\Marco\Desktop\eclipse;
USERNAME=Marco
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 , 64 bit Build 7601 Service Pack 1
CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, clmul, ht, tsc, tscinvbit
Memory: 4k page, physical 4072380k(1064400k free), swap 8142896k(4029200k free)
vm_info: Java HotSpot(TM) Client VM (25.11-b03) for windows-x86 JRE (1.8.0_11-b12), built on Jun 16 2014 18:18:58 by "java_re" with MS VC++ 10.0 (VS2010)
time: Wed Feb 04 15:24:40 2015
elapsed time: 0 seconds
The problem is that I can't figure out how to return a value from c# library to Java...
I have also tried to modify the parameter of the function :
public int mult(ref int n)
and then in Java :
Ref<Integer> a = new Ref<Integer>(4);
c.mult(a);
but I seem to get the same error..How can I do?
Thanks in advice, Stefano
Usually this happens is you changed the signature of the method but forgot to re-generate it with proxygen and recompile the proxy dll/jar.
If that doesn't help, please post the generated code as well.
Good afternoon/evening, everyone;
I'm writing today about a bizarre problem I've been experiencing with Java lately: anytime I try to run a Java application, it just crashes! I've searched countless websites, uninstalled and reinstalled Java MANY times, and even asked a few of my co-workers who are programmers. Nobody seems to have any clue as to what's going on here.
So far, I have only two potential clues: First, I am a ZoomText user (ZoomText is a screen magnification program) and Java works fine when ZoomText if off (as far as I can tell); so it might be some internal/system-level "disagreement" between Java and ZoomText. Second, with every crash (so every time I start Java) I get these freaky text files labeled hs_err_pid followed by random numbers. Here is a sample of one of those files:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x705ba690, pid=3936, tid=424
#
# JRE version: 7.0_25-b17
# Java VM: Java HotSpot(TM) Client VM (23.25-b01 mixed mode, sharing windows-x86 )
# Problematic frame:
# V [jvm.dll+0x12a690]
#
# 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:
# http://bugreport.sun.com/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x04d79400): JavaThread "Thread-2" daemon [_thread_in_vm, id=424, stack(0x05950000,0x059a0000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x4d009bc4
Registers:
EAX=0x00000001, EBX=0x345c0010, ECX=0x4d009bb4, EDX=0x00000001
ESP=0x0599f140, EBP=0x0599f17c, ESI=0x04d79400, EDI=0x4d009bb4
EIP=0x705ba690, EFLAGS=0x00010202
Top of Stack: (sp=0x0599f140)
0x0599f140: 0599f234 04d79400 345c0010 0599f234
0x0599f150: 04d79400 345c0010 00000016 00000000
0x0599f160: 38fefa90 0599f198 70493d83 04d79400
0x0599f170: a1bdf85f 04d79400 04d79400 0599f1a0
0x0599f180: 705ce294 345c0010 0599f234 00000001
0x0599f190: 04d79400 023aa624 04d79400 345c0010
0x0599f1a0: 0599f1d8 7055dbda 023aa624 345c0010
0x0599f1b0: 0599f234 04d79400 04d79400 385c01e0
Instructions: (pc=0x705ba690)
0x705ba670: 08 00 cc cc cc cc cc cc cc cc cc cc cc cc cc cc
0x705ba680: 55 8b ec 83 ec 30 53 56 57 8b f9 e8 d0 e3 ff ff
0x705ba690: 8b 47 10 8b 75 14 3b f0 74 34 8b 4f 10 8b 06 8b
0x705ba6a0: 50 40 51 8b ce ff d2 84 c0 74 11 33 db 89 77 10
Register to memory mapping:
EAX=0x00000001 is an unknown value
EBX=0x345c0010 is an oop
java.lang.Object
- klass: 'java/lang/Object'
ECX=0x4d009bb4 is an unknown value
EDX=0x00000001 is an unknown value
ESP=0x0599f140 is pointing into the stack for thread: 0x04d79400
EBP=0x0599f17c is pointing into the stack for thread: 0x04d79400
ESI=0x04d79400 is a thread
EDI=0x4d009bb4 is an unknown value
Stack: [0x05950000,0x059a0000], sp=0x0599f140, free space=316k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x12a690]
V [jvm.dll+0x13e294]
V [jvm.dll+0xcdbda]
j java.lang.Object.wait(J)V+0
j com.sun.java.accessibility.AccessBridge.getAccessibleNameFromContext(Ljavax/accessibility/AccessibleContext;)Ljava/lang/String;+31
v ~StubRoutines::call_stub
V [jvm.dll+0x124afa]
V [jvm.dll+0x1d224e]
V [jvm.dll+0x124b7d]
V [jvm.dll+0xab2f6]
V [jvm.dll+0xad0d3]
C [JavaAccessBridge-32.dll+0x1307]
C [JavaAccessBridge-32.dll+0xc792] Java_com_sun_java_accessibility_AccessBridge_popupMenuWillBecomeVisible+0x1149
C [JavaAccessBridge-32.dll+0xc86d] Java_com_sun_java_accessibility_AccessBridge_popupMenuWillBecomeVisible+0x1224
C [USER32.dll+0x16238] gapfnScSendMessage+0x270
C [USER32.dll+0x412a1] SendNotifyMessageW+0x341
C [USER32.dll+0x410e2] SendNotifyMessageW+0x182
C [USER32.dll+0x2b160] DrawTextExA+0xd3
C [USER32.dll+0x16238] gapfnScSendMessage+0x270
C [USER32.dll+0x168ea] gapfnScSendMessage+0x922
C [USER32.dll+0x17177] GetWindowLongW+0x18a
C [USER32.dll+0x172f1] GetDC+0xab
C [ntdll.dll+0x100e6] KiUserCallbackDispatcher+0x2e
C [JavaAccessBridge-32.dll+0xca04] Java_com_sun_java_accessibility_AccessBridge_popupMenuWillBecomeVisible+0x13bb
j com.sun.java.accessibility.AccessBridge.run()V+0
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
V [jvm.dll+0x124afa]
V [jvm.dll+0x1d224e]
V [jvm.dll+0x124caf]
V [jvm.dll+0x124d17]
V [jvm.dll+0xcf06f]
V [jvm.dll+0x144447]
V [jvm.dll+0x1445b0]
V [jvm.dll+0x177bb9]
C [msvcr100.dll+0x5c6de] endthreadex+0x3a
C [msvcr100.dll+0x5c788] endthreadex+0xe4
C [KERNEL32.dll+0x13677] BaseThreadInitThunk+0x12
C [ntdll.dll+0x39d72] RtlInitializeExceptionChain+0x63
C [ntdll.dll+0x39d45] RtlInitializeExceptionChain+0x36
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j java.lang.Object.wait(J)V+0
j com.sun.java.accessibility.AccessBridge.getAccessibleNameFromContext(Ljavax/accessibility/AccessibleContext;)Ljava/lang/String;+31
v ~StubRoutines::call_stub
j com.sun.java.accessibility.AccessBridge.run()V+0
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x002ca800 JavaThread "DestroyJavaVM" [_thread_blocked, id=992, stack(0x02280000,0x022d0000)]
0x04d89800 JavaThread "AWT-EventQueue-0" [_thread_in_vm, id=1764, stack(0x054d0000,0x05520000)]
0x04d84400 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=1336, stack(0x058c0000,0x05910000)]
=>0x04d79400 JavaThread "Thread-2" daemon [_thread_in_vm, id=424, stack(0x05950000,0x059a0000)]
0x04d31c00 JavaThread "EventQueueMonitor-ComponentEvtDispatch" daemon [_thread_blocked, id=932, stack(0x05030000,0x05080000)]
0x04d16800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=4192, stack(0x05090000,0x050e0000)]
0x04d16000 JavaThread "AWT-Shutdown" [_thread_blocked, id=608, stack(0x04a40000,0x04a90000)]
0x04d13800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3808, stack(0x04fc0000,0x05010000)]
0x023a6000 JavaThread "Service Thread" daemon [_thread_blocked, id=4364, stack(0x04af0000,0x04b40000)]
0x0239d400 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=184, stack(0x04a90000,0x04ae0000)]
0x0239c000 JavaThread "Attach Listener" daemon [_thread_blocked, id=3140, stack(0x049d0000,0x04a20000)]
0x02399000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3260, stack(0x04550000,0x045a0000)]
0x02383c00 JavaThread "Finalizer" daemon [_thread_blocked, id=928, stack(0x045b0000,0x04600000)]
0x02382400 JavaThread "Reference Handler" daemon [_thread_blocked, id=3588, stack(0x047b0000,0x04800000)]
Other Threads:
0x02380800 VMThread [stack: 0x04500000,0x04550000] [id=3156]
0x023b8000 WatcherThread [stack: 0x04cb0000,0x04d00000] [id=1532]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 4928K, used 3369K [0x245c0000, 0x24b10000, 0x29b10000)
eden space 4416K, 76% used [0x245c0000, 0x2490a540, 0x24a10000)
from space 512K, 0% used [0x24a10000, 0x24a10000, 0x24a90000)
to space 512K, 0% used [0x24a90000, 0x24a90000, 0x24b10000)
tenured generation total 10944K, used 0K [0x29b10000, 0x2a5c0000, 0x345c0000)
the space 10944K, 0% used [0x29b10000, 0x29b10000, 0x29b10200, 0x2a5c0000)
compacting perm gen total 12288K, used 921K [0x345c0000, 0x351c0000, 0x385c0000)
the space 12288K, 7% used [0x345c0000, 0x346a66e0, 0x346a6800, 0x351c0000)
ro space 10240K, 42% used [0x385c0000, 0x38a04240, 0x38a04400, 0x38fc0000)
rw space 12288K, 54% used [0x38fc0000, 0x39644d58, 0x39644e00, 0x39bc0000)
Card table byte_map: [0x04440000,0x044f0000] byte_map_base: 0x0431d200
Polling page: 0x00220000
Code Cache [0x02440000, 0x02500000, 0x04440000)
total_blobs=296 nmethods=92 adapters=139 free_code_cache=32019Kb largest_free_block=32787904
Compilation events (10 events):
Event: 1.490 Thread 0x0239d400 87 java.lang.AbstractStringBuilder::append (48 bytes)
Event: 1.490 Thread 0x0239d400 nmethod 87 0x024f8fc8 code [0x024f90e0, 0x024f9208]
Event: 1.653 Thread 0x0239d400 88 ! sun.awt.AppContext::get (121 bytes)
Event: 1.654 Thread 0x0239d400 nmethod 88 0x024f94c8 code [0x024f95e0, 0x024f99bc]
Event: 1.714 Thread 0x0239d400 89 ! javax.accessibility.AccessibleBundle::loadResourceBundle (111 bytes)
Event: 1.715 Thread 0x0239d400 nmethod 89 0x024f9e88 code [0x024fa0a0, 0x024fa6cc]
Event: 1.715 Thread 0x0239d400 90 java.lang.ref.Reference::get (5 bytes)
Event: 1.715 Thread 0x0239d400 nmethod 90 0x024fae88 code [0x024faf80, 0x024fb000]
Event: 1.715 Thread 0x0239d400 92 java.util.HashMap$KeySet::contains (9 bytes)
Event: 1.716 Thread 0x0239d400 nmethod 92 0x024fb048 code [0x024fb150, 0x024fb1ec]
GC Heap History (0 events):
No events
Deoptimization events (0 events):
No events
Internal exceptions (10 events):
Event: 0.143 Thread 0x002ca800 Threw 0x24621b70 at C:\jdk7u2_32P\jdk7u25\hotspot\src\share\vm\prims\jni.cpp:716
Event: 0.199 Thread 0x002ca800 Threw 0x2468efa0 at C:\jdk7u2_32P\jdk7u25\hotspot\src\share\vm\prims\jvm.cpp:1235
Event: 0.199 Thread 0x002ca800 Threw 0x2468f5d8 at C:\jdk7u2_32P\jdk7u25\hotspot\src\share\vm\prims\jvm.cpp:1235
Event: 0.203 Thread 0x002ca800 Threw 0x246a0df0 at C:\jdk7u2_32P\jdk7u25\hotspot\src\share\vm\prims\jvm.cpp:1235
Event: 0.203 Thread 0x002ca800 Threw 0x246a1000 at C:\jdk7u2_32P\jdk7u25\hotspot\src\share\vm\prims\jvm.cpp:1235
Event: 0.204 Thread 0x002ca800 Threw 0x246a4a60 at C:\jdk7u2_32P\jdk7u25\hotspot\src\share\vm\prims\jvm.cpp:1235
Event: 0.204 Thread 0x002ca800 Threw 0x246a4c70 at C:\jdk7u2_32P\jdk7u25\hotspot\src\share\vm\prims\jvm.cpp:1235
Event: 0.739 Thread 0x002ca800 Threw 0x2477dbe8 at C:\jdk7u2_32P\jdk7u25\hotspot\src\share\vm\prims\jvm.cpp:1235
Event: 0.798 Thread 0x002ca800 Threw 0x24783de0 at C:\jdk7u2_32P\jdk7u25\hotspot\src\share\vm\prims\jvm.cpp:1235
Event: 0.816 Thread 0x002ca800 Threw 0x24789f20 at C:\jdk7u2_32P\jdk7u25\hotspot\src\share\vm\prims\jvm.cpp:1235
Events (10 events):
Event: 1.652 loading class 0x04d88b48 done
Event: 1.653 loading class 0x39c90328
Event: 1.654 loading class 0x04d3bfd8
Event: 1.654 loading class 0x04d3bfd8 done
Event: 1.702 loading class 0x04d3bc78
Event: 1.702 loading class 0x04d3bc78 done
Event: 1.704 loading class 0x04d9df78
Event: 1.704 loading class 0x04d9df78 done
Event: 1.716 loading class 0x04d3d538
Event: 1.716 loading class 0x04d3d538 done
Dynamic libraries:
0x00360000 - 0x0038f000
0x77600000 - 0x77780000
0x71b80000 - 0x71bbf000
0x75c50000 - 0x75d50000
0x77060000 - 0x770a6000
0x77160000 - 0x77200000
0x751d0000 - 0x7527c000
0x77140000 - 0x77159000
0x76f70000 - 0x77060000
0x75170000 - 0x751d0000
0x75160000 - 0x7516c000
0x75310000 - 0x75410000
0x76160000 - 0x761f0000
0x75490000 - 0x7549a000
0x75bb0000 - 0x75c4d000
0x73540000 - 0x736de000
0x75da0000 - 0x75df7000
0x75a20000 - 0x75a80000
0x76e40000 - 0x76f0c000
0x707e0000 - 0x7089e000
0x70490000 - 0x707d2000
0x73860000 - 0x73867000
0x75e00000 - 0x75e35000
0x76150000 - 0x76156000
0x74dc0000 - 0x74df2000
0x75f00000 - 0x75f05000
0x74bd0000 - 0x74bdc000
0x74ad0000 - 0x74af0000
0x742b0000 - 0x742c3000
0x70340000 - 0x70484000
0x75280000 - 0x7530f000
0x756c0000 - 0x7581c000
0x74ab0000 - 0x74ac3000
0x750a0000 - 0x75120000
0x67af0000 - 0x67b0b000
0x739f0000 - 0x73a93000
0x73960000 - 0x739ee000
0x73850000 - 0x73859000
0x67b80000 - 0x67bcd000
0x74b70000 - 0x74bac000
0x761f0000 - 0x76e39000
0x71410000 - 0x714ab000
0x715d0000 - 0x71657000
0x754d0000 - 0x7566d000
0x75e40000 - 0x75e67000
0x756a0000 - 0x756b2000
0x67c20000 - 0x67c26000
0x10000000 - 0x1003f000
0x67ef0000 - 0x67f19000
0x734a0000 - 0x734c0000
0x74be0000 - 0x74be6000
0x74070000 - 0x74076000
0x67c60000 - 0x67c79000
0x67fa0000 - 0x67fca000
0x73460000 - 0x73491000
0x73440000 - 0x73454000
0x72050000 - 0x7208c000
0x72030000 - 0x72036000
0x74060000 - 0x7406f000
0x727d0000 - 0x72800000
0x708f0000 - 0x7095c000
0x733d0000 - 0x733de000
0x73f10000 - 0x73ffb000
VM Arguments:
java_command: C:\Users\Owner\Desktop\My Projects\Java projects\QuizApp\QuizApp.jar
Launcher Type: SUN_STANDARD
Environment Variables:
CLASSPATH=C:\Program Files\Java\jdk1.7.0_21\bin
PATH=C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files\Java\jdk1.7.0_21\bin
USERNAME=Owner
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 37 Stepping 5, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 , 64 bit Build 7600
CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 37 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht, tsc, tscinvbit
Memory: 4k page, physical 2086740k(927864k free), swap 4173480k(2773328k free)
vm_info: Java HotSpot(TM) Client VM (23.25-b01) for windows-x86 JRE (1.7.0_25-b17), built on Jun 21 2013 13:06:48 by "java_re" with unknown MS VC++:1600
time: Tue Sep 17 17:32:15 2013
elapsed time: 1 seconds
Now I've been writing Java for long enough to know this is definitely not Java code - it almost looks like something encrypted, or something bit- or byte-level, some deep dark OS-level stuff that I'd love to understand but don't (yet). Maybe it's just my computer telling me to quit writing Java and switch to Python or PHP! :)
Seriously though, I have never seen anything like this before, and I'm absolutely out of ideas as to what else can be done to fix it. It's not just applications that I've created - it affects anything and everything that even uses Java. Anything I click on that runs Java just crashes.
But anyway, here's some more of the information I found fishing around on Google. Apparently people who play the game "Minecraft" have suffered from the same problem, though nobody seems to have a solution. One guy said it was a driver thing, and that you needed to un/reinstall drivers (which sounded like a risky plan to me; but then again maybe not; I don't know driver stuff yet so maybe it is). Also another guy said it had something to do with clearing the Java cache (which I tried), and another thought it had to do with a "graphics card" (and sadly I know less about hardware than I do drivers). But I figured some of these theories may help.
Thanks in advance for any insights or information you may have on the subject. I truly appreciate it.
There are a couple of useful clues here:
This only happens when you are using ZoomText
The stack frame dump for the crashed thread mentions AccessBridge in a few places.
From this, it looks like the problem is related to Java's accessibility support. More precisely, it looks like it is happening during a callback interaction between Java and native code which involves a call to a method called:
com.sun.java.accessibility.AccessBridge.getAccessibleNameFromContext
I scanned the Oracle Java Bug database, and nothing seemed relevant.
So the best I can suggest is that you try uninstalling and reinstalling a fresh copy of AccessBridge ... if that makes sense.
(I seriously doubt that this is a generic "drivers" issue.)