I followed the tutorial located here.
https://www3.ntu.edu.sg/home/ehchua/programming/java/JavaNativeInterface.html
(The 2.1 step) I used Cygwin with GCC v4 btw.
After having completed the tutorial, I received an error.
I already tried reinstalling Java. I lowered the level in UAC.
Any thoughts?
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x00000001801238e7, pid=2232, tid=5880
JRE version: 6.0_45-b06
Java VM: Java HotSpot(TM) 64-Bit Server VM (20.45-b01 mixed mode windows-amd64 compressed oops)
Problematic frame:
C [cygwin1.dll+0xe38e7]
If you would like to submit a bug report, please visit:
http://java.sun.com/webapps/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 (0x00000000008db800): JavaThread "main" [_thread_in_native, id=5880, stack(0x00000000024b0000,0x00000000025b0000)]
siginfo: ExceptionCode=0xc0000005, writing address 0x0000000000000000
Registers:
RAX=0x0000000000000000, RBX=0x000000077fc77920, RCX=0x0000000491123030, RDX=0x00000000025afa28
RSP=0x00000000025af960, RBP=0x00000000025af990, RSI=0x000000077fc77628, RDI=0x0000000020000021
R8 =0x0000000000000001, R9 =0x0000000000000002, R10=0x00000000025b0000, R11=0x00000004911210ac
R12=0x0000000000000000, R13=0x000000077fc77920, R14=0x00000000025afa28, R15=0x00000000008db800
RIP=0x00000001801238e7, EFLAGS=0x0000000000010202
Top of Stack: (sp=0x00000000025af960)
0x00000000025af960: 000000018018e680 00000001801238fb
0x00000000025af970: 000000077fc77920 00000000025afa08
0x00000000025af980: 000000077fc77628 0000000020000021
0x00000000025af990: 00000000025afa08 00000000029c1386
0x00000000025af9a0: 00000000008db9d0 00000000025afa28
0x00000000025af9b0: 00000000025af900 00000000008db800
0x00000000025af9c0: 00000000029b5b22 00000000025af9c8
0x00000000025af9d0: 000000077fc77920 00000000025afa28
0x00000000025af9e0: 000000077fc77e40 0000000000000000
0x00000000025af9f0: 000000077fc77920 0000000000000000
0x00000000025afa00: 00000000025afa28 00000000025afa70
0x00000000025afa10: 00000000029b5b22 0000000000000000
0x00000000025afa20: 00000000029be358 00000007d6ee2228
0x00000000025afa30: 00000000025afa30 000000077fc77a07
0x00000000025afa40: 00000000025afa80 000000077fc77e40
0x00000000025afa50: 0000000000000000 000000077fc77a10
Instructions: (pc=0x00000001801238e7)
0x00000001801238c7: 04 f3 90 eb e3 48 c7 c0 08 00 00 00 49 0f c1 82
0x00000001801238d7: f0 e3 ff ff 4c 8d 1d 19 00 00 00 4c 87 5c 24 08
0x00000001801238e7: 4c 89 18 41 ff 82 e4 e3 ff ff 41 ff 8a ec e3 ff
0x00000001801238f7: ff 58 ff e0 65 4c 8b 14 25 08 00 00 00 41 bb 01
Register to memory mapping:
RAX=0x0000000000000000 is an unknown value
RBX=0x000000077fc77920 is an oop
{method}
- klass: {other class}
RCX=0x0000000491123030 is an unknown value
RDX=0x00000000025afa28 is pointing into the stack for thread: 0x00000000008db800
RSP=0x00000000025af960 is pointing into the stack for thread: 0x00000000008db800
RBP=0x00000000025af990 is pointing into the stack for thread: 0x00000000008db800
RSI=0x000000077fc77628 is an oop
{constant pool}
- klass: {other class}
- cache: 0x000000077fc77e40
- 1 : : klass_index=7 name_and_type_index=18
- 2 : : 'HelloJNI' {0x7fc77b78}
- 3 : : klass_index=2 name_and_type_index=18
- 4 : : klass_index=2 name_and_type_index=20
- 5 : : "hello" {0x7fc77ee8}
- 6 : : klass_index=22 name_and_type_index=23
- 7 : : 'java/lang/Object' {0x7fa08e58}
- 8 : : '<init>'
- 9 : : '()V'
- 10 : : 'Code'
- 11 : : 'LineNumberTable'
- 12 : : 'sayHello'
- 13 : : 'main'
- 14 : : '([Ljava/lang/String;)V'
- 15 : : '<clinit>'
- 16 : : 'SourceFile'
- 17 : : 'HelloJNI.java'
- 18 : : name_index=8 signature_index=9
- 19 : : 'HelloJNI'
- 20 : : name_index=12 signature_index=9
- 21 : : 'hello'
- 22 : : 'java/lang/System' {0x7fa2fac8}
- 23 : : name_index=26 signature_index=27
- 24 : : 'java/lang/Object'
- 25 : : 'java/lang/System'
- 26 : : 'loadLibrary'
- 27 : : '(Ljava/lang/String;)V'
RDI=0x0000000020000021 is an unknown value
R8 =0x0000000000000001 is an unknown value
R9 =0x0000000000000002 is an unknown value
R10=0x00000000025b0000 is pointing into the stack for thread: 0x00000000008db800
R11=0x00000004911210ac is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x000000077fc77920 is an oop
{method}
- klass: {other class}
R14=0x00000000025afa28 is pointing into the stack for thread: 0x00000000008db800
R15=0x00000000008db800 is a thread
Stack: [0x00000000024b0000,0x00000000025b0000], sp=0x00000000025af960, free space=1022k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [cygwin1.dll+0xe38e7] issetugid+0xff47
j HelloJNI.sayHello()V+0
j HelloJNI.main([Ljava/lang/String;)V+7
v ~StubRoutines::call_stub
V [jvm.dll+0x1eac57]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j HelloJNI.sayHello()V+0
j HelloJNI.main([Ljava/lang/String;)V+7
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0000000006d1f000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=7104, stack(0x00000000072b0000,0x00000000073b0000)]
0x0000000006d1c800 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=7144, stack(0x00000000071b0000,0x00000000072b0000)]
0x0000000006d0a000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=7116, stack(0x00000000070b0000,0x00000000071b0000)]
0x0000000006d07000 JavaThread "Attach Listener" daemon [_thread_blocked, id=4148, stack(0x0000000006fb0000,0x00000000070b0000)]
0x0000000006cb1000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6576, stack(0x0000000006eb0000,0x0000000006fb0000)]
0x00000000007dc000 JavaThread "Finalizer" daemon [_thread_blocked, id=7088, stack(0x0000000006bb0000,0x0000000006cb0000)]
0x00000000007d4000 JavaThread "Reference Handler" daemon [_thread_blocked, id=5632, stack(0x0000000006ab0000,0x0000000006bb0000)]
=>0x00000000008db800 JavaThread "main" [_thread_in_native, id=5880, stack(0x00000000024b0000,0x00000000025b0000)]
Other Threads:
0x00000000007cc000 VMThread [stack: 0x00000000069b0000,0x0000000006ab0000] [id=6764]
0x0000000006d31000 WatcherThread [stack: 0x00000000073b0000,0x00000000074b0000] [id=2844]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
PSYoungGen total 36800K, used 631K [0x00000007d6eb0000, 0x00000007d97c0000, 0x0000000800000000)
eden space 31552K, 2% used [0x00000007d6eb0000,0x00000007d6f4dc38,0x00000007d8d80000)
from space 5248K, 0% used [0x00000007d92a0000,0x00000007d92a0000,0x00000007d97c0000)
to space 5248K, 0% used [0x00000007d8d80000,0x00000007d8d80000,0x00000007d92a0000)
PSOldGen total 84160K, used 0K [0x0000000784c00000, 0x0000000789e30000, 0x00000007d6eb0000)
object space 84160K, 0% used [0x0000000784c00000,0x0000000784c00000,0x0000000789e30000)
PSPermGen total 21248K, used 2527K [0x000000077fa00000, 0x0000000780ec0000, 0x0000000784c00000)
object space 21248K, 11% used [0x000000077fa00000,0x000000077fc77f60,0x0000000780ec0000)
Code Cache [0x00000000029b0000, 0x0000000002c20000, 0x00000000059b0000)
total_blobs=153 nmethods=0 adapters=120 free_code_cache=49951360 largest_free_block=0
Dynamic libraries:
0x0000000000400000 - 0x000000000042f000 C:\windows\system32\java.exe
0x0000000077920000 - 0x0000000077ac9000 C:\windows\SYSTEM32\ntdll.dll
0x0000000077800000 - 0x000000007791f000 C:\windows\system32\kernel32.dll
0x000007fefd800000 - 0x000007fefd86c000 C:\windows\system32\KERNELBASE.dll
0x0000000075480000 - 0x0000000075507000 C:\windows\System32\SYSFER.DLL
0x000007fefe380000 - 0x000007fefe45b000 C:\windows\system32\ADVAPI32.dll
0x000007fefe4f0000 - 0x000007fefe58f000 C:\windows\system32\msvcrt.dll
0x000007fefdb20000 - 0x000007fefdb3f000 C:\windows\SYSTEM32\sechost.dll
0x000007feff6a0000 - 0x000007feff7cd000 C:\windows\system32\RPCRT4.dll
0x000000006d830000 - 0x000000006dfec000 C:\Program Files\Java\jre6\bin\server\jvm.dll
0x0000000077700000 - 0x00000000777fa000 C:\windows\system32\USER32.dll
0x000007feff320000 - 0x000007feff387000 C:\windows\system32\GDI32.dll
0x000007feff820000 - 0x000007feff82e000 C:\windows\system32\LPK.dll
0x000007fefdc20000 - 0x000007fefdce9000 C:\windows\system32\USP10.dll
0x000007fefb2a0000 - 0x000007fefb2db000 C:\windows\system32\WINMM.dll
0x000007feff670000 - 0x000007feff69e000 C:\windows\system32\IMM32.DLL
0x000007fefdfe0000 - 0x000007fefe0e9000 C:\windows\system32\MSCTF.dll
0x000000006d7a0000 - 0x000000006d7ae000 C:\Program Files\Java\jre6\bin\verify.dll
0x000000006d3c0000 - 0x000000006d3e7000 C:\Program Files\Java\jre6\bin\java.dll
0x000000006d7f0000 - 0x000000006d802000 C:\Program Files\Java\jre6\bin\zip.dll
0x0000000491120000 - 0x0000000491138000 C:\MHBK\JNI3\hello.dll
0x0000000180040000 - 0x0000000180610000 C:\cygwin64\bin\cygwin1.dll
0x0000000077af0000 - 0x0000000077af7000 C:\windows\system32\PSAPI.DLL
VM Arguments:
java_command: HelloJNI
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_45\bin
JRE_HOME=C:\Program Files\Java\jre6
PATH=C:\cygwin64\usr\local\bin;C:\cygwin64\bin;C:\windows\system32 C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0;C:\Program Files\IBM\Infoprint Select;C:\Program Files\ThinkPad\Bluetooth Software;C:\Program Files\ThinkPad\Bluetooth Software\syswow64;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files (x86)\Lenovo\Access Connections;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Java\jdk1.6.0_45\bin;C:\cygwin64\bin;C:\Program Files\Intel\WiFi\bin;C:\Program Files\Common Files\Intel\WirelessCommon;C:\Program Files\Java\jdk1.6.0_45\bin;C:\Program Files\Java\jre6\bin
USERNAME= *________*
SHELL=/bin/bash
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 Service Pack 1
CPU:total 4 (2 cores per cpu, 2 threads per core) family 6 model 58 stepping 9, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht
Memory: 4k page, physical 8077104k(5526276k free), swap 16152344k(13452236k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (20.45-b01) for windows-amd64 JRE (1.6.0_45-b06), built on Apr 1 2013 12:31:37 by "java_re" with MS VC++ 8.0 (VS2005)
time: Wed Jun 10 03:25:35 2015
elapsed time: 0 seconds
It appears to be a bug in Java
This issue could be seen due to User Account Control (UAC) feature enabled on Windows Vista or Windows 7 operating system.
UAC is enabled by default in Windows Vista and Windows 7, as a result, you might encounter some compatibility problems with different applications that have not yet been updated for the Windows UAC component
Temporarily disabling UAC may resolve the exception access issue, however, >turning off UAC reduces the security of your system. We do not recommend leaving UAC disabled.
Related
I'm using Play Framework for a projet and as soon as I run the website Java Crashes.
I tried to solve the issue and figured out that when I got rid of some CRUD classes the application was working, but when these CRUD classes are in the project, the application crashes.
I looked in the log file and saw that the PSPermGen was used at 99% . So I added these options to the command line:
-XX:MaxPermSize=512M -XX:PermSize=256M -Xms1024M -Xmx4096M
Then I saw that the PSYoungGen from was used at 99% . So I increased the heap size.
Now the application is still crashing but I can't figure out why.
Can you help me identify the issue ?
Here is the crash log:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000006af328cf, pid=2440, tid=1796
#
# JRE version: 7.0_02-b13
# Java VM: Java HotSpot(TM) 64-Bit Server VM (22.0-b10 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# V [jvm.dll+0x3e28cf]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# http://bugreport.sun.com/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x000000000748c000): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=1796, stack(0x0000000008a70000,0x0000000008b70000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000008
Registers:
RAX=0x0000000000000000, RBX=0x0000000008b6ce60, RCX=0x000000000b1a4720, RDX=0x0000000000000000
RSP=0x0000000008b6c010, RBP=0x0000000008b6c1c0, RSI=0x000000000c9e64f8, RDI=0x0000000000000000
R8 =0x000000000bf83bf0, R9 =0x0000000000002000, R10=0x0000000009b260d0, R11=0x0000000000000000
R12=0x000000000ac66560, R13=0x000000000a2f1c28, R14=0x0000000008b6c0e0, R15=0x0000000008b6c100
RIP=0x000000006af328cf, EFLAGS=0x0000000000010206
Top of Stack: (sp=0x0000000008b6c010)
0x0000000008b6c010: 0000000008b6ce60 000000000ac66560
0x0000000008b6c020: 000000000b4711b0 0000000000000000
0x0000000008b6c030: 000000000ac66560 0000000000000002
0x0000000008b6c040: 000000000a2f8b88 000000006af33389
0x0000000008b6c050: 0000000008b6c1c0 00000000000001a0
0x0000000008b6c060: 0000000008b6c148 0000000008b6c1c0
0x0000000008b6c070: 0000000000000020 000000000a261450
0x0000000008b6c080: 0000000000000000 000000000000c020
0x0000000008b6c090: 00000000091008b0 0000000008b6c1c0
0x0000000008b6c0a0: 0000000007477a10 0000000000000002
0x0000000008b6c0b0: 0000000008b6ce60 000000006af354f7
0x0000000008b6c0c0: 0000000008b6ce60 0000000000000001
0x0000000008b6c0d0: 0000000000000002 0000000008b6c148
0x0000000008b6c0e0: 0000000007477a10 0000000000000200
0x0000000008b6c0f0: 0000000009aebc10 00000000000001a1
0x0000000008b6c100: 000000006b0944f8 0000000007477a10
Instructions: (pc=0x000000006af328cf)
0x000000006af328af: 48 3b f0 0f 84 87 01 00 00 44 8b 4b 28 0f 1f 40
0x000000006af328bf: 00 41 8b 53 28 4c 8b 83 e0 09 00 00 4d 8b 1c d0
0x000000006af328cf: 49 8b 43 08 48 39 38 75 2d 0f 1f 84 00 00 00 00
0x000000006af328df: 00 41 8b 43 28 41 3b c1 73 0c 8b c8 48 8b 43 30
Register to memory mapping:
RAX=0x0000000000000000 is an unknown value
RBX=0x0000000008b6ce60 is pointing into the stack for thread: 0x000000000748c000
RCX=0x000000000b1a4720 is an unknown value
RDX=0x0000000000000000 is an unknown value
RSP=0x0000000008b6c010 is pointing into the stack for thread: 0x000000000748c000
RBP=0x0000000008b6c1c0 is pointing into the stack for thread: 0x000000000748c000
RSI=0x000000000c9e64f8 is an unknown value
RDI=0x0000000000000000 is an unknown value
R8 =0x000000000bf83bf0 is an unknown value
R9 =0x0000000000002000 is an unknown value
R10=0x0000000009b260d0 is an unknown value
R11=0x0000000000000000 is an unknown value
R12=0x000000000ac66560 is an unknown value
R13=0x000000000a2f1c28 is an unknown value
R14=0x0000000008b6c0e0 is pointing into the stack for thread: 0x000000000748c000
R15=0x0000000008b6c100 is pointing into the stack for thread: 0x000000000748c000
Stack: [0x0000000008a70000,0x0000000008b70000], sp=0x0000000008b6c010, free space=1008k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0x3e28cf]
Current CompileTask:
C2: 8440 433 jregex.Pretokenizer::next (1064 bytes)
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0000000009196000 JavaThread "play-thread-1" [_thread_in_vm, id=4736, stack(0x000000000b020000,0x000000000b120000)]
0x0000000009195800 JavaThread "New I/O worker #1" [_thread_in_native, id=8988, stack(0x000000000ad20000,0x000000000ae20000)]
0x0000000009195000 JavaThread "DestroyJavaVM" [_thread_blocked, id=7500, stack(0x0000000002690000,0x0000000002790000)]
0x0000000009194000 JavaThread "New I/O server boss #1 ([id: 0x09981537, /0:0:0:0:0:0:0:0:9000])" [_thread_in_native, id=10084, stack(0x000000000ae60000,0x000000000af60000)]
0x000000000749c800 JavaThread "Service Thread" daemon [_thread_blocked, id=10052, stack(0x0000000008de0000,0x0000000008ee0000)]
0x0000000007491000 JavaThread "C2 CompilerThread1" daemon [_thread_in_native, id=5876, stack(0x0000000008c60000,0x0000000008d60000)]
=>0x000000000748c000 JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=1796, stack(0x0000000008a70000,0x0000000008b70000)]
0x0000000007481800 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=8056, stack(0x0000000007de0000,0x0000000007ee0000)]
0x0000000007461800 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_native, id=10236, stack(0x00000000088b0000,0x00000000089b0000)]
0x000000000744a800 JavaThread "Attach Listener" daemon [_thread_blocked, id=7488, stack(0x0000000008430000,0x0000000008530000)]
0x0000000007449800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=9784, stack(0x0000000008280000,0x0000000008380000)]
0x00000000073c7000 JavaThread "Finalizer" daemon [_thread_blocked, id=9732, stack(0x0000000008110000,0x0000000008210000)]
0x00000000073be800 JavaThread "Reference Handler" daemon [_thread_blocked, id=10176, stack(0x0000000008010000,0x0000000008110000)]
Other Threads:
0x00000000073b3000 VMThread [stack: 0x0000000007f00000,0x0000000008000000] [id=5040]
0x00000000074e1000 WatcherThread [stack: 0x0000000008ff0000,0x00000000090f0000] [id=9196]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
PSYoungGen total 305856K, used 243524K [0x00000007aaab0000, 0x00000007c0000000, 0x0000000800000000)
eden space 262208K, 92% used [0x00000007aaab0000,0x00000007b9881190,0x00000007baac0000)
from space 43648K, 0% used [0x00000007bd560000,0x00000007bd560000,0x00000007c0000000)
to space 43648K, 0% used [0x00000007baac0000,0x00000007baac0000,0x00000007bd560000)
PSOldGen total 699072K, used 0K [0x0000000700000000, 0x000000072aab0000, 0x00000007aaab0000)
object space 699072K, 0% used [0x0000000700000000,0x0000000700000000,0x000000072aab0000)
PSPermGen total 262144K, used 23512K [0x00000006e0000000, 0x00000006f0000000, 0x0000000700000000)
object space 262144K, 8% used [0x00000006e0000000,0x00000006e16f62a0,0x00000006f0000000)
Code Cache [0x0000000002790000, 0x0000000002ab0000, 0x0000000005790000)
total_blobs=1005 nmethods=418 adapters=547 free_code_cache=46058Kb largest_free_block=47116160
Dynamic libraries:
0x000000013f8e0000 - 0x000000013f913000 D:\Program Files\Java\jdk1.7.0_02\bin\java.exe
0x0000000076cd0000 - 0x0000000076e79000 C:\Windows\SYSTEM32\ntdll.dll
0x00000000765f0000 - 0x000000007670f000 C:\Windows\system32\kernel32.dll
0x000007fefd280000 - 0x000007fefd2ec000 C:\Windows\system32\KERNELBASE.dll
0x000007fefdcf0000 - 0x000007fefddcb000 C:\Windows\system32\ADVAPI32.dll
0x000007fefda10000 - 0x000007fefdaaf000 C:\Windows\system32\msvcrt.dll
0x000007fefed80000 - 0x000007fefed9f000 C:\Windows\SYSTEM32\sechost.dll
0x000007fefdbc0000 - 0x000007fefdced000 C:\Windows\system32\RPCRT4.dll
0x0000000076bd0000 - 0x0000000076cca000 C:\Windows\system32\USER32.dll
0x000007fefdb50000 - 0x000007fefdbb7000 C:\Windows\system32\GDI32.dll
0x000007fefd7d0000 - 0x000007fefd7de000 C:\Windows\system32\LPK.dll
0x000007fefde80000 - 0x000007fefdf49000 C:\Windows\system32\USP10.dll
0x000007fefb8d0000 - 0x000007fefbac4000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\COMCTL32.dll
0x000007fefd910000 - 0x000007fefd981000 C:\Windows\system32\SHLWAPI.dll
0x000007fefeda0000 - 0x000007fefedce000 C:\Windows\system32\IMM32.DLL
0x000007fefd7e0000 - 0x000007fefd8e9000 C:\Windows\system32\MSCTF.dll
0x000000006e340000 - 0x000000006e411000 D:\Program Files\Java\jdk1.7.0_02\jre\bin\msvcr100.dll
0x000000006ab50000 - 0x000000006b22a000 D:\Program Files\Java\jdk1.7.0_02\jre\bin\server\jvm.dll
0x000007fef9a90000 - 0x000007fef9a99000 C:\Windows\system32\WSOCK32.dll
0x000007fefddd0000 - 0x000007fefde1d000 C:\Windows\system32\WS2_32.dll
0x000007fefd500000 - 0x000007fefd508000 C:\Windows\system32\NSI.dll
0x000007fefa8f0000 - 0x000007fefa92b000 C:\Windows\system32\WINMM.dll
0x0000000076e90000 - 0x0000000076e97000 C:\Windows\system32\PSAPI.DLL
0x0000000073180000 - 0x000000007318f000 D:\Program Files\Java\jdk1.7.0_02\jre\bin\verify.dll
0x000000006ead0000 - 0x000000006eaf8000 D:\Program Files\Java\jdk1.7.0_02\jre\bin\java.dll
0x000000006cac0000 - 0x000000006caf5000 D:\Program Files\Java\jdk1.7.0_02\jre\bin\jdwp.dll
0x000000006ca90000 - 0x000000006cab3000 D:\Program Files\Java\jdk1.7.0_02\jre\bin\instrument.dll
0x0000000071000000 - 0x0000000071008000 D:\Program Files\Java\jdk1.7.0_02\jre\bin\npt.dll
0x0000000073110000 - 0x0000000073125000 D:\Program Files\Java\jdk1.7.0_02\jre\bin\zip.dll
0x0000000071010000 - 0x0000000071019000 D:\Program Files\Java\jdk1.7.0_02\jre\bin\dt_socket.dll
0x000007fefc9a0000 - 0x000007fefc9f5000 C:\Windows\system32\mswsock.dll
0x000007fefc2f0000 - 0x000007fefc2f7000 C:\Windows\System32\wshtcpip.dll
0x0000000073080000 - 0x0000000073099000 D:\Program Files\Java\jdk1.7.0_02\jre\bin\net.dll
0x000007fefc990000 - 0x000007fefc997000 C:\Windows\System32\wship6.dll
0x0000000070c40000 - 0x0000000070c51000 D:\Program Files\Java\jdk1.7.0_02\jre\bin\nio.dll
0x000007fefca00000 - 0x000007fefca17000 C:\Windows\system32\CRYPTSP.dll
0x000007fefc700000 - 0x000007fefc747000 C:\Windows\system32\rsaenh.dll
0x000007fefc430000 - 0x000007fefc44e000 C:\Windows\system32\USERENV.dll
0x000007fefd130000 - 0x000007fefd13f000 C:\Windows\system32\profapi.dll
0x000007fefd060000 - 0x000007fefd06f000 C:\Windows\system32\CRYPTBASE.dll
VM Arguments:
jvm_args: -javaagent:D:\Projects\foo\Lib\play-custom\framework/play-master-localbuild.jar -XX:MaxPermSize=512M -XX:PermSize=256M -Xms1024M -Xmx4096M -XX:-UseSplitVerifier -Dfile.encoding=utf-8 -Xdebug -Xrunjdwp:transport=dt_socket,address=8000,server=y,suspend=n -Dplay.debug=yes -Dapplication.path=D:\Projects\foo\Jeu -Dplay.id=
java_command: play.server.Server
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=D:\Program Files\Java\jdk1.7.0_02
CLASSPATH=.;C:\Program Files (x86)\Java\jre7\lib\ext\QTJava.zip
PATH=C:\Program Files (x86)\...........
USERNAME=Fabien
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 30 Stepping 5, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 , 64 bit Build 7601 Service Pack 1
CPU:total 8 (4 cores per cpu, 2 threads per core) family 6 model 30 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, ht
Memory: 4k page, physical 12513668k(7766556k free), swap 25025484k(19054484k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (22.0-b10) for windows-amd64 JRE (1.7.0_02-b13), built on Nov 17 2011 13:51:15 by "java_re" with unknown MS VC++:1600
time: Sat Dec 08 16:25:25 2012
elapsed time: 8 seconds
It seems you've hit a JVM bug. I've found the following using some google: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=7064302
Solution: Update the JVM to the current version.
I'm developing a game in Java using LWJGL. Along with the main game, I'm developing a few Swing-based applications (a launcher, a configuration editor, and a map editor).
When I run the launcher, I sometimes (about 10% of the time) get a fatal JVM crash. It's very strange - I can run the program a few seconds later and everything works. I have zero compilation errors or warnings, and when the program does work, it's completely functional.
I haven't gotten the error when I run my LWJGL game, it's only when I run the launcher first. The process I use to initialize the launcher is:
Tell swing to use a Substance Look and Feel for window decoration.
Setup a directory on the user's computer in which to store files (save games, configurations, etc).
Check if extracting the LWJGL required libraries to the previously mentioned directory is necessary; if so, extract them. Then, set the LWJGL path property of the JVM (this allows LWJGL methods to function). (This has been extensively tested by itself; I don't know if it would somehow interfere with the Substance LaF. I wouldn't expect it to.)
Initialize the launcher window. It has a central image and a series of JButtons.
Begin looping a background soundtrack for ambiance using JLayer. This error would occur before I implemented this feature, and adding it did not change anything.
The error I get is as follows:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000007fefd800c7b, pid=6128, tid=4364
#
# JRE version: 6.0_27-b07
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.2-b06 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [ole32.dll+0x10c7b]
#
# An error report file with more information is saved as:
# J:\Development\workspace\Crypt Utils\hs_err_pid6128.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
Then, the error log file:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000007fefd800c7b, pid=6128, tid=4364
#
# JRE version: 6.0_27-b07
# Java VM: Java HotSpot(TM) 64-Bit Server VM (20.2-b06 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [ole32.dll+0x10c7b]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/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 (0x000000000713d000): JavaThread "AWT-EventQueue-0" [_thread_in_native, id=4364, stack(0x0000000007e30000,0x0000000007f30000)]
siginfo: ExceptionCode=0xc0000005, writing address 0x0000000000000038
Registers:
RAX=0x0000000000000000, RBX=0x000000000b933c70, RCX=0x000000000000110c, RDX=0x000007fefd996620
RSP=0x0000000007f2dfa0, RBP=0x000000000026dc90, RSI=0x0000000000000000, RDI=0x000000000b933c70
R8 =0x00000000000003d4, R9 =0x000007fefd977f18, R10=0x0000000000000000, R11=0x0000000007f2dec0
R12=0x0000000000000000, R13=0x000000000b90a3c0, R14=0x0000000000000000, R15=0x0000000000000000
RIP=0x000007fefd800c7b, EFLAGS=0x0000000000010246
Top of Stack: (sp=0x0000000007f2dfa0)
0x0000000007f2dfa0: 000000000b933c70 0000000000000000
0x0000000007f2dfb0: 0000000000000000 000007fefd81311b
0x0000000007f2dfc0: 0000000000000000 0000000007f2e050
0x0000000007f2dfd0: 000017f000001000 d0b221343c39b318
0x0000000007f2dfe0: 000081de6b223eb8 000007fefd813032
0x0000000007f2dff0: 0000000000000001 00000000070e9c18
0x0000000007f2e000: 0000000000000000 000000000026dc90
0x0000000007f2e010: 000000000713d1d0 000007fefd801225
0x0000000007f2e020: 0000000007f2e080 000000000026dc90
0x0000000007f2e030: 0000000000000000 000000000000008c
0x0000000007f2e040: 000000000c797be0 000007fefd963135
0x0000000007f2e050: 000000000026dc90 000000000713ca28
0x0000000007f2e060: 0000000006697d00 000007fefd0f8c12
0x0000000007f2e070: 000000000c797be0 000007fefd91de9d
0x0000000007f2e080: 000000000026dc90 00000000070e9c18
0x0000000007f2e090: 0000000000000018 0000000000000514
Instructions: (pc=0x000007fefd800c7b)
0x000007fefd800c5b: 60 1c 00 41 b8 d4 03 00 00 e8 47 82 01 00 85 f6
0x000007fefd800c6b: 78 2b f3 0f 6f 44 24 30 48 8b 45 18 4c 89 6d 20
0x000007fefd800c7b: f3 0f 7f 40 30 f6 45 0c 01 75 12 48 8b cd e8 be
0x000007fefd800c8b: fa ff ff 8b f0 85 c0 78 04 83 4d 0c 01 48 8b cd
Register to memory mapping:
RAX=0x0000000000000000 is an unknown value
RBX=0x000000000b933c70 is an unknown value
RCX=0x000000000000110c is an unknown value
RDX=0x000007fefd996620 is an unknown value
RSP=0x0000000007f2dfa0 is pointing into the stack for thread: 0x000000000713d000
RBP=0x000000000026dc90 is an unknown value
RSI=0x0000000000000000 is an unknown value
RDI=0x000000000b933c70 is an unknown value
R8 =0x00000000000003d4 is an unknown value
R9 =0x000007fefd977f18 is an unknown value
R10=0x0000000000000000 is an unknown value
R11=0x0000000007f2dec0 is pointing into the stack for thread: 0x000000000713d000
R12=0x0000000000000000 is an unknown value
R13=0x000000000b90a3c0 is an unknown value
R14=0x0000000000000000 is an unknown value
R15=0x0000000000000000 is an unknown value
Stack: [0x0000000007e30000,0x0000000007f30000], sp=0x0000000007f2dfa0, free space=1015k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [ole32.dll+0x10c7b] CLSIDFromString+0x5fb
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
sun.awt.windows.WComponentPeer.addNativeDropTarget()J+0
sun.awt.windows.WComponentPeer.addDropTarget(Ljava/awt/dnd/DropTarget;)V+9
java.awt.dnd.DropTarget.addNotify(Ljava/awt/peer/ComponentPeer;)V+60
java.awt.Component.addNotify()V+297
java.awt.Container.addNotify()V+8
javax.swing.JComponent.addNotify()V+1
java.awt.Container.addNotify()V+61
javax.swing.JComponent.addNotify()V+1
java.awt.Container.addNotify()V+61
javax.swing.JComponent.addNotify()V+1
javax.swing.JMenuBar.addNotify()V+1
java.awt.Container.addNotify()V+61
javax.swing.JComponent.addNotify()V+1
org.pushingpixels.substance.internal.utils.SubstanceTitlePane.addNotify()V+1
java.awt.Container.addNotify()V+61
javax.swing.JComponent.addNotify()V+1
java.awt.Container.addNotify()V+61
javax.swing.JComponent.addNotify()V+1
javax.swing.JRootPane.addNotify()V+5
java.awt.Container.addNotify()V+61
java.awt.Window.addNotify()V+73
java.awt.Frame.addNotify()V+70
java.awt.Window.pack()V+28
gui.launcher.LauncherWindow.()V+156
main.Crypt.runLauncher()V+28
main.Crypt$1.run()V+0
java.awt.event.InvocationEvent.dispatch()V+47
java.awt.EventQueue.dispatchEventImpl(Ljava/awt/AWTEvent;Ljava/lang/Object;)V+21
java.awt.EventQueue.access$000(Ljava/awt/EventQueue;Ljava/awt/AWTEvent;Ljava/lang/Object;)V+3
java.awt.EventQueue$1.run()Ljava/lang/Void;+12
java.awt.EventQueue$1.run()Ljava/lang/Object;+1
v ~StubRoutines::call_stub
java.security.AccessController.doPrivileged(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
java.security.AccessControlContext$1.doIntersectionPrivilege(Ljava/security/PrivilegedAction;Ljava/security/AccessControlContext;Ljava/security/AccessControlContext;)Ljava/lang/Object;+28
java.awt.EventQueue.dispatchEvent(Ljava/awt/AWTEvent;)V+46
java.awt.EventDispatchThread.pumpOneEventForFilters(I)Z+204
java.awt.EventDispatchThread.pumpEventsForFilter(ILjava/awt/Conditional;Ljava/awt/EventFilter;)V+30
java.awt.EventDispatchThread.pumpEventsForHierarchy(ILjava/awt/Conditional;Ljava/awt/Component;)V+11
java.awt.EventDispatchThread.pumpEvents(ILjava/awt/Conditional;)V+4
java.awt.EventDispatchThread.pumpEvents(Ljava/awt/Conditional;)V+3
java.awt.EventDispatchThread.run()V+9
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0000000007309000 JavaThread "Substance heap status" daemon [_thread_blocked, id=5732, stack(0x000000000c000000,0x000000000c100000)]
0x000000000737e000 JavaThread "Headspace mixer frame proc thread" daemon [_thread_blocked, id=5520, stack(0x000000000bd00000,0x000000000be00000)]
0x00000000072a2800 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=2956, stack(0x000000000b700000,0x000000000b800000)]
0x00000000071dc800 JavaThread "Thread-3" [_thread_in_native, id=4104, stack(0x00000000082b0000,0x00000000083b0000)]
0x00000000003db800 JavaThread "DestroyJavaVM" [_thread_blocked, id=5600, stack(0x0000000002570000,0x0000000002670000)]
=>0x000000000713d000 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=4364, stack(0x0000000007e30000,0x0000000007f30000)]
0x00000000067af800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=5760, stack(0x0000000007830000,0x0000000007930000)]
0x00000000067ae800 JavaThread "AWT-Shutdown" [_thread_blocked, id=2600, stack(0x0000000007730000,0x0000000007830000)]
0x00000000066ea800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=4244, stack(0x00000000074e0000,0x00000000075e0000)]
0x0000000006684000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=5196, stack(0x0000000006d10000,0x0000000006e10000)]
0x0000000006681000 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=4192, stack(0x0000000006c10000,0x0000000006d10000)]
0x000000000666e000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=4260, stack(0x0000000006b10000,0x0000000006c10000)]
0x000000000666b000 JavaThread "Attach Listener" daemon [_thread_blocked, id=5008, stack(0x0000000006a10000,0x0000000006b10000)]
0x0000000006666000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4032, stack(0x0000000006910000,0x0000000006a10000)]
0x000000000064b800 JavaThread "Finalizer" daemon [_thread_blocked, id=1132, stack(0x0000000006810000,0x0000000006910000)]
0x0000000000649000 JavaThread "Reference Handler" daemon [_thread_blocked, id=5336, stack(0x0000000006510000,0x0000000006610000)]
Other Threads:
0x0000000000641000 VMThread [stack: 0x0000000006410000,0x0000000006510000] [id=3820]
0x0000000006697000 WatcherThread [stack: 0x0000000006e10000,0x0000000006f10000] [id=5156]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
PSYoungGen total 19136K, used 15506K [0x00000000eaab0000, 0x00000000ec000000, 0x0000000100000000)
eden space 16448K, 94% used [0x00000000eaab0000,0x00000000eb9d4b98,0x00000000ebac0000)
from space 2688K, 0% used [0x00000000ebd60000,0x00000000ebd60000,0x00000000ec000000)
to space 2688K, 0% used [0x00000000ebac0000,0x00000000ebac0000,0x00000000ebd60000)
PSOldGen total 43712K, used 0K [0x00000000c0000000, 0x00000000c2ab0000, 0x00000000eaab0000)
object space 43712K, 0% used [0x00000000c0000000,0x00000000c0000000,0x00000000c2ab0000)
PSPermGen total 21248K, used 15942K [0x00000000bae00000, 0x00000000bc2c0000, 0x00000000c0000000)
object space 21248K, 75% used [0x00000000bae00000,0x00000000bbd91870,0x00000000bc2c0000)
Code Cache [0x0000000002670000, 0x00000000028e0000, 0x0000000005670000)
total_blobs=470 nmethods=39 adapters=385 free_code_cache=49729536 largest_free_block=6336
Dynamic libraries:
0x0000000000400000 - 0x000000000042e000 C:\Program Files\Java\jre6\bin\javaw.exe
0x00000000770f0000 - 0x0000000077299000 C:\Windows\SYSTEM32\ntdll.dll
0x0000000076ed0000 - 0x0000000076fef000 C:\Windows\system32\kernel32.dll
0x000007fefd0f0000 - 0x000007fefd15c000 C:\Windows\system32\KERNELBASE.dll
0x0000000074de0000 - 0x0000000074e1f000 C:\Program Files\AVAST Software\Avast\snxhk64.dll
0x000007fefdde0000 - 0x000007fefdebb000 C:\Windows\system32\ADVAPI32.dll
0x000007fefd410000 - 0x000007fefd4af000 C:\Windows\system32\msvcrt.dll
0x000007fefd4b0000 - 0x000007fefd4cf000 C:\Windows\SYSTEM32\sechost.dll
0x000007fefef90000 - 0x000007feff0bd000 C:\Windows\system32\RPCRT4.dll
0x0000000076ff0000 - 0x00000000770ea000 C:\Windows\system32\USER32.dll
0x000007fefdec0000 - 0x000007fefdf27000 C:\Windows\system32\GDI32.dll
0x000007fefee50000 - 0x000007fefee5e000 C:\Windows\system32\LPK.dll
0x000007feff0c0000 - 0x000007feff189000 C:\Windows\system32\USP10.dll
0x000007fefe090000 - 0x000007fefe0be000 C:\Windows\system32\IMM32.DLL
0x000007fefd4d0000 - 0x000007fefd5d9000 C:\Windows\system32\MSCTF.dll
0x000000006d7f0000 - 0x000000006dfa8000 C:\Program Files\Java\jre6\bin\server\jvm.dll
0x000007fefa980000 - 0x000007fefa9bb000 C:\Windows\system32\WINMM.dll
0x000000006d760000 - 0x000000006d76e000 C:\Program Files\Java\jre6\bin\verify.dll
0x000000006d3b0000 - 0x000000006d3d7000 C:\Program Files\Java\jre6\bin\java.dll
0x000000006d7b0000 - 0x000000006d7c2000 C:\Program Files\Java\jre6\bin\zip.dll
0x000000006d000000 - 0x000000006d1c3000 C:\Program Files\Java\jre6\bin\awt.dll
0x000007fefa620000 - 0x000007fefa691000 C:\Windows\system32\WINSPOOL.DRV
0x000007fefd7f0000 - 0x000007fefd9f3000 C:\Windows\system32\ole32.dll
0x000007fefe0c0000 - 0x000007fefee48000 C:\Windows\system32\SHELL32.dll
0x000007fefef10000 - 0x000007fefef81000 C:\Windows\system32\SHLWAPI.dll
0x000007fefbaf0000 - 0x000007fefbce4000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_fa396087175ac9ac\COMCTL32.dll
0x000007fefb3b0000 - 0x000007fefb3c8000 C:\Windows\system32\DWMAPI.DLL
0x000007fefb780000 - 0x000007fefb7d6000 C:\Windows\system32\uxtheme.dll
0x000007fef93b0000 - 0x000007fef942f000 C:\Program Files\Common Files\microsoft shared\ink\tiptsf.dll
0x000007fefd5e0000 - 0x000007fefd6b7000 C:\Windows\system32\OLEAUT32.dll
0x000007fefc180000 - 0x000007fefc18c000 C:\Windows\system32\version.dll
0x000007fefcf70000 - 0x000007fefcf7f000 C:\Windows\system32\CRYPTBASE.dll
0x000000006d2a0000 - 0x000000006d306000 C:\Program Files\Java\jre6\bin\fontmanager.dll
0x000000006d600000 - 0x000000006d617000 C:\Program Files\Java\jre6\bin\net.dll
0x000007fefee60000 - 0x000007fefeead000 C:\Windows\system32\WS2_32.dll
0x000007feff210000 - 0x000007feff218000 C:\Windows\system32\NSI.dll
0x000007fefc870000 - 0x000007fefc8c5000 C:\Windows\system32\mswsock.dll
0x000007fefc860000 - 0x000007fefc867000 C:\Windows\System32\wship6.dll
0x000000006d620000 - 0x000000006d62b000 C:\Program Files\Java\jre6\bin\nio.dll
0x0000000180000000 - 0x0000000180050000 C:\Users\Chris\AppData\Roaming\jRabbit Data\LWJGL Natives\lwjgl64.dll
0x000007fef1550000 - 0x000007fef166d000 C:\Windows\system32\OPENGL32.dll
0x000007fef47c0000 - 0x000007fef47ed000 C:\Windows\system32\GLU32.dll
0x000007fef1210000 - 0x000007fef1301000 C:\Windows\system32\DDRAW.dll
0x000007fef8090000 - 0x000007fef8098000 C:\Windows\system32\DCIMAN32.dll
0x000007feff220000 - 0x000007feff3f7000 C:\Windows\system32\SETUPAPI.dll
0x000007fefd160000 - 0x000007fefd196000 C:\Windows\system32\CFGMGR32.dll
0x000007fefd3b0000 - 0x000007fefd3ca000 C:\Windows\system32\DEVOBJ.dll
0x000007fefa2a0000 - 0x000007fefa49f000 C:\Windows\system32\d3d9.dll
0x000007fefa290000 - 0x000007fefa297000 C:\Windows\system32\d3d8thk.dll
0x000007feed900000 - 0x000007feee777000 C:\Windows\system32\nvd3dumx.dll
0x000007fefb860000 - 0x000007fefb88c000 C:\Windows\system32\powrprof.dll
0x000000006d510000 - 0x000000006d53e000 C:\Program Files\Java\jre6\bin\jsound.dll
0x000007fefb730000 - 0x000007fefb77b000 C:\Windows\system32\MMDevAPI.DLL
0x000007fefb940000 - 0x000007fefba6c000 C:\Windows\system32\PROPSYS.dll
0x000007fefa5e0000 - 0x000007fefa61b000 C:\Windows\system32\wdmaud.drv
0x0000000074a00000 - 0x0000000074a06000 C:\Windows\system32\ksuser.dll
0x000007fefbae0000 - 0x000007fefbae9000 C:\Windows\system32\AVRT.dll
0x000007fefa590000 - 0x000007fefa5df000 C:\Windows\system32\AUDIOSES.DLL
0x000007fefa4e0000 - 0x000007fefa4ea000 C:\Windows\system32\msacm32.drv
0x000007fefa4c0000 - 0x000007fefa4d8000 C:\Windows\system32\MSACM32.dll
0x000007fefa4a0000 - 0x000007fefa4a9000 C:\Windows\system32\midimap.dll
0x000000006d210000 - 0x000000006d238000 C:\Program Files\Java\jre6\bin\dcpr.dll
0x000007fefdf30000 - 0x000007fefdfc9000 C:\Windows\system32\CLBCatQ.DLL
0x000007fefcb00000 - 0x000007fefcb17000 C:\Windows\system32\CRYPTSP.dll
0x000007fefc5d0000 - 0x000007fefc617000 C:\Windows\system32\rsaenh.dll
0x000007fefc390000 - 0x000007fefc3ae000 C:\Windows\system32\USERENV.dll
0x000007fefcfa0000 - 0x000007fefcfaf000 C:\Windows\system32\profapi.dll
0x000007fefad70000 - 0x000007fefad85000 C:\Windows\system32\NLAapi.dll
0x000007fefb220000 - 0x000007fefb235000 C:\Windows\system32\napinsp.dll
0x000007fefb200000 - 0x000007fefb219000 C:\Windows\system32\pnrpnsp.dll
0x000007fefc6f0000 - 0x000007fefc74b000 C:\Windows\system32\DNSAPI.dll
0x000007fefbac0000 - 0x000007fefbacb000 C:\Windows\System32\winrnr.dll
0x0000000074700000 - 0x000000007472e000 C:\Program Files\Common Files\Microsoft Shared\Windows Live\WLIDNSP.DLL
0x00000000772b0000 - 0x00000000772b7000 C:\Windows\system32\PSAPI.DLL
0x00000000746d0000 - 0x00000000746f6000 C:\Program Files\Bonjour\mdnsNSP.dll
0x000007fef9ec0000 - 0x000007fef9ee7000 C:\Windows\system32\Iphlpapi.DLL
0x000007fef9eb0000 - 0x000007fef9ebb000 C:\Windows\system32\WINNSI.DLL
0x000007fefc250000 - 0x000007fefc257000 C:\Windows\System32\wshtcpip.dll
0x000007fefb7e0000 - 0x000007fefb7e8000 C:\Windows\system32\rasadhlp.dll
0x000007fef9cf0000 - 0x000007fef9d43000 C:\Windows\System32\fwpuclnt.dll
0x000007fefcf80000 - 0x000007fefcf94000 C:\Windows\system32\RpcRtRemote.dll
VM Arguments:
jvm_args: -Dfile.encoding=Cp1252
java_command: main.Crypt
Launcher Type: SUN_STANDARD
Environment Variables:
CLASSPATH=.;C:\Program Files (x86)\Java\jre6\lib\ext\QTJava.zip
PATH=C:/Program Files/Java/jre6/bin/server;C:/Program Files/Java/jre6/bin;C:/Program Files/Java/jre6/lib/amd64;C:\Program Files\Common Files\Microsoft Shared\Windows Live;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\SlikSvn\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:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Autodesk\Backburner\;J:\Development\Eclipse;
USERNAME=Chris
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 15 Stepping 11, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 , 64 bit Build 7601 Service Pack 1
CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 15 stepping 11, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
Memory: 4k page, physical 4193464k(2246544k free), swap 8385080k(6086692k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (20.2-b06) for windows-amd64 JRE (1.6.0_27-b07), built on Jul 19 2011 01:08:22 by "java_re" with MS VC++ 8.0 (VS2005)
time: Mon Oct 03 09:29:15 2011
elapsed time: 1 seconds
From looking around on Stack Overflow, it seems like this is occasionally related to memory settings. Is that the case here? I've already set Eclipse to run with a lot of memory at its disposal; additionally, I'm only creating a small JFrame with a few components on it, plus initializing the LWJGL libraries. That doesn't take up much memory.
I often have problems with java 6 and Swing on my Windows Vista 64 box (but only when I launch my app from eclipse).
The way to fix it for me was to disable Direct3D:
java -Dsun.java2d.d3d=false ...
See also http://download.oracle.com/javase/6/docs/technotes/guides/2d/flags.html#d3d for further information.
Well, the error is from a dll trying to write to memory where it shouldn't. If it happens just sometimes, it may be from not building components on the event dispatch thread. It can't hurt to check.
This bug report at oracle may be related: http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=e5f1f1011daf96ffffffffdd154dd2e731150?bug_id=6967456
It may be related to swing's drag & drop functionality - see if disabling drag and drop on your form components supresses the error.
#CodeBunny, that would be comment:
1) is there Trindent.jar
2) how do you apply Substance Look and Feel to the JFrame,
SwingUtilities.invokeLater(new Runnable() {
#Override
public void run() {
try {
UIManager.setLookAndFeel(new SubstanceOfficeSilver2007LookAndFeel());
SwingUtilities.updateComponentTreeUI(frame);
} catch (UnsupportedLookAndFeelException e) {
throw new RuntimeException(e);
}
}
});
in most cases (if there some BackGround task) required usage of invokeAndWait
EDIT
depends
1) if you are load empty container, then add data (invokeLater)
2) or load everything and wait for that (invokeAndWait),
3) are your contructor for Container in last line contains setVisible(true), last from possible lines,
4) maybe you are outside EDT, something you must loading so heavy, isn't there RepaintManager Error???
5) disable Substance, if you get this error, then came from mistake in codeing or some your code returns error, otherwise is there something rellated with RepaintManager (overload Native OS Latency) or with Concurency, simple your code is out of EDT,
6) Substance is so sensitive, very sensitive for done code out of EDT issues, remove all Thread.sleep(int) from GUI rellated code
I am attempting to get the Version info for a .exe using the Version.dll and JNA.
import com.sun.jna.Library;
import com.sun.jna.Native;
import com.sun.jna.ptr.IntByReference;
import com.sun.jna.ptr.PointerByReference;
import com.sun.jna.win32.W32APIOptions;
/**
*
* #author geverding
*/
public interface Version extends Library {
Version INSTANCE = (Version) Native.loadLibrary("Version", Version.class, W32APIOptions.UNICODE_OPTIONS);
public int GetFileVersionInfoSizeW(String lptstrFilename);
public int GetFileVersionInfo(String lptstrFilename, int dwHandle, int dwLen, PointerByReference lpData);
public int VerQueryValue(PointerByReference pBlock, String lpSubBlock, PointerByReference lplpBuffer, IntByReference puLen);
}
...in the Main method
int dwlen = Version.INSTANCE.GetFileVersionInfoSizeW("C:\\Test\\VNCSetup.EXE");
At this point the JRE throws a exception
#
A fatal error has been detected by the Java Runtime Environment:
#
EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000007fefc6e14ff,
pid=3884, tid=2248
#
JRE version: 6.0_26-b03
Java VM: Java HotSpot(TM) 64-Bit Server VM (20.1-b02 mixed mode
windows-amd64 compressed oops)
Problematic frame:
C [Version.dll+0x14ff]
#
If you would like to submit a bug report, please visit:
http://java.sun.com/webapps/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 (0x000000000054c000): JavaThread "main"
[_thread_in_native, id=2248,
stack(0x00000000024e0000,0x00000000025e0000)]
siginfo: ExceptionCode=0xc0000005, writing address 0x00000001800161ca
Registers: RAX=0x00000000025df4d8, RBX=0x000000009c2e9678,
RCX=0x0000000000000001, RDX=0x000000000774fda0 RSP=0x00000000025df330,
RBP=0x00000000025df3b0, RSI=0x000000009c0a4258, RDI=0x0000000000000001
R8 =0x00000001800161ca, R9 =0x000000006da78189,
R10=0x00000000025f79b2, R11=0x00000000025df380 R12=0x000000000774fda0,
R13=0x000000009c2e9678, R14=0x00000000025df758, R15=0x000000000054c000
RIP=0x000007fefc6e14ff, EFLAGS=0x0000000000010206
Top of Stack: (sp=0x00000000025df330) 0x00000000025df330:
00000000025df388 00000000025df4d8 0x00000000025df340:
0000000000000008 cccccccccccccccc 0x00000000025df350:
00000000025df478 00000001800161e1 0x00000000025df360:
0000000000000000 00000000025df478 0x00000000025df370:
000000009c0a4258 0000000180016213 0x00000000025df380:
000000009c2e9678 00000001800161ca 0x00000000025df390:
0000000000540000 000000006da78189 0x00000000025df3a0:
00000000025f2cd6 000000000000000a 0x00000000025df3b0:
00000000025df380 000000006da7c399 0x00000000025df3c0:
00000000025df400 000000018000ec6a 0x00000000025df3d0:
000000018000e580 00000000025df408 0x00000000025df3e0:
0000000000000028 000000000000000a 0x00000000025df3f0:
00000000025df680 000007fefc6e15fc 0x00000000025df400:
cccccccccccccccc 00000000025df510 0x00000000025df410:
00000000025df680 00000000025df4c0 0x00000000025df420:
cccccccccccccccc cccccccccccccccc
Instructions: (pc=0x000007fefc6e14ff) 0x000007fefc6e14df: c3 90 90
90 90 90 90 90 90 48 89 5c 24 08 56 57 0x000007fefc6e14ef: 41 54 48
83 ec 30 4c 8b e2 8b f9 4d 85 c0 74 04 0x000007fefc6e14ff: 41 83 20
00 b9 01 00 00 00 ff 15 c2 4b 00 00 8b 0x000007fefc6e150f: d8 89 44
24 60 33 d2 44 8d 42 22 49 8b cc ff 15
Register to memory mapping:
RAX=0x00000000025df4d8 is pointing into the stack for thread:
0x000000000054c000 RBX=0x000000009c2e9678 is an oop {method}
- klass: {other class} RCX=0x0000000000000001 is an unknown value
RDX=0x000000000774fda0 is an unknown value RSP=0x00000000025df330 is
pointing into the stack for thread: 0x000000000054c000
RBP=0x00000000025df3b0 is pointing into the stack for thread:
0x000000000054c000 RSI=0x000000009c0a4258 is an oop {instance class}
- klass: {other class} RDI=0x0000000000000001 is an unknown value R8
=0x00000001800161ca is an unknown value R9 =0x000000006da78189 is an
unknown value R10=0x00000000025f79b2 is an Interpreter codelet method
entry point (kind = native) [0x00000000025f74c0, 0x00000000025f8380]
3776 bytes R11=0x00000000025df380 is pointing into the stack for
thread: 0x000000000054c000 R12=0x000000000774fda0 is an unknown value
R13=0x000000009c2e9678 is an oop {method}
- klass: {other class} R14=0x00000000025df758 is pointing into the
stack for thread: 0x000000000054c000 R15=0x000000000054c000 is a
thread
Stack: [0x00000000024e0000,0x00000000025e0000],
sp=0x00000000025df330, free space=1020k Native frames: (J=compiled
Java code, j=interpreted, Vv=VM code, C=native code) C
[Version.dll+0x14ff] GetFileVersionInfoSizeExW+0x17
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j
com.sun.jna.Native.invokeInt(JI[Ljava/lang/Object;)I+0 j
com.sun.jna.Function.invoke([Ljava/lang/Object;Ljava/lang/Class;Z)Ljava/lang/Object;+333
j
com.sun.jna.Function.invoke(Ljava/lang/Class;[Ljava/lang/Object;Ljava/util/Map;)Ljava/lang/Object;+214
j
com.sun.jna.Library$Handler.invoke(Ljava/lang/Object;Ljava/lang/reflect/Method;[Ljava/lang/Object;)Ljava/lang/Object;+341
j $Proxy0.GetFileVersionInfoSize(Ljava/lang/String;)I+16 j
windowsversion.WindowsVersion.main([Ljava/lang/String;)V+26 v
~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread ) 0x0000000006463800 JavaThread
"Low Memory Detector" daemon [_thread_blocked, id=2284,
stack(0x0000000006d00000,0x0000000006e00000)] 0x000000000645f800
JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=3808,
stack(0x0000000006c00000,0x0000000006d00000)] 0x000000000645e000
JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=3780,
stack(0x0000000006b00000,0x0000000006c00000)] 0x000000000644d000
JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=2944,
stack(0x0000000006a00000,0x0000000006b00000)] 0x0000000006449800
JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=744,
stack(0x0000000006900000,0x0000000006a00000)] 0x0000000006443800
JavaThread "JDWP Transport Listener: dt_shmem" daemon
[_thread_blocked, id=3336,
stack(0x0000000006800000,0x0000000006900000)] 0x0000000000525000
JavaThread "Attach Listener" daemon [_thread_blocked, id=3244,
stack(0x0000000006700000,0x0000000006800000)] 0x0000000000524800
JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1784,
stack(0x0000000006600000,0x0000000006700000)] 0x000000000050c000
JavaThread "Finalizer" daemon [_thread_blocked, id=3652,
stack(0x0000000006300000,0x0000000006400000)] 0x0000000000508800
JavaThread "Reference Handler" daemon [_thread_blocked, id=2216,
stack(0x0000000006200000,0x0000000006300000)]
=>0x000000000054c000 JavaThread "main" [_thread_in_native, id=2248,
stack(0x00000000024e0000,0x00000000025e0000)]
Other Threads: 0x0000000000502000 VMThread [stack:
0x0000000006100000,0x0000000006200000] [id=3596] 0x0000000006480000
WatcherThread [stack: 0x0000000006e00000,0x0000000006f00000] [id=3156]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap PSYoungGen total 28352K, used 2499K [0x00000000e0600000,
0x00000000e25a0000, 0x0000000100000000) eden space 24320K, 10% used
[0x00000000e0600000,0x00000000e0870f18,0x00000000e1dc0000) from
space 4032K, 0% used
[0x00000000e21b0000,0x00000000e21b0000,0x00000000e25a0000) to
space 4032K, 0% used
[0x00000000e1dc0000,0x00000000e1dc0000,0x00000000e21b0000) PSOldGen
total 64768K, used 0K [0x00000000a1200000, 0x00000000a5140000,
0x00000000e0600000) object space 64768K, 0% used
[0x00000000a1200000,0x00000000a1200000,0x00000000a5140000) PSPermGen
total 21248K, used 4506K [0x000000009c000000, 0x000000009d4c0000,
0x00000000a1200000) object space 21248K, 21% used
[0x000000009c000000,0x000000009c466a90,0x000000009d4c0000)
Code Cache [0x00000000025e0000, 0x0000000002850000,
0x00000000055e0000) total_blobs=191 nmethods=7 adapters=146
free_code_cache=49918592 largest_free_block=8704
Dynamic libraries: 0x0000000000400000 - 0x000000000042e000 C:\Program
Files\Java\jdk1.6.0_26\bin\java.exe 0x0000000077620000 -
0x00000000777cc000 C:\Windows\SYSTEM32\ntdll.dll 0x0000000077500000 -
0x000000007761f000 C:\Windows\system32\kernel32.dll
0x000007fefd840000 - 0x000007fefd8ab000
C:\Windows\system32\KERNELBASE.dll 0x000007fefdb70000 -
0x000007fefdc4b000 C:\Windows\system32\ADVAPI32.dll
0x000007feff5c0000 - 0x000007feff65f000
C:\Windows\system32\msvcrt.dll 0x000007feff5a0000 -
0x000007feff5bf000 C:\Windows\SYSTEM32\sechost.dll 0x000007fefda40000
- 0x000007fefdb6e000 C:\Windows\system32\RPCRT4.dll
0x000000006d890000 - 0x000000006e048000 C:\Program
Files\Java\jdk1.6.0_26\jre\bin\server\jvm.dll 0x0000000077400000 -
0x00000000774fa000 C:\Windows\system32\USER32.dll 0x000007feff8c0000
- 0x000007feff927000 C:\Windows\system32\GDI32.dll 0x000007feff3b0000
- 0x000007feff3be000 C:\Windows\system32\LPK.dll 0x000007fefd970000 -
0x000007fefda3a000 C:\Windows\system32\USP10.dll 0x000007fefb090000 -
0x000007fefb0cb000 C:\Windows\system32\WINMM.dll 0x000007feff7e0000 -
0x000007feff80e000 C:\Windows\system32\IMM32.DLL 0x000007feff2a0000 -
0x000007feff3a9000 C:\Windows\system32\MSCTF.dll 0x000000006d800000 -
0x000000006d80e000 C:\Program
Files\Java\jdk1.6.0_26\jre\bin\verify.dll 0x000000006d450000 -
0x000000006d477000 C:\Program Files\Java\jdk1.6.0_26\jre\bin\java.dll
0x00000000777f0000 - 0x00000000777f7000 C:\Windows\system32\PSAPI.DLL
0x000000006d4c0000 - 0x000000006d4f4000 C:\Program
Files\Java\jdk1.6.0_26\jre\bin\jdwp.dll 0x000000006d6d0000 -
0x000000006d6d8000 C:\Program Files\Java\jdk1.6.0_26\jre\bin\npt.dll
0x000000006d850000 - 0x000000006d862000 C:\Program
Files\Java\jdk1.6.0_26\jre\bin\zip.dll 0x000000006d300000 -
0x000000006d30a000 C:\Program
Files\Java\jdk1.6.0_26\jre\bin\dt_shmem.dll 0x000007fefce50000 -
0x000007fefce67000 C:\Windows\system32\CRYPTSP.dll 0x000007fefcb50000
- 0x000007fefcb97000 C:\Windows\system32\rsaenh.dll
0x000007fefc8b0000 - 0x000007fefc8ce000
C:\Windows\system32\USERENV.dll 0x000007fefd580000 -
0x000007fefd58f000 C:\Windows\system32\profapi.dll 0x000007fefd4b0000
- 0x000007fefd4bf000 C:\Windows\system32\CRYPTBASE.dll
0x000000006d6a0000 - 0x000000006d6b7000 C:\Program
Files\Java\jdk1.6.0_26\jre\bin\net.dll 0x000007fefec90000 -
0x000007fefecdd000 C:\Windows\system32\WS2_32.dll 0x000007feff810000
- 0x000007feff818000 C:\Windows\system32\NSI.dll 0x000007fefcdf0000 -
0x000007fefce44000 C:\Windows\system32\mswsock.dll 0x000007fefcde0000
- 0x000007fefcde7000 C:\Windows\System32\wship6.dll
0x000007fefae10000 - 0x000007fefae25000
C:\Windows\system32\NLAapi.dll 0x000007fefcc70000 -
0x000007fefcccb000 C:\Windows\system32\DNSAPI.dll 0x000007fef4a70000
- 0x000007fef4a7b000 C:\Windows\System32\winrnr.dll
0x000007fef4a50000 - 0x000007fef4a65000
C:\Windows\system32\napinsp.dll 0x000007fef4a30000 -
0x000007fef4a49000 C:\Windows\system32\pnrpnsp.dll 0x000007fefc7b0000
- 0x000007fefc7b7000 C:\Windows\System32\wshtcpip.dll
0x000007fefb470000 - 0x000007fefb497000
C:\Windows\system32\IPHLPAPI.DLL 0x000007fefb450000 -
0x000007fefb45b000 C:\Windows\system32\WINNSI.DLL 0x000007fef4b50000
- 0x000007fef4b58000 C:\Windows\system32\rasadhlp.dll
0x000007fefb2e0000 - 0x000007fefb333000
C:\Windows\System32\fwpuclnt.dll 0x0000000180000000 -
0x0000000180037000
C:\Users\geverding\AppData\Local\Temp\jna7891581094505694184.dll
0x000007fefc6e0000 - 0x000007fefc6ec000
C:\Windows\system32\Version.dll
VM Arguments: jvm_args: -Xdebug
-Xrunjdwp:transport=dt_shmem,address=javadebug -Dfile.encoding=UTF-8
java_command: windowsversion.WindowsVersion Launcher Type:
SUN_STANDARD
Environment Variables:
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program
Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files
(x86)\WinMerge;C:\Program
Files\SlikSvn\bin\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program
Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files
(x86)\WinMerge;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program
Files (x86)\Microsoft SQL Server\90\Tools\binn\;C:\Program Files
(x86)\WinMerge;C:\Program Files (x86)\CVSNT;C:\Program
Files\WinRar;C:\Program Files\WinRar;C:\ProgramFiles\SlikSvn\bin
USERNAME=geverding OS=Windows_NT PROCESSOR_IDENTIFIER=Intel64 Family 6
Model 15 Stepping 6, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 Build 7600
CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15
stepping 6, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
Memory: 4k page, physical 6216888k(3835956k free), swap
12431876k(9888884k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (20.1-b02) for
windows-amd64 JRE (1.6.0_26-b03), built on May 4 2011 07:15:24 by
"java_re" with MS VC++ 8.0 (VS2005)
time: Wed Aug 03 11:33:47 2011 elapsed time: 8 seconds
Anybody have any ideas why this is happening?
If this is a MS library, you need to derive from StdCallLibrary, or add an OPTION_CALLING_CONVENTION=>STDCALL_CONVENTION to the options passed to your library load.
If you call with the wrong calling convention, you will likely crash the VM.
I have written the following program that is intended to dump all network device traffic to a file. I know the problem involves the use of JpcapWriter. Why am I getting the error message shown below?
import jpcap.*;
import jpcap.packet.*;
public class dumptraffic
{
private static final int maxPackets = 100;
public static void main(String args[])
{
try
{
NetworkInterface[] devices = JpcapCaptor.getDeviceList();
if (args.length != 1)
{
System.out.println("You must enter a device number.");
int i = 0;
for (NetworkInterface device : devices)
System.out.println((i++) + ": " + device.name);
return;
}
JpcapCaptor jpcap = JpcapCaptor.openDevice(devices[Integer.parseInt(args[0].trim())], 2000, false, 20);
JpcapWriter writer = JpcapWriter.openDumpFile(jpcap, "dump.pcap");
for (int i = 0; i < maxPackets; i++)
writer.writePacket(jpcap.getPacket());
writer.close();
System.out.println("Recorded packets to the file \"dump.pcap\"");
}
catch (Exception e)
{
System.out.println(e.getMessage());
}
}
}
Here is the log that Java dumps:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0234659d, pid=4900, tid=5808
#
# JRE version: 6.0_22-b04
# Java VM: Java HotSpot(TM) Client VM (17.1-b03 mixed mode, sharing windows-x86 )
# Problematic frame:
# v ~BufferBlob::jni_fast_GetLongField
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/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 (0x02211c00): JavaThread "main" [_thread_in_native, id=5808, stack(0x002f0000,0x00340000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
Registers:
EAX=0x00000000, EBX=0x6da511e8, ECX=0x00000000, EDX=0x00000000
ESP=0x0033f578, EBP=0x0033f5b0, ESI=0x00000022, EDI=0x00000000
EIP=0x0234659d, EFLAGS=0x00010246
Top of Stack: (sp=0x0033f578)
0x0033f578: 02211d18 6d97567f 02211d18 00000000
0x0033f588: 00000022 00000000 02211d18 6da511e8
0x0033f598: 0033f58c 0033f19c 0033fd8c 6d9f4ed0
0x0033f5a8: 6da2a4b0 00000000 0033fc68 015d358c
0x0033f5b8: 02211d18 00000000 00000022 02211c00
0x0033f5c8: 380655e0 0033fc68 380655e0 0000005b
0x0033f5d8: 00000000 03000003 001521a8 77a94460
0x0033f5e8: 00000000 77a94460 00000000 001219b8
Instructions: (pc=0x0234659d)
0x0234658d: 00 00 00 8b c1 83 e0 01 8b 54 04 0c 8b 74 24 10
0x0234659d: 8b 12 c1 ee 02 8b 04 32 8b 54 32 04 be e0 16 a6
Stack: [0x002f0000,0x00340000], sp=0x0033f578, free space=13d0033f0ack
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
v ~BufferBlob::jni_fast_GetLongField
C [Jpcap.dll+0x358c]
j dumptraffic.main([Ljava/lang/String;)V+127
v ~StubRoutines::call_stub
V [jvm.dll+0xf3a9c]
V [jvm.dll+0x186591]
V [jvm.dll+0xf3b1d]
V [jvm.dll+0xfd365]
V [jvm.dll+0x104fbd]
C [java.exe+0x2155]
C [java.exe+0x85b4]
C [kernel32.dll+0x4d0e9]
C [ntdll.dll+0x419bb]
C [ntdll.dll+0x4198e]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j jpcap.JpcapWriter.writePacket(Ljpcap/packet/Packet;)V+0
j dumptraffic.main([Ljava/lang/String;)V+127
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x02245800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2888, stack(0x04550000,0x045a0000)]
0x0223e400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2620, stack(0x04500000,0x04550000)]
0x0223d400 JavaThread "Attach Listener" daemon [_thread_blocked, id=4060, stack(0x044b0000,0x04500000)]
0x0223a400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4280, stack(0x04460000,0x044b0000)]
0x02232000 JavaThread "Finalizer" daemon [_thread_blocked, id=5952, stack(0x04410000,0x04460000)]
0x02230c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=5860, stack(0x008c0000,0x00910000)]
=>0x02211c00 JavaThread "main" [_thread_in_native, id=5808, stack(0x002f0000,0x00340000)]
Other Threads:
0x0222f400 VMThread [stack: 0x003b0000,0x00400000] [id=4396]
0x0224f400 WatcherThread [stack: 0x045a0000,0x045f0000] [id=4156]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 4928K, used 371K [0x28050000, 0x285a0000, 0x2d5a0000)
eden space 4416K, 8% used [0x28050000, 0x280acf00, 0x284a0000)
from space 512K, 0% used [0x284a0000, 0x284a0000, 0x28520000)
to space 512K, 0% used [0x28520000, 0x28520000, 0x285a0000)
tenured generation total 10944K, used 0K [0x2d5a0000, 0x2e050000, 0x38050000)
the space 10944K, 0% used [0x2d5a0000, 0x2d5a0000, 0x2d5a0200, 0x2e050000)
compacting perm gen total 12288K, used 86K [0x38050000, 0x38c50000, 0x3c050000)
the space 12288K, 0% used [0x38050000, 0x38065868, 0x38065a00, 0x38c50000)
ro space 10240K, 51% used [0x3c050000, 0x3c57baf8, 0x3c57bc00, 0x3ca50000)
rw space 12288K, 54% used [0x3ca50000, 0x3d0e76d8, 0x3d0e7800, 0x3d650000)
Dynamic libraries:
0x00400000 - 0x00424000 C:\Windows\system32\java.exe
0x779d0000 - 0x77af7000 C:\Windows\system32\ntdll.dll
0x77700000 - 0x777dc000 C:\Windows\system32\kernel32.dll
0x761c0000 - 0x76286000 C:\Windows\system32\ADVAPI32.dll
0x76460000 - 0x76523000 C:\Windows\system32\RPCRT4.dll
0x10000000 - 0x10048000 C:\Windows\system32\guard32.dll
0x76950000 - 0x769ed000 C:\Windows\system32\USER32.dll
0x77be0000 - 0x77c2b000 C:\Windows\system32\GDI32.dll
0x75f00000 - 0x75f08000 C:\Windows\system32\VERSION.dll
0x77500000 - 0x775aa000 C:\Windows\system32\msvcrt.dll
0x77b60000 - 0x77b7e000 C:\Windows\system32\IMM32.DLL
0x76880000 - 0x76948000 C:\Windows\system32\MSCTF.dll
0x77b10000 - 0x77b19000 C:\Windows\system32\LPK.DLL
0x76290000 - 0x7630d000 C:\Windows\system32\USP10.dll
0x75ef0000 - 0x75ef7000 C:\Windows\system32\fltlib.dll
0x7c340000 - 0x7c396000 C:\Program Files\Java\jre6\bin\msvcr71.dll
0x6d7f0000 - 0x6da97000 C:\Program Files\Java\jre6\bin\client\jvm.dll
0x74900000 - 0x74932000 C:\Windows\system32\WINMM.dll
0x775b0000 - 0x776f5000 C:\Windows\system32\ole32.dll
0x763d0000 - 0x7645d000 C:\Windows\system32\OLEAUT32.dll
0x748c0000 - 0x748fd000 C:\Windows\system32\OLEACC.dll
0x75ec0000 - 0x75eec000 C:\Windows\system32\apphelp.dll
0x6d7a0000 - 0x6d7ac000 C:\Program Files\Java\jre6\bin\verify.dll
0x6d320000 - 0x6d33f000 C:\Program Files\Java\jre6\bin\java.dll
0x6d280000 - 0x6d288000 C:\Program Files\Java\jre6\bin\hpi.dll
0x76070000 - 0x76077000 C:\Windows\system32\PSAPI.DLL
0x6d7e0000 - 0x6d7ef000 C:\Program Files\Java\jre6\bin\zip.dll
0x015d0000 - 0x015f8000 C:\Windows\System32\Jpcap.dll
0x763a0000 - 0x763cd000 C:\Windows\system32\WS2_32.dll
0x77b20000 - 0x77b26000 C:\Windows\system32\NSI.dll
0x045f0000 - 0x0463c000 C:\Windows\system32\wpcap.dll
0x00920000 - 0x00938000 C:\Windows\system32\packet.dll
0x75980000 - 0x75999000 C:\Windows\system32\iphlpapi.dll
0x75940000 - 0x75975000 C:\Windows\system32\dhcpcsvc.DLL
0x75e70000 - 0x75e9c000 C:\Windows\system32\DNSAPI.dll
0x75f10000 - 0x75f24000 C:\Windows\system32\Secur32.dll
0x75930000 - 0x75937000 C:\Windows\system32\WINNSI.DLL
0x75900000 - 0x75922000 C:\Windows\system32\dhcpcsvc6.DLL
0x6d600000 - 0x6d613000 C:\Program Files\Java\jre6\bin\net.dll
0x756f0000 - 0x7572b000 C:\Windows\system32\mswsock.dll
0x756e0000 - 0x756e5000 C:\Windows\System32\wship6.dll
VM Arguments:
java_command: dumptraffic 1
Launcher Type: SUN_STANDARD
Environment Variables:
CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\QuickTime\QTSystem\;C:\Ruby192\bin;C:\Program Files\Java\jdk1.6.0_20\bin
USERNAME=Donald Taylor
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows Vista Build 6002 Service Pack 2
CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 13, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
Memory: 4k page, physical 2094396k(1168912k free), swap 4458364k(3080400k free)
vm_info: Java HotSpot(TM) Client VM (17.1-b03) for windows-x86 JRE (1.6.0_22-b04), built on Sep 15 2010 00:56:36 by "java_re" with MS VC++ 7.1 (VS2003)
time: Mon Nov 08 19:50:43 2010
elapsed time: 0 seconds
I have no solution to your problem, but you might find one on the jpcap discussion board on Google Groups.
Scanning through the messages (keywords "jvm crash") I noted one saying that the problem turned out to be calling a method with the wrong parameters. So you might try double-checking that your code is using the API correctly.
I would not report this to Sun / Oracle. The evidence in the crash dump points to an error in the way that something is using JNI.
Are you running it as root or m$ equivalent? Collecting packets on a network interface promiscuously requires some additional privileges from the OS.
The key line is:
# The crash happened outside the Java Virtual Machine in native code.
That is, the jpcap library uses native code, and the native code segfaulted. This is therefore a bug in the jpcap library, not in the JVM. From the documentation on Github:
Internally, jpcap implements bindings to the libpcap system library
through JNI (the Java Native Interface).
Now, if you want, you could try to debug the segfault by running the whole thing in GDB.
However. Noting
jpcap utilizes libpcap, a widely deployed shared-library for capturing
user-level packets. libpcap must be installed on your system in order
to use jpcap.
in the docs, and considering the fact that a common cause of segfaults is a missing shared library, I suspect that you don't have the pcap library installed on your system.
use this statement inside your for loop
if(captor.getPacket()==null || captor.getPacket()==Packet.EOF) break;
I'm responsible for maintaining a java swing application. It used to run quite fine with java 1.4, but with the time we encountered more and more crashes of the JRE that made us upgrade to the JRE 1.6, which at least is still maintained by Sun.
With the JRE 1.6 we now encounter a different kind of problem, in the part displaying ECW image files thanks to JNI and the native dlls NCSEcw.dll, NCSUtil.dll and NCScnet.dll (which are produced by ERDAS and can be found here : http://www.erdas.com/Products/ERDASDownloads/tabid/192/CurrentID/2560/Default.aspx ).
Most of the time the problem is a freeze (probably a deadlock) but one or two times we had real crashes of the JRE, with the hs_err_pid message I copied below. It does not appear on all machines, and is not systematic on the concerned machines (though very frequent). Most of the concerned machines seem to be running Windows 2000 SP4, but it appeared also on some XP machines and I can't find the criterion which differentiates them.
Is there a difference in the way JNI calls the library that make it work with 1.4 and not with 1.6 ? I'm a bit lost, thanks for any clue.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x5ffa1049, pid=2196, tid=2244
#
# JRE version: 6.0_20-b02
# Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode windows-x86 )
# Problematic frame:
# C [NCSEcw.dll+0x1049]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/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 (0x33893800): JavaThread "Pool-1" [_thread_in_native, id=2244, stack(0x36580000,0x36680000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
Registers:
EAX=0x00000000, EBX=0x38e681d0, ECX=0x3460ff88, EDX=0x0000019c
ESP=0x3667f6e0, EBP=0x00000000, ESI=0x00000004, EDI=0x00000000
EIP=0x5ffa1049, EFLAGS=0x00010206
Top of Stack: (sp=0x3667f6e0)
0x3667f6e0: 00000010 3460ffa0 3895e5a8 38e68248
0x3667f6f0: 00000000 40000000 00000004 00000001
0x3667f700: 00000000 5ffa109f 3460fea8 34600005
0x3667f710: 000005ea 3460ffa0 00000010 38e68ec8
0x3667f720: 3865dd98 38e682c0 00000001 38e68338
0x3667f730: 00000007 3a416e6c 3895feac 5ffa109f
0x3667f740: 3460fea8 34600006 00000bb5 38e68ec8
0x3667f750: 00000010 3895ffd0 3a415568 38e68338
Instructions: (pc=0x5ffa1049)
0x5ffa1039: ff 8b c7 be 04 00 00 00 8b 4b 04 8b 6b 08 03 c8
0x5ffa1049: 8b 2c 28 83 c0 04 8b 11 89 29 8b 4b 08 4e 89 54
Stack: [0x36580000,0x36680000], sp=0x3667f6e0, free space=3fd3667f23ck
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [NCSEcw.dll+0x1049]
[error occurred during error reporting (printing native stack), id 0xc0000005]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.ermapper.ecw.JNCSFile.ECWReadImageRGBA([III)I+0
j com.ermapper.ecw.JNCSFile.readImageRGBA([III)I+4
j com.ermapper.ecw.JNCSRenderer.ecwReadImage(IIDDDD)Z+98
j com.ermapper.ecw.JNCSRenderer.drawImage(Ljava/awt/Graphics;IIIIDDDDLjava/awt/image/ImageObserver;)V+39
j com.esrifrance.moje.ecw.ECWLayer.drawAvecRenderer(Lcom/esri/mo2/map/dpy/DisplayArea;)V+286
j com.esrifrance.moje.ecw.ECWLayer.drawWithinScale(Lcom/esri/mo2/map/dpy/DisplayArea;I)V+63
j com.esri.mo2.map.dpy.BaseLayer.draw(Lcom/esri/mo2/map/dpy/DisplayArea;I)V+16
j com.esri.mo2.map.dpy.BaseDisplayManager$d_.a(Lcom/esri/mo2/map/dpy/Layer;)V+18
j com.esri.mo2.map.dpy.BaseDisplayManager$d_$a_.visiting(Lcom/esri/mo2/map/dpy/Layer;)Z+5
J com.esri.mo2.map.dpy.BaseGroupLayer.a(Lcom/esri/mo2/map/dpy/LayerVisitor;ZI)V
J com.esri.mo2.map.dpy.BaseGroupLayer.a(Lcom/esri/mo2/map/dpy/LayerVisitor;)V
j com.esri.mo2.map.dpy.BaseGroupLayer.traverse(Lcom/esri/mo2/map/dpy/LayerVisitor;Z)V+37
j com.esri.mo2.map.dpy.BaseDisplayManager$d_.m()V+15
j com.esri.mo2.map.dpy.BaseDisplayManager$d_.run()V+49
j com.esri.mo2.sys.tp.ThreadPool$a_.run()V+39
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x33855c00 JavaThread "RetrieveThread-31" [_thread_in_native, id=2236, stack(0x3c880000,0x3c980000)]
0x34788400 JavaThread "Thread-17" [_thread_in_native, id=2120, stack(0x3b2a0000,0x3b3a0000)]
0x34723c00 JavaThread "Image Animator 0" daemon [_thread_blocked, id=960, stack(0x3b1a0000,0x3b2a0000)]
0x33892400 JavaThread "Timer-0" [_thread_blocked, id=1664, stack(0x38660000,0x38760000)]
0x34796400 JavaThread "Swing-Shell" daemon [_thread_blocked, id=2500, stack(0x36990000,0x36a90000)]
0x33894800 JavaThread "Pool-2" [_thread_blocked, id=2440, stack(0x36680000,0x36780000)]
=>0x33893800 JavaThread "Pool-1" [_thread_in_native, id=2244, stack(0x36580000,0x36680000)]
0x342b5400 JavaThread "Pool-0" [_thread_blocked, id=612, stack(0x36480000,0x36580000)]
0x34859400 JavaThread "Thread-6" daemon [_thread_in_native, id=2044, stack(0x36380000,0x36480000)]
0x342e9800 JavaThread "DispatcherThread-4" [_thread_blocked, id=2232, stack(0x35680000,0x35780000)]
0x346e5c00 JavaThread "TimerQueue" daemon [_thread_blocked, id=2004, stack(0x34c50000,0x34d50000)]
0x346c5800 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=792, stack(0x34b50000,0x34c50000)]
0x34208000 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2452, stack(0x344f0000,0x345f0000)]
0x34230400 JavaThread "AWT-Shutdown" [_thread_blocked, id=744, stack(0x343f0000,0x344f0000)]
0x34195800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=2180, stack(0x342f0000,0x343f0000)]
0x33881000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2420, stack(0x33ef0000,0x33ff0000)]
0x3387b400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2292, stack(0x33df0000,0x33ef0000)]
0x33879c00 JavaThread "Attach Listener" daemon [_thread_blocked, id=2020, stack(0x33cf0000,0x33df0000)]
0x33878400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1404, stack(0x33bf0000,0x33cf0000)]
0x33868400 JavaThread "Finalizer" daemon [_thread_blocked, id=2436, stack(0x33af0000,0x33bf0000)]
0x33863800 JavaThread "Reference Handler" daemon [_thread_blocked, id=2404, stack(0x339f0000,0x33af0000)]
0x00877400 JavaThread "main" [_thread_blocked, id=2280, stack(0x00030000,0x00130000)]
Other Threads:
0x33860c00 VMThread [stack: 0x338f0000,0x339f0000] [id=2364]
0x3388c000 WatcherThread [stack: 0x33ff0000,0x340f0000] [id=2384]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 53248K, used 13986K [0x02940000, 0x06300000, 0x117e0000)
eden space 47360K, 29% used [0x02940000, 0x036e8818, 0x05780000)
from space 5888K, 0% used [0x05780000, 0x05780000, 0x05d40000)
to space 5888K, 0% used [0x05d40000, 0x05d40000, 0x06300000)
tenured generation total 118120K, used 70871K [0x117e0000, 0x18b3a000, 0x2f540000)
the space 118120K, 59% used [0x117e0000, 0x15d15df0, 0x15d15e00, 0x18b3a000)
compacting perm gen total 29696K, used 29522K [0x2f540000, 0x31240000, 0x33540000)
the space 29696K, 99% used [0x2f540000, 0x31214ac8, 0x31214c00, 0x31240000)
No shared spaces configured.
Dynamic libraries:
0x00400000 - 0x00455000 C:\Program Files\Sipa2010\Sipa.exe
0x78460000 - 0x784e1000 C:\WINNT\system32\ntdll.dll
0x78ed0000 - 0x78f32000 C:\WINNT\system32\ADVAPI32.dll
0x77e70000 - 0x77f34000 C:\WINNT\system32\KERNEL32.DLL
0x770c0000 - 0x77131000 C:\WINNT\system32\RPCRT4.DLL
0x77e00000 - 0x77e65000 C:\WINNT\system32\USER32.dll
0x77f40000 - 0x77f7c000 C:\WINNT\system32\GDI32.DLL
0x77810000 - 0x77817000 C:\WINNT\system32\VERSION.dll
0x75950000 - 0x75956000 C:\WINNT\system32\LZ32.DLL
0x6d8b0000 - 0x6db47000 c:\program files\sipa2010\jre\bin\client\jvm.dll
0x77540000 - 0x77571000 C:\WINNT\system32\WINMM.dll
0x7c340000 - 0x7c396000 C:\WINNT\system32\MSVCR71.dll
0x6d860000 - 0x6d86c000 c:\program files\sipa2010\jre\bin\verify.dll
0x6d3e0000 - 0x6d3ff000 c:\program files\sipa2010\jre\bin\java.dll
0x6d340000 - 0x6d348000 c:\program files\sipa2010\jre\bin\hpi.dll
0x68ea0000 - 0x68eab000 C:\WINNT\system32\PSAPI.DLL
0x6d8a0000 - 0x6d8af000 c:\program files\sipa2010\jre\bin\zip.dll
0x6d0b0000 - 0x6d1fa000 C:\Program Files\Sipa2010\jre\bin\awt.dll
0x777f0000 - 0x7780e000 C:\WINNT\system32\WINSPOOL.DRV
0x793c0000 - 0x793d1000 C:\WINNT\system32\MPR.DLL
0x75e00000 - 0x75e1a000 C:\WINNT\system32\IMM32.dll
0x77a40000 - 0x77b37000 C:\WINNT\system32\ole32.dll
0x71710000 - 0x71794000 C:\WINNT\system32\COMCTL32.dll
0x6e350000 - 0x6e356000 C:\WINNT\system32\INDICDLL.dll
0x77580000 - 0x777cf000 C:\WINNT\system32\shell32.dll
0x77290000 - 0x772f6000 C:\WINNT\system32\SHLWAPI.DLL
0x78000000 - 0x78045000 C:\WINNT\system32\msvcrt.dll
0x6d2e0000 - 0x6d334000 C:\Program Files\Sipa2010\jre\bin\fontmanager.dll
0x6d6c0000 - 0x6d6d3000 C:\Program Files\Sipa2010\jre\bin\net.dll
0x74fb0000 - 0x74fc4000 C:\WINNT\system32\WS2_32.dll
0x74fa0000 - 0x74fa8000 C:\WINNT\system32\WS2HELP.DLL
0x6d6e0000 - 0x6d6e9000 C:\Program Files\Sipa2010\jre\bin\nio.dll
0x77830000 - 0x7783c000 C:\WINNT\System32\rnr20.dll
0x77970000 - 0x77994000 C:\WINNT\system32\DNSAPI.DLL
0x74fd0000 - 0x74fd9000 C:\WINNT\system32\WSOCK32.DLL
0x77310000 - 0x77323000 C:\WINNT\system32\iphlpapi.dll
0x774f0000 - 0x774f5000 C:\WINNT\system32\ICMP.DLL
0x34da0000 - 0x34db7000 C:\WINNT\system32\MPRAPI.DLL
0x750d0000 - 0x750df000 C:\WINNT\system32\SAMLIB.DLL
0x7ccc0000 - 0x7cd10000 C:\WINNT\system32\NETAPI32.DLL
0x78fb0000 - 0x78fbf000 C:\WINNT\system32\Secur32.dll
0x77be0000 - 0x77bf1000 C:\WINNT\system32\NTDSAPI.dll
0x77940000 - 0x7796b000 C:\WINNT\system32\WLDAP32.DLL
0x75140000 - 0x75146000 C:\WINNT\system32\NETRAP.dll
0x779a0000 - 0x77a3b000 C:\WINNT\system32\OLEAUT32.DLL
0x77380000 - 0x773b0000 C:\WINNT\system32\ACTIVEDS.DLL
0x77350000 - 0x77373000 C:\WINNT\system32\ADSLDPC.DLL
0x77820000 - 0x7782e000 C:\WINNT\system32\RTUTILS.DLL
0x783c0000 - 0x78451000 C:\WINNT\system32\SETUPAPI.DLL
0x78d20000 - 0x78d83000 C:\WINNT\system32\USERENV.DLL
0x774b0000 - 0x774e3000 C:\WINNT\system32\RASAPI32.DLL
0x77490000 - 0x774a1000 C:\WINNT\system32\RASMAN.DLL
0x77500000 - 0x77522000 C:\WINNT\system32\TAPI32.DLL
0x77330000 - 0x77349000 C:\WINNT\system32\DHCPCSVC.DLL
0x777d0000 - 0x777d8000 C:\WINNT\System32\winrnr.dll
0x66210000 - 0x66219000 C:\WINNT\system32\netware\NWWS2NDS.DLL
0x50d50000 - 0x50d98000 C:\WINNT\system32\NETWIN32.DLL
0x50d00000 - 0x50d15000 C:\WINNT\system32\CLNWIN32.DLL
0x50df0000 - 0x50e10000 C:\WINNT\system32\LOCWIN32.DLL
0x50db0000 - 0x50ddc000 C:\WINNT\system32\NCPWIN32.dll
0x66220000 - 0x6622c000 C:\WINNT\system32\netware\NWWS2SLP.DLL
0x66250000 - 0x66257000 C:\WINNT\system32\NWSRVLOC.dll
0x74f50000 - 0x74f6e000 C:\WINNT\system32\msafd.dll
0x74f90000 - 0x74f97000 C:\WINNT\System32\wshtcpip.dll
0x777e0000 - 0x777e5000 C:\WINNT\system32\rasadhlp.dll
0x6d250000 - 0x6d273000 C:\Program Files\Sipa2010\jre\bin\dcpr.dll
0x7ca00000 - 0x7ca23000 C:\WINNT\system32\rsaenh.dll
0x77410000 - 0x77489000 C:\WINNT\system32\CRYPT32.dll
0x77400000 - 0x77410000 C:\WINNT\system32\MSASN1.DLL
0x72c60000 - 0x72ce6000 C:\WINNT\system32\CLBCATQ.DLL
0x77840000 - 0x77880000 C:\WINNT\system32\cscui.dll
0x77090000 - 0x770b3000 C:\WINNT\system32\CSCDLL.DLL
0x76dc0000 - 0x76dd2000 C:\WINNT\system32\mydocs.dll
0x36cf0000 - 0x36e3a000 C:\WINNT\system32\SHDOCVW.DLL
0x71e40000 - 0x71e8d000 C:\WINNT\system32\docprop2.dll
0x6a6f0000 - 0x6a710000 C:\WINNT\system32\MSVFW32.DLL
0x747f0000 - 0x74806000 C:\WINNT\system32\AVIFIL32.DLL
0x773e0000 - 0x773f3000 C:\WINNT\system32\MSACM32.dll
0x6ff60000 - 0x6ff65000 C:\WINNT\system32\faxshell.dll
0x37250000 - 0x372ab000 C:\Program Files\Fichiers communs\Adobe\Acrobat\ActiveX\PDFShell.dll
0x78130000 - 0x781cb000 C:\WINNT\system32\MSVCR80.dll
0x750e0000 - 0x750ec000 C:\WINNT\System32\ntlanman.dll
0x75190000 - 0x751a5000 C:\WINNT\System32\NETUI0.DLL
0x75150000 - 0x75188000 C:\WINNT\System32\NETUI1.DLL
0x58200000 - 0x582d1000 C:\WINNT\system32\NOVNPNT.DLL
0x50d20000 - 0x50d4d000 C:\WINNT\system32\CALWIN32.DLL
0x50da0000 - 0x50dab000 C:\WINNT\system32\CLXWIN32.DLL
0x58300000 - 0x5833b000 C:\WINNT\system32\MAPBASE.dll
0x58380000 - 0x583be000 C:\WINNT\system32\NWSHLXNT.dll
0x6a400000 - 0x6a41c000 C:\WINNT\system32\NLS\FRANCAIS\MAPBASER.DLL
0x37500000 - 0x3751d000 C:\WINNT\system32\NLS\FRANCAIS\NWSHLXNR.DLL
0x37520000 - 0x37596000 C:\WINNT\system32\NLS\FRANCAIS\NOVNPNTR.DLL
0x375a0000 - 0x376a2000 C:\Program Files\Sipa2010\jre\bin\esri_jni_mrsid.dll
0x377c0000 - 0x37ac1000 C:\Program Files\Sipa2010\jre\bin\mlib_jai.dll
0x5ff80000 - 0x5ff98000 C:\Program Files\Sipa2010\jre\bin\NCSUtil.dll
0x77910000 - 0x77933000 C:\WINNT\system32\IMAGEHLP.dll
0x5ffd0000 - 0x5ffe4000 C:\Program Files\Sipa2010\jre\bin\NCScnet.dll
0x5ffa0000 - 0x5ffcc000 C:\Program Files\Sipa2010\jre\bin\NCSEcw.dll
0x69a00000 - 0x69a1d000 C:\WINNT\system32\NTMARTA.DLL
0x6d500000 - 0x6d524000 C:\Program Files\Sipa2010\jre\bin\jpeg.dll
VM Arguments:
jvm_args: -Xms150000000 -Xmx750000000
java_command:
Launcher Type: generic
Environment Variables:
CLASSPATH=C:\Program Files\Sipa2010\impression.jar;C:\Program Files\Sipa2010\lib\moje21\jsde90_sdkres.jar;C:\Program Files\Sipa2010\lib\fop\xml-apis.jar;C:\Program Files\Sipa2010\SIPA.jar;C:\Program Files\Sipa2010\lib\fop\fop.jar;C:\Program Files\Sipa2010\lib\moje21\esri_mo21img.jar;C:\Program Files\Sipa2010\lib\log4j-1.2.7.jar;C:\Program Files\Sipa2010\lib\moje21\esri_mo21rpf.jar;C:\Program Files\Sipa2010\lib\moje21\mlibwrapper_jai.jar;C:\Program Files\Sipa2010\lib\fop\xercesImpl-2.2.1.jar;C:\Program Files\Sipa2010\lib\MDateSelector.jar;C:\Program Files\Sipa2010\lib\moje21\esri_mo21.jar;C:\Program Files\Sipa2010\lib\moje21\jsde90_sdk.jar;C:\Program Files\Sipa2010\lib\moje21\esri_mo21res.jar;C:\Program Files\Sipa2010\lib\moje21\esri_xmlkit.jar;C:\Program Files\Sipa2010\lib\moje21\jai_codec.jar;C:\Program Files\Sipa2010\lib\moje21\jai_core.jar;C:\Program Files\Sipa2010\lib\moje21\jpe90_sdk.jar;C:\Program Files\Sipa2010\lib\moje21\esri_mo21vpf.jar;C:\Program Files\Sipa2010\lib\fop\avalon-framework-cvs-20020806.jar;C:\Program Files\Sipa2010\lib\fop\batik.jar;C:\Program Files\Sipa2010\lib\classes12.jar;C:\Program Files\Sipa2010\lib\moje21\esri_mo21cad.jar;C:\Program Files\Sipa2010\lib\pdfbox-sword.jar;C:\Program Files\Sipa2010\lax.jar;C:\Program Files\Sipa2010\ecwermapperjni.jar;
PATH=C:\oracle\ora81\bin;C:\Program Files\Oracle\jre\1.1.7\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\WINNT\system32\nls;C:\WINNT\system32\nls\FRANCAIS;C:\Program Files\Novell\ZENworks
USERNAME=David
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 2000 Build 2195 Service Pack 4
CPU:total 2 (1 cores per cpu, 2 threads per core) family 15 model 4 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ht
Memory: 4k page, physical 1047020k(341768k free), swap 1719680k(1051752k free)
vm_info: Java HotSpot(TM) Client VM (16.3-b01) for windows-x86 JRE (1.6.0_20-b02), built on Apr 12 2010 13:52:23 by "java_re" with MS VC++ 7.1 (VS2003)
time: Fri Jun 18 10:33:04 2010
elapsed time: 59 seconds
Jon has a hint that could explain your JNI problems after changing the JRE. Recompilation of the native libraries would be a solution, according to his answer.