Hi,
I tried a programm with the board K8055 and get no problems. I used a sample prog from the book MSR with Java and USB.
Now i want to try the prog on K8061 but i get a problem with the DLL. I get this errorlog.
[quote]#
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0036ec89, pid=5136, tid=8180
JRE version: 7.0_07-b10
Java VM: Java HotSpot™ Client VM (23.3-b01 mixed mode, sharing windows-x86 )
Problematic frame:
C [K8061.dll+0x3ec89] ReadVersion+0x95
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:
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 (0x0027a800): JavaThread “main” [_thread_in_native, id=8180, stack(0x002e0000,0x00330000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x006a0870
Registers:
EAX=0x00000000, EBX=0x344cc6b0, ECX=0x00000000, EDX=0x00000002
ESP=0x0032fabc, EBP=0x0032fac8, ESI=0x00330000, EDI=0x00000003
EIP=0x0036ec89, EFLAGS=0x00010246
Top of Stack: (sp=0x0032fabc)
0x0032fabc: 0027a800 344cc6b0 0036eb2f 0032fae8
0x0032facc: 6eb416a8 00330000 0036eb0c 344cc6b0
0x0032fadc: 0032fb20 025aa607 0036eb0c 0032fb20
0x0032faec: 025aa707 0027a928 0032fb30 0027b114
0x0032fafc: 0027b11c 0032fb00 344cc6b0 0032fb30
0x0032fb0c: 344ccc68 00000000 344cc6b0 00000000
0x0032fb1c: 0032fb30 0032fb54 025a32c7 00000000
0x0032fb2c: 025a8989 244f0300 0032fb34 344cb89f
Instructions: (pc=0x0036ec89)
0x0036ec69: f0 b9 40 00 00 00 b8 c0 08 37 00 c6 00 00 40 49
0x0036ec79: 75 f9 33 c0 a3 8c 09 37 00 33 c0 a3 84 09 37 00
0x0036ec89: 80 be 70 08 37 00 00 0f 84 9f 00 00 00 6a 00 68
0x0036ec99: 88 09 37 00 52 68 80 08 37 00 6a 01 8b 04 b5 64
Register to memory mapping:
EAX=0x00000000 is an unknown value
EBX=0x344cc6b0 is an oop
{method}
- klass: {other class}
ECX=0x00000000 is an unknown value
EDX=0x00000002 is an unknown value
ESP=0x0032fabc is pointing into the stack for thread: 0x0027a800
EBP=0x0032fac8 is pointing into the stack for thread: 0x0027a800
ESI=0x00330000 is pointing into the stack for thread: 0x0027a800
EDI=0x00000003 is an unknown value
Stack: [0x002e0000,0x00330000], sp=0x0032fabc, free space=318k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [K8061.dll+0x3ec89] ReadVersion+0x95
C [JK8055.dll+0x16a8] Java_JK8055_SetAllDigital+0x2f
j JK8055.SetAllDigital()V+0
j test.main([Ljava/lang/String;)V+15
v ~StubRoutines::call_stub
V [jvm.dll+0x12a39a]
V [jvm.dll+0x1d962e]
V [jvm.dll+0x12a41d]
V [jvm.dll+0xaee94]
V [jvm.dll+0xb9217]
C [javaw.exe+0x1fea]
C [javaw.exe+0xa0eb]
C [javaw.exe+0xa175]
C [kernel32.dll+0x133aa] BaseThreadInitThunk+0x12
C [ntdll.dll+0x39ef2] RtlInitializeExceptionChain+0x63
C [ntdll.dll+0x39ec5] RtlInitializeExceptionChain+0x36
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j JK8055.SetAllDigital()V+0
j test.main([Ljava/lang/String;)V+15
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0104e800 JavaThread “Service Thread” daemon [_thread_blocked, id=7788, stack(0x04bf0000,0x04c40000)]
0x0104c800 JavaThread “C1 CompilerThread0” daemon [_thread_blocked, id=8504, stack(0x04ae0000,0x04b30000)]
0x0104b400 JavaThread “Attach Listener” daemon [_thread_blocked, id=8576, stack(0x04930000,0x04980000)]
0x01048400 JavaThread “Signal Dispatcher” daemon [_thread_blocked, id=8200, stack(0x049e0000,0x04a30000)]
0x01036400 JavaThread “Finalizer” daemon [_thread_blocked, id=8176, stack(0x04660000,0x046b0000)]
0x01031800 JavaThread “Reference Handler” daemon [_thread_blocked, id=5612, stack(0x04820000,0x04870000)]
=>0x0027a800 JavaThread “main” [_thread_in_native, id=8180, stack(0x002e0000,0x00330000)]
Other Threads:
0x01030400 VMThread [stack: 0x045d0000,0x04620000] [id=4616]
0x01050800 WatcherThread [stack: 0x048e0000,0x04930000] [id=7700]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 4928K, used 281K [0x244b0000, 0x24a00000, 0x29a00000)
eden space 4416K, 6% used [0x244b0000, 0x244f6558, 0x24900000)
from space 512K, 0% used [0x24900000, 0x24900000, 0x24980000)
to space 512K, 0% used [0x24980000, 0x24980000, 0x24a00000)
tenured generation total 10944K, used 0K [0x29a00000, 0x2a4b0000, 0x344b0000)
the space 10944K, 0% used [0x29a00000, 0x29a00000, 0x29a00200, 0x2a4b0000)
compacting perm gen total 12288K, used 115K [0x344b0000, 0x350b0000, 0x384b0000)
the space 12288K, 0% used [0x344b0000, 0x344ccfb0, 0x344cd000, 0x350b0000)
ro space 10240K, 42% used [0x384b0000, 0x388ef150, 0x388ef200, 0x38eb0000)
rw space 12288K, 54% used [0x38eb0000, 0x3952fad8, 0x3952fc00, 0x39ab0000)
Card table byte_map: [0x01080000,0x01130000] byte_map_base: 0x00f5da80
Polling page: 0x000c0000
Code Cache [0x025a0000, 0x02638000, 0x045a0000)
total_blobs=134 nmethods=6 adapters=64 free_code_cache=32185Kb largest_free_block=32958208
Compilation events (10 events):
Event: 0.044 Thread 0x0104c800 2 java.lang.String::charAt (29 bytes)
Event: 0.044 Thread 0x0104c800 nmethod 2 0x02630288 code [0x02630390, 0x026304bc]
Event: 0.048 Thread 0x0104c800 3 java.lang.String::indexOf (70 bytes)
Event: 0.048 Thread 0x0104c800 nmethod 3 0x02630608 code [0x02630720, 0x0263085c]
Event: 0.048 Thread 0x0104c800 4 java.lang.String::indexOf (166 bytes)
Event: 0.049 Thread 0x0104c800 nmethod 4 0x02630988 code [0x02630aa0, 0x02630cd0]
Event: 0.050 Thread 0x0104c800 5 java.io.Win32FileSystem::normalize (143 bytes)
Event: 0.050 Thread 0x0104c800 nmethod 5 0x02630fc8 code [0x02631110, 0x026313ac]
Event: 0.050 Thread 0x0104c800 6 java.lang.Object:: (1 bytes)
Event: 0.051 Thread 0x0104c800 nmethod 6 0x02631708 code [0x02631800, 0x02631890]
GC Heap History (0 events):
No events
Deoptimization events (0 events):
No events
Internal exceptions (3 events):
Event: 0.019 Thread 0x0027a800 Threw 0x244b11d8 at C:\jdk7u1_32P\jdk7u7\hotspot\src\share\vm\prims\jni.cpp:3994
Event: 0.045 Thread 0x0027a800 Threw 0x244e9e88 at C:\jdk7u1_32P\jdk7u7\hotspot\src\share\vm\prims\jvm.cpp:1166
Event: 0.048 Thread 0x0027a800 Threw 0x244ed350 at C:\jdk7u1_32P\jdk7u7\hotspot\src\share\vm\prims\jvm.cpp:1166
Events (10 events):
Event: 0.046 loading class 0x0104f7f8
Event: 0.046 loading class 0x0104f7f8 done
Event: 0.046 loading class 0x39bad170
Event: 0.046 loading class 0x39ae3788
Event: 0.046 loading class 0x39ae3788 done
Event: 0.046 loading class 0x39bad170 done
Event: 0.048 loading class 0x01058f20
Event: 0.048 loading class 0x01058f20 done
Event: 0.049 loading class 0x39abaa28
Event: 0.049 loading class 0x39abaa28 done
Dynamic libraries:
0x01170000 - 0x0119f000 C:\Program Files (x86)\Java\jre7\bin\javaw.exe
0x778d0000 - 0x77a50000 C:\Windows\SysWOW64\ntdll.dll
0x75710000 - 0x75820000 C:\Windows\syswow64\kernel32.dll
0x75eb0000 - 0x75ef7000 C:\Windows\syswow64\KERNELBASE.dll
0x75940000 - 0x759e0000 C:\Windows\syswow64\ADVAPI32.dll
0x76f60000 - 0x7700c000 C:\Windows\syswow64\msvcrt.dll
0x756f0000 - 0x75709000 C:\Windows\SysWOW64\sechost.dll
0x751f0000 - 0x752e0000 C:\Windows\syswow64\RPCRT4.dll
0x74fb0000 - 0x75010000 C:\Windows\syswow64\SspiCli.dll
0x74fa0000 - 0x74fac000 C:\Windows\syswow64\CRYPTBASE.dll
0x75c80000 - 0x75d80000 C:\Windows\syswow64\USER32.dll
0x76de0000 - 0x76e70000 C:\Windows\syswow64\GDI32.dll
0x75640000 - 0x7564a000 C:\Windows\syswow64\LPK.dll
0x75d80000 - 0x75e1d000 C:\Windows\syswow64\USP10.dll
0x740d0000 - 0x7426e000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\COMCTL32.dll
0x75f00000 - 0x75f57000 C:\Windows\syswow64\SHLWAPI.dll
0x76e70000 - 0x76ed0000 C:\Windows\system32\IMM32.DLL
0x75570000 - 0x7563c000 C:\Windows\syswow64\MSCTF.dll
0x74d60000 - 0x74d96000 C:\Windows\SysWOW64\nvinit.dll
0x74560000 - 0x7461e000 C:\Program Files (x86)\Java\jre7\bin\msvcr100.dll
0x64cd0000 - 0x6501c000 C:\Program Files (x86)\Java\jre7\bin\client\jvm.dll
0x74b90000 - 0x74b97000 C:\Windows\system32\WSOCK32.dll
0x75530000 - 0x75565000 C:\Windows\syswow64\WS2_32.dll
0x756e0000 - 0x756e6000 C:\Windows\syswow64\NSI.dll
0x74400000 - 0x74432000 C:\Windows\system32\WINMM.dll
0x751e0000 - 0x751e5000 C:\Windows\syswow64\PSAPI.DLL
0x746c0000 - 0x746cc000 C:\Program Files (x86)\Java\jre7\bin\verify.dll
0x74630000 - 0x74650000 C:\Program Files (x86)\Java\jre7\bin\java.dll
0x74540000 - 0x74553000 C:\Program Files (x86)\Java\jre7\bin\zip.dll
0x6eb40000 - 0x6eb48000 C:\Users\Pete\Desktop\test\JK8055.dll
0x00330000 - 0x0037d000 C:\Windows\system32\K8061.dll
0x75650000 - 0x756df000 C:\Windows\syswow64\oleaut32.dll
0x76c30000 - 0x76d8c000 C:\Windows\syswow64\ole32.dll
0x75040000 - 0x751dd000 C:\Windows\syswow64\setupapi.dll
0x76ed0000 - 0x76ef7000 C:\Windows\syswow64\CFGMGR32.dll
0x76dc0000 - 0x76dd2000 C:\Windows\syswow64\DEVOBJ.dll
0x74530000 - 0x74537000 C:\Windows\system32\WINUSB.DLL
0x76d90000 - 0x76dbd000 C:\Windows\syswow64\WINTRUST.dll
0x75820000 - 0x7593e000 C:\Windows\syswow64\CRYPT32.dll
0x75b50000 - 0x75b5c000 C:\Windows\syswow64\MSASN1.dll
0x74a90000 - 0x74b7b000 C:\Windows\system32\dbghelp.dll
VM Arguments:
jvm_args: -Dfile.encoding=Cp1252
java_command: test
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files (x86)\EgisTec MyWinLocker\x64;C:\Program Files (x86)\EgisTec MyWinLocker
USERNAME=Pete
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 , 64 bit Build 7601 Service Pack 1
CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, ht, tsc, tscinvbit
Memory: 4k page, physical 4042608k(1632932k free), swap 8083364k(4744392k free)
vm_info: Java HotSpot™ Client VM (23.3-b01) for windows-x86 JRE (1.7.0_07-b10), built on Aug 28 2012 19:49:22 by “java_re” with unknown MS VC++:1600
time: Mon Nov 12 20:41:16 2012
elapsed time: 0 seconds
[/quote]
some ideas?