I am trying to call native methods from a c++-project via JNI. Unfortunately I am getting an "EXCEPTION_ACCESS_VIOLATION" [1].
I have debugged my code and found out that the exception is thrown because of the following lines of code. The ones with comments / calling methods from another class (.header files included).
JNIEXPORT void JNICALL Java_gwap_control_Coordinates_start_1tracking
(JNIEnv *, jclass){
char url[20] = "tet-tcp://127.0.0.1";
comp_error_code error_code;
comp_device* device;
// Create an device instance.
device = comp_create(url, &error_code);
// Start the event loop.
comp_run_event_loop_on_internal_thread(device, 0, 0);
[...]
// Track for a while
XSLEEP(20000);
[...]
Compiling the project as .exe and running it in commandline works fine. When compiling it as .dll and including it into my Java-project, the exception is thrown. If said lines of code are commented out, the exception is not thrown.
From that I conclude that my cpp code as well as my java code is correct. I guess the problem might be that the (complete) native code is not fully included into the (generally working) project when compiled to the library file (?).
The code itself is for getting the output data (coordinates) of an peripheral controller. Therefore I edited an existing (c/cpp-)SDK to use the data in my java application.
The system and software I am using is specified at the end of [1], UAC is turned off.
I would be grateful for every hint or idea of how to fix my problem.
Thanks in advance!
[1]
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000000000c8fc, pid=2804, tid=4248
#
# JRE version: Java(TM) SE Runtime Environment (8.0_05-b13) (build 1.8.0_05-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.5-b02 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C 0x000000000000c8fc
#
# 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
# 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 (0x0000000001f8e800): JavaThread "main" [_thread_in_native, id=4248, stack(0x0000000002090000,0x0000000002190000)]
siginfo: ExceptionCode=0xc0000005, ExceptionInformation=0x0000000000000008 0x000000000000c8fc
Registers:
RAX=0x000000000218f4e8, RBX=0x0000000016180850, RCX=0x0000000000004e20, RDX=0x000000000218f5b0
RSP=0x000000000218f4b8, RBP=0x000000000218f5a0, RSI=0x00007ff71f0e78ec, RDI=0x000000000218f4fc
R8 =0x0000000000000004, R9 =0x0000000001f885e0, R10=0x00000000022a4b42, R11=0x000000005b479df0
R12=0x0000000000000000, R13=0x0000000016180850, R14=0x000000000218f5b8, R15=0x0000000001f8e800
RIP=0x000000000000c8fc, EFLAGS=0x0000000000010202
Top of Stack: (sp=0x000000000218f4b8)
0x000000000218f4b8: 00007ff71f0e13ca cccccccccccccccc
0x000000000218f4c8: cccccccccccccccc cccccccccccccccc
0x000000000218f4d8: cccccccccccccccc cccccccccccccccc
0x000000000218f4e8: 3a7063742d746574 2e302e3732312f2f
0x000000000218f4f8: cccccccc00312e30 cccccccccccccccc
0x000000000218f508: cccccccccccccccc cccccccccccccccc
0x000000000218f518: 00002b992fc756f2 cccccccccccccccc
0x000000000218f528: 00000000ffffffff 0000000001f8e800
0x000000000218f538: 00000000022a4b6e 0000000001f8e9e0
0x000000000218f548: 000000000218f5b0 000000000218f610
0x000000000218f558: 00000000022a489c 000000000218f560
0x000000000218f568: 0000000016180850 000000000218f5b8
0x000000000218f578: 0000000016180b18 0000000000000000
0x000000000218f588: 0000000016180850 0000000000000000
0x000000000218f598: 000000000218f5c0 000000000218f600
0x000000000218f5a8: 0000000002297380 00000000d9b12f60
Instructions: (pc=0x000000000000c8fc)
0x000000000000c8dc:
[error occurred during error reporting (printing registers, top of stack, instructions near pc), id 0xc0000005]
Register to memory mapping:
RAX=0x000000000218f4e8 is pointing into the stack for thread: 0x0000000001f8e800
RBX=0x0000000016180850 is an unknown value
RCX=0x0000000000004e20 is an unknown value
RDX=0x000000000218f5b0 is pointing into the stack for thread: 0x0000000001f8e800
RSP=0x000000000218f4b8 is pointing into the stack for thread: 0x0000000001f8e800
RBP=0x000000000218f5a0 is pointing into the stack for thread: 0x0000000001f8e800
RSI=0x00007ff71f0e78ec is an unknown value
RDI=0x000000000218f4fc is pointing into the stack for thread: 0x0000000001f8e800
R8 =0x0000000000000004 is an unknown value
R9 =0x0000000001f885e0 is an unknown value
R10=0x00000000022a4b42 is at code_begin+834 in an Interpreter codelet
method entry point (kind = native) [0x00000000022a4800, 0x00000000022a5140] 2368 bytes
R11=0x000000005b479df0 is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x0000000016180850 is an unknown value
R14=0x000000000218f5b8 is pointing into the stack for thread: 0x0000000001f8e800
R15=0x0000000001f8e800 is a thread
Stack: [0x0000000002090000,0x0000000002190000], sp=0x000000000218f4b8, free space=1021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C 0x000000000000c8fc
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j gwap.control.Coordinates.start_tracking()V+0
j gwap.control.ControllerMain.main([Ljava/lang/String;)V+0
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0000000017fa0800 JavaThread "Service Thread" daemon [_thread_blocked, id=4276, stack(0x0000000018380000,0x0000000018480000)]
0x0000000016729000 JavaThread "C1 CompilerThread2" daemon [_thread_blocked, id=3340, stack(0x0000000017e80000,0x0000000017f80000)]
0x0000000016720800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=3296, stack(0x0000000017d80000,0x0000000017e80000)]
0x000000001671e800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=4208, stack(0x0000000017c80000,0x0000000017d80000)]
0x000000001671d000 JavaThread "Attach Listener" daemon [_thread_blocked, id=4808, stack(0x0000000017b80000,0x0000000017c80000)]
0x000000001671c800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5960, stack(0x0000000017a80000,0x0000000017b80000)]
0x0000000002284000 JavaThread "Finalizer" daemon [_thread_blocked, id=3288, stack(0x0000000017980000,0x0000000017a80000)]
0x000000000227b000 JavaThread "Reference Handler" daemon [_thread_blocked, id=5664, stack(0x0000000017880000,0x0000000017980000)]
=>0x0000000001f8e800 JavaThread "main" [_thread_in_native, id=4248, stack(0x0000000002090000,0x0000000002190000)]
Other Threads:
0x00000000166e5800 VMThread [stack: 0x0000000017780000,0x0000000017880000] [id=1492]
0x0000000017fad800 WatcherThread [stack: 0x0000000018480000,0x0000000018580000] [id=4744]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap:
PSYoungGen total 1024K, used 505K [0x00000000d9b00000, 0x00000000d9d00000, 0x0000000100000000)
eden space 512K, 20% used [0x00000000d9b00000,0x00000000d9b1a4e8,0x00000000d9b80000)
from space 512K, 78% used [0x00000000d9b80000,0x00000000d9be4010,0x00000000d9c00000)
to space 512K, 0% used [0x00000000d9c80000,0x00000000d9c80000,0x00000000d9d00000)
ParOldGen total 117248K, used 8K [0x000000008d000000, 0x0000000094280000, 0x00000000d9b00000)
object space 117248K, 0% used [0x000000008d000000,0x000000008d002000,0x0000000094280000)
Metaspace used 2366K, capacity 4486K, committed 4864K, reserved 1056768K
class space used 264K, capacity 386K, committed 512K, reserved 1048576K
Card table byte_map: [0x0000000011650000,0x00000000119f0000] byte_map_base: 0x00000000111e8000
Marking Bits: (ParMarkBitMap*) 0x000000005ba213b0
Begin Bits: [0x0000000012060000, 0x0000000013d20000)
End Bits: [0x0000000013d20000, 0x00000000159e0000)
Polling page: 0x0000000000810000
CodeCache: size=245760Kb used=1103Kb max_used=1103Kb free=244656Kb
bounds [0x0000000002290000, 0x0000000002500000, 0x0000000011290000]
total_blobs=253 nmethods=29 adapters=140
compilation: enabled
Compilation events (10 events):
Event: 0.091 Thread 0x0000000016729000 25 3 java.lang.String::startsWith (72 bytes)
Event: 0.091 Thread 0x0000000016729000 nmethod 25 0x00000000023a11d0 code [0x00000000023a1340, 0x00000000023a1670]
Event: 0.091 Thread 0x0000000016729000 26 3 java.lang.String::indexOf (7 bytes)
Event: 0.091 Thread 0x0000000016729000 nmethod 26 0x00000000023a1850 code [0x00000000023a19c0, 0x00000000023a1bc8]
Event: 0.092 Thread 0x0000000016729000 27 3 java.io.WinNTFileSystem::normalize (143 bytes)
Event: 0.092 Thread 0x0000000016729000 nmethod 27 0x00000000023a1c50 code [0x00000000023a1e40, 0x00000000023a2648]
Event: 0.092 Thread 0x0000000016729000 28 3 java.util.HashMap::getNode (148 bytes)
Event: 0.093 Thread 0x0000000016729000 nmethod 28 0x00000000023a29d0 code [0x00000000023a2ba0, 0x00000000023a3528]
Event: 0.093 Thread 0x0000000016729000 29 3 java.lang.String::equals (81 bytes)
Event: 0.093 Thread 0x0000000016729000 nmethod 29 0x00000000023a3810 code [0x00000000023a39a0, 0x00000000023a3ef0]
GC Heap History (2 events):
Event: 0.083 GC heap before
{Heap before GC invocations=1 (full 0):
PSYoungGen total 1024K, used 512K [0x00000000d9b00000, 0x00000000d9c80000, 0x0000000100000000)
eden space 512K, 100% used [0x00000000d9b00000,0x00000000d9b80000,0x00000000d9b80000)
from space 512K, 0% used [0x00000000d9c00000,0x00000000d9c00000,0x00000000d9c80000)
to space 512K, 0% used [0x00000000d9b80000,0x00000000d9b80000,0x00000000d9c00000)
ParOldGen total 117248K, used 0K [0x000000008d000000, 0x0000000094280000, 0x00000000d9b00000)
object space 117248K, 0% used [0x000000008d000000,0x000000008d000000,0x0000000094280000)
Metaspace used 2170K, capacity 4480K, committed 4480K, reserved 1056768K
class space used 244K, capacity 384K, committed 384K, reserved 1048576K
Event: 0.084 GC heap after
Heap after GC invocations=1 (full 0):
PSYoungGen total 1024K, used 400K [0x00000000d9b00000, 0x00000000d9d00000, 0x0000000100000000)
eden space 512K, 0% used [0x00000000d9b00000,0x00000000d9b00000,0x00000000d9b80000)
from space 512K, 78% used [0x00000000d9b80000,0x00000000d9be4010,0x00000000d9c00000)
to space 512K, 0% used [0x00000000d9c80000,0x00000000d9c80000,0x00000000d9d00000)
ParOldGen total 117248K, used 8K [0x000000008d000000, 0x0000000094280000, 0x00000000d9b00000)
object space 117248K, 0% used [0x000000008d000000,0x000000008d002000,0x0000000094280000)
Metaspace used 2170K, capacity 4480K, committed 4480K, reserved 1056768K
class space used 244K, capacity 384K, committed 384K, reserved 1048576K
}
Deoptimization events (0 events):
No events
Internal exceptions (4 events):
Event: 0.039 Thread 0x0000000001f8e800 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.defineClass(Ljava/lang/String;[BII)Ljava/lang/Class; name or signature does not match> (0x00000000d9b10868) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u5\2488\hotspot\src\çò;Ô¤?
Event: 0.039 Thread 0x0000000001f8e800 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.prefetchRead(Ljava/lang/Object;J)V name or signature does not match> (0x00000000d9b10af8) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u5\2488\hotspot\src\share\vm\prims\jnì¨!'×µ?
Event: 0.085 Thread 0x0000000001f8e800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d9b096c0) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u5\2488\hotspot\src\share\vm\prims\jvm.cpp, line 1248]
Event: 0.091 Thread 0x0000000001f8e800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d9b11e08) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u5\2488\hotspot\src\share\vm\prims\jvm.cpp, line 1248]
Events (10 events):
Event: 0.090 loading class java/security/UnresolvedPermission
Event: 0.090 loading class java/security/UnresolvedPermission done
Event: 0.090 loading class java/security/BasicPermissionCollection
Event: 0.090 loading class java/security/BasicPermissionCollection done
Event: 0.090 loading class sun/launcher/LauncherHelper$FXHelper
Event: 0.091 loading class sun/launcher/LauncherHelper$FXHelper done
Event: 0.091 loading class gwap/control/Coordinates
Event: 0.091 loading class gwap/control/Coordinates done
Event: 0.091 loading class java/lang/ClassLoaderHelper
Event: 0.091 loading class java/lang/ClassLoaderHelper done
Dynamic libraries:
0x00007ff6ba360000 - 0x00007ff6ba394000 C:\Program Files\Java\jre8\bin\javaw.exe
0x00007fff97cb0000 - 0x00007fff97e5a000 C:\Windows\SYSTEM32\ntdll.dll
0x00007fff96080000 - 0x00007fff961ba000 C:\Windows\system32\KERNEL32.DLL
0x00007fff95420000 - 0x00007fff9552f000 C:\Windows\system32\KERNELBASE.dll
0x00007fff93c30000 - 0x00007fff93cb8000 C:\Windows\system32\apphelp.dll
0x00007fff90800000 - 0x00007fff9084f000 C:\Windows\AppPatch\AppPatch64\AcGenral.DLL
0x00007fff96580000 - 0x00007fff96627000 C:\Windows\system32\msvcrt.dll
0x00007fff94e00000 - 0x00007fff94e2b000 C:\Windows\SYSTEM32\SspiCli.dll
0x00007fff962e0000 - 0x00007fff96331000 C:\Windows\system32\SHLWAPI.dll
0x00007fff95880000 - 0x00007fff959f1000 C:\Windows\system32\USER32.dll
0x00007fff96340000 - 0x00007fff964b8000 C:\Windows\system32\ole32.dll
0x00007fff96890000 - 0x00007fff97cb0000 C:\Windows\system32\SHELL32.dll
0x00007fff94a00000 - 0x00007fff94a1e000 C:\Windows\SYSTEM32\USERENV.dll
0x00007fff95fd0000 - 0x00007fff96075000 C:\Windows\system32\ADVAPI32.dll
0x00007fff91bb0000 - 0x00007fff91bcb000 C:\Windows\SYSTEM32\MPR.dll
0x00007fff95ba0000 - 0x00007fff95cd6000 C:\Windows\system32\RPCRT4.dll
0x00007fff95ce0000 - 0x00007fff95d37000 C:\Windows\SYSTEM32\sechost.dll
0x00007fff95550000 - 0x00007fff95726000 C:\Windows\SYSTEM32\combase.dll
0x00007fff95730000 - 0x00007fff95874000 C:\Windows\system32\GDI32.dll
0x00007fff95020000 - 0x00007fff95034000 C:\Windows\SYSTEM32\profapi.dll
0x00007fff93660000 - 0x00007fff936ff000 C:\Windows\SYSTEM32\SHCORE.dll
0x00007fff96520000 - 0x00007fff96554000 C:\Windows\system32\IMM32.DLL
0x00007fff95a00000 - 0x00007fff95b39000 C:\Windows\system32\MSCTF.dll
0x00007fff929a0000 - 0x00007fff92bfa000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.17031_none_6242a4b3ecbb55a1\COMCTL32.dll
0x000000005cd60000 - 0x000000005ce32000 C:\Program Files\Java\jre8\bin\msvcr100.dll
0x000000005b270000 - 0x000000005ba9a000 C:\Program Files\Java\jre8\bin\server\jvm.dll
0x00007fff93270000 - 0x00007fff93279000 C:\Windows\SYSTEM32\WSOCK32.dll
0x00007fff91dd0000 - 0x00007fff91def000 C:\Windows\SYSTEM32\WINMM.dll
0x00007fff96560000 - 0x00007fff96567000 C:\Windows\system32\PSAPI.DLL
0x00007fff961c0000 - 0x00007fff96218000 C:\Windows\system32\WS2_32.dll
0x00007fff91da0000 - 0x00007fff91dca000 C:\Windows\SYSTEM32\WINMMBASE.dll
0x00007fff96570000 - 0x00007fff96579000 C:\Windows\system32\NSI.dll
0x00007fff953d0000 - 0x00007fff9541a000 C:\Windows\SYSTEM32\cfgmgr32.dll
0x00007fff93eb0000 - 0x00007fff93ed6000 C:\Windows\SYSTEM32\DEVOBJ.dll
0x000000005cd50000 - 0x000000005cd5f000 C:\Program Files\Java\jre8\bin\verify.dll
0x000000005cd20000 - 0x000000005cd48000 C:\Program Files\Java\jre8\bin\java.dll
0x000000005cd00000 - 0x000000005cd16000 C:\Program Files\Java\jre8\bin\zip.dll
0x00007ff71f0e0000 - 0x00007ff71f0ef000 C:\Users\...\workspace\...\TrackingAPI.dll
0x00007fff74360000 - 0x00007fff743f6000 C:\Users\...\workspace\...\CompCore64.dll
0x00007fff8ecc0000 - 0x00007fff8ed67000 C:\Windows\SYSTEM32\MSVCP110.dll
0x00007fff8ebe0000 - 0x00007fff8ecb4000 C:\Windows\SYSTEM32\MSVCR110.dll
0x00007fff925c0000 - 0x00007fff92748000 C:\Windows\SYSTEM32\dbghelp.dll
VM Arguments:
jvm_args: -Dfile.encoding=UTF-8
java_command: gwap.control.ControllerMain
java_class_path (initial): C:\Users\...\workspace\...\bin;C:\Users\...\workspace\...\lib\eventbus.jar;C:\Users\..\workspace\...\lib\gluegen-rt.jar;C:\Users\...\workspace\...\lib\j-ogg-oggd.jar;C:\Users\...\workspace\...\lib\j-ogg-vorbisd.jar;C:\Users\...\workspace\...\lib\jbullet.jar;C:\Users\...\workspace\...\lib\jglfont-core.jar;C:\Users\...\workspace\...\lib\jinput.jar;C:\Users\...\workspace\...\lib\jME3-blender.jar;C:\Users\...\workspace\...\lib\jME3-core.jar;C:\Users\...\workspace\...\lib\jME3-desktop.jar;C:\Users\...\workspace\...\lib\jME3-effects.jar;C:\Users\...\workspace\...\lib\jME3-jbullet.jar;C:\Users\...\workspace\...\lib\jME3-jogg.jar;C:\Users\...\workspace\...\lib\jME3-lwjgl-natives.jar;C:\Users\...\workspace\...\lib\jME3-lwjgl.jar;C:\Users\...\workspace\...\lib\jME3-networking.jar;C:\Users\...\workspace\...\lib\jME3-niftygui.jar;C:\Users\...\workspace\...\lib\jME3-openal-soft-natives-android.jar;C:\Users\...\workspace\...\lib\jME3-plugins.jar;C:\Users\...\workspace\...\lib\jME3-terrain.jar;C:\Users\...\workspace\...\lib\jME3-testdata.jar;C:\Users\...\workspace\...\lib\joal.jar;C:\Users\...\workspace\...\lib\jogl-all.jar;C:\Users\...\workspace\...\lib\lwjgl.jar;C:\Users\...\workspace\...\lib\nifty-default-controls.jar;C:\Users\...\workspace\...\lib\nifty-examples.jar;C:\Users\...\workspace\...\lib\nifty-style-black.jar;C:\Users\...\workspace\...\lib\nifty.jar;C:\Users\...\
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\Comp\Comp Device Controller\;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files (x86)\Microsoft SDKs\TypeScript\1.0\
USERNAME=...
OS=Windows_NT
PROCESSOR_IDENTIFIER=AMD64 Family 21 Model 19 Stepping 1, AuthenticAMD
--------------- S Y S T E M ---------------
OS: Windows 8.1 , 64 bit Build 9600
CPU:total 4 (4 cores per cpu, 1 threads per core) family 21 model 19 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, clmul, mmxext, 3dnowpref, lzcnt, sse4a, tsc, tscinvbit
Memory: 4k page, physical 7535300k(5091636k free), swap 8714948k(5116720k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (25.5-b02) for windows-amd64 JRE (1.8.0_05-b13), built on Mar 18 2014 01:08:39 by "java_re" with MS VC++ 10.0 (VS2010)
time: Tue Jul 01 13:41:40 2014
elapsed time: 0 seconds
Found the problem: VisualStudio (or I) did not change the configuration type to .dll correctly. Can be checked in the projectstandards tab in the preferences of the project.
Related
I would be really glad if you could help with this unsolvable Problem (atleast for me ).
I get the following message when trying to run a LibGDX Project:
A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000000000000,
pid=9992, tid=0x000000000000279c
#
# JRE version: Java(TM) SE Runtime Environment (8.0_181-b13) (build 1.8.0_181-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.181-b13 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C 0x0000000000000000
#
# 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:\Users\Benwe93\Desktop\Projekt\core\assets\hs_err_pid9992.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
The Code is EXACTLY the same as on another Notebook Im using where I can run it perfectly. So it should not be codes fault ?
Anyway this is the message Im getting from the error Report:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000000000000, pid=9992, tid=0x000000000000279c
#
# JRE version: Java(TM) SE Runtime Environment (8.0_181-b13) (build 1.8.0_181-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.181-b13 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C 0x0000000000000000
#
# 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 (0x0000000018b72000): JavaThread "LWJGL Application" [_thread_in_native, id=10140, stack(0x000000001a7c0000,0x000000001a8c0000)]
siginfo: ExceptionCode=0xc0000005, ExceptionInformation=0x0000000000000008 0x0000000000000000
Registers:
RAX=0x000000001e884090, RBX=0x0000000000187f00, RCX=0x00000000001efd30, RDX=0x000000000016a290
RSP=0x000000001a8bedf8, RBP=0x000000000016a290, RSI=0x000000001a8beec0, RDI=0x000000000016a290
R8 =0x0000000000183fb0, R9 =0x000000001a8beec0, R10=0x0000000002958c3b, R11=0x00000000605fc6a0
R12=0x0000000000000000, R13=0x0000000017075b68, R14=0x000000001a8bf038, R15=0x0000000018b72000
RIP=0x0000000000000000, EFLAGS=0x0000000000010206
Top of Stack: (sp=0x000000001a8bedf8)
0x000000001a8bedf8: 000000006e9df82c 0000000000000000
0x000000001a8bee08: 000000002a00002a 0000000000183fb0
0x000000001a8bee18: 0000000000200021 000000000016a290
0x000000001a8bee28: 0000000000183fb0 0000000000187f00
0x000000001a8bee38: 000000000016a290 000000001a8beec0
0x000000001a8bee48: 000000006e9de6c9 0000000000000000
0x000000001a8bee58: 0000000000000000 0000000000000000
0x000000001a8bee68: 0000000000000000 0000000000000000
0x000000001a8bee78: 0000000017075b68 0000000000200021
0x000000001a8bee88: 000000000294835d 000000001a8befc0
0x000000001a8bee98: 000000006e9e49bd 0000000018b721f8
0x000000001a8beea8: 0000000000000005 000000001a8bf020
0x000000001a8beeb8: 0000000798111a00 00000000001efd30
0x000000001a8beec8: 0000000000000000 33d6bf953e4ccccd
0x000000001a8beed8: 0001000042480000 000000000000ffff
0x000000001a8beee8: 0000000000193f20 0000000000193f20
Instructions: (pc=0x0000000000000000)
0xffffffffffffffe0:
Register to memory mapping:
RAX=0x000000001e884090 is an unknown value
RBX=0x0000000000187f00 is an unknown value
RCX=0x00000000001efd30 is an unknown value
RDX=0x000000000016a290 is an unknown value
RSP=0x000000001a8bedf8 is pointing into the stack for thread: 0x0000000018b72000
RBP=0x000000000016a290 is an unknown value
RSI=0x000000001a8beec0 is pointing into the stack for thread: 0x0000000018b72000
RDI=0x000000000016a290 is an unknown value
R8 =0x0000000000183fb0 is an unknown value
R9 =0x000000001a8beec0 is pointing into the stack for thread: 0x0000000018b72000
R10=0x0000000002958c3b is at code_begin+891 in an Interpreter codelet
method entry point (kind = native) [0x00000000029588c0, 0x0000000002959280] 2496 bytes
R11=0x00000000605fc6a0 is an unknown value
R12=0x0000000000000000 is an unknown value
R13={method} {0x0000000017075b70} 'jniCreateFixture' '(JJFFFZSSS)J' in 'com/badlogic/gdx/physics/box2d/Body'
R14=0x000000001a8bf038 is pointing into the stack for thread: 0x0000000018b72000
R15=0x0000000018b72000 is a thread
Stack: [0x000000001a7c0000,0x000000001a8c0000], sp=0x000000001a8bedf8, free space=1019k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.badlogic.gdx.physics.box2d.Body.jniCreateFixture(JJFFFZSSS)J+0
j com.badlogic.gdx.physics.box2d.Body.createFixture(Lcom/badlogic/gdx/physics/box2d/FixtureDef;)Lcom/badlogic/gdx/physics/box2d/Fixture;+49
j com.mygdx.game.MyGdxGame.create()V+1479
j com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop()V+29
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 )
0x0000000001bef000 JavaThread "DestroyJavaVM" [_thread_blocked, id=10016, stack(0x0000000002570000,0x0000000002670000)]
=>0x0000000018b72000 JavaThread "LWJGL Application" [_thread_in_native, id=10140, stack(0x000000001a7c0000,0x000000001a8c0000)]
0x0000000018885000 JavaThread "Service Thread" daemon [_thread_blocked, id=10068, stack(0x0000000018f20000,0x0000000019020000)]
0x000000001735b800 JavaThread "C1 CompilerThread2" daemon [_thread_blocked, id=10064, stack(0x0000000019360000,0x0000000019460000)]
0x000000001735a800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=10060, stack(0x0000000019170000,0x0000000019270000)]
0x00000000187e6000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=10056, stack(0x0000000019020000,0x0000000019120000)]
0x00000000187e3000 JavaThread "Attach Listener" daemon [_thread_blocked, id=10052, stack(0x0000000018c50000,0x0000000018d50000)]
0x00000000187e2800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=10048, stack(0x0000000018da0000,0x0000000018ea0000)]
0x000000001733e800 JavaThread "Finalizer" daemon [_thread_blocked, id=10044, stack(0x00000000186e0000,0x00000000187e0000)]
0x00000000172f7800 JavaThread "Reference Handler" daemon [_thread_blocked, id=10040, stack(0x0000000018500000,0x0000000018600000)]
Other Threads:
0x00000000172ec000 VMThread [stack: 0x0000000018360000,0x0000000018460000] [id=10036]
0x0000000018886000 WatcherThread [stack: 0x0000000019560000,0x0000000019660000] [id=10072]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap:
PSYoungGen total 36864K, used 14881K [0x0000000797300000, 0x0000000799c00000, 0x00000007c0000000)
eden space 31744K, 46% used [0x0000000797300000,0x0000000798188608,0x0000000799200000)
from space 5120K, 0% used [0x0000000799700000,0x0000000799700000,0x0000000799c00000)
to space 5120K, 0% used [0x0000000799200000,0x0000000799200000,0x0000000799700000)
ParOldGen total 84992K, used 0K [0x0000000745800000, 0x000000074ab00000, 0x0000000797300000)
object space 84992K, 0% used [0x0000000745800000,0x0000000745800000,0x000000074ab00000)
Metaspace used 8019K, capacity 8169K, committed 8320K, reserved 1056768K
class space used 797K, capacity 859K, committed 896K, reserved 1048576K
Card table byte_map: [0x0000000011d00000,0x00000000120e0000] byte_map_base: 0x000000000e2d4000
Marking Bits: (ParMarkBitMap*) 0x0000000060bf2d00
Begin Bits: [0x0000000012840000, 0x00000000146e0000)
End Bits: [0x00000000146e0000, 0x0000000016580000)
Polling page: 0x0000000001b90000
CodeCache: size=245760Kb used=2878Kb max_used=2882Kb free=242881Kb
bounds [0x0000000002940000, 0x0000000002c20000, 0x0000000011940000]
total_blobs=1102 nmethods=620 adapters=395
compilation: enabled
Compilation events (10 events):
Event: 1.497 Thread 0x00000000187e6000 nmethod 589% 0x0000000002c0cd90 code [0x0000000002c0cf20, 0x0000000002c0ddd8]
Event: 1.515 Thread 0x000000001735a800 nmethod 592% 0x0000000002c0e710 code [0x0000000002c0ec20, 0x0000000002c0fe88]
Event: 1.517 Thread 0x000000001735b800 617 ! 3 sun.misc.URLClassPath$JarLoader::checkResource (55 bytes)
Event: 1.518 Thread 0x000000001735b800 nmethod 617 0x0000000002c0c210 code [0x0000000002c0c3c0, 0x0000000002c0ca28]
Event: 1.518 Thread 0x000000001735b800 618 3 java.lang.ClassNotFoundException::<init> (7 bytes)
Event: 1.518 Thread 0x000000001735b800 nmethod 618 0x0000000002c0bd50 code [0x0000000002c0bec0, 0x0000000002c0c108]
Event: 1.519 Thread 0x00000000187e6000 619 4 java.util.concurrent.ConcurrentHashMap::casTabAt (20 bytes)
Event: 1.520 Thread 0x00000000187e6000 nmethod 619 0x0000000002c0a650 code [0x0000000002c0a780, 0x0000000002c0a7f8]
Event: 1.522 Thread 0x000000001735b800 620 3 java.lang.StringBuffer::<init> (6 bytes)
Event: 1.523 Thread 0x000000001735b800 nmethod 620 0x0000000002c0b810 code [0x0000000002c0b980, 0x0000000002c0bc30]
GC Heap History (0 events):
No events
Deoptimization events (1 events):
Event: 1.459 Thread 0x0000000018b72000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000002bbefb8 method=javazoom.jl.decoder.huffcodetab.huffman_decoder(Ljavazoom/jl/decoder/huffcodetab;[I[I[I[ILjavazoom/jl/decoder/BitReserve;)I # 230
Classes redefined (0 events):
No events
Internal exceptions (10 events):
Event: 0.196 Thread 0x0000000001bef000 Exception <a 'java/security/PrivilegedActionException'> (0x00000007975bcc80) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u181\11358\hotspot\src\share\vm\prims\jvm.cpp, line 1435]
Event: 0.196 Thread 0x0000000001bef000 Exception <a 'java/security/PrivilegedActionException'> (0x00000007975bce90) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u181\11358\hotspot\src\share\vm\prims\jvm.cpp, line 1435]
Event: 0.503 Thread 0x0000000001bef000 Exception <a 'java/security/PrivilegedActionException'> (0x00000007976c6870) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u181\11358\hotspot\src\share\vm\prims\jvm.cpp, line 1435]
Event: 0.503 Thread 0x0000000001bef000 Exception <a 'java/security/PrivilegedActionException'> (0x00000007976c8548) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u181\11358\hotspot\src\share\vm\prims\jvm.cpp, line 1435]
Event: 0.503 Thread 0x0000000001bef000 Exception <a 'java/security/PrivilegedActionException'> (0x00000007976c96b8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u181\11358\hotspot\src\share\vm\prims\jvm.cpp, line 1435]
Event: 0.503 Thread 0x0000000001bef000 Exception <a 'java/security/PrivilegedActionException'> (0x00000007976ce820) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u181\11358\hotspot\src\share\vm\prims\jvm.cpp, line 1435]
Event: 0.503 Thread 0x0000000001bef000 Exception <a 'java/security/PrivilegedActionException'> (0x00000007976cf478) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u181\11358\hotspot\src\share\vm\prims\jvm.cpp, line 1435]
Event: 0.503 Thread 0x0000000001bef000 Exception <a 'java/security/PrivilegedActionException'> (0x00000007976d00a0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u181\11358\hotspot\src\share\vm\prims\jvm.cpp, line 1435]
Event: 1.377 Thread 0x0000000018b72000 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x0000000797e70768) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u181\11358\hotspot\src\share\vm\prims\methodHandles.cpp, line 1167]
Event: 1.379 Thread 0x0000000018b72000 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x0000000797e7e100) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u181\11358\hotspot\src\share\vm\prims\methodHandles.cpp, line 1167]
Events (10 events):
Event: 1.522 loading class com/badlogic/gdx/physics/box2d/FixtureDef
Event: 1.522 loading class com/badlogic/gdx/physics/box2d/FixtureDef done
Event: 1.522 loading class com/badlogic/gdx/physics/box2d/Filter
Event: 1.522 loading class com/badlogic/gdx/physics/box2d/Filter done
Event: 1.523 loading class com/badlogic/gdx/physics/box2d/Fixture
Event: 1.523 loading class com/badlogic/gdx/physics/box2d/Fixture done
Event: 1.523 loading class com/badlogic/gdx/physics/box2d/CircleShape
Event: 1.523 loading class com/badlogic/gdx/physics/box2d/CircleShape done
Event: 1.523 loading class com/badlogic/gdx/physics/box2d/ChainShape
Event: 1.523 loading class com/badlogic/gdx/physics/box2d/ChainShape done
Dynamic libraries:
0x000000013fe80000 - 0x000000013feb7000 C:\Program Files\Java\jre8\bin\javaw.exe
0x0000000077bd0000 - 0x0000000077d6f000 C:\Windows\SYSTEM32\ntdll.dll
0x00000000779b0000 - 0x0000000077acf000 C:\Windows\system32\kernel32.dll
0x000007fefd920000 - 0x000007fefd98a000 C:\Windows\system32\KERNELBASE.dll
0x000007feff0b0000 - 0x000007feff18b000 C:\Windows\system32\ADVAPI32.dll
0x000007fefee10000 - 0x000007fefeeaf000 C:\Windows\system32\msvcrt.dll
0x000007fefdd90000 - 0x000007fefddaf000 C:\Windows\SYSTEM32\sechost.dll
0x000007fefecd0000 - 0x000007fefedfd000 C:\Windows\system32\RPCRT4.dll
0x0000000077ad0000 - 0x0000000077bca000 C:\Windows\system32\USER32.dll
0x000007fefdb90000 - 0x000007fefdbf7000 C:\Windows\system32\GDI32.dll
0x000007feff850000 - 0x000007feff85e000 C:\Windows\system32\LPK.dll
0x000007feff580000 - 0x000007feff64b000 C:\Windows\system32\USP10.dll
0x000007fefc120000 - 0x000007fefc314000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.23403_none_e36ad4593102f066\COMCTL32.dll
0x000007feff900000 - 0x000007feff971000 C:\Windows\system32\SHLWAPI.dll
0x000007fefdc00000 - 0x000007fefdc2e000 C:\Windows\system32\IMM32.DLL
0x000007fefdc30000 - 0x000007fefdd39000 C:\Windows\system32\MSCTF.dll
0x000007feed250000 - 0x000007feed2ff000 C:\Program Files\McAfee\Endpoint Security\Threat Prevention\Ips\EpMPApi.dll
0x000007fefd9c0000 - 0x000007fefd9fb000 C:\Windows\system32\WINTRUST.dll
0x000007fefd790000 - 0x000007fefd8fd000 C:\Windows\system32\CRYPT32.dll
0x000007fefd770000 - 0x000007fefd77f000 C:\Windows\system32\MSASN1.dll
0x00000000715f0000 - 0x00000000715fc000 C:\Program Files\McAfee\Endpoint Security\Threat Prevention\Ips\EpMPThe.dll
0x0000000078af0000 - 0x0000000078bc2000 C:\Program Files\Java\jre8\bin\msvcr100.dll
0x00000000603d0000 - 0x0000000060c72000 C:\Program Files\Java\jre8\bin\server\jvm.dll
0x000007fee3830000 - 0x000007fee3839000 C:\Windows\system32\WSOCK32.dll
0x000007fefdd40000 - 0x000007fefdd8d000 C:\Windows\system32\WS2_32.dll
0x000007fefee00000 - 0x000007fefee08000 C:\Windows\system32\NSI.dll
0x000007fefb650000 - 0x000007fefb68b000 C:\Windows\system32\WINMM.dll
0x000007fefc810000 - 0x000007fefc81c000 C:\Windows\system32\VERSION.dll
0x0000000077d80000 - 0x0000000077d87000 C:\Windows\system32\PSAPI.DLL
0x0000000061970000 - 0x000000006197f000 C:\Program Files\Java\jre8\bin\verify.dll
0x0000000061940000 - 0x0000000061969000 C:\Program Files\Java\jre8\bin\java.dll
0x0000000061920000 - 0x0000000061936000 C:\Program Files\Java\jre8\bin\zip.dll
0x000007fefdf40000 - 0x000007fefeccb000 C:\Windows\system32\SHELL32.dll
0x000007fefeeb0000 - 0x000007feff0ad000 C:\Windows\system32\ole32.dll
0x000007fefd780000 - 0x000007fefd78f000 C:\Windows\system32\profapi.dll
0x0000000065ac0000 - 0x0000000065b26000 C:\Users\Kadri01\AppData\Local\Temp\libgdxkadri01\69ce8ed5\gdx64.dll
0x000007fefcf60000 - 0x000007fefcf78000 C:\Windows\system32\CRYPTSP.dll
0x000007fefcc60000 - 0x000007fefcca7000 C:\Windows\system32\rsaenh.dll
0x000007fefd9a0000 - 0x000007fefd9bf000 C:\Windows\system32\USERENV.dll
0x000007fefd610000 - 0x000007fefd61f000 C:\Windows\system32\CRYPTBASE.dll
0x0000000061790000 - 0x00000000617aa000 C:\Program Files\Java\jre8\bin\net.dll
0x000007fefcf00000 - 0x000007fefcf55000 C:\Windows\system32\mswsock.dll
0x000007fefcef0000 - 0x000007fefcef7000 C:\Windows\System32\wship6.dll
0x000007feface0000 - 0x000007fefad07000 C:\Windows\system32\IPHLPAPI.DLL
0x000007fefacd0000 - 0x000007fefacdb000 C:\Windows\system32\WINNSI.DLL
0x000007fefab30000 - 0x000007fefab41000 C:\Windows\system32\dhcpcsvc6.DLL
0x000007fefab50000 - 0x000007fefab68000 C:\Windows\system32\dhcpcsvc.DLL
0x0000000061770000 - 0x0000000061781000 C:\Program Files\Java\jre8\bin\nio.dll
0x0000000180000000 - 0x0000000180053000 C:\Users\Kadri01\AppData\Local\Temp\libgdxkadri01\dc0f0009\lwjgl64.dll
0x000007fee4d10000 - 0x000007fee4e2d000 C:\Windows\system32\OPENGL32.dll
0x000007fefb740000 - 0x000007fefb76d000 C:\Windows\system32\GLU32.dll
0x000007fee4c10000 - 0x000007fee4d01000 C:\Windows\system32\DDRAW.dll
0x000007fefb790000 - 0x000007fefb798000 C:\Windows\system32\DCIMAN32.dll
0x000007feff670000 - 0x000007feff847000 C:\Windows\system32\SETUPAPI.dll
0x000007fefdae0000 - 0x000007fefdb16000 C:\Windows\system32\CFGMGR32.dll
0x000007feffde0000 - 0x000007feffeba000 C:\Windows\system32\OLEAUT32.dll
0x000007fefd900000 - 0x000007fefd91a000 C:\Windows\system32\DEVOBJ.dll
0x000007fefc620000 - 0x000007fefc638000 C:\Windows\system32\dwmapi.dll
0x00000000023d0000 - 0x0000000002434000 C:\Users\Kadri01\AppData\Local\Temp\libgdxkadri01\dc0f0009\OpenAL64.dll
0x000007fefc0c0000 - 0x000007fefc116000 C:\Windows\system32\uxtheme.dll
0x000007feff860000 - 0x000007feff8f9000 C:\Windows\system32\CLBCatQ.DLL
0x000007fefbb90000 - 0x000007fefbcbc000 C:\Windows\System32\PROPSYS.dll
0x000007fee3b00000 - 0x000007fee3b88000 C:\Windows\system32\dsound.dll
0x000007fefba70000 - 0x000007fefba9c000 C:\Windows\system32\POWRPROF.dll
0x000007fefbcc0000 - 0x000007fefbd0b000 C:\Windows\System32\MMDevApi.dll
0x000007fefafb0000 - 0x000007fefafff000 C:\Windows\system32\AUDIOSES.DLL
0x000007feda330000 - 0x000007fedb08b000 C:\Windows\system32\ig9icd64.dll
0x000007fefc9b0000 - 0x000007fefc9c1000 C:\Windows\system32\WTSAPI32.dll
0x000007fedbd50000 - 0x000007fedbdec000 C:\Windows\system32\mscms.dll
0x000007fedbd00000 - 0x000007fedbd42000 C:\Windows\system32\icm32.dll
0x000007fed91d0000 - 0x000007feda32f000 C:\Windows\system32\igc64.dll
0x000007fefd310000 - 0x000007fefd34d000 C:\Windows\system32\WINSTA.dll
0x000000006e9c0000 - 0x000000006ea4c000 C:\Users\Kadri01\AppData\Local\Temp\libgdxkadri01\6527a23c\gdx-box2d64.dll
0x000007fef2520000 - 0x000007fef2645000 C:\Windows\system32\dbghelp.dll
VM Arguments:
jvm_args: -Dfile.encoding=Cp1252
java_command: com.mygdx.game.desktop.DesktopLauncher
java_class_path (initial): C:\Program Files\Java\jre8\lib\resources.jar;C:\Program Files\Java\jre8\lib\rt.jar;C:\Program Files\Java\jre8\lib\jsse.jar;C:\Program Files\Java\jre8\lib\jce.jar;C:\Program Files\Java\jre8\lib\charsets.jar;C:\Program Files\Java\jre8\lib\jfr.jar;C:\Program Files\Java\jre8\lib\ext\access-bridge-64.jar;C:\Program Files\Java\jre8\lib\ext\cldrdata.jar;C:\Program Files\Java\jre8\lib\ext\dnsns.jar;C:\Program Files\Java\jre8\lib\ext\EDF04DRV.jar;C:\Program Files\Java\jre8\lib\ext\jaccess.jar;C:\Program Files\Java\jre8\lib\ext\jfxrt.jar;C:\Program Files\Java\jre8\lib\ext\localedata.jar;C:\Program Files\Java\jre8\lib\ext\nashorn.jar;C:\Program Files\Java\jre8\lib\ext\sunec.jar;C:\Program Files\Java\jre8\lib\ext\sunjce_provider.jar;C:\Program Files\Java\jre8\lib\ext\sunmscapi.jar;C:\Program Files\Java\jre8\lib\ext\sunpkcs11.jar;C:\Program Files\Java\jre8\lib\ext\zipfs.jar;C:\Users\Kadri01\Desktop\Projekt\bin;C:\Users\Kadri01\Desktop\Projekt\gradle\wrapper\gradle-wrapper.jar;C:\Users\Kadri01\Desktop\Projekt\libs\gdx.jar;C:\Users\Kadri01\Desktop\Projekt\libs\gdx-backend-headless.jar;C:\Users\Kadri01\Desktop\Projekt\libs\gdx-backend-lwjgl-natives.jar;C:\Users\Kadri01\Desktop\Projekt\libs\gdx-backend-lwjgl.jar;C:\Users\Kadri01\Desktop\Projekt\libs\gdx-backend-lwjgl3.jar;C:\Users\Kadri01\Desktop\Projekt\libs\gdx-backend-robovm.jar;C:\Users\Kadri01\Desktop\Projekt\libs\gdx-backend-android.jar;C:\Users\Kadri01\Desktop\Projekt\libs\gdx-backend-gwt.jar;C:\Users\Kadri01\Desktop\Projekt\libs\gdx-natives.jar;C:\Users\Kadri01\Desktop\Projekt\libs\gdx-setup.jar;C:\Users\Kadri01\Desktop\Projekt\libs\gdx-box2d.jar;C:\Users\Kadri01\Desktop\Projekt\libs\gdx-box2d-gwt.jar;C:\Users\Kadri01\Desktop\Projekt\libs\gdx-box2d-natives.jar
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=C:/Program Files/Java/jre8/bin/server;C:/Program Files/Java/jre8/bin;C:/Program Files/Java/jre8/lib/amd64;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\CCM;C:\Program Files (x86)\Sennheiser\SoftphoneSDK\;C:\Users\Kadri01\Desktop\eclipse;
USERNAME=kadri01
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 78 Stepping 3, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 , 64 bit Build 7601 (6.1.7601.24214)
CPU:total 4 (initial active 4) (2 cores per cpu, 2 threads per core) family 6 model 78 stepping 3, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, rtm, 3dnowpref, lzcnt, ht, tsc, tscinvbit, bmi1, bmi2, adx
Memory: 4k page, physical 8027480k(4890620k free), swap 16053060k(12540356k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (25.181-b13) for windows-amd64 JRE (1.8.0_181-b13), built on Jul 7 2018 04:01:33 by "java_re" with MS VC++ 10.0 (VS2010)
time: Mon Aug 27 13:43:23 2018
elapsed time: 1 seconds (0d 0h 0m 1s)
So this is the thing I encounter when I try to lauch EclipsePortable.exe
The IDE worked perfectly yesterday. Rebooting has not helped, neither other SO solution (addding line below to eclipse.ini)
-XX:CompileCommand=exclude,org.eclipse.jdt.internal.compiler.parser.TypeConverter::*
Error File:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x675d7417, pid=724, tid=1632
#
# JRE version: Java(TM) SE Runtime Environment (8.0_65-b17) (build 1.8.0_65-b17)
# Java VM: Java HotSpot(TM) Client VM (25.65-b01 mixed mode windows-x86 )
# Problematic frame:
# V [jvm.dll+0x37417]
#
# 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 (0x2602c000): JavaThread "Start Level Event Dispatcher" daemon [_thread_in_vm, id=1632, stack(0x269f0000,0x26af0000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x26e95f83
Registers:
EAX=0xff110c4d, EBX=0x25f7f8f0, ECX=0x26e95f83, EDX=0x006f006e
ESP=0x26aec594, EBP=0x26aec6c4, ESI=0x2602c000, EDI=0x25fa6bd0
EIP=0x675d7417, EFLAGS=0x00010246
Top of Stack: (sp=0x26aec594)
0x26aec594: 2602c000 00000024 26aecb10 00000001
0x26aec5a4: 00000000 26aec5c4 00000000 00000100
0x26aec5b4: 00000100 00000000 00000000 00000000
0x26aec5c4: 00000000 00000000 00000000 00000000
0x26aec5d4: 00000000 00000000 00000000 00000000
0x26aec5e4: 00000000 00000000 00000000 00000000
0x26aec5f4: 00000000 00000000 00000000 00000000
0x26aec604: 00000000 00000000 00000000 00000000
Instructions: (pc=0x675d7417)
0x675d73f7: 45 94 ff ff 00 00 83 f8 06 73 08 56 8b cf e8 26
0x675d7407: 25 00 00 83 7e 04 00 0f 85 bf fe ff ff 8b 4f 08
0x675d7417: 0f b7 11 89 55 c8 66 8b 45 c8 86 c4 83 47 08 02
0x675d7427: 66 8b c8 8b 47 08 8b 00 89 45 c8 8b 45 c8 0f c8
Register to memory mapping:
EAX=0xff110c4d is an unknown value
EBX=0x25f7f8f0 is an unknown value
ECX=0x26e95f83 is pointing into the stack for thread: 0x260a2400
EDX=0x006f006e is an unknown value
ESP=0x26aec594 is pointing into the stack for thread: 0x2602c000
EBP=0x26aec6c4 is pointing into the stack for thread: 0x2602c000
ESI=0x2602c000 is a thread
EDI=0x25fa6bd0 is an unknown value
Stack: [0x269f0000,0x26af0000], sp=0x26aec594, free space=1009k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x37417]
V [jvm.dll+0x38218]
V [jvm.dll+0x39148]
V [jvm.dll+0x3ac26]
V [jvm.dll+0x4f87f]
V [jvm.dll+0x4ff5a]
V [jvm.dll+0x511a0]
V [jvm.dll+0x4dc1a]
V [jvm.dll+0x39219]
V [jvm.dll+0x3ac26]
V [jvm.dll+0x4f87f]
V [jvm.dll+0x4ff5a]
V [jvm.dll+0x511a0]
V [jvm.dll+0x4dc1a]
V [jvm.dll+0x39219]
V [jvm.dll+0x3ac26]
V [jvm.dll+0x4f87f]
V [jvm.dll+0x4ff5a]
V [jvm.dll+0x511a0]
V [jvm.dll+0x511ea]
V [jvm.dll+0xab3e8]
V [jvm.dll+0x7f9c2]
V [jvm.dll+0x7fba7]
j com.sun.org.apache.xerces.internal.parsers.XML11Configuration.<init>(Lcom/sun/org/apache/xerces/internal/util/SymbolTable;Lcom/sun/org/apache/xerces/internal/xni/grammars/XMLGrammarPool;Lcom/sun/org/apache/xerces/internal/xni/parser/XMLComponentManager;)V+781
j com.sun.org.apache.xerces.internal.parsers.XIncludeAwareParserConfiguration.<init>(Lcom/sun/org/apache/xerces/internal/util/SymbolTable;Lcom/sun/org/apache/xerces/internal/xni/grammars/XMLGrammarPool;Lcom/sun/org/apache/xerces/internal/xni/parser/XMLComponentManager;)V+4
j com.sun.org.apache.xerces.internal.parsers.XIncludeAwareParserConfiguration.<init>()V+4
j com.sun.org.apache.xerces.internal.parsers.SAXParser.<init>(Lcom/sun/org/apache/xerces/internal/util/SymbolTable;Lcom/sun/org/apache/xerces/internal/xni/grammars/XMLGrammarPool;)V+5
j com.sun.org.apache.xerces.internal.parsers.SAXParser.<init>()V+3
j com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.<init>(Lcom/sun/org/apache/xerces/internal/jaxp/SAXParserImpl;Lcom/sun/org/apache/xerces/internal/utils/XMLSecurityPropertyManager;Lcom/sun/org/apache/xerces/internal/utils/XMLSecurityManager;)V+1
j com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl.<init>(Lcom/sun/org/apache/xerces/internal/jaxp/SAXParserFactoryImpl;Ljava/util/Map;Z)V+46
j com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl.newSAXParser()Ljavax/xml/parsers/SAXParser;+13
j org.eclipse.update.internal.configurator.ConfigurationParser.<init>()V+15
j org.eclipse.update.internal.configurator.PlatformConfiguration.loadConfig(Ljava/net/URL;Ljava/net/URL;)Lorg/eclipse/update/internal/configurator/Configuration;+21
j org.eclipse.update.internal.configurator.PlatformConfiguration.initializeCurrent(Lorg/eclipse/osgi/service/datalocation/Location;)V+32
j org.eclipse.update.internal.configurator.PlatformConfiguration.<init>(Lorg/eclipse/osgi/service/datalocation/Location;)V+27
j org.eclipse.update.internal.configurator.PlatformConfiguration.startup(Ljava/net/URL;Lorg/eclipse/osgi/service/datalocation/Location;)V+15
j org.eclipse.update.internal.configurator.ConfigurationActivator.getPlatformConfiguration(Ljava/net/URL;Lorg/eclipse/osgi/service/datalocation/Location;)Lorg/eclipse/update/internal/configurator/PlatformConfiguration;+2
j org.eclipse.update.internal.configurator.ConfigurationActivator.initialize()V+147
j org.eclipse.update.internal.configurator.ConfigurationActivator.start(Lorg/osgi/framework/BundleContext;)V+13
j org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run()Ljava/lang/Object;+64
v ~StubRoutines::call_stub
V [jvm.dll+0x158985]
V [jvm.dll+0x21df3e]
V [jvm.dll+0x158a1e]
V [jvm.dll+0x10934f]
C [java.dll+0x1047]
[Skipped some lines, SO limits to 30000 characters]
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x260a2400 JavaThread "[Timer] - Main Queue Handler" daemon [_thread_blocked, id=3424, stack(0x26df0000,0x26ef0000)]
0x2609c000 JavaThread "Component Resolve Thread" daemon [_thread_blocked, id=3204, stack(0x26bf0000,0x26cf0000)]
0x26019800 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=3088, stack(0x26af0000,0x26bf0000)]
=>0x2602c000 JavaThread "Start Level Event Dispatcher" daemon [_thread_in_vm, id=1632, stack(0x269f0000,0x26af0000)]
0x2602a000 JavaThread "State Data Manager" daemon [_thread_blocked, id=2644, stack(0x268f0000,0x269f0000)]
0x25fd9000 JavaThread "Framework Active Thread" [_thread_blocked, id=2420, stack(0x267f0000,0x268f0000)]
0x25296800 JavaThread "Service Thread" daemon [_thread_blocked, id=116, stack(0x25ba0000,0x25ca0000)]
0x25276800 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=3988, stack(0x25a60000,0x25b60000)]
0x25275400 JavaThread "Attach Listener" daemon [_thread_blocked, id=3288, stack(0x25920000,0x25a20000)]
0x25272800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3100, stack(0x257e0000,0x258e0000)]
0x25244000 JavaThread "Finalizer" daemon [_thread_blocked, id=3180, stack(0x25620000,0x25720000)]
0x2523ec00 JavaThread "Reference Handler" daemon [_thread_blocked, id=940, stack(0x25520000,0x25620000)]
0x029ac000 JavaThread "main" [_thread_blocked, id=2624, stack(0x00090000,0x00190000)]
Other Threads:
0x25238800 VMThread [stack: 0x25420000,0x25520000] [id=3076]
0x252a1c00 WatcherThread [stack: 0x25ce0000,0x25de0000] [id=3808]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap:
def new generation total 12288K, used 8243K [0x04c00000, 0x05950000, 0x0f6a0000)
eden space 10944K, 63% used [0x04c00000, 0x052bccc8, 0x056b0000)
from space 1344K, 100% used [0x056b0000, 0x05800000, 0x05800000)
to space 1344K, 0% used [0x05800000, 0x05800000, 0x05950000)
tenured generation total 27328K, used 3927K [0x0f6a0000, 0x11150000, 0x24c00000)
the space 27328K, 14% used [0x0f6a0000, 0x0fa75df0, 0x0fa75e00, 0x11150000)
Metaspace used 6421K, capacity 6710K, committed 6784K, reserved 7552K
Card table byte_map: [0x24c00000,0x24d10000] byte_map_base: 0x24bda000
Polling page: 0x00280000
CodeCache: size=32768Kb used=1350Kb max_used=1350Kb free=31418Kb
bounds [0x02b30000, 0x02c88000, 0x04b30000]
total_blobs=560 nmethods=389 adapters=102
compilation: enabled
Compilation events (10 events):
Event: 3.369 Thread 0x25276800 386 org.eclipse.osgi.framework.internal.core.FilterImpl::compare (329 bytes)
Event: 3.370 Thread 0x25276800 nmethod 386 0x02c7df88 code [0x02c7e300, 0x02c7f8f4]
Event: 3.382 Thread 0x25276800 387 java.util.LinkedList$ListItr::checkForComodification (23 bytes)
Event: 3.382 Thread 0x25276800 nmethod 387 0x02c807c8 code [0x02c808d0, 0x02c809dc]
Event: 3.382 Thread 0x25276800 388 org.eclipse.osgi.baseadaptor.BaseData::getStorageHook (53 bytes)
Event: 3.382 Thread 0x25276800 nmethod 388 0x02c80a88 code [0x02c80bb0, 0x02c80cf8]
Event: 3.382 Thread 0x25276800 389 ! org.eclipse.osgi.baseadaptor.loader.ClasspathManager::findLocalClass (161 bytes)
Event: 3.383 Thread 0x25276800 nmethod 389 0x02c80e48 code [0x02c80fb0, 0x02c81288]
Event: 3.383 Thread 0x25276800 390 org.eclipse.osgi.framework.internal.core.FilterImpl::compare_ObjectArray (45 bytes)
Event: 3.383 Thread 0x25276800 nmethod 390 0x02c81608 code [0x02c81710, 0x02c8181c]
GC Heap History (4 events):
Event: 1.788 GC heap before
{Heap before GC invocations=0 (full 0):
def new generation total 12288K, used 10944K [0x04c00000, 0x05950000, 0x0f6a0000)
eden space 10944K, 100% used [0x04c00000, 0x056b0000, 0x056b0000)
from space 1344K, 0% used [0x056b0000, 0x056b0000, 0x05800000)
to space 1344K, 0% used [0x05800000, 0x05800000, 0x05950000)
tenured generation total 27328K, used 0K [0x0f6a0000, 0x11150000, 0x24c00000)
the space 27328K, 0% used [0x0f6a0000, 0x0f6a0000, 0x0f6a0200, 0x11150000)
Metaspace used 3622K, capacity 3668K, committed 3776K, reserved 4480K
Event: 1.793 GC heap after
Heap after GC invocations=1 (full 0):
def new generation total 12288K, used 1344K [0x04c00000, 0x05950000, 0x0f6a0000)
eden space 10944K, 0% used [0x04c00000, 0x04c00000, 0x056b0000)
from space 1344K, 100% used [0x05800000, 0x05950000, 0x05950000)
to space 1344K, 0% used [0x056b0000, 0x056b0000, 0x05800000)
tenured generation total 27328K, used 1165K [0x0f6a0000, 0x11150000, 0x24c00000)
the space 27328K, 4% used [0x0f6a0000, 0x0f7c3420, 0x0f7c3600, 0x11150000)
Metaspace used 3622K, capacity 3668K, committed 3776K, reserved 4480K
}
Event: 2.847 GC heap before
{Heap before GC invocations=1 (full 0):
def new generation total 12288K, used 12288K [0x04c00000, 0x05950000, 0x0f6a0000)
eden space 10944K, 100% used [0x04c00000, 0x056b0000, 0x056b0000)
from space 1344K, 100% used [0x05800000, 0x05950000, 0x05950000)
to space 1344K, 0% used [0x056b0000, 0x056b0000, 0x05800000)
tenured generation total 27328K, used 1165K [0x0f6a0000, 0x11150000, 0x24c00000)
the space 27328K, 4% used [0x0f6a0000, 0x0f7c3420, 0x0f7c3600, 0x11150000)
Metaspace used 5003K, capacity 5054K, committed 5120K, reserved 5504K
Event: 2.854 GC heap after
Heap after GC invocations=2 (full 0):
def new generation total 12288K, used 1344K [0x04c00000, 0x05950000, 0x0f6a0000)
eden space 10944K, 0% used [0x04c00000, 0x04c00000, 0x056b0000)
from space 1344K, 100% used [0x056b0000, 0x05800000, 0x05800000)
to space 1344K, 0% used [0x05800000, 0x05800000, 0x05950000)
tenured generation total 27328K, used 3927K [0x0f6a0000, 0x11150000, 0x24c00000)
the space 27328K, 14% used [0x0f6a0000, 0x0fa75df0, 0x0fa75e00, 0x11150000)
Metaspace used 5003K, capacity 5054K, committed 5120K, reserved 5504K
}
Deoptimization events (0 events):
No events
Internal exceptions (10 events):
Event: 0.510 Thread 0x029ac000 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.prefetchRead(Ljava/lang/Object;J)V name or signature does not match> (0x04c10c28) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u65\4987\hotspot\src\share\vm\prims\jni.cpp, lÁŢ.0B‡ö?
Event: 1.408 Thread 0x029ac000 Exception <a 'java/lang/ClassNotFoundException': sun/net/www/protocol/e/Handler> (0x04e3e8b0) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u65\4987\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 1.539 Thread 0x029ac000 Exception <a 'java/lang/ClassNotFoundException': sun/net/www/protocol/c/Handler> (0x05137d30) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u65\4987\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 1.539 Thread 0x029ac000 Exception <a 'java/lang/ClassNotFoundException': sun/net/www/protocol/e/Handler> (0x051391b8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u65\4987\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 1.546 Thread 0x029ac000 Exception <a 'java/lang/ClassNotFoundException': sun/net/www/protocol/e/Handler> (0x0513d508) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u65\4987\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 210]
Event: 1.617 Thread 0x029ac000 Exception <a 'java/security/PrivilegedActionException'> (0x051ca638) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u65\4987\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 1.617 Thread 0x029ac000 Exception <a 'java/security/PrivilegedActionException'> (0x051ca838) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u65\4987\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 1.619 Thread 0x029ac000 Exception <a 'java/security/PrivilegedActionException'> (0x051cdc58) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u65\4987\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 1.619 Thread 0x029ac000 Exception <a 'java/security/PrivilegedActionException'> (0x051cde58) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u65\4987\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 3.338 Thread 0x2602c000 Exception <a 'java/io/FileNotFoundException'> (0x052058c8) thrown at [C:\re\workspace\8-2-build-windows-i586-cygwin\jdk8u65\4987\hotspot\src\share\vm\prims\jni.cpp, line 709]
Events (10 events):
Event: 3.506 loading class com/sun/org/apache/xerces/internal/impl/XMLDocumentScannerImpl
Event: 3.508 loading class com/sun/org/apache/xerces/internal/impl/XMLDocumentFragmentScannerImpl
Event: 3.510 loading class com/sun/org/apache/xerces/internal/xni/parser/XMLDocumentScanner
Event: 3.510 loading class com/sun/org/apache/xerces/internal/xni/parser/XMLDocumentSource
Event: 3.511 loading class com/sun/org/apache/xerces/internal/xni/parser/XMLDocumentSource done
Event: 3.511 loading class com/sun/org/apache/xerces/internal/xni/parser/XMLDocumentScanner done
Event: 3.511 loading class com/sun/org/apache/xerces/internal/impl/XMLEntityHandler
Event: 3.511 loading class com/sun/org/apache/xerces/internal/impl/XMLEntityHandler done
Event: 3.511 loading class com/sun/xml/internal/stream/XMLBufferListener
Event: 3.511 loading class com/sun/xml/internal/stream/XMLBufferListener done
Dynamic libraries:
0x00400000 - 0x0044e000 E:\Programs_Portable\EclipsePortable\App\Eclipse\eclipse.exe
0x77270000 - 0x773f0000 C:\Windows\SysWOW64\ntdll.dll
0x76b70000 - 0x76c80000 C:\Windows\syswow64\kernel32.dll
0x75770000 - 0x757b7000 C:\Windows\syswow64\KERNELBASE.dll
0x76cc0000 - 0x76dc0000 C:\Windows\syswow64\USER32.dll
0x758c0000 - 0x75950000 C:\Windows\syswow64\GDI32.dll
0x750e0000 - 0x750ea000 C:\Windows\syswow64\LPK.dll
0x75820000 - 0x758bd000 C:\Windows\syswow64\USP10.dll
0x756c0000 - 0x7576c000 C:\Windows\syswow64\msvcrt.dll
0x75110000 - 0x751b0000 C:\Windows\syswow64\ADVAPI32.dll
0x75a40000 - 0x75a59000 C:\Windows\SysWOW64\sechost.dll
0x75950000 - 0x75a40000 C:\Windows\syswow64\RPCRT4.dll
0x74d80000 - 0x74de0000 C:\Windows\syswow64\SspiCli.dll
0x74d70000 - 0x74d7c000 C:\Windows\syswow64\CRYPTBASE.dll
0x71fa0000 - 0x7213e000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\COMCTL32.dll
0x76ae0000 - 0x76b37000 C:\Windows\syswow64\SHLWAPI.dll
0x74de0000 - 0x74e40000 C:\Windows\system32\IMM32.DLL
0x755f0000 - 0x756bc000 C:\Windows\syswow64\MSCTF.dll
0x00230000 - 0x0023d000 E:\Programs_Portable\EclipsePortable\App\Eclipse\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120913-144807\eclipse_1503.dll
0x73260000 - 0x73269000 C:\Windows\system32\VERSION.dll
0x6de70000 - 0x6def0000 C:\Windows\system32\uxtheme.dll
0x76970000 - 0x76acc000 C:\Windows\system32\ole32.dll
0x675a0000 - 0x67964000 E:\Programs_Portable\EclipsePortable\App\Eclipse\jre\bin\client\jvm.dll
0x73480000 - 0x73487000 C:\Windows\system32\WSOCK32.dll
0x76c80000 - 0x76cb5000 C:\Windows\syswow64\WS2_32.dll
0x76810000 - 0x76816000 C:\Windows\syswow64\NSI.dll
0x6dcb0000 - 0x6dce2000 C:\Windows\system32\WINMM.dll
0x75bb0000 - 0x75bb5000 C:\Windows\syswow64\PSAPI.DLL
0x702d0000 - 0x7038f000 C:\Windows\system32\MSVCR100.dll
0x67590000 - 0x6759c000 E:\Programs_Portable\EclipsePortable\App\Eclipse\jre\bin\verify.dll
0x67560000 - 0x67581000 E:\Programs_Portable\EclipsePortable\App\Eclipse\jre\bin\java.dll
0x67540000 - 0x67553000 E:\Programs_Portable\EclipsePortable\App\Eclipse\jre\bin\zip.dll
0x75bc0000 - 0x7680b000 C:\Windows\syswow64\SHELL32.dll
0x73120000 - 0x7312b000 C:\Windows\system32\profapi.dll
0x72eb0000 - 0x72ec7000 C:\Windows\system32\CRYPTSP.dll
0x72e70000 - 0x72eab000 C:\Windows\system32\rsaenh.dll
0x72860000 - 0x72877000 C:\Windows\system32\USERENV.dll
0x67520000 - 0x67536000 E:\Programs_Portable\EclipsePortable\App\Eclipse\jre\bin\net.dll
0x71e00000 - 0x71e3c000 C:\Windows\system32\mswsock.dll
0x71de0000 - 0x71de6000 C:\Windows\System32\wship6.dll
0x732a0000 - 0x732bc000 C:\Windows\system32\IPHLPAPI.DLL
0x73290000 - 0x73297000 C:\Windows\system32\WINNSI.DLL
0x71e50000 - 0x71e5d000 C:\Windows\system32\dhcpcsvc6.DLL
0x71d40000 - 0x71d52000 C:\Windows\system32\dhcpcsvc.DLL
0x67510000 - 0x6751f000 E:\Programs_Portable\EclipsePortable\App\Eclipse\jre\bin\nio.dll
0x71da0000 - 0x71db0000 C:\Windows\system32\NLAapi.dll
0x711d0000 - 0x711e0000 C:\Windows\system32\napinsp.dll
0x711b0000 - 0x711c2000 C:\Windows\system32\pnrpnsp.dll
0x732e0000 - 0x73324000 C:\Windows\system32\DNSAPI.dll
0x711a0000 - 0x711a8000 C:\Windows\System32\winrnr.dll
0x71d90000 - 0x71d95000 C:\Windows\System32\wshtcpip.dll
0x71c90000 - 0x71c96000 C:\Windows\system32\rasadhlp.dll
0x72380000 - 0x723b8000 C:\Windows\System32\fwpuclnt.dll
0x67420000 - 0x6750b000 C:\Windows\system32\dbghelp.dll
VM Arguments:
jvm_args: -Dosgi.requiredJavaVersion=1.5 -Dhelp.lucene.tokenizer=standard -Xms40m -Xmx512m -XX:MaxPermSize=256m
java_command: <unknown>
java_class_path (initial): E:\Programs_Portable\EclipsePortable\App\Eclipse\\plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
Launcher Type: generic
Environment Variables:
PATH=E:/Programs_Portable/EclipsePortable/App/Eclipse/jre/bin/client;E:/Programs_Portable/EclipsePortable/App/Eclipse/jre/bin;E:/Programs_Portable/EclipsePortable/App/Eclipse/jre/lib/i386;E:\Programs_Portable\CommonFiles\MinGW\bin;C:\ProgramData\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\AMD\ATI.ACE\Core-Static;C:\TortoiseHg\;C:\Git\cmd;C:\Program Files (x86)\Skype\Phone\;E:\Programs_Portable\Dev-Cpp\minGW32\bin;E:\Programs_Portable\EclipsePortable;
USERNAME=Admin
OS=Windows_NT
PROCESSOR_IDENTIFIER=AMD64 Family 16 Model 4 Stepping 3, AuthenticAMD
--------------- S Y S T E M ---------------
OS: Windows 7 , 64 bit Build 7601 (6.1.7601.18798)
CPU:total 4 (4 cores per cpu, 1 threads per core) family 16 model 4 stepping 3, cmov, cx8, fxsr, mmx, sse, sse2, sse3, popcnt, mmxext, 3dnowpref, lzcnt, sse4a, tsc, tscinvbit, tscinv
Memory: 4k page, physical 7567052k(6066964k free), swap 15132252k(13562444k free)
vm_info: Java HotSpot(TM) Client VM (25.65-b01) for windows-x86 JRE (1.8.0_65-b17), built on Oct 6 2015 17:26:22 by "java_re" with MS VC++ 10.0 (VS2010)
time: Fri Oct 28 11:19:26 2016
elapsed time: 3 seconds (0d 0h 0m 3s)
As #Thorbjørn Ravn Andersen mentioned, reinstalling java solved the problem
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);
}
}
We tried to convert the c++ Code from Detection of coins (and fit ellipses) on an image into Java. After solving the first problem in the thread Problems with OpenCV ellipse detection in Java, starting the program with the parameters
2 PathToThePicture
leads to following fatal error
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000005addc330, pid=1700, tid=1472
#
# JRE version: Java(TM) SE Runtime Environment (7.0_45-b18) (build 1.7.0_45-b18)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (24.45-b08 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [msvcr100.dll+0x3c330]
#
# 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:
# PathToTheProject\hs_err_pid1700.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.
#
Error report:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x670d26df, pid=2832, tid=5672
#
# JRE version: Java(TM) SE Runtime Environment (7.0_51-b13) (build 1.7.0_51-b13)
# Java VM: Java HotSpot(TM) Client VM (24.51-b03 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [msvcr100.dll+0x26df]
#
# 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
# 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 (0x004eb800): JavaThread "main" [_thread_in_native, id=5672, stack(0x00570000,0x005c0000)]
siginfo: ExceptionCode=0xc0000005, writing address 0x00000000
Registers:
EAX=0x00000000, EBX=0x005bfb7c, ECX=0x00000016, EDX=0x00000000
ESP=0x005bfaf4, EBP=0x005bfb18, ESI=0x004eb930, EDI=0x00000000
EIP=0x670d26df, EFLAGS=0x00010202
Top of Stack: (sp=0x005bfaf4)
0x005bfaf4: 00000000 670c1eb2 00000000 00000000
0x005bfb04: 00000058 004eb800 34a45f90 34a45f90
0x005bfb14: 004eb930 005bfb60 0226a9dd 004eb930
0x005bfb24: 005bfb68 005bfb7c 00000000 00000058
0x005bfb34: 00000000 004ec15c 004ec15c 005bfb40
0x005bfb44: 34a45f90 005bfb7c 34aaf550 00000000
0x005bfb54: 34a45f90 00000000 005bfb70 005bfba0
0x005bfb64: 0226339a 24ef55f8 022688e6 00000058
Instructions: (pc=0x670d26df)
0x670d26bf: 83 c7 01 83 e9 01 75 f6 8b c8 c1 e0 08 03 c1 8b
0x670d26cf: c8 c1 e0 10 03 c1 8b ca 83 e2 03 c1 e9 02 74 06
0x670d26df: f3 ab 85 d2 74 0a 88 07 83 c7 01 83 ea 01 75 f6
0x670d26ef: 8b 44 24 08 5f c3 8b 44 24 04 c3 90 90 90 90 90
Register to memory mapping:
EAX=0x00000000 is an unknown value
EBX=0x005bfb7c is pointing into the stack for thread: 0x004eb800
ECX=0x00000016 is an unknown value
EDX=0x00000000 is an unknown value
ESP=0x005bfaf4 is pointing into the stack for thread: 0x004eb800
EBP=0x005bfb18 is pointing into the stack for thread: 0x004eb800
ESI=0x004eb930 is an unknown value
EDI=0x00000000 is an unknown value
Stack: [0x00570000,0x005c0000], sp=0x005bfaf4, free space=318k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [msvcr100.dll+0x26df]
j com.googlecode.javacpp.Pointer.memset(Lcom/googlecode/javacpp/Pointer;IJ)Lcom/googlecode/javacpp/Pointer;+0
j com.googlecode.javacpp.Pointer.fill(I)Lcom/googlecode/javacpp/Pointer;+107
j com.googlecode.javacpp.Pointer.zero()Lcom/googlecode/javacpp/Pointer;+2
j com.googlecode.javacv.cpp.opencv_core$CvSeq.<init>()V+9
j com.googlecode.javacv.cpp.opencv_core$CvContour.<init>()V+1
j Dieter.main([Ljava/lang/String;)V+67
v ~StubRoutines::call_stub
V [jvm.dll+0x13f35a]
V [jvm.dll+0x202c6e]
V [jvm.dll+0x13f3dd]
V [jvm.dll+0xc9945]
V [jvm.dll+0xd45e7]
C [javaw.exe+0x2070]
C [javaw.exe+0xa5b1]
C [javaw.exe+0xa63b]
C [KERNEL32.DLL+0x1495d]
C [ntdll.dll+0x498ee]
C [ntdll.dll+0x498c4]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.googlecode.javacpp.Pointer.memset(Lcom/googlecode/javacpp/Pointer;IJ)Lcom/googlecode/javacpp/Pointer;+0
j com.googlecode.javacpp.Pointer.fill(I)Lcom/googlecode/javacpp/Pointer;+107
j com.googlecode.javacpp.Pointer.zero()Lcom/googlecode/javacpp/Pointer;+2
j com.googlecode.javacv.cpp.opencv_core$CvSeq.<init>()V+9
j com.googlecode.javacv.cpp.opencv_core$CvContour.<init>()V+1
j Dieter.main([Ljava/lang/String;)V+67
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x00826800 JavaThread "Service Thread" daemon [_thread_blocked, id=7436, stack(0x044e0000,0x04530000)]
0x00820c00 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=6644, stack(0x04450000,0x044a0000)]
0x0081fc00 JavaThread "Attach Listener" daemon [_thread_blocked, id=1156, stack(0x043c0000,0x04410000)]
0x0081c800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1820, stack(0x04330000,0x04380000)]
0x007b0400 JavaThread "Finalizer" daemon [_thread_blocked, id=5456, stack(0x042a0000,0x042f0000)]
0x007ae800 JavaThread "Reference Handler" daemon [_thread_blocked, id=2588, stack(0x00de0000,0x00e30000)]
=>0x004eb800 JavaThread "main" [_thread_in_native, id=5672, stack(0x00570000,0x005c0000)]
Other Threads:
0x007ad400 VMThread [stack: 0x00d50000,0x00da0000] [id=3176]
0x0083e000 WatcherThread [stack: 0x04570000,0x045c0000] [id=4452]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 4928K, used 1323K [0x24a20000, 0x24f70000, 0x29f70000)
eden space 4416K, 18% used [0x24a20000, 0x24aeafe8, 0x24e70000)
from space 512K, 100% used [0x24ef0000, 0x24f70000, 0x24f70000)
to space 512K, 0% used [0x24e70000, 0x24e70000, 0x24ef0000)
tenured generation total 10944K, used 370K [0x29f70000, 0x2aa20000, 0x34a20000)
the space 10944K, 3% used [0x29f70000, 0x29fccb38, 0x29fccc00, 0x2aa20000)
compacting perm gen total 12288K, used 912K [0x34a20000, 0x35620000, 0x38a20000)
the space 12288K, 7% used [0x34a20000, 0x34b04270, 0x34b04400, 0x35620000)
ro space 10240K, 41% used [0x38a20000, 0x38e52050, 0x38e52200, 0x39420000)
rw space 12288K, 52% used [0x39420000, 0x39a66800, 0x39a66800, 0x3a020000)
Card table byte_map: [0x00c40000,0x00cf0000] byte_map_base: 0x00b1af00
Polling page: 0x004c0000
Code Cache [0x02260000, 0x02320000, 0x04260000)
total_blobs=266 nmethods=113 adapters=90 free_code_cache=32016Kb largest_free_block=32785344
Compilation events (10 events):
Event: 0.214 Thread 0x00820c00 108 java.util.AbstractList$Itr::hasNext (20 bytes)
Event: 0.214 Thread 0x00820c00 nmethod 108 0x02319d48 code [0x02319e50, 0x02319f0c]
Event: 0.215 Thread 0x00820c00 110 com.googlecode.javacpp.Loader$ClassProperties::addAll (183 bytes)
Event: 0.216 Thread 0x00820c00 nmethod 110 0x0231a248 code [0x0231a490, 0x0231ac68]
Event: 0.216 Thread 0x00820c00 111 java.lang.String::indexOf (25 bytes)
Event: 0.216 Thread 0x00820c00 nmethod 111 0x0231b488 code [0x0231b590, 0x0231b65c]
Event: 0.217 Thread 0x00820c00 112 java.lang.Character::toLowerCase (6 bytes)
Event: 0.217 Thread 0x00820c00 nmethod 112 0x0231b748 code [0x0231b850, 0x0231b8f8]
Event: 0.218 Thread 0x00820c00 113 java.util.Hashtable$Enumerator::hasMoreElements (53 bytes)
Event: 0.218 Thread 0x00820c00 nmethod 113 0x0231b988 code [0x0231ba80, 0x0231bb60]
GC Heap History (2 events):
Event: 0.204 GC heap before
{Heap before GC invocations=0 (full 0):
def new generation total 4928K, used 4416K [0x24a20000, 0x24f70000, 0x29f70000)
eden space 4416K, 100% used [0x24a20000, 0x24e70000, 0x24e70000)
from space 512K, 0% used [0x24e70000, 0x24e70000, 0x24ef0000)
to space 512K, 0% used [0x24ef0000, 0x24ef0000, 0x24f70000)
tenured generation total 10944K, used 0K [0x29f70000, 0x2aa20000, 0x34a20000)
the space 10944K, 0% used [0x29f70000, 0x29f70000, 0x29f70200, 0x2aa20000)
compacting perm gen total 12288K, used 887K [0x34a20000, 0x35620000, 0x38a20000)
the space 12288K, 7% used [0x34a20000, 0x34afdfc8, 0x34afe000, 0x35620000)
ro space 10240K, 41% used [0x38a20000, 0x38e52050, 0x38e52200, 0x39420000)
rw space 12288K, 52% used [0x39420000, 0x39a66800, 0x39a66800, 0x3a020000)
Event: 0.206 GC heap after
Heap after GC invocations=1 (full 0):
def new generation total 4928K, used 512K [0x24a20000, 0x24f70000, 0x29f70000)
eden space 4416K, 0% used [0x24a20000, 0x24a20000, 0x24e70000)
from space 512K, 100% used [0x24ef0000, 0x24f70000, 0x24f70000)
to space 512K, 0% used [0x24e70000, 0x24e70000, 0x24ef0000)
tenured generation total 10944K, used 370K [0x29f70000, 0x2aa20000, 0x34a20000)
the space 10944K, 3% used [0x29f70000, 0x29fccb38, 0x29fccc00, 0x2aa20000)
compacting perm gen total 12288K, used 887K [0x34a20000, 0x35620000, 0x38a20000)
the space 12288K, 7% used [0x34a20000, 0x34afdfc8, 0x34afe000, 0x35620000)
ro space 10240K, 41% used [0x38a20000, 0x38e52050, 0x38e52200, 0x39420000)
rw space 12288K, 52% used [0x39420000, 0x39a66800, 0x39a66800, 0x3a020000)
}
Deoptimization events (0 events):
No events
Internal exceptions (10 events):
Event: 0.177 Thread 0x004eb800 Threw 0x24e2f6d8 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 0.177 Thread 0x004eb800 Threw 0x24e33ec8 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 0.203 Thread 0x004eb800 Threw 0x24e569d8 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 0.206 Thread 0x004eb800 Threw 0x24a27c80 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 0.207 Thread 0x004eb800 Threw 0x24a2ad28 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 0.207 Thread 0x004eb800 Threw 0x24a2dc90 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 0.207 Thread 0x004eb800 Threw 0x24a314d0 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 0.208 Thread 0x004eb800 Threw 0x24a5f148 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 0.216 Thread 0x004eb800 Threw 0x24acf300 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
Event: 0.217 Thread 0x004eb800 Threw 0x24ad3248 at C:\re\jdk7u51\527\hotspot\src\share\vm\prims\jvm.cpp:1244
Events (10 events):
Event: 0.207 loading class 0x0462fa78
Event: 0.207 loading class 0x0462fa78 done
Event: 0.208 loading class 0x0462fe38
Event: 0.208 loading class 0x0462fe38 done
Event: 0.216 loading class 0x0083ef48
Event: 0.216 loading class 0x0083ef48 done
Event: 0.217 loading class 0x0083f338
Event: 0.217 loading class 0x0083f338 done
Event: 0.218 loading class 0x3a040448
Event: 0.218 loading class 0x3a040448 done
Dynamic libraries:
0x00e30000 - 0x00e5f000 C:\Program Files (x86)\Java\jre7\bin\javaw.exe
0x76ed0000 - 0x77038000 C:\Windows\SYSTEM32\ntdll.dll
0x74b20000 - 0x74c60000 C:\Windows\SYSTEM32\KERNEL32.DLL
0x751e0000 - 0x752af000 C:\Windows\SYSTEM32\KERNELBASE.dll
0x69530000 - 0x695ca000 C:\Windows\system32\apphelp.dll
0x64c10000 - 0x64e62000 C:\Windows\AppPatch\AcGenral.DLL
0x74f90000 - 0x7504e000 C:\Windows\SYSTEM32\msvcrt.dll
0x74ae0000 - 0x74b1e000 C:\Windows\SYSTEM32\sechost.dll
0x74900000 - 0x7491d000 C:\Windows\SYSTEM32\SspiCli.dll
0x76bd0000 - 0x76c11000 C:\Windows\SYSTEM32\SHLWAPI.dll
0x73df0000 - 0x73ecc000 C:\Windows\SYSTEM32\UxTheme.dll
0x74ca0000 - 0x74def000 C:\Windows\SYSTEM32\USER32.dll
0x76a10000 - 0x76b18000 C:\Windows\SYSTEM32\GDI32.dll
0x73a30000 - 0x73a50000 C:\Windows\SYSTEM32\WINMM.dll
0x73c70000 - 0x73c82000 C:\Windows\SYSTEM32\samcli.dll
0x76c70000 - 0x76d7b000 C:\Windows\SYSTEM32\ole32.dll
0x74a40000 - 0x74ac7000 C:\Windows\SYSTEM32\OLEAUT32.dll
0x731a0000 - 0x731b5000 C:\Windows\SYSTEM32\MSACM32.dll
0x74880000 - 0x74888000 C:\Windows\SYSTEM32\VERSION.dll
0x75860000 - 0x76a03000 C:\Windows\SYSTEM32\SHELL32.dll
0x739c0000 - 0x739d9000 C:\Windows\SYSTEM32\USERENV.dll
0x739f0000 - 0x73a09000 C:\Windows\SYSTEM32\dwmapi.dll
0x73210000 - 0x73334000 C:\Windows\SYSTEM32\urlmon.dll
0x75060000 - 0x750d7000 C:\Windows\SYSTEM32\ADVAPI32.dll
0x74820000 - 0x7487e000 C:\Windows\SYSTEM32\WINSPOOL.DRV
0x67500000 - 0x67514000 C:\Windows\SYSTEM32\MPR.dll
0x752b0000 - 0x75361000 C:\Windows\SYSTEM32\RPCRT4.dll
0x748f0000 - 0x748f9000 C:\Windows\SYSTEM32\CRYPTBASE.dll
0x75380000 - 0x754ce000 C:\Windows\SYSTEM32\combase.dll
0x73a10000 - 0x73a30000 C:\Windows\SYSTEM32\WINMMBASE.dll
0x74050000 - 0x7405e000 C:\Windows\SYSTEM32\profapi.dll
0x72e30000 - 0x73047000 C:\Windows\SYSTEM32\iertutil.dll
0x72c60000 - 0x72e24000 C:\Windows\SYSTEM32\WININET.dll
0x74890000 - 0x748e1000 C:\Windows\SYSTEM32\bcryptPrimitives.dll
0x74f40000 - 0x74f7a000 C:\Windows\SYSTEM32\cfgmgr32.dll
0x74800000 - 0x7481f000 C:\Windows\SYSTEM32\DEVOBJ.dll
0x74060000 - 0x740d7000 C:\Windows\SYSTEM32\SHCORE.DLL
0x74920000 - 0x74945000 C:\Windows\system32\IMM32.DLL
0x750e0000 - 0x751d7000 C:\Windows\SYSTEM32\MSCTF.dll
0x74450000 - 0x74635000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.9600.16384_none_a9f4965301334e09\COMCTL32.dll
0x670d0000 - 0x6718f000 C:\Program Files (x86)\Java\jre7\bin\msvcr100.dll
0x64f80000 - 0x65300000 C:\Program Files (x86)\Java\jre7\bin\client\jvm.dll
0x74040000 - 0x74048000 C:\Windows\SYSTEM32\WSOCK32.dll
0x749a0000 - 0x749a6000 C:\Windows\SYSTEM32\PSAPI.DLL
0x76c20000 - 0x76c6d000 C:\Windows\SYSTEM32\WS2_32.dll
0x74f80000 - 0x74f87000 C:\Windows\SYSTEM32\NSI.dll
0x66ba0000 - 0x66bac000 C:\Program Files (x86)\Java\jre7\bin\verify.dll
0x66b80000 - 0x66ba0000 C:\Program Files (x86)\Java\jre7\bin\java.dll
0x66b60000 - 0x66b73000 C:\Program Files (x86)\Java\jre7\bin\zip.dll
0x66910000 - 0x66979000 C:\Windows\System32\msvcp100.dll
0x70fc0000 - 0x71ef6000 C:\opencv\build\x86\vc10\bin\opencv_ffmpeg248.dll
0x64a00000 - 0x64c06000 C:\opencv\build\x86\vc10\bin\opencv_core248.dll
0x64790000 - 0x649fb000 C:\opencv\build\x86\vc10\bin\opencv_imgproc248.dll
0x64580000 - 0x64787000 C:\opencv\build\x86\vc10\bin\opencv_highgui248.dll
0x66d80000 - 0x66d99000 C:\Windows\SYSTEM32\AVIFIL32.dll
0x67490000 - 0x674b2000 C:\Windows\SYSTEM32\MSVFW32.dll
0x66d60000 - 0x66d74000 C:\Windows\SYSTEM32\AVICAP32.dll
0x670c0000 - 0x670cf000 F:\tmp\javacpp367334687899361\jniopencv_highgui.dll
0x66810000 - 0x66885000 F:\tmp\javacpp367334687899361\jniopencv_core.dll
0x72260000 - 0x723a8000 C:\Windows\SYSTEM32\dbghelp.dll
VM Arguments:
jvm_args: -Dfile.encoding=Cp1252
java_command: DetectEllipse 2 PathToPicture
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=C:/Program Files (x86)/Java/jre7/bin/client;C:/Program Files (x86)/Java/jre7/bin;C:/Program Files (x86)/Java/jre7/lib/i386;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\IVI Foundation\VISA\WinNT\Bin;F:\Programmieren\tools\eclipse 32bit;
USERNAME=Username
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 60 Stepping 3, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 8 , 64 bit Build 9200
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, erms, tsc, tscinvbit
Memory: 4k page, physical 8325332k(5583064k free), swap 13445332k(10026960k free)
vm_info: Java HotSpot(TM) Client VM (24.51-b03) for windows-x86 JRE (1.7.0_51-b13), built on Dec 18 2013 19:09:58 by "java_re" with unknown MS VC++:1600
time: Sun Feb 23 01:12:58 2014
elapsed time: 0 seconds
Here is the converted Java-Code:
import static com.googlecode.javacv.cpp.opencv_core.CV_FILLED;
import static com.googlecode.javacv.cpp.opencv_core.CV_RGB;
import static com.googlecode.javacv.cpp.opencv_core.CV_WHOLE_SEQ;
import static com.googlecode.javacv.cpp.opencv_core.cvCreateImage;
import static com.googlecode.javacv.cpp.opencv_core.cvCreateMemStorage;
import static com.googlecode.javacv.cpp.opencv_core.cvDrawContours;
import static com.googlecode.javacv.cpp.opencv_core.cvGetSize;
import static com.googlecode.javacv.cpp.opencv_core.cvPoint;
import static com.googlecode.javacv.cpp.opencv_core.cvScalar;
import static com.googlecode.javacv.cpp.opencv_core.cvXorS;
import static com.googlecode.javacv.cpp.opencv_core.cvZero;
import static com.googlecode.javacv.cpp.opencv_highgui.cvLoadImage;
import static com.googlecode.javacv.cpp.opencv_highgui.cvSaveImage;
import static com.googlecode.javacv.cpp.opencv_imgproc.CV_CHAIN_APPROX_SIMPLE;
import static com.googlecode.javacv.cpp.opencv_imgproc.CV_RETR_CCOMP;
import static com.googlecode.javacv.cpp.opencv_imgproc.CV_THRESH_BINARY;
import static com.googlecode.javacv.cpp.opencv_imgproc.cvContourArea;
import static com.googlecode.javacv.cpp.opencv_imgproc.cvDilate;
import static com.googlecode.javacv.cpp.opencv_imgproc.cvFindContours;
import static com.googlecode.javacv.cpp.opencv_imgproc.cvThreshold;
import com.googlecode.javacpp.Loader;
import com.googlecode.javacv.cpp.opencv_core.CvContour;
import com.googlecode.javacv.cpp.opencv_core.CvMemStorage;
import com.googlecode.javacv.cpp.opencv_core.CvRect;
import com.googlecode.javacv.cpp.opencv_core.CvScalar;
import com.googlecode.javacv.cpp.opencv_core.CvSeq;
import com.googlecode.javacv.cpp.opencv_core.IplImage;
public class DetectEllipse{
public static final double M_PI = 3.14159265358979323846;
public static final double MIN_AREA = 100.00;
public static final double MAX_TOL = 100.00;
private static int[] array = { 0 };
//
// We need this to be high enough to get rid of things that are too small
// too
// have a definite shape. Otherwise, they will end up as ellipse false
// positives.
//
//
// One way to tell if an object is an ellipse is to look at the relationship
// of its area to its dimensions. If its actual occupied area can be
// estimated
// using the well-known area formula Area = PI*A*B, then it has a good
// chance of
// being an ellipse.
//
// This value is the maximum permissible error between actual and estimated
// area.
//
public static void main(String[] args) {
IplImage src = cvLoadImage(args[1], 0);
if (src == null) {
System.out.println("!!! Unable to load image: " + args[1]);
return;
}
// the first command line parameter must be file name of binary
// (black-n-white) image
if (Integer.parseInt(args[0]) == 2) {
IplImage dst = cvCreateImage(cvGetSize(src), 8, 3);
CvMemStorage storage = cvCreateMemStorage(0);
CvSeq contour = new CvContour();
// maybe: = new CvSeq(0)
cvThreshold(src, src, 1, 255, CV_THRESH_BINARY);
//
// Invert the image such that white is foreground, black is
// background.
// Dilate to get rid of noise.
//
cvXorS(src, cvScalar(255, 0, 0, 0), src, null);
cvDilate(src, src, null, 2);
cvFindContours(src, storage, contour,
Loader.sizeof(CvContour.class), CV_RETR_CCOMP,
CV_CHAIN_APPROX_SIMPLE, cvPoint(0, 0));
cvZero(dst);
for (; contour.flags() != 0; contour = contour.h_next()) {
// if not working: use contour.isNull()
double actual_area = Math.abs(cvContourArea(contour,
CV_WHOLE_SEQ, 0));
if (actual_area < MIN_AREA)
continue;
//
// FIXME:
// Assuming the axes of the ellipse are vertical/perpendicular.
//
CvRect rect = ((CvContour) contour).rect();
int A = rect.width() / 2;
int B = rect.height() / 2;
double estimated_area = Math.PI * A * B;
double error = Math.abs(actual_area - estimated_area);
if (error > MAX_TOL)
continue;
System.out.printf("center x: %d y: %d A: %d B: %d\n", rect.x()
+ A, rect.y() + B, A, B);
CvScalar color = CV_RGB(
tangible.RandomNumbers.nextNumber() % 255,
tangible.RandomNumbers.nextNumber() % 255,
tangible.RandomNumbers.nextNumber() % 255);
cvDrawContours(dst, contour, color, color, -1, CV_FILLED, 8,
cvPoint(0, 0));
}
cvSaveImage("coins.png", dst, array);
}
}
}
cvThreshold() expects a single channel image, and you are telling it to store the result in a 3-channel image, hence the crash!
You can call cvCreateImage() to create a single channel IplImage.
Good luck!
I created a Java chat application several years ago on my 32-bit system and am using native code to achieve a window flash when a message is received and the window is minimized. I recompiled the C++ code that does the flashing with a 64-bit compiler and I have the 64-bit JRE version. However, when attempting to run the flash, I get an exception.
Below is the C++ code and below that is the output of the log file. Thanks for any insight.
#include "FlashWindow.h"
#include <jawt_md.h>
#include <assert.h>
// Handle to JAWT
//HMODULE hJAWT = NULL;
JNIEXPORT void JNICALL Java_chatwindow_FlashWindow_flashWindow(JNIEnv* env, jobject obj, jobject panel)
{
JAWT awt;
JAWT_DrawingSurface* ds;
JAWT_DrawingSurfaceInfo* dsi;
JAWT_Win32DrawingSurfaceInfo* dsi_win;
jboolean result;
jint lock;
// Call to get JAWT handle
typedef jboolean (JNICALL *PJAWT_GETAWT)(JNIEnv*, JAWT*);
HMODULE hJAWT = 0;
wchar_t* path1 = L"jawt.dll";
wchar_t* path2 = L"awt.dll";
if (!hJAWT)
hJAWT = LoadLibraryW(path1);
if (!hJAWT)
hJAWT = LoadLibraryW(path2);
//PJAWT_GETAWT JAWT_GetAWT = (PJAWT_GETAWT)GetProcAddress(hJAWT, "_JAWT_GetAWT#8");
PJAWT_GETAWT JAWT_GetAWT = (PJAWT_GETAWT)GetProcAddress(hJAWT, "JAWT_GetAWT"); // newer version 1.6
// Get the AWT
awt.version = JAWT_VERSION_1_4;
result = JAWT_GetAWT(env, &awt);
assert(result != JNI_FALSE);
// Get the drawing surface
ds = awt.GetDrawingSurface(env, panel);
if (ds == NULL)
return;
// Lock the drawing surface
lock = ds->Lock(ds);
assert((lock & JAWT_LOCK_ERROR) == 0);
// Get the drawing surface info
dsi = ds->GetDrawingSurfaceInfo(ds);
// Get the platform-specific drawing info
dsi_win = (JAWT_Win32DrawingSurfaceInfo*)dsi->platformInfo;
FlashWindow(dsi_win->hwnd, TRUE);
// Free the drawing surface info
ds->FreeDrawingSurfaceInfo(dsi);
// Unlock the drawing surface
ds->Unlock(ds);
// Free the drawing surface
awt.FreeDrawingSurface(ds);
}
This is the Log file:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000000000000, pid=4484, tid=8596
#
# JRE version: 7.0_05-b06
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.1-b03 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C 0x0000000000000000
#
# 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
# 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 (0x0000000009ecf800): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=8596, stack(0x000000000a630000,0x000000000a730000)]
siginfo: ExceptionCode=0xc0000005, ExceptionInformation=0x0000000000000008 0x0000000000000000
Registers:
RAX=0x0000000000000006, RBX=0x00000000bc26a520, RCX=0x0000000009ecf9d8, RDX=0x000000000a72e240
RSP=0x000000000a72e1e8, RBP=0x000000000a72e310, RSI=0x00000000bbc62df8, RDI=0x00000000021a63d3
R8 =0x000000000a72c408, R9 =0x000000000a72c690, R10=0x0000000000000000, R11=0x0000000000000246
R12=0x0000000000000000, R13=0x00000000bc26a520, R14=0x000000000a72e338, R15=0x0000000009ecf800
RIP=0x0000000000000000, EFLAGS=0x0000000000010206
Top of Stack: (sp=0x000000000a72e1e8)
0x000000000a72e1e8: 000007fefc0310e0 000007fefc0392e4
0x000000000a72e1f8: 0000000000000000 00000000777d0000
0x000000000a72e208: 00000000000003be 000007fefc0392a8
0x000000000a72e218: 00000000bbc62df8 0000000009ec9840
0x000000000a72e228: 000000006c550000 000000000a72e798
0x000000000a72e238: 000007fefc039290 0000000000010004
0x000000000a72e248: 0000000009ebbe28 00000000bbc62df8
0x000000000a72e258: 00000000021a63d3 00000000bc26a520
0x000000000a72e268: 00000000021b2215 0000000009ebbe00
0x000000000a72e278: 0000000000000000 000000000a72e310
0x000000000a72e288: 0000000009ebbe68 00000000fffffffe
0x000000000a72e298: 00000000021b2388 0000000009ecf9d8
0x000000000a72e2a8: 000000000a72e338 000000000a72e330
0x000000000a72e2b8: 00000000bb6b399b 0000000009ecf800
0x000000000a72e2c8: 000000000a72e398 000000000a72e2d0
0x000000000a72e2d8: 00000000bc26a520 000000000a72e338
Instructions: (pc=0x0000000000000000)
0x00000000ffffffe0:
Register to memory mapping:
RAX=0x0000000000000006 is an unknown value
RBX=0x00000000bc26a520 is an oop
{method}
- klass: {other class}
RCX=0x0000000009ecf9d8 is an unknown value
RDX=0x000000000a72e240 is pointing into the stack for thread: 0x0000000009ecf800
RSP=0x000000000a72e1e8 is pointing into the stack for thread: 0x0000000009ecf800
RBP=0x000000000a72e310 is pointing into the stack for thread: 0x0000000009ecf800
RSI=0x00000000bbc62df8 is an oop
{instance class}
- klass: {other class}
RDI=0x00000000021a63d3 is an Interpreter codelet
return entry points [0x00000000021a5820, 0x00000000021a7620] 7680 bytes
R8 =0x000000000a72c408 is pointing into the stack for thread: 0x0000000009ecf800
R9 =0x000000000a72c690 is pointing into the stack for thread: 0x0000000009ecf800
R10=0x0000000000000000 is an unknown value
R11=0x0000000000000246 is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x00000000bc26a520 is an oop
{method}
- klass: {other class}
R14=0x000000000a72e338 is pointing into the stack for thread: 0x0000000009ecf800
R15=0x0000000009ecf800 is a thread
Stack: [0x000000000a630000,0x000000000a730000], sp=0x000000000a72e1e8, free space=1016k
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j chatwindow.FlashWindow.flashWindow(Ljava/awt/Window;)V+0
j chatwindow.FlashWindow.actionPerformed(Ljava/awt/event/ActionEvent;)V+5
j javax.swing.Timer.fireActionPerformed(Ljava/awt/event/ActionEvent;)V+35
j javax.swing.Timer$DoPostEvent.run()V+74
j java.awt.event.InvocationEvent.dispatch()V+47
j java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V+21
j java.awt.EventQueue.access$000(Ljava/awt/EventQueue;Ljava/awt/AWTEvent;Ljava/lang/Object;)V+3
j java.awt.EventQueue$3.run()Ljava/lang/Void;+12
j java.awt.EventQueue$3.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j java.security.ProtectionDomain$1.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+28
j java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
j java.awt.EventDispatchThread.pumpOneEventForFilters(I)V+245
j java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+48
j java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
j java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
j java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
j java.awt.EventDispatchThread.run()V+9
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x000000000b387000 JavaThread "Thread-6" [_thread_in_native, id=1524, stack(0x000000000e6e0000,0x000000000e7e0000)]
0x0000000009fbb800 JavaThread "Thread-5" [_thread_in_native, id=23732, stack(0x000000000e340000,0x000000000e440000)]
0x0000000009fba800 JavaThread "Thread-4" [_thread_blocked, id=6708, stack(0x000000000e480000,0x000000000e580000)]
0x000000000b5e1000 JavaThread "TimerQueue" daemon [_thread_blocked, id=20876, stack(0x000000000def0000,0x000000000dff0000)]
0x0000000001c2c000 JavaThread "DestroyJavaVM" [_thread_blocked, id=14396, stack(0x00000000020a0000,0x00000000021a0000)]
=>0x0000000009ecf800 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=8596, stack(0x000000000a630000,0x000000000a730000)]
0x0000000009e71800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=16484, stack(0x000000000a4b0000,0x000000000a5b0000)]
0x0000000009e70800 JavaThread "AWT-Shutdown" [_thread_blocked, id=4076, stack(0x0000000009b70000,0x0000000009c70000)]
0x00000000085a0800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=8804, stack(0x000000000a250000,0x000000000a350000)]
0x000000000856c000 JavaThread "Service Thread" daemon [_thread_blocked, id=8644, stack(0x0000000009a20000,0x0000000009b20000)]
0x0000000008560800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=8480, stack(0x0000000009590000,0x0000000009690000)]
0x0000000008557000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=7688, stack(0x00000000098f0000,0x00000000099f0000)]
0x0000000008555000 JavaThread "Attach Listener" daemon [_thread_blocked, id=8840, stack(0x0000000009700000,0x0000000009800000)]
0x0000000008553800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=23208, stack(0x0000000009460000,0x0000000009560000)]
0x00000000084ce800 JavaThread "Finalizer" daemon [_thread_blocked, id=8204, stack(0x0000000009340000,0x0000000009440000)]
0x00000000084c3800 JavaThread "Reference Handler" daemon [_thread_blocked, id=16568, stack(0x0000000009150000,0x0000000009250000)]
Other Threads:
0x00000000084bd800 VMThread [stack: 0x0000000008fe0000,0x00000000090e0000] [id=12092]
0x0000000008577000 WatcherThread [stack: 0x0000000009cd0000,0x0000000009dd0000] [id=25236]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
PSYoungGen total 18944K, used 5492K [0x00000000ead60000, 0x00000000ec280000, 0x0000000000000000)
eden space 16256K, 17% used [0x00000000ead60000,0x00000000eb023b38,0x00000000ebd40000)
from space 2688K, 99% used [0x00000000ebd40000,0x00000000ebfd9780,0x00000000ebfe0000)
to space 2688K, 0% used [0x00000000ebfe0000,0x00000000ebfe0000,0x00000000ec280000)
ParOldGen total 43328K, used 1169K [0x00000000c0800000, 0x00000000c3250000, 0x00000000ead60000)
object space 43328K, 2% used [0x00000000c0800000,0x00000000c0924768,0x00000000c3250000)
PSPermGen total 21248K, used 13781K [0x00000000bb600000, 0x00000000bcac0000, 0x00000000c0800000)
object space 21248K, 64% used [0x00000000bb600000,0x00000000bc375570,0x00000000bcac0000)
Code Cache [0x00000000021a0000, 0x0000000002410000, 0x00000000051a0000)
total_blobs=545 nmethods=91 adapters=405 free_code_cache=48341Kb largest_free_block=49473088
Compilation events (10 events):
Event: 7.678 Thread 0x0000000008557000 nmethod 83 0x000000000226c290 code [0x000000000226c400, 0x000000000226c518]
Event: 7.679 Thread 0x0000000008560800 nmethod 84 0x000000000226da10 code [0x000000000226db60, 0x000000000226dcb8]
Event: 7.679 Thread 0x0000000008557000 85 ! sun.awt.AppContext::get (121 bytes)
Event: 7.681 Thread 0x0000000008560800 86 s java.util.Hashtable::get (69 bytes)
Event: 7.684 Thread 0x0000000008560800 nmethod 86 0x000000000226d190 code [0x000000000226d2e0, 0x000000000226d818]
Event: 7.687 Thread 0x0000000008557000 nmethod 85 0x000000000226b450 code [0x000000000226b5c0, 0x000000000226bdd8]
Event: 8.873 Thread 0x0000000008560800 87 java.awt.Component::getTreeLock (4 bytes)
Event: 8.874 Thread 0x0000000008560800 nmethod 87 0x000000000226cf90 code [0x000000000226d0c0, 0x000000000226d118]
Event: 11.592 Thread 0x0000000008557000 88 java.util.Hashtable$Enumerator::hasMoreElements (53 bytes)
Event: 11.595 Thread 0x0000000008557000 nmethod 88 0x000000000226cc10 code [0x000000000226cd40, 0x000000000226ceb8]
GC Heap History (2 events):
Event: 6.628 GC heap before
{Heap before GC invocations=1 (full 0):
PSYoungGen total 18944K, used 16256K [0x00000000ead60000, 0x00000000ec280000, 0x0000000000000000)
eden space 16256K, 100% used [0x00000000ead60000,0x00000000ebd40000,0x00000000ebd40000)
from space 2688K, 0% used [0x00000000ebfe0000,0x00000000ebfe0000,0x00000000ec280000)
to space 2688K, 0% used [0x00000000ebd40000,0x00000000ebd40000,0x00000000ebfe0000)
ParOldGen total 43328K, used 0K [0x00000000c0800000, 0x00000000c3250000, 0x00000000ead60000)
object space 43328K, 0% used [0x00000000c0800000,0x00000000c0800000,0x00000000c3250000)
PSPermGen total 21248K, used 12632K [0x00000000bb600000, 0x00000000bcac0000, 0x00000000c0800000)
object space 21248K, 59% used [0x00000000bb600000,0x00000000bc2562f0,0x00000000bcac0000)
Event: 6.648 GC heap after
Heap after GC invocations=1 (full 0):
PSYoungGen total 18944K, used 2661K [0x00000000ead60000, 0x00000000ec280000, 0x0000000000000000)
eden space 16256K, 0% used [0x00000000ead60000,0x00000000ead60000,0x00000000ebd40000)
from space 2688K, 99% used [0x00000000ebd40000,0x00000000ebfd9780,0x00000000ebfe0000)
to space 2688K, 0% used [0x00000000ebfe0000,0x00000000ebfe0000,0x00000000ec280000)
ParOldGen total 43328K, used 1169K [0x00000000c0800000, 0x00000000c3250000, 0x00000000ead60000)
object space 43328K, 2% used [0x00000000c0800000,0x00000000c0924768,0x00000000c3250000)
PSPermGen total 21248K, used 12632K [0x00000000bb600000, 0x00000000bcac0000, 0x00000000c0800000)
object space 21248K, 59% used [0x00000000bb600000,0x00000000bc2562f0,0x00000000bcac0000)
}
Deoptimization events (10 events):
Event: 1.110 Thread 0x0000000009ecf800 Uncommon trap -34 fr.pc 0x0000000002217520
Event: 1.110 Thread 0x0000000009ecf800 Uncommon trap -34 fr.pc 0x0000000002217520
Event: 1.346 Thread 0x0000000009ecf800 Uncommon trap -83 fr.pc 0x00000000022253f4
Event: 1.599 Thread 0x0000000009ecf800 Uncommon trap 43 fr.pc 0x00000000022178d8
Event: 1.784 Thread 0x0000000009ecf800 Uncommon trap -83 fr.pc 0x000000000221fda0
Event: 3.203 Thread 0x0000000001c2c000 Uncommon trap -83 fr.pc 0x0000000002231340
Event: 3.265 Thread 0x0000000009ecf800 Uncommon trap -83 fr.pc 0x0000000002230f2c
Event: 5.264 Thread 0x0000000009ecf800 Uncommon trap -83 fr.pc 0x0000000002230ba8
Event: 5.354 Thread 0x000000000b442000 Uncommon trap -28 fr.pc 0x000000000225b1e0
Event: 5.496 Thread 0x000000000b442000 Uncommon trap 216 fr.pc 0x0000000002264ed0
Internal exceptions (10 events):
Event: 5.454 Thread 0x0000000009fbb800 Threw 0x00000000ebcec140 at C:\jdk7u1_64p\jdk7u5\hotspot\src\share\vm\prims\jvm.cpp:1166
Event: 5.473 Thread 0x0000000009fbb800 Threw 0x00000000ebcf7e40 at C:\jdk7u1_64p\jdk7u5\hotspot\src\share\vm\prims\jvm.cpp:1166
Event: 7.565 Thread 0x0000000009ecf800 Threw 0x00000000ead944e8 at C:\jdk7u1_64p\jdk7u5\hotspot\src\share\vm\prims\jvm.cpp:1166
Event: 7.570 Thread 0x0000000009ecf800 Threw 0x00000000ead9e420 at C:\jdk7u1_64p\jdk7u5\hotspot\src\share\vm\prims\jvm.cpp:1166
Event: 7.578 Thread 0x0000000009ecf800 Threw 0x00000000eadab9d0 at C:\jdk7u1_64p\jdk7u5\hotspot\src\share\vm\prims\jvm.cpp:1166
Event: 7.581 Thread 0x0000000009ecf800 Threw 0x00000000eadafd50 at C:\jdk7u1_64p\jdk7u5\hotspot\src\share\vm\prims\jvm.cpp:1166
Event: 7.582 Thread 0x0000000009ecf800 Threw 0x00000000eadb1f20 at C:\jdk7u1_64p\jdk7u5\hotspot\src\share\vm\prims\jvm.cpp:1166
Event: 7.669 Thread 0x0000000009ecf800 Threw 0x00000000eaed1798 at C:\jdk7u1_64p\jdk7u5\hotspot\src\share\vm\prims\jvm.cpp:1166
Event: 7.675 Thread 0x0000000009ecf800 Threw 0x00000000eaeec558 at C:\jdk7u1_64p\jdk7u5\hotspot\src\share\vm\prims\jvm.cpp:1166
Event: 7.686 Thread 0x0000000009ecf800 Threw 0x00000000eaefbaf0 at C:\jdk7u1_64p\jdk7u5\hotspot\src\share\vm\prims\jvm.cpp:1166
Events (10 events):
Event: 11.595 Executing VM operation: RevokeBias
Event: 11.595 Executing VM operation: RevokeBias done
Event: 11.595 Executing VM operation: RevokeBias
Event: 11.595 Executing VM operation: RevokeBias done
Event: 11.596 Executing VM operation: RevokeBias
Event: 11.596 Executing VM operation: RevokeBias done
Event: 11.597 Executing VM operation: RevokeBias
Event: 11.597 Executing VM operation: RevokeBias done
Event: 11.599 Executing VM operation: RevokeBias
Event: 11.599 Executing VM operation: RevokeBias done
Dynamic libraries:
0x000000003f800000 - 0x000000003f833000 C:\Windows\system32\java.exe
0x00000000777d0000 - 0x0000000077979000 C:\Windows\SYSTEM32\ntdll.dll
0x00000000770f0000 - 0x000000007720f000 C:\Windows\system32\kernel32.dll
0x00000000fdf30000 - 0x00000000fdf9c000 C:\Windows\system32\KERNELBASE.dll
0x00000000ff4b0000 - 0x00000000ff58b000 C:\Windows\system32\ADVAPI32.dll
0x00000000ff7e0000 - 0x00000000ff87f000 C:\Windows\system32\msvcrt.dll
0x00000000ff880000 - 0x00000000ff89f000 C:\Windows\SYSTEM32\sechost.dll
0x00000000fefc0000 - 0x00000000ff0ed000 C:\Windows\system32\RPCRT4.dll
0x00000000774c0000 - 0x00000000775ba000 C:\Windows\system32\USER32.dll
0x00000000ff770000 - 0x00000000ff7d7000 C:\Windows\system32\GDI32.dll
0x00000000ff970000 - 0x00000000ff97e000 C:\Windows\system32\LPK.dll
0x00000000ff5a0000 - 0x00000000ff669000 C:\Windows\system32\USP10.dll
0x00000000fc5f0000 - 0x00000000fc7e4000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\COMCTL32.dll
0x00000000ffa60000 - 0x00000000ffad1000 C:\Windows\system32\SHLWAPI.dll
0x00000000fef70000 - 0x00000000fef9e000 C:\Windows\system32\IMM32.DLL
0x00000000ff3a0000 - 0x00000000ff4a9000 C:\Windows\system32\MSCTF.dll
0x000000006c6f0000 - 0x000000006c7c1000 C:\Program Files\Java\jre7\bin\msvcr100.dll
0x00000000611f0000 - 0x000000006190a000 C:\Program Files\Java\jre7\bin\server\jvm.dll
0x00000000f9af0000 - 0x00000000f9af9000 C:\Windows\system32\WSOCK32.dll
0x00000000ff920000 - 0x00000000ff96d000 C:\Windows\system32\WS2_32.dll
0x00000000ff590000 - 0x00000000ff598000 C:\Windows\system32\NSI.dll
0x00000000fb0c0000 - 0x00000000fb0fb000 C:\Windows\system32\WINMM.dll
0x0000000077990000 - 0x0000000077997000 C:\Windows\system32\PSAPI.DLL
0x0000000071700000 - 0x000000007170f000 C:\Program Files\Java\jre7\bin\verify.dll
0x000000006dca0000 - 0x000000006dcc8000 C:\Program Files\Java\jre7\bin\java.dll
0x0000000070a90000 - 0x0000000070aa5000 C:\Program Files\Java\jre7\bin\zip.dll
0x000000006c550000 - 0x000000006c6e4000 C:\Program Files\Java\jre7\bin\awt.dll
0x00000000ff980000 - 0x00000000ffa57000 C:\Windows\system32\OLEAUT32.dll
0x00000000ff190000 - 0x00000000ff393000 C:\Windows\system32\ole32.dll
0x00000000fb4a0000 - 0x00000000fb4b8000 C:\Windows\system32\DWMAPI.DLL
0x00000000fb8d0000 - 0x00000000fb926000 C:\Windows\system32\uxtheme.dll
0x00000000fdb20000 - 0x00000000fdb2f000 C:\Windows\system32\CRYPTBASE.dll
0x00000000fe1e0000 - 0x00000000fef68000 C:\Windows\system32\SHELL32.dll
0x000000006da90000 - 0x000000006dac4000 C:\Program Files\Java\jre7\bin\fontmanager.dll
0x000000006df30000 - 0x000000006df49000 C:\Program Files\Java\jre7\bin\net.dll
0x00000000fd400000 - 0x00000000fd455000 C:\Windows\system32\mswsock.dll
0x00000000fd3f0000 - 0x00000000fd3f7000 C:\Windows\System32\wship6.dll
0x000000006ddb0000 - 0x000000006ddc1000 C:\Program Files\Java\jre7\bin\nio.dll
0x000000006da40000 - 0x000000006da81000 C:\Program Files\Java\jre7\bin\t2k.dll
0x00000000fbc90000 - 0x00000000fbcb2000 C:\JavaChat\JavaClient\Versions\2007\9_30_2007\TrayIcon12.dll
0x00000000ff6d0000 - 0x00000000ff769000 C:\Windows\system32\CLBCatQ.DLL
0x00000000fb330000 - 0x00000000fb45a000 C:\Windows\system32\WindowsCodecs.dll
0x00000000fdac0000 - 0x00000000fdb17000 C:\Windows\system32\apphelp.dll
0x00000000f5350000 - 0x00000000f5385000 C:\Windows\system32\EhStorShell.dll
0x00000000fe000000 - 0x00000000fe1d7000 C:\Windows\system32\SETUPAPI.dll
0x00000000fdfa0000 - 0x00000000fdfd6000 C:\Windows\system32\CFGMGR32.dll
0x00000000fdfe0000 - 0x00000000fdffa000 C:\Windows\system32\DEVOBJ.dll
0x00000000fc470000 - 0x00000000fc59c000 C:\Windows\system32\PROPSYS.dll
0x00000000f3360000 - 0x00000000f39d2000 C:\PROGRA~1\MICROS~2\Office14\GROOVEEX.DLL
0x00000000738b0000 - 0x0000000073953000 C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_08e61857a83bc251\MSVCR90.dll
0x0000000073290000 - 0x0000000073363000 C:\Windows\WinSxS\amd64_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_08e61857a83bc251\MSVCP90.dll
0x0000000071f90000 - 0x0000000071fbf000 C:\Windows\WinSxS\amd64_microsoft.vc90.atl_1fc8b3b9a1e18e3b_9.0.30729.6161_none_0a1fd3a3a768b895\ATL90.DLL
0x00000000f2f40000 - 0x00000000f335a000 C:\PROGRA~1\COMMON~1\MICROS~1\OFFICE14\Cultures\office.odf
0x00000000f26d0000 - 0x00000000f2f35000 C:\PROGRA~1\MICROS~2\Office14\1033\GrooveIntlResource.dll
0x00000000f51a0000 - 0x00000000f5220000 C:\Windows\system32\ntshrui.dll
0x00000000fd820000 - 0x00000000fd843000 C:\Windows\system32\srvcli.dll
0x00000000f5060000 - 0x00000000f506f000 C:\Windows\system32\cscapi.dll
0x00000000fabf0000 - 0x00000000fabfb000 C:\Windows\system32\slc.dll
0x00000000619e0000 - 0x0000000061a1d000 C:\Windows\system32\pfmshx_70A.dll
0x00000000fda80000 - 0x00000000fdaa5000 C:\Windows\system32\SspiCli.dll
0x00000000fce10000 - 0x00000000fce17000 C:\Windows\System32\wshtcpip.dll
0x00000000f5e40000 - 0x00000000f5e6e000 C:\Program Files\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
0x00000000fd7c0000 - 0x00000000fd81b000 C:\Windows\system32\DNSAPI.dll
0x0000000071f50000 - 0x0000000071f76000 C:\Program Files\Bonjour\mdnsNSP.dll
0x00000000fa9e0000 - 0x00000000faa07000 C:\Windows\system32\Iphlpapi.DLL
0x00000000fa9a0000 - 0x00000000fa9ab000 C:\Windows\system32\WINNSI.DLL
0x00000000f5e30000 - 0x00000000f5e38000 C:\Windows\system32\rasadhlp.dll
0x00000000fa860000 - 0x00000000fa8b3000 C:\Windows\System32\fwpuclnt.dll
0x00000000fc030000 - 0x00000000fc042000 C:\JavaChat\JavaClient\Versions\2007\9_30_2007\flashwindow.dll
0x00000000f5c70000 - 0x00000000f5d95000 C:\Windows\system32\dbghelp.dll
VM Arguments:
java_command: main.JavaChatClient
Launcher Type: SUN_STANDARD
Environment Variables:
CLASSPATH=.;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
PATH=C:\Windows\system32;C:\Windows;C:\Windows\system32\wbem;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\Dell\Dell Wireless WLAN Card;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\QuickTime\QTSystem
USERNAME=Chris
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 10, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 , 64 bit Build 7601 Service Pack 1
CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 23 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, tsc
Memory: 4k page, physical 4153716k(907500k free), swap 8305580k(3846420k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (23.1-b03) for windows-amd64 JRE (1.7.0_05-b06), built on Jun 27 2012 00:54:58 by "java_re" with unknown MS VC++:1600
time: Thu Aug 09 09:36:42 2012
elapsed time: 12 seconds
This "exception" means you accessed a NULL value in C.
Can you checked all the types are unchanged in 64-bit?
Perhaps this works in 32-bit but fails to find the 64-bit version.
hJAWT = LoadLibraryW(path2);
Netbeans has a debugger which allows you to breakpoint in Java and C via JNI. This could help you find the exact line and perhaps why it happens.
So interestingly, I'm actually working on a really similar application at the moment and having a really similar problem. I'm running a JAWT-based application on 64-bit Windows 7 and as soon as I try to have any code that utilizes the JAWT awt; and beyond, it explodes. If you don't mind, try a couple things for me and we can verify if you're having the same problem (and if it's a Java thing or Windows thing, not an us thing):
What happens if you remove all references to JAWT in your native code. Still call your native functions, but just remove all references to JAWT. This should cause the jawt.lib not to be linked in. In my experience, as soon as I removed all references to JAWT, my app stopped crashing.
What happens if you remove all references to your own stuff in your native code and do nothing but the basic JAWT initialization of getting a handle to JAWT_Win32DrawingSurfaceInfo? Does it still crash? In my experience, my code crashes even if the native code does nothing but initialize JAWT.
What happens if you run using JRE6 instead of JRE7? For my, my application crashes inmmediately in Java 7, but runs fine in Java 6.
Interested to hear if you see the same issues. I'm beginning to wonder if Java 7 for Windows 7 introduced some kind of regression. Still doing more testing. I'll post more results as I have them.
=========================================
UPDATE: New interesting wrinkle. It turns out that for me, just loading the DLL linked to jawt.lib with System.load(...) is enough. I don't even have to actually make a native call. It will still crash while rendering my Swing GUI.