libGDX project : "A fatal Error has been detected ... " - java

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)

Related

LWJGL glCreateBuffers causing problems

So I'm new to OpenGL, and I've been following several tutorials on how to draw a simple triangle. I don't use shaders here, even though I know how to use them. The tutorials say to create a buffer using glCreateBuffers, but everything I change in the code doesn't prevent the error. I've been following the OpenGL Programming Guide, and watched several YouTube videos on the topic. I've also updated to the most recent NVIDIA drivers for my graphics card. What did I do wrong?
The error, which also contains all of the hardware specifications:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00007fffa120235d, pid=4592, tid=0x00000000000035a8
#
# 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 [lwjgl_opengl.dll+0x235d]
#
# 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 (0x00000000032a9000): JavaThread "main" [_thread_in_native, id=13736, stack(0x0000000003160000,0x0000000003260000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000830
Registers:
RAX=0x000000005619ed50, RBX=0x000000001a523d28, RCX=0x0000000000000001, RDX=0x000000001daa7d5c
RSP=0x000000000325f4f8, RBP=0x000000000325f580, RSI=0x0000000000000048, RDI=0x0000000003507e70
R8 =0x0000000000000001, R9 =0x000000001daa7d5c, R10=0x0000000000000000, R11=0x0000000055c2b4a0
R12=0x0000000000000000, R13=0x000000001a523d28, R14=0x000000000325f5b0, R15=0x00000000032a9000
RIP=0x00007fffa120235d, EFLAGS=0x0000000000010202
Top of Stack: (sp=0x000000000325f4f8)
0x000000000325f4f8: 0000000003517f54 0000000003507e70
0x000000000325f508: 0000000003517cbd 00000000032a9000
0x000000000325f518: 000000001a523d28 0000000000000048
0x000000000325f528: 00000000032a9000 000000000325f628
0x000000000325f538: 0000000003517c82 000000000325f540
0x000000000325f548: 000000001a523d28 000000000325f5b0
0x000000000325f558: 000000001a539f98 0000000000000000
0x000000000325f568: 000000001a523d28 0000000000000000
0x000000000325f578: 000000000325f5a0 000000000325f5f8
0x000000000325f588: 000000000350835d 00000007813fb2d8
0x000000000325f598: 00000000035119d8 000000001daa7d5c
0x000000000325f5a8: 0000000781481140 0000000000000001
0x000000000325f5b8: 000000000325f5b8 000000001a523e7c
0x000000000325f5c8: 000000000325f628 000000001a539f98
0x000000000325f5d8: 0000000000000000 000000001a523ee0
0x000000000325f5e8: 000000000325f5a0 000000000325f630
Instructions: (pc=0x00007fffa120235d)
0x00007fffa120233d: ff a2 28 17 00 00 cc cc cc cc cc cc cc cc cc cc
0x00007fffa120234d: cc cc cc 48 8b 01 49 8b d1 41 8b c8 4c 8b 50 18
0x00007fffa120235d: 49 ff a2 30 08 00 00 cc cc cc cc cc cc cc cc cc
0x00007fffa120236d: cc cc cc 40 53 48 8b 01 41 8b d8 4c 8b 44 24 30
Register to memory mapping:
RAX=0x000000005619ed50 is an unknown value
RBX={method} {0x000000001a523d30} 'nglCreateBuffers' '(IJ)V' in 'org/lwjgl/opengl/GL45'
RCX=0x0000000000000001 is an unknown value
RDX=0x000000001daa7d5c is an unknown value
RSP=0x000000000325f4f8 is pointing into the stack for thread: 0x00000000032a9000
RBP=0x000000000325f580 is pointing into the stack for thread: 0x00000000032a9000
RSI=0x0000000000000048 is an unknown value
RDI=0x0000000003507e70 is at code_begin+1040 in an Interpreter codelet
invoke return entry points [0x0000000003507a60, 0x0000000003508440] 2528 bytes
R8 =0x0000000000000001 is an unknown value
R9 =0x000000001daa7d5c is an unknown value
R10=0x0000000000000000 is an unknown value
R11=0x0000000055c2b4a0 is an unknown value
R12=0x0000000000000000 is an unknown value
R13={method} {0x000000001a523d30} 'nglCreateBuffers' '(IJ)V' in 'org/lwjgl/opengl/GL45'
R14=0x000000000325f5b0 is pointing into the stack for thread: 0x00000000032a9000
R15=0x00000000032a9000 is a thread
Stack: [0x0000000003160000,0x0000000003260000], sp=0x000000000325f4f8, free space=1021k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [lwjgl_opengl.dll+0x235d]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j org.lwjgl.opengl.GL45.nglCreateBuffers(IJ)V+0
j org.lwjgl.opengl.GL45.glCreateBuffers()I+20
j com.meti.HelloTriangle.init()V+169
j com.meti.HelloTriangle.run()V+1
j com.meti.HelloTriangle.main([Ljava/lang/String;)V+7
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x000000001cbaf000 JavaThread "Service Thread" daemon [_thread_blocked, id=15408, stack(0x000000001d6a0000,0x000000001d7a0000)]
0x000000001cbb6800 JavaThread "C1 CompilerThread3" daemon [_thread_blocked, id=4928, stack(0x000000001d5a0000,0x000000001d6a0000)]
0x000000001cbae000 JavaThread "C2 CompilerThread2" daemon [_thread_blocked, id=15648, stack(0x000000001d4a0000,0x000000001d5a0000)]
0x000000001cbb2800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=3528, stack(0x000000001d3a0000,0x000000001d4a0000)]
0x000000001cbad800 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=2988, stack(0x000000001d2a0000,0x000000001d3a0000)]
0x000000001caf6000 JavaThread "Monitor Ctrl-Break" daemon [_thread_in_native, id=10828, stack(0x000000001d1a0000,0x000000001d2a0000)]
0x000000001c8e4800 JavaThread "Attach Listener" daemon [_thread_blocked, id=15864, stack(0x000000001d0a0000,0x000000001d1a0000)]
0x000000001c8e3000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=13440, stack(0x000000001cfa0000,0x000000001d0a0000)]
0x000000001a9e4000 JavaThread "Finalizer" daemon [_thread_blocked, id=15624, stack(0x000000001ccb0000,0x000000001cdb0000)]
0x000000000339e000 JavaThread "Reference Handler" daemon [_thread_blocked, id=13760, stack(0x000000001c7b0000,0x000000001c8b0000)]
=>0x00000000032a9000 JavaThread "main" [_thread_in_native, id=13736, stack(0x0000000003160000,0x0000000003260000)]
Other Threads:
0x000000001a9d9000 VMThread [stack: 0x000000001c6b0000,0x000000001c7b0000] [id=13368]
0x000000001cbc0000 WatcherThread [stack: 0x000000001dfa0000,0x000000001e0a0000] [id=13180]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap:
PSYoungGen total 57344K, used 11847K [0x0000000780900000, 0x0000000784900000, 0x00000007c0000000)
eden space 49152K, 24% used [0x0000000780900000,0x0000000781491f48,0x0000000783900000)
from space 8192K, 0% used [0x0000000784100000,0x0000000784100000,0x0000000784900000)
to space 8192K, 0% used [0x0000000783900000,0x0000000783900000,0x0000000784100000)
ParOldGen total 131072K, used 0K [0x0000000701a00000, 0x0000000709a00000, 0x0000000780900000)
object space 131072K, 0% used [0x0000000701a00000,0x0000000701a00000,0x0000000709a00000)
Metaspace used 6034K, capacity 6220K, committed 6400K, reserved 1056768K
class space used 655K, capacity 738K, committed 768K, reserved 1048576K
Card table byte_map: [0x00000000128c0000,0x0000000012ec0000] byte_map_base: 0x000000000f0b3000
Marking Bits: (ParMarkBitMap*) 0x000000005621a6d0
Begin Bits: [0x0000000013ac0000, 0x0000000016a58000)
End Bits: [0x0000000016a58000, 0x00000000199f0000)
Polling page: 0x0000000001300000
CodeCache: size=245760Kb used=2341Kb max_used=2353Kb free=243418Kb
bounds [0x0000000003500000, 0x0000000003770000, 0x0000000012500000]
total_blobs=1191 nmethods=469 adapters=635
compilation: enabled
Compilation events (10 events):
Event: 0.540 Thread 0x000000001cbb6800 465 3 java.util.zip.InflaterInputStream::read (32 bytes)
Event: 0.540 Thread 0x000000001cbb6800 nmethod 465 0x0000000003745dd0 code [0x0000000003745f60, 0x00000000037463d8]
Event: 0.541 Thread 0x000000001cbb6800 466 3 java.util.WeakHashMap::remove (133 bytes)
Event: 0.542 Thread 0x000000001cbb6800 nmethod 466 0x0000000003746590 code [0x0000000003746780, 0x0000000003747268]
Event: 0.545 Thread 0x000000001cbad800 nmethod 463 0x000000000374a6d0 code [0x000000000374a820, 0x000000000374ac38]
Event: 0.545 Thread 0x000000001cbb6800 467 3 sun.misc.JarIndex::get (49 bytes)
Event: 0.545 Thread 0x000000001cbb6800 nmethod 467 0x0000000003749950 code [0x0000000003749b20, 0x000000000374a398]
Event: 0.546 Thread 0x000000001cbae000 468 4 java.lang.String::indexOf (166 bytes)
Event: 0.546 Thread 0x000000001cbb6800 469 3 java.net.URL::toString (5 bytes)
Event: 0.546 Thread 0x000000001cbb6800 nmethod 469 0x0000000003749410 code [0x0000000003749580, 0x0000000003749868]
GC Heap History (0 events):
No events
Deoptimization events (1 events):
Event: 0.270 Thread 0x00000000032a9000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000000000367a394 method=java.lang.String.indexOf([CII[CIII)I # 134
Internal exceptions (10 events):
Event: 0.039 Thread 0x00000000032a9000 Exception <a 'java/lang/NoSuchMethodError': Method sun.misc.Unsafe.prefetchRead(Ljava/lang/Object;J)V name or signature does not match> (0x0000000780907fa8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u101\7261\hotspot\src\share\vm\prims\��1����?
Event: 0.234 Thread 0x00000000032a9000 Exception <a 'java/lang/NoSuchMethodError': java.lang.Object.lambda$static$0(Ljava/lang/String;)Ljava/lang/Boolean;> (0x0000000780f3d758) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u101\7261\hotspot\src\share\vm\interpreter\linkResolver.:%�l��?
Event: 0.248 Thread 0x00000000032a9000 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x0000000780fbfba0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u101\7261\hotspot\src\share\vm\prims\methodHandles.cpp, line 1146]
Event: 0.249 Thread 0x00000000032a9000 Exception <a 'java/lang/NoSuchFieldError': method resolution failed> (0x0000000780fcda48) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u101\7261\hotspot\src\share\vm\prims\methodHandles.cpp, line 1146]
Event: 0.296 Thread 0x00000000032a9000 Exception <a 'java/security/PrivilegedActionException'> (0x00000007811bcef8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u101\7261\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.296 Thread 0x00000000032a9000 Exception <a 'java/security/PrivilegedActionException'> (0x00000007811bd108) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u101\7261\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.296 Thread 0x00000000032a9000 Exception <a 'java/security/PrivilegedActionException'> (0x00000007811c11d8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u101\7261\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.296 Thread 0x00000000032a9000 Exception <a 'java/security/PrivilegedActionException'> (0x00000007811c13e8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u101\7261\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.543 Thread 0x00000000032a9000 Exception <a 'sun/nio/fs/WindowsException'> (0x0000000781462538) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u101\7261\hotspot\src\share\vm\prims\jni.cpp, line 709]
Event: 0.544 Thread 0x00000000032a9000 Exception <a 'sun/nio/fs/WindowsException'> (0x0000000781463f38) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u101\7261\hotspot\src\share\vm\prims\jni.cpp, line 709]
Events (10 events):
Event: 0.544 loading class java/nio/file/NoSuchFileException
Event: 0.544 loading class java/nio/file/FileSystemException
Event: 0.544 loading class java/nio/file/FileSystemException done
Event: 0.544 loading class java/nio/file/NoSuchFileException done
Event: 0.544 loading class org/lwjgl/opengl/GL$1
Event: 0.544 loading class org/lwjgl/opengl/GL$1 done
Event: 0.545 loading class org/lwjgl/opengl/GL$SharedLibraryGL
Event: 0.545 loading class org/lwjgl/opengl/GL$SharedLibraryGL done
Event: 0.545 loading class org/lwjgl/system/SharedLibrary$Delegate
Event: 0.545 loading class org/lwjgl/system/SharedLibrary$Delegate done
Dynamic libraries:
0x00007ff63a440000 - 0x00007ff63a477000 C:\Program Files\Java\jdk1.8.0_101\bin\java.exe
0x00007fffbc000000 - 0x00007fffbc1db000 C:\WINDOWS\SYSTEM32\ntdll.dll
0x00007fffbb630000 - 0x00007fffbb6de000 C:\WINDOWS\System32\KERNEL32.DLL
0x00007fffb86c0000 - 0x00007fffb8909000 C:\WINDOWS\System32\KERNELBASE.dll
0x00007fffbabe0000 - 0x00007fffbac81000 C:\WINDOWS\System32\ADVAPI32.dll
0x00007fffbbf60000 - 0x00007fffbbffd000 C:\WINDOWS\System32\msvcrt.dll
0x00007fffbb6e0000 - 0x00007fffbb739000 C:\WINDOWS\System32\sechost.dll
0x00007fffbb8a0000 - 0x00007fffbb9c5000 C:\WINDOWS\System32\RPCRT4.dll
0x00007fffbb750000 - 0x00007fffbb89a000 C:\WINDOWS\System32\USER32.dll
0x00007fffb8970000 - 0x00007fffb898e000 C:\WINDOWS\System32\win32u.dll
0x00007fffbaa60000 - 0x00007fffbaa87000 C:\WINDOWS\System32\GDI32.dll
0x00007fffb93d0000 - 0x00007fffb9558000 C:\WINDOWS\System32\gdi32full.dll
0x00007fffb8620000 - 0x00007fffb86ba000 C:\WINDOWS\System32\msvcp_win.dll
0x00007fffb8520000 - 0x00007fffb8616000 C:\WINDOWS\System32\ucrtbase.dll
0x00007fffa8480000 - 0x00007fffa86e7000 C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.15063.483_none_26002d27e7c744a2\COMCTL32.dll
0x00007fffbba70000 - 0x00007fffbbd69000 C:\WINDOWS\System32\combase.dll
0x00007fffb8990000 - 0x00007fffb89fa000 C:\WINDOWS\System32\bcryptPrimitives.dll
0x00007fffbbd90000 - 0x00007fffbbdbd000 C:\WINDOWS\System32\IMM32.DLL
0x00000000562a0000 - 0x0000000056372000 C:\Program Files\Java\jdk1.8.0_101\jre\bin\msvcr100.dll
0x0000000055a00000 - 0x000000005629a000 C:\Program Files\Java\jdk1.8.0_101\jre\bin\server\jvm.dll
0x00007fffbb9d0000 - 0x00007fffbb9d8000 C:\WINDOWS\System32\PSAPI.DLL
0x00007fffb46f0000 - 0x00007fffb46f9000 C:\WINDOWS\SYSTEM32\WSOCK32.dll
0x00007fffb5410000 - 0x00007fffb5433000 C:\WINDOWS\SYSTEM32\WINMM.dll
0x00007fffbb360000 - 0x00007fffbb3cc000 C:\WINDOWS\System32\WS2_32.dll
0x00007fffabe10000 - 0x00007fffabe3b000 C:\WINDOWS\SYSTEM32\WINMMBASE.dll
0x00007fffad5f0000 - 0x00007fffad5fa000 C:\WINDOWS\SYSTEM32\VERSION.dll
0x00007fffb8a00000 - 0x00007fffb8a49000 C:\WINDOWS\System32\cfgmgr32.dll
0x0000000057380000 - 0x000000005738f000 C:\Program Files\Java\jdk1.8.0_101\jre\bin\verify.dll
0x0000000057350000 - 0x0000000057379000 C:\Program Files\Java\jdk1.8.0_101\jre\bin\java.dll
0x0000000057320000 - 0x0000000057343000 C:\Program Files\Java\jdk1.8.0_101\jre\bin\instrument.dll
0x0000000057300000 - 0x0000000057316000 C:\Program Files\Java\jdk1.8.0_101\jre\bin\zip.dll
0x00007fffb9620000 - 0x00007fffbaa56000 C:\WINDOWS\System32\SHELL32.dll
0x00007fffbaa90000 - 0x00007fffbab3a000 C:\WINDOWS\System32\shcore.dll
0x00007fffb8a50000 - 0x00007fffb9143000 C:\WINDOWS\System32\windows.storage.dll
0x00007fffbb190000 - 0x00007fffbb1e1000 C:\WINDOWS\System32\shlwapi.dll
0x00007fffb8490000 - 0x00007fffb84a1000 C:\WINDOWS\System32\kernel.appcore.dll
0x00007fffb84b0000 - 0x00007fffb84fc000 C:\WINDOWS\System32\powrprof.dll
0x00007fffb8470000 - 0x00007fffb8485000 C:\WINDOWS\System32\profapi.dll
0x00007fffabef0000 - 0x00007fffabf0a000 C:\Users\mathm\AppData\Local\JetBrains\Toolbox\apps\IDEA-C\ch-1\172.3968.16\bin\breakgen64.dll
0x00000000559e0000 - 0x00000000559fa000 C:\Program Files\Java\jdk1.8.0_101\jre\bin\net.dll
0x00007fffb7d20000 - 0x00007fffb7d7c000 C:\WINDOWS\system32\mswsock.dll
0x00000000559c0000 - 0x00000000559d1000 C:\Program Files\Java\jdk1.8.0_101\jre\bin\nio.dll
0x00007fffa87b0000 - 0x00007fffa8807000 C:\Users\mathm\AppData\Local\Temp\lwjglmathm\3.1.2-build-29\lwjgl.dll
0x00007fffa8770000 - 0x00007fffa87ac000 C:\Users\mathm\AppData\Local\Temp\lwjglmathm\3.1.2-build-29\jemalloc.dll
0x00007fffa5e30000 - 0x00007fffa5e6d000 C:\Users\mathm\AppData\Local\Temp\lwjglmathm\3.1.2-build-29\glfw.dll
0x00007fffb6ce0000 - 0x00007fffb6d75000 C:\WINDOWS\system32\uxtheme.dll
0x00007fffa4f50000 - 0x00007fffa4f92000 C:\WINDOWS\SYSTEM32\dinput8.dll
0x00007fffb4630000 - 0x00007fffb463e000 C:\WINDOWS\SYSTEM32\xinput1_4.dll
0x00007fffb6f90000 - 0x00007fffb6fb8000 C:\WINDOWS\SYSTEM32\DEVOBJ.dll
0x00007fffad130000 - 0x00007fffad15a000 C:\WINDOWS\SYSTEM32\dwmapi.dll
0x00007fffbb1f0000 - 0x00007fffbb356000 C:\WINDOWS\System32\MSCTF.dll
0x00007fffbb0d0000 - 0x00007fffbb190000 C:\WINDOWS\System32\OLEAUT32.dll
0x00007fffaccf0000 - 0x00007fffacd18000 c:\program files\nvidia corporation\nvstreamsrv\nvinject.dll
0x00007fffb7320000 - 0x00007fffb732d000 C:\WINDOWS\SYSTEM32\HID.DLL
0x00007fffbac90000 - 0x00007fffbb0cb000 C:\WINDOWS\System32\SETUPAPI.DLL
0x00007fffb8910000 - 0x00007fffb8966000 C:\WINDOWS\System32\WINTRUST.dll
0x00007fffb8500000 - 0x00007fffb8511000 C:\WINDOWS\System32\MSASN1.dll
0x00007fffb9200000 - 0x00007fffb93c9000 C:\WINDOWS\System32\CRYPT32.dll
0x00007fffa1290000 - 0x00007fffa13b1000 C:\WINDOWS\SYSTEM32\opengl32.dll
0x00007fffad870000 - 0x00007fffad89c000 C:\WINDOWS\SYSTEM32\GLU32.dll
0x00007fff66980000 - 0x00007fff676ca000 C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_463164d40c3d26ce\ig9icd64.dll
0x00007fffb48f0000 - 0x00007fffb4903000 C:\WINDOWS\SYSTEM32\WTSAPI32.dll
0x00007fffa3730000 - 0x00007fffa488d000 C:\WINDOWS\System32\DriverStore\FileRepository\igdlh64.inf_amd64_463164d40c3d26ce\igc64.dll
0x00007fffaf3b0000 - 0x00007fffaf432000 C:\WINDOWS\System32\TextInputFramework.dll
0x00007fffb5ee0000 - 0x00007fffb5fc3000 C:\WINDOWS\System32\CoreMessaging.dll
0x00007fffa76a0000 - 0x00007fffa7972000 C:\WINDOWS\System32\CoreUIComponents.dll
0x00007fffb1f30000 - 0x00007fffb1f45000 C:\WINDOWS\SYSTEM32\usermgrcli.dll
0x00007fffb7670000 - 0x00007fffb76a1000 C:\WINDOWS\SYSTEM32\ntmarta.dll
0x00007fffb52d0000 - 0x00007fffb5409000 C:\WINDOWS\SYSTEM32\wintypes.dll
0x00007fffa1200000 - 0x00007fffa125c000 C:\Users\mathm\AppData\Local\Temp\lwjglmathm\3.1.2-build-29\lwjgl_opengl.dll
0x00007fffb42c0000 - 0x00007fffb4469000 C:\WINDOWS\SYSTEM32\dbghelp.dll
VM Arguments:
jvm_args: -javaagent:C:\Users\mathm\AppData\Local\JetBrains\Toolbox\apps\IDEA-C\ch-1\172.3968.16\lib\idea_rt.jar=53725:C:\Users\mathm\AppData\Local\JetBrains\Toolbox\apps\IDEA-C\ch-1\172.3968.16\bin -Dfile.encoding=UTF-8
java_command: com.meti.HelloTriangle
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;C:\Meticuli\Projects\LwjglProjects\out\production\LwjglProjects;C:\Meticuli\Projects\LwjglProjects\libraries\lwjgl-3.1.2\lwjgl\lwjgl.jar;C:\Meticuli\Projects\LwjglProjects\libraries\lwjgl-3.1.2\lwjgl\lwjgl-javadoc.jar;C:\Meticuli\Projects\LwjglProjects\libraries\lwjgl-3.1.2\lwjgl\lwjgl-sources.jar;C:\Meticuli\Projects\LwjglProjects\libraries\lwjgl-3.1.2\lwjgl\lwjgl-natives-linux.jar;C:\Meticuli\Projects\LwjglProjects\libraries\lwjgl-3.1.2\lwjgl\lwjgl-natives-macos.jar;C:\Meticuli\Projects\LwjglProjects\libraries\lwjgl-3.1.2\lwjgl\lwjgl-natives-windows.jar;C:\Meticuli\Projects\LwjglProjects\libraries\lwjgl-3.1.2\lwjgl-assimp\lwjgl-assimp.jar;
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\WINDOWS\system32\config\systemprofile\.dnx\bin;C:\Program Files\Microsoft DNX\Dnvm\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Git\cmd;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Skype\Phone\;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Users\mathm\AppData\Local\Microsoft\WindowsApps;
USERNAME=mathm
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 94 Stepping 3, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 10.0 , 64 bit Build 15063 (10.0.15063.296)
CPU:total 8 (4 cores per cpu, 2 threads per core) family 6 model 94 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 12476176k(7696764k free), swap 13296400k(7350476k 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: Sat Sep 16 16:46:48 2017
elapsed time: 0 seconds (0d 0h 0m 0s)
I do hate working with native code in Java, albeit knowing OpenGL is a good skill to have.
Here is the source code:
package com.meti;
import org.lwjgl.glfw.GLFWErrorCallback;
import org.lwjgl.opengl.GL;
import static org.lwjgl.glfw.GLFW.*;
import static org.lwjgl.opengl.GL11.*;
import static org.lwjgl.opengl.GL15.GL_ARRAY_BUFFER;
import static org.lwjgl.opengl.GL15.glBindBuffer;
import static org.lwjgl.opengl.GL20.glEnableVertexAttribArray;
import static org.lwjgl.opengl.GL20.glVertexAttribPointer;
import static org.lwjgl.opengl.GL30.glBindVertexArray;
import static org.lwjgl.opengl.GL30.glGenVertexArrays;
import static org.lwjgl.opengl.GL45.glCreateBuffers;
import static org.lwjgl.opengl.GL45.glNamedBufferStorage;
import static org.lwjgl.system.MemoryUtil.NULL;
/**
* #author SirMathhman
* #version 0.0.0
* #since 9/8/2017
*/
public class HelloTriangle {
private static final int WIDTH = 800;
private static final int HEIGHT = 600;
private long window;
private int vaoID;
public static void main(String[] args) {
new HelloTriangle().run();
}
private void run() {
init();
loop();
}
private void init() {
GLFWErrorCallback.createPrint(System.err).set();
if (!glfwInit()) {
System.out.println("GLFW failed to initialize");
System.exit(-1);
}
glfwDefaultWindowHints();
glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR, 3);
glfwWindowHint(GLFW_CONTEXT_VERSION_MINOR, 3);
window = glfwCreateWindow(WIDTH, HEIGHT, "HelloWindow", NULL, NULL);
if (window == NULL) {
System.out.println("GLFW failed to create window");
glfwTerminate();
System.exit(-1);
}
glfwMakeContextCurrent(window);
glfwShowWindow(window);
float[] vertices = {
-0.9f, -0.9f,
0.85f, -0.9f,
-0.9f, 0.85f,
0.9f, -0.85f,
0.9f, 0.9f,
-0.85f, 0.9f
};
int buffer = glCreateBuffers();
glNamedBufferStorage(buffer, vertices, vertices.length);
vaoID = glGenVertexArrays();
glBindVertexArray(vaoID);
glBindBuffer(GL_ARRAY_BUFFER, buffer);
glVertexAttribPointer(0, 2, GL_FLOAT, false, 0, 0);
glEnableVertexAttribArray(0);
}
private void loop() {
GL.createCapabilities();
while (!glfwWindowShouldClose(window)) {
glClear(GL_DEPTH_BUFFER_BIT);
glBindVertexArray(vaoID);
glDrawArrays(GL_TRIANGLES, 0, 6);
glfwSwapBuffers(window);
glfwPollEvents();
}
glfwTerminate();
System.exit(0);
}
}
PS: Is there also a way to return a more detailed error thrown by the driver by LWJGL?
glCreateBuffers and glNamedBufferStorage are OpenGL 4.5 commands. But you are requesting 3.3 (the glfwWindowHint commands).
If you want to stick to 3.3 version, try creating a buffer with glGenBuffers

libgdx game crash: "A L lib: (EE) alc_cleanup: 1 device not closed" on Desktop and "Fatal signal 11 (SIGSEGV)" on android

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);
}
}

Failed to write core dump. minidumps are not enabled by default on client version of windows

I have this Java class I am trying to run using Eclipse Mars.1 IDE.
Here's the code :
import com.xuggle.mediatool.IMediaReader;
import com.xuggle.mediatool.IMediaWriter;
import com.xuggle.mediatool.ToolFactory;
import com.xuggle.xuggler.ICodec;
public class VideoToAudio {
public void convertVideoToAudio(){
IMediaReader reader = ToolFactory.makeReader("C:/Users/hbxd78/Desktop/test.mp4");
IMediaWriter writer = ToolFactory.makeWriter("C:/Users/hbxd78/Desktop/agf.mp3", reader);
int sampleRate = 44100;
int channels = 1;
writer.setMaskLateStreamExceptions(true);
writer.addAudioStream(1, 0, ICodec.ID.CODEC_ID_MP3, channels, sampleRate);
reader.addListener(writer);
while (reader.readPacket() == null) ;
}
public static void main(String [] args){
VideoToAudio vta = new VideoToAudio();
try{
vta.convertVideoToAudio();
}
catch(Exception e){
System.out.println("Could not open video file");
e.printStackTrace();
}
}
}
When trying to run the following code I get the following error shown in my Eclipse console :
Here's the error log returned from program executions
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006ee76520, pid=6852, tid=3424
#
# JRE version: Java(TM) SE Runtime Environment (8.0_66-b18) (build 1.8.0_66-b18)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.66-b18 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [xuggle2013058311529011075.dll+0x736520]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- T H R E A D ---------------
Current thread (0x000000000267e000): JavaThread "main" [_thread_in_native, id=3424, stack(0x0000000002710000,0x0000000002810000)]
siginfo: ExceptionCode=0xc0000005, reading address 0xffffffffffffffff
Registers:
RAX=0x00000000006ed090, RBX=0x000000001aa90120, RCX=0x00000000006ed090, RDX=0x0000000000000009
RSP=0x000000000280e270, RBP=0x00000000006ec7d0, RSI=0x00000000006ee090, RDI=0x0000000000000004
R8 =0x000000006ee77580, R9 =0x000000006ee76490, R10=0x00000000006efe20, R11=0x00000000006f0430
R12=0x00000000006f0c30, R13=0x0000000000000004, R14=0x0000000000000184, R15=0x000000006fab8f20
RIP=0x000000006ee76520, EFLAGS=0x0000000000010202
Top of Stack: (sp=0x000000000280e270)
0x000000000280e270: 000000006ee76665 000000006ee774c5
0x000000000280e280: 000000006ee77505 000000006ee77545
0x000000000280e290: 000000006ee77585 000000006ee79426
0x000000000280e2a0: 000000006fab8f20 00000000006ed090
0x000000000280e2b0: 000000001aa925e0 0000000002bc74c0
0x000000000280e2c0: 3fe0000000000000 0000000000000000
0x000000000280e2d0: 40c7760000000000 0000000000000000
0x000000000280e2e0: 3fe0000000000000 0000000000000001
0x000000000280e2f0: 000000001aa935e0 000000006ea45d24
0x000000000280e300: 3f40624dd2f1a9fc 0000000000000000
0x000000000280e310: 0000000000000000 0000000000000000
0x000000000280e320: 0000000000000000 0000000000000000
0x000000000280e330: 000000001aa9c4e0 000000006fab7320
0x000000000280e340: 0000000017568d9d 000000001aa90080
0x000000000280e350: 0000000000000001 00000000006ec7d0
0x000000000280e360: 00000000006ec850 0000000000000000
Instructions: (pc=0x000000006ee76520)
0x000000006ee76500: c4 e3 5d 0c c0 55 c5 e4 5c c8 c5 e4 58 c0 c5 fc
0x000000006ee76510: 29 01 c5 fc 29 49 20 c3 0f 1f 84 00 00 00 00 00
0x000000006ee76520: c5 fc 28 51 40 c5 fc 28 59 60 c5 ec 5c fb c5 ec
0x000000006ee76530: 58 d3 c5 c4 57 3d 26 41 84 00 c5 ec c6 df be c5
Register to memory mapping:
RAX=0x00000000006ed090 is an unknown value
RBX=0x000000001aa90120 is an unknown value
RCX=0x00000000006ed090 is an unknown value
RDX=0x0000000000000009 is an unknown value
RSP=0x000000000280e270 is pointing into the stack for thread: 0x000000000267e000
RBP=0x00000000006ec7d0 is an unknown value
RSI=0x00000000006ee090 is an unknown value
RDI=0x0000000000000004 is an unknown value
R8 =0x000000006ee77580 is an unknown value
R9 =0x000000006ee76490 is an unknown value
R10=0x00000000006efe20 is an unknown value
R11=0x00000000006f0430 is an unknown value
R12=0x00000000006f0c30 is an unknown value
R13=0x0000000000000004 is an unknown value
R14=0x0000000000000184 is an unknown value
R15=0x000000006fab8f20 is an unknown value
Stack: [0x0000000002710000,0x0000000002810000], sp=0x000000000280e270, free space=1016k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [xuggle2013058311529011075.dll+0x736520]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.xuggle.xuggler.XugglerJNI.IContainer_open__SWIG_1(JLcom/xuggle/xuggler/IContainer;Ljava/lang/String;IJLcom/xuggle/xuggler/IContainerFormat;ZZ)I+0
j com.xuggle.xuggler.IContainer.open(Ljava/lang/String;Lcom/xuggle/xuggler/IContainer$Type;Lcom/xuggle/xuggler/IContainerFormat;ZZ)I+19
j com.xuggle.mediatool.MediaReader.open()V+20
j com.xuggle.mediatool.MediaReader.readPacket()Lcom/xuggle/xuggler/IError;+8
j VideoToAudio.convertVideoToAudio()V+50
j VideoToAudio.main([Ljava/lang/String;)V+9
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0000000018df2000 JavaThread "Service Thread" daemon [_thread_blocked, id=4048, stack(0x0000000019aa0000,0x0000000019ba0000)]
0x0000000018d7c800 JavaThread "C1 CompilerThread2" daemon [_thread_blocked, id=3660, stack(0x00000000197c0000,0x00000000198c0000)]
0x0000000018d7b000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=6928, stack(0x0000000019660000,0x0000000019760000)]
0x0000000018d74000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=2028, stack(0x0000000019250000,0x0000000019350000)]
0x0000000018d72800 JavaThread "Attach Listener" daemon [_thread_blocked, id=684, stack(0x00000000194c0000,0x00000000195c0000)]
0x0000000017b1e800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6244, stack(0x0000000019350000,0x0000000019450000)]
0x0000000017ab7000 JavaThread "Finalizer" daemon [_thread_blocked, id=5412, stack(0x0000000018940000,0x0000000018a40000)]
0x0000000017ab0000 JavaThread "Reference Handler" daemon [_thread_blocked, id=5868, stack(0x0000000018c70000,0x0000000018d70000)]
=>0x000000000267e000 JavaThread "main" [_thread_in_native, id=3424, stack(0x0000000002710000,0x0000000002810000)]
Other Threads:
0x0000000017aaa800 VMThread [stack: 0x0000000018a80000,0x0000000018b80000] [id=2800]
0x0000000018e3e000 WatcherThread [stack: 0x0000000019970000,0x0000000019a70000] [id=1824]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap:
PSYoungGen total 38400K, used 5326K [0x00000000d5b00000, 0x00000000d8580000, 0x0000000100000000)
eden space 33280K, 16% used [0x00000000d5b00000,0x00000000d6033a28,0x00000000d7b80000)
from space 5120K, 0% used [0x00000000d8080000,0x00000000d8080000,0x00000000d8580000)
to space 5120K, 0% used [0x00000000d7b80000,0x00000000d7b80000,0x00000000d8080000)
ParOldGen total 87552K, used 0K [0x0000000081000000, 0x0000000086580000, 0x00000000d5b00000)
object space 87552K, 0% used [0x0000000081000000,0x0000000081000000,0x0000000086580000)
Metaspace used 4376K, capacity 5216K, committed 5504K, reserved 1056768K
class space used 484K, capacity 528K, committed 640K, reserved 1048576K
Card table byte_map: [0x0000000011f80000,0x0000000012380000] byte_map_base: 0x0000000011b78000
Marking Bits: (ParMarkBitMap*) 0x000000005531a5b0
Begin Bits: [0x0000000012da0000, 0x0000000014d60000)
End Bits: [0x0000000014d60000, 0x0000000016d20000)
Polling page: 0x0000000000240000
CodeCache: size=245760Kb used=1548Kb max_used=1560Kb free=244211Kb
bounds [0x0000000002bc0000, 0x0000000002e30000, 0x0000000011bc0000]
total_blobs=534 nmethods=214 adapters=233
compilation: enabled
Compilation events (10 events):
Event: 2.318 Thread 0x0000000018d7c800 210 3 java.lang.String::regionMatches (149 bytes)
Event: 2.318 Thread 0x0000000018d7c800 nmethod 210 0x0000000002d38a90 code [0x0000000002d38ce0, 0x0000000002d39978]
Event: 2.318 Thread 0x0000000018d7c800 211 3 java.lang.String::concat (47 bytes)
Event: 2.319 Thread 0x0000000018d7c800 nmethod 211 0x0000000002d41990 code [0x0000000002d41b60, 0x0000000002d42318]
Event: 2.320 Thread 0x0000000018d7b000 212 4 java.lang.String::indexOf (166 bytes)
Event: 2.321 Thread 0x0000000018d7c800 213 3 java.lang.ref.Finalizer::register (10 bytes)
Event: 2.321 Thread 0x0000000018d7c800 nmethod 213 0x0000000002d42690 code [0x0000000002d42820, 0x0000000002d42c48]
Event: 2.321 Thread 0x0000000018d7c800 214 3 java.lang.ref.Finalizer::<init> (23 bytes)
Event: 2.322 Thread 0x0000000018d7c800 nmethod 214 0x0000000002d42e10 code [0x0000000002d42fa0, 0x0000000002d43308]
Event: 2.327 Thread 0x0000000018d7b000 nmethod 212 0x0000000002d46590 code [0x0000000002d466e0, 0x0000000002d46bf8]
GC Heap History (0 events):
No events
Deoptimization events (1 events):
Event: 0.906 Thread 0x000000000267e000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000002d2e190 method=java.util.zip.InflaterInputStream.read([BII)I # 69
Internal exceptions (10 events):
Event: 0.217 Thread 0x000000000267e000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d5da38e0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u66\5298\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.217 Thread 0x000000000267e000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d5da4878) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u66\5298\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.217 Thread 0x000000000267e000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d5da4a88) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u66\5298\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.217 Thread 0x000000000267e000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d5da59e0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u66\5298\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.217 Thread 0x000000000267e000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d5da5bf0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u66\5298\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.228 Thread 0x000000000267e000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d5dda7a8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u66\5298\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.228 Thread 0x000000000267e000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d5dda9b8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u66\5298\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.229 Thread 0x000000000267e000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d5dde748) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u66\5298\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.229 Thread 0x000000000267e000 Exception <a 'java/security/PrivilegedActionException'> (0x00000000d5dde958) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u66\5298\hotspot\src\share\vm\prims\jvm.cpp, line 1386]
Event: 0.230 Thread 0x000000000267e000 Exception <a 'java/lang/NoClassDefFoundError': org/slf4j/impl/StaticLoggerBinder> (0x00000000d5de1d28) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u66\5298\hotspot\src\share\vm\classfile\systemDictionary.cpp, line 199]
Events (10 events):
Event: 2.320 loading class com/xuggle/xuggler/ICodec$Type
Event: 2.320 loading class com/xuggle/xuggler/ICodec$Type done
Event: 2.320 loading class com/xuggle/xuggler/ICodec$Type$SwigNext
Event: 2.320 loading class com/xuggle/xuggler/ICodec$Type$SwigNext done
Event: 2.321 loading class com/xuggle/mediatool/event/AddStreamEvent
Event: 2.321 loading class com/xuggle/mediatool/event/AddStreamEvent done
Event: 2.321 loading class com/xuggle/mediatool/event/AStreamCoderMixin
Event: 2.321 loading class com/xuggle/mediatool/event/AStreamCoderMixin done
Event: 2.321 loading class com/xuggle/mediatool/event/AStreamMixin
Event: 2.321 loading class com/xuggle/mediatool/event/AStreamMixin done
Dynamic libraries:
0x000000013f020000 - 0x000000013f057000 C:\Program Files\Java\jre1.8.0_66\bin\javaw.exe
0x0000000077a30000 - 0x0000000077bd9000 C:\Windows\SYSTEM32\ntdll.dll
0x0000000077910000 - 0x0000000077a30000 C:\Windows\system32\kernel32.dll
0x000007fefdc90000 - 0x000007fefdcfc000 C:\Windows\system32\KERNELBASE.dll
0x0000000075670000 - 0x00000000756f7000 C:\Windows\System32\SYSFER.DLL
0x000007feff830000 - 0x000007feff90b000 C:\Windows\system32\ADVAPI32.dll
0x000007feff220000 - 0x000007feff2bf000 C:\Windows\system32\msvcrt.dll
0x000007feffb90000 - 0x000007feffbaf000 C:\Windows\SYSTEM32\sechost.dll
0x000007fefe110000 - 0x000007fefe23d000 C:\Windows\system32\RPCRT4.dll
0x0000000077810000 - 0x000000007790a000 C:\Windows\system32\USER32.dll
0x000007fefe2c0000 - 0x000007fefe327000 C:\Windows\system32\GDI32.dll
0x000007fefe440000 - 0x000007fefe44e000 C:\Windows\system32\LPK.dll
0x000007fefdd40000 - 0x000007fefde0a000 C:\Windows\system32\USP10.dll
0x000007fefbf80000 - 0x000007fefc174000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_fa3b1e3d17594757\COMCTL32.dll
0x000007fefde10000 - 0x000007fefde81000 C:\Windows\system32\SHLWAPI.dll
0x000007feff1f0000 - 0x000007feff21e000 C:\Windows\system32\IMM32.DLL
0x000007fefe330000 - 0x000007fefe439000 C:\Windows\system32\MSCTF.dll
0x0000000056500000 - 0x00000000565d2000 C:\Program Files\Java\jre1.8.0_66\bin\msvcr100.dll
0x0000000054b10000 - 0x0000000055399000 C:\Program Files\Java\jre1.8.0_66\bin\server\jvm.dll
0x000007fefd340000 - 0x000007fefd349000 C:\Windows\system32\WSOCK32.dll
0x000007feff780000 - 0x000007feff7cd000 C:\Windows\system32\WS2_32.dll
0x000007fefe450000 - 0x000007fefe458000 C:\Windows\system32\NSI.dll
0x000007fefb330000 - 0x000007fefb36b000 C:\Windows\system32\WINMM.dll
0x000007fefc7e0000 - 0x000007fefc7ec000 C:\Windows\system32\VERSION.dll
0x0000000077bf0000 - 0x0000000077bf7000 C:\Windows\system32\PSAPI.DLL
0x000000006bdd0000 - 0x000000006bddf000 C:\Program Files\Java\jre1.8.0_66\bin\verify.dll
0x0000000059300000 - 0x0000000059329000 C:\Program Files\Java\jre1.8.0_66\bin\java.dll
0x000000005d600000 - 0x000000005d616000 C:\Program Files\Java\jre1.8.0_66\bin\zip.dll
0x000007fefe460000 - 0x000007feff1e9000 C:\Windows\system32\SHELL32.dll
0x000007feff440000 - 0x000007feff643000 C:\Windows\system32\ole32.dll
0x000007fefd930000 - 0x000007fefd93f000 C:\Windows\system32\profapi.dll
0x000007fefce00000 - 0x000007fefce18000 C:\Windows\system32\CRYPTSP.dll
0x000007fefcae0000 - 0x000007fefcb27000 C:\Windows\system32\rsaenh.dll
0x000007fefc840000 - 0x000007fefc85e000 C:\Windows\system32\USERENV.dll
0x000007fefd860000 - 0x000007fefd86f000 C:\Windows\system32\CRYPTBASE.dll
0x00000000592e0000 - 0x00000000592fa000 C:\Program Files\Java\jre1.8.0_66\bin\net.dll
0x000007fefcda0000 - 0x000007fefcdf5000 C:\Windows\system32\mswsock.dll
0x000007fefd330000 - 0x000007fefd337000 C:\Windows\System32\wship6.dll
0x000007fefa3d0000 - 0x000007fefa3f7000 C:\Windows\system32\IPHLPAPI.DLL
0x000007fefa3c0000 - 0x000007fefa3cb000 C:\Windows\system32\WINNSI.DLL
0x000007fef9ba0000 - 0x000007fef9bb1000 C:\Windows\system32\dhcpcsvc6.DLL
0x000007fef9b10000 - 0x000007fef9b28000 C:\Windows\system32\dhcpcsvc.DLL
0x00000000592c0000 - 0x00000000592d1000 C:\Program Files\Java\jre1.8.0_66\bin\nio.dll
0x000000006e740000 - 0x000000006fda5000 C:\Users\hbxd78\AppData\Local\Temp\xuggle\xuggle2013058311529011075.dll
0x000007feea410000 - 0x000007feea427000 C:\Windows\system32\AVICAP32.dll
0x000007fedf3c0000 - 0x000007fedf3e9000 C:\Windows\system32\MSVFW32.dll
0x000007fef8300000 - 0x000007fef8425000 C:\Windows\system32\dbghelp.dll
VM Arguments:
jvm_args: -Dfile.encoding=Cp1255
java_command: VideoToAudio
java_class_path (initial): C:\Users\hbxd78\workspaceNew\DecodeAndPlayAudio\bin;C:\Users\hbxd78\workspaceNew\DecodeAndPlayAudio\lib\JMF-2.1.1e\lib\customizer.jar;C:\Users\hbxd78\workspaceNew\DecodeAndPlayAudio\lib\JMF-2.1.1e\lib\jmf.jar;C:\Users\hbxd78\workspaceNew\DecodeAndPlayAudio\lib\JMF-2.1.1e\lib\mediaplayer.jar;C:\Users\hbxd78\workspaceNew\DecodeAndPlayAudio\lib\JMF-2.1.1e\lib\multiplayer.jar;C:\Users\hbxd78\workspaceNew\DecodeAndPlayAudio\lib\jmf-2.1.1e.jar;C:\Users\hbxd78\workspaceNew\DecodeAndPlayAudio\lib\jmf.jar;C:\Users\hbxd78\workspaceNew\DecodeAndPlayAudio\lib\JLayer1.0.1\jl1.0.1.jar;C:\Users\hbxd78\workspaceNew\DecodeAndPlayAudio\xuggle-xuggler-5.4.jar;C:\Users\hbxd78\workspaceNew\JARs\slf4j-api-1.7.13.jar
Launcher Type: SUN_STANDARD
Environment Variables:
CLASSPATH=.;.;.;C:\PROGRA~2\JMF21~1.1E\lib\sound.jar;C:\PROGRA~2\JMF21~1.1E\lib\jmf.jar;C:\PROGRA~2\JMF21~1.1E\lib;
PATH=C:/Program Files/Java/jre1.8.0_66/bin/server;C:/Program Files/Java/jre1.8.0_66/bin;C:/Program Files/Java/jre1.8.0_66/lib/amd64;C:\ProgramData\Oracle\Java\javapath;C:\TDM-GCC-64\bin;C:\msys\1.0\bin;\C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\IBM\RationalSDLC\common;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Program Files\Common Files\Microsoft Shared\Microsoft Online Services;C:\Program Files (x86)\Common Files\Microsoft Shared\Microsoft Online Services;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\IBM\RationalSDLC\ClearCase\bin;C:\Program Files (x86)\IBM\gsk8\lib;C:\Program Files (x86)\IBM\gsk8\bin;C:\Program Files (x86)\IBM\RationalSDLC\ClearCase\RemoteClient\cteapis;C:\Users\hbxd78\Downloads\eclipse-java-mars-1-win32-x86_64\eclipse;
USERNAME=HBXD78
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 45 Stepping 7, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 , 64 bit Build 7601 (6.1.7601.19045)
CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 45 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, clmul, tsc, tscinvbit, tscinv
Memory: 4k page, physical 8316404k(3383016k free), swap 12508872k(6751408k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (25.66-b18) for windows-amd64 JRE (1.8.0_66-b18), built on Nov 9 2015 10:51:13 by "java_re" with MS VC++ 10.0 (VS2010)
time: Wed Jan 13 11:01:59 2016
elapsed time: 2 seconds (0d 0h 0m 2s)
-------------------------------------------------------------------------------
I tried:
Updating Java to latest version.
Update Windows
Restart PC
Enable Mini-dumps through Advanced System Settings -- > Startup & Recovery -- > Settings -- > Choosing 'small memory dump'.
Update Graphic Driver to latest from official producer's (Nvidia) website.
deleting '.metadata' Folder from Eclipse's workspace folder and Imported the existing project.
So far no luck, my simple app is trying to extract audio from a video.
Updating Java to latest version.
You have a problem in native code. Updating Java will unlikely help in that situation.
Update Windows
This will only help if the native code that you use is updated through Windows Updates.
Enable Mini-dumps through Advanced System Settings -- > Startup & Recovery -- > Settings -- > Choosing 'small memory dump'.
This setting is for kernel mode crashes (Blue Screen), not for application crashes (user mode). There is also a setting for application crashes (a Registry setting called LocalDumps) but it won't work for Java, since Java does its own exception handling.
To get crash dumps from Java 9 and above, use the following command line switch:
-XX:+CreateCoredumpOnCrash
On Java 8 and before, use the Windows specific command line
-XX:+CreateMinidumpOnCrash
This will give you more details on what happens at the time of the crash. It will still be an AccessViolation but you'll get the callstack etc. - if you have the knowledge of debugging it with WinDbg or similar.
Update Graphic Driver to latest from official producer's (Nvidia) website.
There's no evidence that this is related to the Graphics card.
Had a similar issue with JDK 1.8.0_261, did downgrade the version to JDK 1.8.0_251 and the same resolved the issue. May be you can try to upgrade the JDK version. Looks like a bug as per the below links:
https://issues.apache.org/jira/browse/CASSANDRA-15950
https://cassandra.link/feed/cassandra-windows-10-access-violation

Xuggler - opening mp4 files crashes/blocks program

Short version:
Opening/reading mp4 files with Xuggler sometimes does not work properly but causes program to crash.
Long version:
In my program i read, modify and write video files. It works fine with most formats i tested (avi, flv, mpg, mkv).
The Xuggler functions i use are mostly:
//Example 1
IContainer container = IContainer.make();
int result = container.open(filename, IContainer.Type.READ, null);
and
//Example 2
IMediaReader filmReader = ToolFactory.makeReader(filename);
filmReader.readPacket();
filmReader.close();
Working on mp4 file is lottery. Some files work mostly fine. Some files work with the Example 1 but not with Example 2 or vice versa. With some files program runs if it's Debug mode and with some it does not run in debug mode.
The effect i usually get is an error (look at the bottom of post).
The answer i'm looking for is why this happens and more importantly is it possible to fix?
Problem is especially hard for me to investigate because it seems semi random. It may behave differently in debug mode, sometimes even the time i wait in debug mode before pressing continue may cause program to run properly or crash.
Adding seemingly unrelated code may cause program to stop working with some files. For example:
Adding line:
IContainer container1 = IContainer.make();
Before program:
IMediaReader filmReader = ToolFactory.makeReader(filename);
filmReader.readPacket();
filmReader.close();
IContainer container = IContainer.make();
int result = container.open(filename, IContainer.Type.READ, null);
System.out.println(result);
Cause crashes with files that worked properly before.
The error:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006ee76520, pid=4448, tid=7192
#
# JRE version: Java(TM) SE Runtime Environment (8.0_40-b26) (build 1.8.0_40-b26)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.40-b25 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [xuggle6554930242940580036.dll+0x736520]
#
# 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:\Michal\Java Workspace\TestMP4\hs_err_pid4448.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.
#
The log:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006ee76520, pid=1164, tid=8360
#
# JRE version: Java(TM) SE Runtime Environment (8.0_40-b26) (build 1.8.0_40-b26)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.40-b25 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [xuggle7482689414368935779.dll+0x736520]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
--------------- T H R E A D ---------------
Current thread (0x00000000021fe800): JavaThread "main" [_thread_in_native, id=8360, stack(0x0000000002200000,0x0000000002300000)]
siginfo: ExceptionCode=0xc0000005, reading address 0xffffffffffffffff
Registers:
RAX=0x00000000003e1130, RBX=0x0000000058fc0120, RCX=0x00000000003e1130, RDX=0x0000000000000009
RSP=0x00000000022fdd60, RBP=0x00000000003e0870, RSI=0x00000000003e2130, RDI=0x0000000000000004
R8 =0x000000006ee77580, R9 =0x000000006ee76490, R10=0x000000005902e880, R11=0x00000000003d16a0
R12=0x00000000003d1ea0, R13=0x0000000000000004, R14=0x0000000000000184, R15=0x000000006fab8f20
RIP=0x000000006ee76520, EFLAGS=0x0000000000010202
Top of Stack: (sp=0x00000000022fdd60)
0x00000000022fdd60: 000000006ee76665 000000006ee774c5
0x00000000022fdd70: 000000006ee77505 000000006ee77545
0x00000000022fdd80: 000000006ee77585 000000006ee79426
0x00000000022fdd90: 000000006fab8f20 00000000003e1130
0x00000000022fdda0: 0000000058fc25e0 0000000002650006
0x00000000022fddb0: 3fe0000000000000 0000000000000000
0x00000000022fddc0: 40c7760000000000 0000000000000000
0x00000000022fddd0: 3fe0000000000000 0000000000000000
0x00000000022fdde0: 0000000058fc35e0 000000006ea45d24
0x00000000022fddf0: 3f40624dd2f1a9fc 0000000000000000
0x00000000022fde00: 0000000000000000 0000000000000000
0x00000000022fde10: 0000000000000000 0000000000000000
0x00000000022fde20: 0000000058fcc4e0 000000006fab7320
0x00000000022fde30: 0000000055dbdc5d 0000000058fc0080
0x00000000022fde40: 0000000000000000 00000000003e0870
0x00000000022fde50: 00000000003e0870 0000000000000000
Instructions: (pc=0x000000006ee76520)
0x000000006ee76500: c4 e3 5d 0c c0 55 c5 e4 5c c8 c5 e4 58 c0 c5 fc
0x000000006ee76510: 29 01 c5 fc 29 49 20 c3 0f 1f 84 00 00 00 00 00
0x000000006ee76520: c5 fc 28 51 40 c5 fc 28 59 60 c5 ec 5c fb c5 ec
0x000000006ee76530: 58 d3 c5 c4 57 3d 26 41 84 00 c5 ec c6 df be c5
Register to memory mapping:
RAX=0x00000000003e1130 is an unknown value
RBX=0x0000000058fc0120 is an unknown value
RCX=0x00000000003e1130 is an unknown value
RDX=0x0000000000000009 is an unknown value
RSP=0x00000000022fdd60 is pointing into the stack for thread: 0x00000000021fe800
RBP=0x00000000003e0870 is an unknown value
RSI=0x00000000003e2130 is an unknown value
RDI=0x0000000000000004 is an unknown value
R8 =0x000000006ee77580 is an unknown value
R9 =0x000000006ee76490 is an unknown value
R10=0x000000005902e880 is an unknown value
R11=0x00000000003d16a0 is an unknown value
R12=0x00000000003d1ea0 is an unknown value
R13=0x0000000000000004 is an unknown value
R14=0x0000000000000184 is an unknown value
R15=0x000000006fab8f20 is an unknown value
Stack: [0x0000000002200000,0x0000000002300000], sp=0x00000000022fdd60, free space=1015k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [xuggle7482689414368935779.dll+0x736520]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.xuggle.xuggler.XugglerJNI.IContainer_open__SWIG_1(JLcom/xuggle/xuggler/IContainer;Ljava/lang/String;IJLcom/xuggle/xuggler/IContainerFormat;ZZ)I+0
j com.xuggle.xuggler.IContainer.open(Ljava/lang/String;Lcom/xuggle/xuggler/IContainer$Type;Lcom/xuggle/xuggler/IContainerFormat;ZZ)I+19
j com.xuggle.mediatool.MediaReader.open()V+20
j com.xuggle.mediatool.MediaReader.readPacket()Lcom/xuggle/xuggler/IError;+8
j testmp4.TestMP4.main([Ljava/lang/String;)V+9
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x000000005631f800 JavaThread "Service Thread" daemon [_thread_blocked, id=5712, stack(0x0000000058560000,0x0000000058660000)]
0x0000000057d41000 JavaThread "C1 CompilerThread2" daemon [_thread_blocked, id=1836, stack(0x0000000058410000,0x0000000058510000)]
0x0000000057d40800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=8572, stack(0x0000000058200000,0x0000000058300000)]
0x0000000056318000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=8172, stack(0x0000000057c40000,0x0000000057d40000)]
0x0000000056316800 JavaThread "Attach Listener" daemon [_thread_blocked, id=9060, stack(0x0000000057a00000,0x0000000057b00000)]
0x0000000056313800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7208, stack(0x0000000057830000,0x0000000057930000)]
0x00000000562b7000 JavaThread "Finalizer" daemon [_thread_blocked, id=9876, stack(0x0000000057700000,0x0000000057800000)]
0x00000000562b0000 JavaThread "Reference Handler" daemon [_thread_blocked, id=10068, stack(0x0000000057560000,0x0000000057660000)]
=>0x00000000021fe800 JavaThread "main" [_thread_in_native, id=8360, stack(0x0000000002200000,0x0000000002300000)]
Other Threads:
0x00000000562aa800 VMThread [stack: 0x0000000057370000,0x0000000057470000] [id=5480]
0x0000000057de5800 WatcherThread [stack: 0x00000000586c0000,0x00000000587c0000] [id=8516]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap:
PSYoungGen total 28672K, used 8878K [0x00000000e0300000, 0x00000000e2300000, 0x0000000100000000)
eden space 24576K, 36% used [0x00000000e0300000,0x00000000e0bab8e8,0x00000000e1b00000)
from space 4096K, 0% used [0x00000000e1f00000,0x00000000e1f00000,0x00000000e2300000)
to space 4096K, 0% used [0x00000000e1b00000,0x00000000e1b00000,0x00000000e1f00000)
ParOldGen total 65536K, used 0K [0x00000000a0800000, 0x00000000a4800000, 0x00000000e0300000)
object space 65536K, 0% used [0x00000000a0800000,0x00000000a0800000,0x00000000a4800000)
Metaspace used 5529K, capacity 5564K, committed 5888K, reserved 1056768K
class space used 645K, capacity 660K, committed 768K, reserved 1048576K
Card table byte_map: [0x0000000011a10000,0x0000000011d10000] byte_map_base: 0x000000001150c000
Marking Bits: (ParMarkBitMap*) 0x0000000059fc4040
Begin Bits: [0x0000000012660000, 0x0000000013e40000)
End Bits: [0x0000000013e40000, 0x0000000015620000)
Polling page: 0x0000000001c80000
CodeCache: size=245760Kb used=1840Kb max_used=1840Kb free=243919Kb
bounds [0x0000000002650000, 0x00000000028c0000, 0x0000000011650000]
total_blobs=690 nmethods=352 adapters=251
compilation: enabled
Compilation events (10 events):
Event: 1.648 Thread 0x0000000057d41000 348 3 java.net.URLClassLoader$1::run (5 bytes)
Event: 1.649 Thread 0x0000000057d41000 nmethod 348 0x000000000281cd50 code [0x000000000281cec0, 0x000000000281d068]
Event: 1.649 Thread 0x0000000057d41000 349 ! 3 java.net.URLClassLoader$1::run (63 bytes)
Event: 1.649 Thread 0x0000000057d41000 nmethod 349 0x000000000281c390 code [0x000000000281c560, 0x000000000281ca88]
Event: 1.649 Thread 0x0000000057d41000 350 s 3 sun.misc.Resource::cachedInputStream (20 bytes)
Event: 1.650 Thread 0x0000000057d41000 nmethod 350 0x000000000281bd90 code [0x000000000281bf00, 0x000000000281c2c8]
Event: 1.652 Thread 0x0000000057d41000 351 s! 3 java.net.URLStreamHandler::getHostAddress (54 bytes)
Event: 1.652 Thread 0x0000000057d41000 nmethod 351 0x000000000281b110 code [0x000000000281b2c0, 0x000000000281ba58]
Event: 1.659 Thread 0x0000000057d41000 352 3 java.lang.ref.WeakReference::<init> (7 bytes)
Event: 1.659 Thread 0x0000000057d41000 nmethod 352 0x000000000281ac10 code [0x000000000281ad80, 0x000000000281b030]
GC Heap History (0 events):
No events
Deoptimization events (0 events):
No events
Internal exceptions (10 events):
Event: 0.081 Thread 0x00000000021fe800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000e0497968) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u40\3098\hotspot\src\share\vm\prims\jvm.cpp, line 1382]
Event: 0.081 Thread 0x00000000021fe800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000e0498c08) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u40\3098\hotspot\src\share\vm\prims\jvm.cpp, line 1382]
Event: 0.081 Thread 0x00000000021fe800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000e0498dc0) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u40\3098\hotspot\src\share\vm\prims\jvm.cpp, line 1382]
Event: 0.081 Thread 0x00000000021fe800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000e0499fe8) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u40\3098\hotspot\src\share\vm\prims\jvm.cpp, line 1382]
Event: 0.081 Thread 0x00000000021fe800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000e049a1a0) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u40\3098\hotspot\src\share\vm\prims\jvm.cpp, line 1382]
Event: 0.107 Thread 0x00000000021fe800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000e0578158) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u40\3098\hotspot\src\share\vm\prims\jvm.cpp, line 1382]
Event: 0.107 Thread 0x00000000021fe800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000e0578310) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u40\3098\hotspot\src\share\vm\prims\jvm.cpp, line 1382]
Event: 0.108 Thread 0x00000000021fe800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000e057c238) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u40\3098\hotspot\src\share\vm\prims\jvm.cpp, line 1382]
Event: 0.108 Thread 0x00000000021fe800 Exception <a 'java/security/PrivilegedActionException'> (0x00000000e057c3f0) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u40\3098\hotspot\src\share\vm\prims\jvm.cpp, line 1382]
Event: 0.135 Thread 0x00000000021fe800 Exception <a 'java/io/FileNotFoundException'> (0x00000000e07157c0) thrown at [D:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u40\3098\hotspot\src\share\vm\prims\jni.cpp, line 709]
Events (10 events):
Event: 1.654 loading class java/util/concurrent/TimeUnit$6
Event: 1.655 loading class java/util/concurrent/TimeUnit$6 done
Event: 1.655 loading class java/util/concurrent/TimeUnit$7
Event: 1.655 loading class java/util/concurrent/TimeUnit$7 done
Event: 1.658 loading class com/xuggle/xuggler/IContainer$Type
Event: 1.658 loading class com/xuggle/xuggler/IContainer$Type done
Event: 1.659 loading class com/xuggle/xuggler/IContainer$Type$SwigNext
Event: 1.659 loading class com/xuggle/xuggler/IContainer$Type$SwigNext done
Event: 1.659 loading class com/xuggle/xuggler/IContainerFormat
Event: 1.659 loading class com/xuggle/xuggler/IContainerFormat done
Dynamic libraries:
0x000000013fca0000 - 0x000000013fcd7000 C:\Program Files\Java\jdk1.8.0_40\bin\java.exe
0x0000000077190000 - 0x0000000077339000 C:\Windows\SYSTEM32\ntdll.dll
0x0000000076f70000 - 0x000000007708f000 C:\Windows\system32\kernel32.dll
0x000007fefc210000 - 0x000007fefc27c000 C:\Windows\system32\KERNELBASE.dll
0x000007fefce80000 - 0x000007fefcf5b000 C:\Windows\system32\ADVAPI32.dll
0x000007fefc650000 - 0x000007fefc6ef000 C:\Windows\system32\msvcrt.dll
0x000007fefcf60000 - 0x000007fefcf7f000 C:\Windows\SYSTEM32\sechost.dll
0x000007fefd110000 - 0x000007fefd23d000 C:\Windows\system32\RPCRT4.dll
0x0000000077090000 - 0x000000007718a000 C:\Windows\system32\USER32.dll
0x000007fefce10000 - 0x000007fefce77000 C:\Windows\system32\GDI32.dll
0x000007fefca10000 - 0x000007fefca1e000 C:\Windows\system32\LPK.dll
0x000007fefd240000 - 0x000007fefd309000 C:\Windows\system32\USP10.dll
0x000007fefaa50000 - 0x000007fefac44000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\COMCTL32.dll
0x000007fefc280000 - 0x000007fefc2f1000 C:\Windows\system32\SHLWAPI.dll
0x000007fefcd40000 - 0x000007fefcd6e000 C:\Windows\system32\IMM32.DLL
0x000007fefca20000 - 0x000007fefcb29000 C:\Windows\system32\MSCTF.dll
0x000007fef3430000 - 0x000007fef34bd000 C:\Program Files (x86)\AVG\AVG2015\avghooka.dll
0x000000005ade0000 - 0x000000005aeb2000 C:\Program Files\Java\jdk1.8.0_40\jre\bin\msvcr100.dll
0x00000000597c0000 - 0x000000005a043000 C:\Program Files\Java\jdk1.8.0_40\jre\bin\server\jvm.dll
0x000007fef5130000 - 0x000007fef5139000 C:\Windows\system32\WSOCK32.dll
0x000007fefc7e0000 - 0x000007fefc82d000 C:\Windows\system32\WS2_32.dll
0x000007fefc6f0000 - 0x000007fefc6f8000 C:\Windows\system32\NSI.dll
0x000007fef9010000 - 0x000007fef904b000 C:\Windows\system32\WINMM.dll
0x000007fefaf40000 - 0x000007fefaf4c000 C:\Windows\system32\VERSION.dll
0x0000000077350000 - 0x0000000077357000 C:\Windows\system32\PSAPI.DLL
0x000000005c230000 - 0x000000005c23f000 C:\Program Files\Java\jdk1.8.0_40\jre\bin\verify.dll
0x000000005c200000 - 0x000000005c229000 C:\Program Files\Java\jdk1.8.0_40\jre\bin\java.dll
0x000000005c1e0000 - 0x000000005c1f6000 C:\Program Files\Java\jdk1.8.0_40\jre\bin\zip.dll
0x000007fefd310000 - 0x000007fefe099000 C:\Windows\system32\SHELL32.dll
0x000007fefcb30000 - 0x000007fefcd33000 C:\Windows\system32\ole32.dll
0x000007fefbed0000 - 0x000007fefbedf000 C:\Windows\system32\profapi.dll
0x000007fefb6c0000 - 0x000007fefb6d8000 C:\Windows\system32\CRYPTSP.dll
0x000007fefb3c0000 - 0x000007fefb407000 C:\Windows\system32\rsaenh.dll
0x000007fefc090000 - 0x000007fefc0ae000 C:\Windows\system32\USERENV.dll
0x000007fefbd20000 - 0x000007fefbd2f000 C:\Windows\system32\CRYPTBASE.dll
0x000000005c1c0000 - 0x000000005c1da000 C:\Program Files\Java\jdk1.8.0_40\jre\bin\net.dll
0x000007fefb660000 - 0x000007fefb6b5000 C:\Windows\system32\mswsock.dll
0x000007fefb650000 - 0x000007fefb657000 C:\Windows\System32\wship6.dll
0x000007fef8730000 - 0x000007fef8757000 C:\Windows\system32\IPHLPAPI.DLL
0x000007fef8780000 - 0x000007fef878b000 C:\Windows\system32\WINNSI.DLL
0x000007fef83c0000 - 0x000007fef83d8000 C:\Windows\system32\dhcpcsvc.DLL
0x000007fef8050000 - 0x000007fef8061000 C:\Windows\system32\dhcpcsvc6.DLL
0x000000005ba80000 - 0x000000005ba91000 C:\Program Files\Java\jdk1.8.0_40\jre\bin\nio.dll
0x000000006e740000 - 0x000000006fda5000 C:\Users\User\AppData\Local\Temp\xuggle\xuggle7482689414368935779.dll
0x000007feefda0000 - 0x000007feefdb7000 C:\Windows\system32\AVICAP32.dll
0x000007feef200000 - 0x000007feef229000 C:\Windows\system32\MSVFW32.dll
0x000007fef63b0000 - 0x000007fef64d5000 C:\Windows\system32\dbghelp.dll
VM Arguments:
jvm_args: -Dfile.encoding=UTF-8
java_command: testmp4.TestMP4
java_class_path (initial): C:\Michal\Java Workspace\Xuggler\commons-cli-1.2-bin\commons-cli-1.2\commons-cli-1.2.jar;C:\Michal\Java Workspace\Xuggler\xuggle-xuggler-5.4.jar;C:\Michal\Java Workspace\Xuggler\logback-1.1.2\logback-1.1.2\logback-classic-1.1.2.jar;C:\Michal\Java Workspace\Xuggler\logback-1.1.2\logback-1.1.2\logback-core-1.1.2.jar;C:\Michal\Java Workspace\Xuggler\slf4j-1.7.10\slf4j-1.7.10\slf4j-api-1.7.10.jar;C:\Michal\Java Workspace\TestMP4\build\classes
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=C:\ProgramData\Oracle\Java\javapath;C:\Michal\Xuggler\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;c:\Program Files (x86)\Intel\iCLS Client\;c:\Program Files\Intel\iCLS Client\;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)\Windows Live\Shared;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Qt\Qt5.0.0\5.0.0\msvc2010\bin;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Mingw\bin;C:\Qt\4.8.4\bin;C:\Program Files (x86)\QuickTime\QTSystem\
USERNAME=User
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 58 Stepping 9, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 , 64 bit Build 7601 (6.1.7601.18409)
CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 58 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, aes, clmul, erms, tsc, tscinvbit, tscinv
Memory: 4k page, physical 6253844k(2125080k free), swap 12505832k(7349476k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (25.40-b25) for windows-amd64 JRE (1.8.0_40-b26), built on Mar 7 2015 13:51:59 by "java_re" with MS VC++ 10.0 (VS2010)
time: Mon Mar 23 20:32:59 2015
elapsed time: 1 seconds (0d 0h 0m 1s)
Or just a popup saying java stopped working with exit code:
Java Result: -1073741819

Trying to use jawt on 64-bit WIndows 7 OS

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.

Categories

Resources