In my application I use the library icepdf. when you create a class of applications is broken and creates a log file. Help in solving problems
Log file:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d034bee, pid=3304, tid=3364
#
# JRE version: 6.0_21-b07
# Java VM: Java HotSpot(TM) Client VM (17.0-b17 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [awt.dll+0x34bee]
#
--------------- T H R E A D ---------------
Current thread (0x03168c00): JavaThread "AWT-Windows" daemon [_thread_in_native, id=3364, stack(0x00d70000,0x00e70000)]
siginfo: ExceptionCode=0xc0000005, writing address 0xe1ecbd40
Registers:
EAX=0x00000000, EBX=0x00000018, ECX=0x000000cc, EDX=0x00000000
ESP=0x00e6f54c, EBP=0x00000000, ESI=0xe1ecbd40, EDI=0x23a5ff74
EIP=0x6d034bee, EFLAGS=0x00010246
Top of Stack: (sp=0x00e6f54c)
0x00e6f54c: 00e6f5a8 00000018 00e6f62c 00000014
0x00e6f55c: 6d0ab541 00cccccc 00000000 00000018
0x00e6f56c: 00000014 23a60164 000003a0 00000000
0x00e6f57c: 00000000 00000018 03081760 00000100
0x00e6f58c: 0015f660 00000400 e1ecbd40 00000000
0x00e6f59c: 00000000 00000018 00000014 00000000
0x00e6f5ac: 00000000 00000018 00000014 00000000
0x00e6f5bc: 00000000 00000004 00000400 00000000
Instructions: (pc=0x6d034bee)
0x6d034bde: 00 0f b6 84 01 40 35 10 6d 0b ea c1 e5 08 0b e8
0x6d034bee: 89 2e 47 83 c6 04 4b 75 99 8b 54 24 18 8b 4c 24
Stack: [0x00d70000,0x00e70000], sp=0x00e6f54c, free space=3fd00e6f080k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [awt.dll+0x34bee]
[error occurred during error reporting (printing native stack), id 0xc0000005]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j sun.awt.windows.WToolkit.eventLoop()V+0
j sun.awt.windows.WToolkit.run()V+52
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x042c9c00 JavaThread "Image Fetcher 2" daemon [_thread_blocked, id=388, stack(0x04430000,0x04480000)]
0x03153400 JavaThread "Image Fetcher 1" daemon [_thread_blocked, id=584, stack(0x03810000,0x03860000)]
0x0312e400 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=4088, stack(0x00390000,0x003e0000)]
0x03526800 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=2128, stack(0x04970000,0x049c0000)]
0x0356f400 JavaThread "SwingWorker-pool-3-thread-7" daemon [_thread_blocked, id=2196, stack(0x04920000,0x04970000)]
0x0356d800 JavaThread "SwingWorker-pool-3-thread-6" daemon [_thread_blocked, id=468, stack(0x048d0000,0x04920000)]
0x03522000 JavaThread "SwingWorker-pool-3-thread-5" daemon [_thread_blocked, id=2796, stack(0x04880000,0x048d0000)]
0x03521800 JavaThread "SwingWorker-pool-3-thread-4" daemon [_thread_blocked, id=996, stack(0x04740000,0x04790000)]
0x0315f400 JavaThread "SwingWorker-pool-3-thread-3" daemon [_thread_blocked, id=2136, stack(0x04830000,0x04880000)]
0x0415c400 JavaThread "SwingWorker-pool-3-thread-2" daemon [_thread_blocked, id=2112, stack(0x047e0000,0x04830000)]
0x03598400 JavaThread "SwingWorker-pool-3-thread-1" daemon [_thread_blocked, id=2132, stack(0x04790000,0x047e0000)]
0x04109400 JavaThread "TimerQueue" daemon [_thread_blocked, id=3980, stack(0x04520000,0x04570000)]
0x0364a000 JavaThread "AWT-EventQueue-1" [_thread_blocked, id=4056, stack(0x03f40000,0x03f90000)]
0x03567800 JavaThread "AWT-EventQueue-0" [_thread_in_native, id=4064, stack(0x03bc0000,0x03c10000)]
0x03537400 JavaThread "Keep-Alive-Timer" daemon [_thread_blocked, id=4044, stack(0x03b70000,0x03bc0000)]
0x0352c400 JavaThread "CacheCleanUpThread" daemon [_thread_blocked, id=4448, stack(0x038b0000,0x03900000)]
0x0352a800 JavaThread "CacheMemoryCleanUpThread" daemon [_thread_blocked, id=3884, stack(0x03860000,0x038b0000)]
0x00c38400 JavaThread "DestroyJavaVM" [_thread_blocked, id=3284, stack(0x00cd0000,0x00d20000)]
0x0316a800 JavaThread "Javaws Secure Thread" daemon [_thread_blocked, id=3168, stack(0x037c0000,0x03810000)]
=>0x03168c00 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3364, stack(0x00d70000,0x00e70000)]
0x03167800 JavaThread "AWT-Shutdown" [_thread_blocked, id=3880, stack(0x03770000,0x037c0000)]
0x03166800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3876, stack(0x03720000,0x03770000)]
0x03103400 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=3732, stack(0x03460000,0x034b0000)]
0x030e3800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3720, stack(0x033a0000,0x033f0000)]
0x030e0800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3728, stack(0x03350000,0x033a0000)]
0x030db800 JavaThread "Attach Listener" daemon [_thread_blocked, id=3788, stack(0x03300000,0x03350000)]
0x030da400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3716, stack(0x032b0000,0x03300000)]
0x0308f000 JavaThread "Finalizer" daemon [_thread_blocked, id=3708, stack(0x03260000,0x032b0000)]
0x0308d800 JavaThread "Reference Handler" daemon [_thread_blocked, id=3704, stack(0x03210000,0x03260000)]
Other Threads:
0x0308c000 VMThread [stack: 0x031c0000,0x03210000] [id=3712]
0x030ee000 WatcherThread [stack: 0x033f0000,0x03440000] [id=3724]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 17536K, used 3452K [0x22970000, 0x23c70000, 0x27ec0000)
eden space 15616K, 9% used [0x22970000, 0x22aef070, 0x238b0000)
from space 1920K, 100% used [0x238b0000, 0x23a90000, 0x23a90000)
to space 1920K, 0% used [0x23a90000, 0x23a90000, 0x23c70000)
tenured generation total 38756K, used 28076K [0x27ec0000, 0x2a499000, 0x32970000)
the space 38756K, 72% used [0x27ec0000, 0x29a2b0e8, 0x29a2b200, 0x2a499000)
compacting perm gen total 12800K, used 12791K [0x32970000, 0x335f0000, 0x36970000)
the space 12800K, 99% used [0x32970000, 0x335edd40, 0x335ede00, 0x335f0000)
ro space 10240K, 51% used [0x36970000, 0x36e9b700, 0x36e9b800, 0x37370000)
rw space 12288K, 54% used [0x37370000, 0x37a076c0, 0x37a07800, 0x37f70000)
Dynamic libraries:
0x00400000 - 0x00424000 C:\Program Files\Java\jre6\bin\javaw.exe
0x7c900000 - 0x7c9b1000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f6000 C:\WINDOWS\system32\kernel32.dll
0x77dc0000 - 0x77e6c000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f01000 C:\WINDOWS\system32\RPCRT4.dll
0x77d30000 - 0x77dc0000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f56000 C:\WINDOWS\system32\GDI32.dll
0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
0x71a90000 - 0x71aa7000 C:\WINDOWS\system32\ws2_32.dll
0x77c00000 - 0x77c58000 C:\WINDOWS\system32\msvcrt.dll
0x71a80000 - 0x71a88000 C:\WINDOWS\system32\WS2HELP.dll
0x71ab0000 - 0x71aba000 C:\WINDOWS\system32\WSOCK32.dll
0x7c340000 - 0x7c396000 C:\Program Files\Java\jre6\bin\msvcr71.dll
0x6d800000 - 0x6daa7000 C:\Program Files\Java\jre6\bin\client\jvm.dll
0x76b20000 - 0x76b4e000 C:\WINDOWS\system32\WINMM.dll
0x6d7b0000 - 0x6d7bc000 C:\Program Files\Java\jre6\bin\verify.dll
0x6d330000 - 0x6d34f000 C:\Program Files\Java\jre6\bin\java.dll
0x6d000000 - 0x6d14a000 C:\Program Files\Java\jre6\bin\awt.dll
0x72fc0000 - 0x72fe6000 C:\WINDOWS\system32\WINSPOOL.DRV
0x76360000 - 0x7637d000 C:\WINDOWS\system32\IMM32.dll
0x774d0000 - 0x7760c000 C:\WINDOWS\system32\ole32.dll
0x773c0000 - 0x774c2000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\COMCTL32.dll
0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
0x6d290000 - 0x6d298000 C:\Program Files\Java\jre6\bin\hpi.dll
0x4fd70000 - 0x4ff16000 C:\WINDOWS\system32\d3d9.dll
0x6df20000 - 0x6df26000 C:\WINDOWS\system32\d3d8thk.dll
0x77bf0000 - 0x77bf8000 C:\WINDOWS\system32\VERSION.dll
0x76be0000 - 0x76beb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d7f0000 - 0x6d7ff000 C:\Program Files\Java\jre6\bin\zip.dll
0x746e0000 - 0x7472b000 C:\WINDOWS\system32\MSCTF.dll
0x6d1d0000 - 0x6d1e3000 C:\Program Files\Java\jre6\bin\deploy.dll
0x77a70000 - 0x77b05000 C:\WINDOWS\system32\CRYPT32.dll
0x77b10000 - 0x77b22000 C:\WINDOWS\system32\MSASN1.dll
0x7c9c0000 - 0x7d1d8000 C:\WINDOWS\system32\SHELL32.dll
0x77110000 - 0x7719c000 C:\WINDOWS\system32\OLEAUT32.dll
0x771a0000 - 0x77246000 C:\WINDOWS\system32\WININET.dll
0x77250000 - 0x772f0000 C:\WINDOWS\system32\urlmon.dll
0x6d610000 - 0x6d623000 C:\Program Files\Java\jre6\bin\net.dll
0x6d630000 - 0x6d639000 C:\Program Files\Java\jre6\bin\nio.dll
0x6d6b0000 - 0x6d6f6000 C:\Program Files\Java\jre6\bin\regutils.dll
0x71a30000 - 0x71a70000 C:\WINDOWS\System32\mswsock.dll
0x76f10000 - 0x76f37000 C:\WINDOWS\system32\DNSAPI.dll
0x76fa0000 - 0x76fa8000 C:\WINDOWS\System32\winrnr.dll
0x76f50000 - 0x76f7d000 C:\WINDOWS\system32\WLDAP32.dll
0x76fb0000 - 0x76fb6000 C:\WINDOWS\system32\rasadhlp.dll
0x10000000 - 0x10015000 C:\WINDOWS\system32\DRWEBSP.DLL
0x039a0000 - 0x039c3000 C:\WINDOWS\system32\nvappfilter.dll
0x698b0000 - 0x69908000 C:\WINDOWS\system32\hnetcfg.dll
0x71a70000 - 0x71a78000 C:\WINDOWS\System32\wshtcpip.dll
0x76fc0000 - 0x7703f000 C:\WINDOWS\system32\CLBCATQ.DLL
0x77040000 - 0x77107000 C:\WINDOWS\system32\COMRes.dll
0x03c70000 - 0x03f3d000 C:\WINDOWS\system32\xpsp2res.dll
0x75e60000 - 0x75f10000 C:\WINDOWS\system32\SXS.DLL
0x0ffd0000 - 0x0fff8000 C:\WINDOWS\system32\rsaenh.dll
0x769a0000 - 0x76a54000 C:\WINDOWS\system32\USERENV.dll
0x5bd50000 - 0x5bda4000 C:\WINDOWS\system32\netapi32.dll
0x6d230000 - 0x6d284000 C:\Program Files\Java\jre6\bin\fontmanager.dll
0x6d790000 - 0x6d798000 C:\Program Files\Java\jre6\bin\sunmscapi.dll
0x4ebe0000 - 0x4ed83000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.2180_x-ww_522f9f82\gdiplus.dll
0x6d1a0000 - 0x6d1c3000 C:\Program Files\Java\jre6\bin\dcpr.dll
VM Arguments:
jvm_args: -Xbootclasspath/a:C:\Program Files\Java\jre6\lib\javaws.jar;C:\Program Files\Java\jre6\lib\deploy.jar;C:\Program Files\Java\jre6\lib\plugin.jar -Djava.security.policy=file:C:\Program Files\Java\jre6\lib\security\javaws.policy -DtrustProxy=true -Xverify:remote -Djnlpx.home=C:\Program Files\Java\jre6\bin -Dsun.awt.warmup=true -Djnlpx.origFilenameArg=http://proxyapp.doci.in.ua/med/registry/jnlp/_jnlpWogNuL.jnlp -Djnlpx.remove=false -Djnlpx.splashport=1426 -Djnlpx.jvm=C:\Program Files\Java\jre6\bin\javaw.exe
java_command: com.sun.javaws.Main http://proxyapp.doci.in.ua/med/registry/jnlp/_jnlpWogNuL.jnlp
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=C:\Program Files\PHP\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;"C:\Program Files\Java\jre6\bin"
USERNAME=user
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 15 Model 75 Stepping 2, AuthenticAMD
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 2
CPU:total 2 (2 cores per cpu, 1 threads per core) family 15 model 75 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnow, 3dnowext
Memory: 4k page, physical 2062764k(1217788k free), swap 4001232k(3294388k free)
vm_info: Java HotSpot(TM) Client VM (17.0-b17) for windows-x86 JRE (1.6.0_21-b07), built on Jul 17 2010 01:10:15 by "java_re" with MS VC++ 7.1 (VS2003)
time: Sat Aug 28 13:37:31 2010
elapsed time: 24 seconds
From the snippet you pasted,its a segmentation fault (ExceptionCode=0xc0000005, writing address 0xe1ecbd40) because sun.awt.windows.WToolkit.eventLoop() function tried to write some contents to the memory address 0xe1ecbd40,which is either protected,or lies in kernel memory region, or inaccessible. This is why it crashed. This segfault is happening in sun AWT library awt.dll. Because eventLoop() should be calling some native function which in turn causing this segfault.So its not a problem with your application,its a crash within class library of JDK. Further analysis of this issue requires debugging of the postmortem logs.You are already on the latest JDK level,so it looks to be new issue within class library library. I think if you can open a ticket with SUN,then they might be able to look into it and can help you.Meanwhile you can try with some older version of JDK,it might be possible that some new code changes in the recent version might be causing this issue,but its just a guess.
There isn't much to go on from the dump but you could try the following system property encase it's Direct3D issue.
-Dsun.java2d.d3d=false
Related
Im having this hs_err_pid when I try to print a ticket from Openbravo POS:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77036018, pid=3436, tid=1096
#
# JRE version: 6.0_20-b02
# Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [ntdll.dll+0x56018]
#
# 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 (0x04a13c00): JavaThread "pool-1-thread-1" [_thread_in_native, id=1096, stack(0x04470000,0x044c0000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x00000004
Registers:
EAX=0x002f1488, EBX=0x002c8200, ECX=0x00000000, EDX=0x0000a202
ESP=0x044bf874, EBP=0x044bf89c, ESI=0x002f1480, EDI=0x00270000
EIP=0x77036018, EFLAGS=0x00010246
Top of Stack: (sp=0x044bf874)
0x044bf874: 00270000 002c8200 00000000 53944b40
0x044bf884: 0000000a 044bf868 00000000 044bf984
0x044bf894: 76ffe115 00149a2e 044bf994 77036287
0x044bf8a4: 00270000 002f1480 044bf964 00000000
0x044bf8b4: 735c7ef2 00000000 00270000 002c8208
0x044bf8c4: 77032fe7 735c7e2a 00000008 00270194
0x044bf8d4: 00270000 00360024 00000050 fffffffe
0x044bf8e4: 77032fe7 00270000 00275908 00340025
Instructions: (pc=0x77036018)
0x77036008: 85 56 3b 03 00 8b 56 0c 8d 46 08 8b 08 89 4d f0
0x77036018: 8b 49 04 89 55 f4 8b 12 3b d1 0f 85 b7 55 fd ff
Stack: [0x04470000,0x044c0000], sp=0x044bf874, free space=13e044bf390k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [ntdll.dll+0x56018]
C [ntdll.dll+0x56287]
C [ntdll.dll+0x565a6]
C [kernel32.dll+0x4c484]
C [crtdll.dll+0xc4d7]
j gnu.io.LPRPort.writeArray([BII)V+0
j gnu.io.LPRPort$ParallelOutputStream.write([B)V+26
j com.openbravo.pos.printer.escpos.PrinterWritterRXTX.internalWrite([B)V+78
j com.openbravo.pos.printer.escpos.PrinterWritter$1.run()V+8
j java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Ljava/lang/Runnable;)V+59
j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+28
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
V [jvm.dll+0xf049c]
V [jvm.dll+0x17fcf1]
V [jvm.dll+0xf0667]
V [jvm.dll+0xf06dd]
V [jvm.dll+0x11a2a0]
V [jvm.dll+0x1ddb14]
V [jvm.dll+0x17f96c]
C [msvcr71.dll+0x9565]
C [kernel32.dll+0x4ee1c]
C [ntdll.dll+0x637eb]
C [ntdll.dll+0x637be]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j gnu.io.LPRPort.writeArray([BII)V+0
j gnu.io.LPRPort$ParallelOutputStream.write([B)V+26
j com.openbravo.pos.printer.escpos.PrinterWritterRXTX.internalWrite([B)V+78
j com.openbravo.pos.printer.escpos.PrinterWritter$1.run()V+8
j java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Ljava/lang/Runnable;)V+59
j java.util.concurrent.ThreadPoolExecutor$Worker.run()V+28
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x04acb000 JavaThread "Trident pulse source thread" daemon [_thread_blocked, id=3124, stack(0x04620000,0x04670000)]
0x04aca800 JavaThread "Trident callback thread" daemon [_thread_blocked, id=3412, stack(0x045d0000,0x04620000)]
0x04a16000 JavaThread "TimerQueue" daemon [_thread_blocked, id=2432, stack(0x044c0000,0x04510000)]
=>0x04a13c00 JavaThread "pool-1-thread-1" [_thread_in_native, id=1096, stack(0x04470000,0x044c0000)]
0x0129b000 JavaThread "DestroyJavaVM" [_thread_blocked, id=4004, stack(0x00370000,0x003c0000)]
0x01b8a000 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=2116, stack(0x04140000,0x04190000)]
0x01b89400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2840, stack(0x040f0000,0x04140000)]
0x01b88c00 JavaThread "AWT-Shutdown" [_thread_blocked, id=3044, stack(0x040a0000,0x040f0000)]
0x01b86800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=3160, stack(0x04050000,0x040a0000)]
0x01ae7800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2608, stack(0x03de0000,0x03e30000)]
0x01ae2800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=2476, stack(0x03d90000,0x03de0000)]
0x01ae1800 JavaThread "Attach Listener" daemon [_thread_blocked, id=2468, stack(0x03d40000,0x03d90000)]
0x01ade800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2204, stack(0x03cf0000,0x03d40000)]
0x01ad6800 JavaThread "Finalizer" daemon [_thread_blocked, id=4008, stack(0x03ca0000,0x03cf0000)]
0x01ad2000 JavaThread "Reference Handler" daemon [_thread_blocked, id=2976, stack(0x03c50000,0x03ca0000)]
Other Threads:
0x01ad0c00 VMThread [stack: 0x01240000,0x01290000] [id=2728]
0x01af1c00 WatcherThread [stack: 0x03e30000,0x03e80000] [id=3768]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 8320K, used 1394K [0x23ac0000, 0x243c0000, 0x29010000)
eden space 7424K, 10% used [0x23ac0000, 0x23b8ac98, 0x24200000)
from space 896K, 65% used [0x24200000, 0x24291f48, 0x242e0000)
to space 896K, 0% used [0x242e0000, 0x242e0000, 0x243c0000)
tenured generation total 18344K, used 16823K [0x29010000, 0x2a1fa000, 0x33ac0000)
the space 18344K, 91% used [0x29010000, 0x2a07dc38, 0x2a07de00, 0x2a1fa000)
compacting perm gen total 12288K, used 10625K [0x33ac0000, 0x346c0000, 0x37ac0000)
the space 12288K, 86% used [0x33ac0000, 0x345207e8, 0x34520800, 0x346c0000)
ro space 10240K, 51% used [0x37ac0000, 0x37feae00, 0x37feae00, 0x384c0000)
rw space 12288K, 54% used [0x384c0000, 0x38b572d8, 0x38b57400, 0x390c0000)
Dynamic libraries:
0x00400000 - 0x00424000 C:\Windows\system32\javaw.exe
0x76fe0000 - 0x7711c000 C:\Windows\SYSTEM32\ntdll.dll
0x75810000 - 0x758e4000 C:\Windows\system32\kernel32.dll
0x75140000 - 0x7518b000 C:\Windows\system32\KERNELBASE.dll
0x77130000 - 0x771d0000 C:\Windows\system32\ADVAPI32.dll
0x76b00000 - 0x76bac000 C:\Windows\system32\msvcrt.dll
0x767c0000 - 0x767d9000 C:\Windows\SYSTEM32\sechost.dll
0x769f0000 - 0x76a92000 C:\Windows\system32\RPCRT4.dll
0x75710000 - 0x757d9000 C:\Windows\system32\USER32.dll
0x767e0000 - 0x7682e000 C:\Windows\system32\GDI32.dll
0x75410000 - 0x7541a000 C:\Windows\system32\LPK.dll
0x76880000 - 0x7691d000 C:\Windows\system32\USP10.dll
0x756f0000 - 0x7570f000 C:\Windows\system32\IMM32.DLL
0x76920000 - 0x769ec000 C:\Windows\system32\MSCTF.dll
0x7c340000 - 0x7c396000 C:\Program Files\Java\jre6\bin\msvcr71.dll
0x6d800000 - 0x6da97000 C:\Program Files\Java\jre6\bin\client\jvm.dll
0x72780000 - 0x727b2000 C:\Windows\system32\WINMM.dll
0x74f30000 - 0x74f7c000 C:\Windows\system32\apphelp.dll
0x6d7b0000 - 0x6d7bc000 C:\Program Files\Java\jre6\bin\verify.dll
0x6d330000 - 0x6d34f000 C:\Program Files\Java\jre6\bin\java.dll
0x6d290000 - 0x6d298000 C:\Program Files\Java\jre6\bin\hpi.dll
0x75360000 - 0x75365000 C:\Windows\system32\PSAPI.DLL
0x6d7f0000 - 0x6d7ff000 C:\Program Files\Java\jre6\bin\zip.dll
0x6d000000 - 0x6d14a000 C:\Program Files\Java\jre6\bin\awt.dll
0x70320000 - 0x70371000 C:\Windows\system32\WINSPOOL.DRV
0x76e80000 - 0x76fdc000 C:\Windows\system32\ole32.dll
0x73e60000 - 0x73ffe000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\COMCTL32.dll
0x76aa0000 - 0x76af7000 C:\Windows\system32\SHLWAPI.dll
0x739b0000 - 0x739c3000 C:\Windows\system32\DWMAPI.DLL
0x73ce0000 - 0x73d20000 C:\Windows\system32\uxtheme.dll
0x74f80000 - 0x74f8c000 C:\Windows\system32\CRYPTBASE.dll
0x6d610000 - 0x6d623000 C:\Program Files\Java\jre6\bin\net.dll
0x771d0000 - 0x77205000 C:\Windows\system32\WS2_32.dll
0x75370000 - 0x75376000 C:\Windows\system32\NSI.dll
0x74a30000 - 0x74a6c000 C:\Windows\system32\mswsock.dll
0x74a20000 - 0x74a26000 C:\Windows\System32\wship6.dll
0x72520000 - 0x72530000 C:\Windows\system32\NLAapi.dll
0x6f420000 - 0x6f430000 C:\Windows\system32\napinsp.dll
0x6f400000 - 0x6f412000 C:\Windows\system32\pnrpnsp.dll
0x748f0000 - 0x74934000 C:\Windows\system32\DNSAPI.dll
0x6f3f0000 - 0x6f3f8000 C:\Windows\System32\winrnr.dll
0x74580000 - 0x74585000 C:\Windows\System32\wshtcpip.dll
0x72320000 - 0x7233c000 C:\Windows\system32\IPHLPAPI.DLL
0x72310000 - 0x72317000 C:\Windows\system32\WINNSI.DLL
0x6fbb0000 - 0x6fbb6000 C:\Windows\system32\rasadhlp.dll
0x72230000 - 0x72268000 C:\Windows\System32\fwpuclnt.dll
0x74a70000 - 0x74a86000 C:\Windows\system32\CRYPTSP.dll
0x74810000 - 0x7484b000 C:\Windows\system32\rsaenh.dll
0x74650000 - 0x74667000 C:\Windows\system32\USERENV.dll
0x75000000 - 0x7500b000 C:\Windows\system32\profapi.dll
0x75b70000 - 0x767ba000 C:\Windows\system32\shell32.dll
0x6d230000 - 0x6d284000 C:\Program Files\Java\jre6\bin\fontmanager.dll
0x6d630000 - 0x6d639000 C:\Program Files\Java\jre6\bin\nio.dll
0x6d1a0000 - 0x6d1c3000 C:\Program Files\Java\jre6\bin\dcpr.dll
0x10000000 - 0x10012000 C:\Sistematpv\app\OpenbravoPOS\OpenbravoPOS\lib\Windows\i368-mingw32\rxtxSerial.dll
0x6c240000 - 0x6c267000 C:\Windows\system32\crtdll.dll
0x75380000 - 0x7540f000 C:\Windows\system32\OLEAUT32.DLL
0x012c0000 - 0x012cd000 C:\Sistematpv\app\OpenbravoPOS\OpenbravoPOS\lib\Windows\i368-mingw32\rxtxParallel.dll
VM Arguments:
jvm_args: -Djava.library.path=C:\Sistematpv\app\OpenbravoPOS\OpenbravoPOS\lib/Windows/i368-mingw32;C:\Sistematpv\app\OpenbravoPOS\OpenbravoPOS\lib/Windows/jacob -Ddirname.path=C:\Sistematpv\app\OpenbravoPOS\OpenbravoPOS\./
java_command: com.openbravo.pos.forms.StartPOS C:\Sistematpv\app\OpenbravoPOS\openbravopos.properties
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_33
PATH=C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\; C:\Program Files\Java\jre6\bin
USERNAME=Utilisateur
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 Build 7601 Service Pack 1
CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 23 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1
Memory: 4k page, physical 2027120k(1262220k free), swap 4054240k(3091592k 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: Wed Apr 23 12:41:52 2014
elapsed time: 16 seconds
I tried a all I know and all I searched.
Changing the ntdll.dll , kerne32.dll and ctrdll.dll from mine (Cause this problem is only running in a PC that's not mine, and the proyect is running well in others 86 pc's)
I updated java, and followed all this points to help:
http://pcsupport.about.com/od/fixtheproblem/a/ntdlldll.htm
For more information:
Windows 7 32 bits
java version "1.6.0_20"
Java(TM) SE Runtime Environment (build 1.6.0_20-b02)
Java HotSpot(TM) Client VM (build 16.3-b01, mixed mode, sharing)
and the printer is an EPSON TM88T IV using LPT port.
It's a virtual port that epson creates itself
This is a problem than jvm send when executes any functionality of the native code.
Maybe your problem comes caused by the use of the rxtx libraries, so i reccomend you to change the 'serial' into 'file' of the printer mode.
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 am developing a java application which uses a c++ library. My application type is an client/server RCP (eclipse plugin based). The problem is when I try to connect more than 2 clients to my server, it always frozes. What is strange is that this problem happens, only when running it in Windows. In Linux, it works fine.
I want to notice also, that, programatically, the clients are represented by C++ threads. May be, they want to access the same resource. If I let the application running, waiting it to defroze, it crashes and generates the log shown below
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6b88cd86, pid=2972, tid=3700
#
# Java VM: Java HotSpot(TM) Client VM (11.2-b01 mixed mode windows-x86)
# Problematic frame:
# C [libtlmdevice_ycp-3-0-0.dll+0x4cd86]
#
# 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 (0x637f0800): JavaThread "Thread-4" [_thread_in_native, id=3700, stack(0x687a0000,0x687f0000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x0000000c
Registers:
EAX=0x00000000, EBX=0x6b87b418, ECX=0x003fcd58, EDX=0x00000000
ESP=0x687efaa8, EBP=0x687efaa8, ESI=0x003ffeb8, EDI=0x637f0800
EIP=0x6b88cd86, EFLAGS=0x00010202
Top of Stack: (sp=0x687efaa8)
0x687efaa8: 687efb08 6b86246a 00000000 6b897954
0x687efab8: 00000001 6b87b418 003ffeb8 637f0800
0x687efac8: 687efae8 6b87a97c 688946e8 00000000
0x687efad8: 00000001 00000000 68893500 633b3f02
0x687efae8: 687efb02 6b88d032 00000002 00000000
0x687efaf8: 00000000 6b87b418 003ffeb8 637f0800
0x687efb08: 687efb48 6b87b312 003fcd58 00000002
0x687efb18: 00000000 00000011 687efb58 7c90da1c
Instructions: (pc=0x6b88cd86)
0x6b88cd76: 08 0f b6 45 fc 88 42 08 c9 c3 55 89 e5 8b 45 08
0x6b88cd86: 8b 40 0c 5d c3 90 55 89 e5 53 83 ec 14 8b 45 08
Stack: [0x687a0000,0x687f0000], sp=0x687efaa8, free space=318k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libtlmdevice_ycp-3-0-0.dll+0x4cd86]
C [libtlmdevice_ycp-3-0-0.dll+0x2246a]
C [libtlmdevice_ycp-3-0-0.dll+0x3b312]
C [libtlmdevice_ycp-3-0-0.dll+0x3b42c]
C [libtlmdevice_ycp-3-0-0.dll+0x3db81]
C [libtlmdevice_ycp-3-0-0.dll+0x3de1c]
C [libtlmdevice_ycp-3-0-0.dll+0x22f70]
j com.st.tlmdevice.api.TlmdeviceServer.Initialize(Ljava/lang/String;IIII)I+0
j com.st.tlmdevice.api.TlmdeviceServer.run()V+40
v ~StubRoutines::call_stub
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.st.tlmdevice.api.TlmdeviceServer.Initialize(Ljava/lang/String;IIII)I+0
j com.st.tlmdevice.api.TlmdeviceServer.run()V+40
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x66e52800 JavaThread "Thread-17" [_thread_in_native, id=1324, stack(0x68c30000,0x68c80000)]
0x63063000 JavaThread "Thread-15" [_thread_in_native, id=3060, stack(0x68b30000,0x68b80000)]
0x63035000 JavaThread "Thread-16" [_thread_in_native, id=3720, stack(0x68970000,0x689c0000)]
0x637e5800 JavaThread "Thread-14" [_thread_in_native, id=2672, stack(0x689c0000,0x68a10000)]
0x66da4400 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=1532, stack(0x6bf00000,0x6bf50000)]
=>0x637f0800 JavaThread "Thread-4" [_thread_in_native, id=3700, stack(0x687a0000,0x687f0000)]
0x637ec800 JavaThread "Thread-5" [_thread_blocked, id=796, stack(0x68750000,0x687a0000)]
0x66be8c00 JavaThread "Worker-1" [_thread_blocked, id=2016, stack(0x684c0000,0x68510000)]
0x66b67400 JavaThread "Worker-0" [_thread_blocked, id=2336, stack(0x67ac0000,0x67b10000)]
0x63408400 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=3360, stack(0x63760000,0x637b0000)]
0x633ffc00 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=1268, stack(0x636c0000,0x63710000)]
0x633e6c00 JavaThread "State Data Manager" daemon [_thread_blocked, id=1968, stack(0x63670000,0x636c0000)]
0x63025000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3936, stack(0x63270000,0x632c0000)]
0x6301ec00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=468, stack(0x63220000,0x63270000)]
0x6301d400 JavaThread "Attach Listener" daemon [_thread_blocked, id=2560, stack(0x631d0000,0x63220000)]
0x6301c000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2716, stack(0x63180000,0x631d0000)]
0x6300c400 JavaThread "Finalizer" daemon [_thread_blocked, id=456, stack(0x63130000,0x63180000)]
0x63007800 JavaThread "Reference Handler" daemon [_thread_blocked, id=1400, stack(0x630e0000,0x63130000)]
0x003a6c00 JavaThread "main" [_thread_in_native, id=448, stack(0x008c0000,0x00910000)]
Other Threads:
0x63004000 VMThread [stack: 0x63090000,0x630e0000] [id=1424]
0x63038800 WatcherThread [stack: 0x632c0000,0x63310000] [id=2604]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 36352K, used 165K [0x02990000, 0x05100000, 0x07850000)
eden space 32320K, 0% used [0x02990000, 0x029b9740, 0x04920000)
from space 4032K, 0% used [0x04920000, 0x04920000, 0x04d10000)
to space 4032K, 0% used [0x04d10000, 0x04d10000, 0x05100000)
tenured generation total 483968K, used 30304K [0x07850000, 0x250f0000, 0x42990000)
the space 483968K, 6% used [0x07850000, 0x095e83f8, 0x095e8400, 0x250f0000)
compacting perm gen total 28928K, used 28902K [0x42990000, 0x445d0000, 0x62990000)
the space 28928K, 99% used [0x42990000, 0x445c9ac0, 0x445c9c00, 0x445d0000)
No shared spaces configured.
Dynamic libraries:
0x00400000 - 0x00424000 C:\spg\ext_tools\jdk\i686-win5.1\jdk1.6.0_12\jre\bin\javaw.exe
0x7c900000 - 0x7c9af000 C:\WINDOWS\system32\ntdll.dll
0x7c800000 - 0x7c8f6000 C:\WINDOWS\system32\kernel32.dll
0x77dd0000 - 0x77e6b000 C:\WINDOWS\system32\ADVAPI32.dll
0x77e70000 - 0x77f02000 C:\WINDOWS\system32\RPCRT4.dll
0x77fe0000 - 0x77ff1000 C:\WINDOWS\system32\Secur32.dll
0x7e410000 - 0x7e4a1000 C:\WINDOWS\system32\USER32.dll
0x77f10000 - 0x77f59000 C:\WINDOWS\system32\GDI32.dll
0x76390000 - 0x763ad000 C:\WINDOWS\system32\IMM32.DLL
0x7c340000 - 0x7c396000 C:\spg\ext_tools\jdk\i686-win5.1\jdk1.6.0_12\jre\bin\msvcr71.dll
0x6d8b0000 - 0x6db06000 C:\spg\ext_tools\jdk\i686-win5.1\jdk1.6.0_12\jre\bin\client\jvm.dll
0x76b40000 - 0x76b6d000 C:\WINDOWS\system32\WINMM.dll
0x6d340000 - 0x6d348000 C:\spg\ext_tools\jdk\i686-win5.1\jdk1.6.0_12\jre\bin\hpi.dll
0x76bf0000 - 0x76bfb000 C:\WINDOWS\system32\PSAPI.DLL
0x6d860000 - 0x6d86c000 C:\spg\ext_tools\jdk\i686-win5.1\jdk1.6.0_12\jre\bin\verify.dll
0x6d3e0000 - 0x6d3ff000 C:\spg\ext_tools\jdk\i686-win5.1\jdk1.6.0_12\jre\bin\java.dll
0x6d8a0000 - 0x6d8af000 C:\spg\ext_tools\jdk\i686-win5.1\jdk1.6.0_12\jre\bin\zip.dll
0x72000000 - 0x72014000 C:\STM\STWorkbenchR4.1.1\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
0x773d0000 - 0x774d3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\COMCTL32.dll
0x77c10000 - 0x77c68000 C:\WINDOWS\system32\msvcrt.dll
0x77f60000 - 0x77fd6000 C:\WINDOWS\system32\SHLWAPI.dll
0x77c00000 - 0x77c08000 C:\WINDOWS\system32\VERSION.dll
0x63530000 - 0x63568000 C:\WINDOWS\system32\uxtheme.dll
0x74720000 - 0x7476c000 C:\WINDOWS\system32\MSCTF.dll
0x755c0000 - 0x755ee000 C:\WINDOWS\system32\msctfime.ime
0x774e0000 - 0x7761d000 C:\WINDOWS\system32\ole32.dll
0x68000000 - 0x68036000 C:\WINDOWS\system32\rsaenh.dll
0x769c0000 - 0x76a74000 C:\WINDOWS\system32\USERENV.dll
0x63610000 - 0x63665000 C:\WINDOWS\system32\netapi32.dll
0x6d6c0000 - 0x6d6d3000 C:\spg\ext_tools\jdk\i686-win5.1\jdk1.6.0_12\jre\bin\net.dll
0x71ab0000 - 0x71ac7000 C:\WINDOWS\system32\WS2_32.dll
0x71aa0000 - 0x71aa8000 C:\WINDOWS\system32\WS2HELP.dll
0x71a50000 - 0x71a8f000 C:\WINDOWS\System32\mswsock.dll
0x76f20000 - 0x76f47000 C:\WINDOWS\system32\DNSAPI.dll
0x76fb0000 - 0x76fb8000 C:\WINDOWS\System32\winrnr.dll
0x76f60000 - 0x76f8c000 C:\WINDOWS\system32\WLDAP32.dll
0x76fc0000 - 0x76fc6000 C:\WINDOWS\system32\rasadhlp.dll
0x6d6e0000 - 0x6d6e9000 C:\spg\ext_tools\jdk\i686-win5.1\jdk1.6.0_12\jre\bin\nio.dll
0x673d0000 - 0x67425000 C:\Documents and Settings\turkia\workspace2\.metadata\.plugins\org.eclipse.pde.core\New_configuration\org.eclipse.osgi\bundles\561\1\.cp\swt-win32-3452.dll
0x77120000 - 0x771ab000 C:\WINDOWS\system32\OLEAUT32.dll
0x763b0000 - 0x763f9000 C:\WINDOWS\system32\comdlg32.dll
0x7c9c0000 - 0x7d1d7000 C:\WINDOWS\system32\SHELL32.dll
0x74d90000 - 0x74dfb000 C:\WINDOWS\system32\USP10.dll
0x771b0000 - 0x7727e000 C:\WINDOWS\system32\WININET.dll
0x67440000 - 0x67449000 C:\WINDOWS\system32\Normaliz.dll
0x67450000 - 0x67495000 C:\WINDOWS\system32\iertutil.dll
0x67730000 - 0x67744000 C:\Documents and Settings\turkia\workspace2\.metadata\.plugins\org.eclipse.pde.core\New_configuration\org.eclipse.osgi\bundles\561\1\.cp\swt-gdip-win32-3452.dll
0x67750000 - 0x678f6000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.5512_x-ww_dfb54e0c\gdiplus.dll
0x74c80000 - 0x74cac000 C:\WINDOWS\system32\oleacc.dll
0x76080000 - 0x760e5000 C:\WINDOWS\system32\MSVCP60.dll
0x68040000 - 0x68305000 C:\WINDOWS\system32\xpsp2res.dll
0x76380000 - 0x76385000 C:\WINDOWS\system32\msimg32.dll
0x67b10000 - 0x67b1f000 C:\Documents and Settings\turkia\workspace2\.metadata\.plugins\org.eclipse.pde.core\New_configuration\org.eclipse.osgi\bundles\362\1\.cp\jWinHttp.dll
0x67b30000 - 0x67b89000 C:\WINDOWS\system32\WINHTTP.dll
0x76fd0000 - 0x7704f000 C:\WINDOWS\system32\CLBCATQ.DLL
0x77050000 - 0x77115000 C:\WINDOWS\system32\COMRes.dll
0x75cf0000 - 0x75d81000 C:\WINDOWS\system32\mlang.dll
0x70d00000 - 0x70d23000 C:\test\i686-win5.1-gcc_4.1.1_mingw-2-jdk_1.6.0_12-yac_1.2.5\bin\libyacapi.dll
0x6b840000 - 0x6bef9000 C:\test\i686-win5.1-gcc_4.1.1_mingw-2-jdk_1.6.0_12-yac_1.2.5\bin\libtlmdevice_ycp-3-0-0.dll
0x687f0000 - 0x68848000 C:\WINDOWS\system32\hnetcfg.dll
0x73080000 - 0x7309d000 C:\WINDOWS\system32\rsvpsp.dll
0x71a90000 - 0x71a98000 C:\WINDOWS\System32\wshtcpip.dll
0x6d5d0000 - 0x6d5f4000 C:\spg\ext_tools\jdk\i686-win5.1\jdk1.6.0_12\jre\bin\jsound.dll
0x6d600000 - 0x6d608000 C:\spg\ext_tools\jdk\i686-win5.1\jdk1.6.0_12\jre\bin\jsoundds.dll
0x73f10000 - 0x73f6c000 C:\WINDOWS\system32\DSOUND.dll
0x76c30000 - 0x76c5e000 C:\WINDOWS\system32\WINTRUST.dll
0x77a80000 - 0x77b15000 C:\WINDOWS\system32\CRYPT32.dll
0x77b20000 - 0x77b32000 C:\WINDOWS\system32\MSASN1.dll
0x76c90000 - 0x76cb8000 C:\WINDOWS\system32\IMAGEHLP.dll
0x72d20000 - 0x72d29000 C:\WINDOWS\system32\wdmaud.drv
0x72d10000 - 0x72d18000 C:\WINDOWS\system32\msacm32.drv
0x77be0000 - 0x77bf5000 C:\WINDOWS\system32\MSACM32.dll
0x77bd0000 - 0x77bd7000 C:\WINDOWS\system32\midimap.dll
0x73ee0000 - 0x73ee4000 C:\WINDOWS\system32\KsUser.dll
VM Arguments:
jvm_args: -Xms512m -Xmx1g -XX:MaxPermSize=512m -Declipse.pde.launch=true -Dfile.encoding=Cp1252
java_command: org.eclipse.equinox.launcher.Main -launcher C:\STM\STWorkbenchR4.1.1\eclipse.exe -name Eclipse -showsplash 600 -product com.st.platform.st_ide -data C:\Documents and Settings\turkia\workspace2/../runtime-New_configuration -configuration file:C:/Documents and Settings/turkia/workspace2/.metadata/.plugins/org.eclipse.pde.core/New_configuration/ -dev file:C:/Documents and Settings/turkia/workspace2/.metadata/.plugins/org.eclipse.pde.core/New_configuration/dev.properties -os win32 -ws win32 -arch x86 -nl en_US
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=C:/spg/ext_tools/jdk/i686-win5.1/jdk1.6.0_12/bin/../jre/bin/client;C:/spg/ext_tools/jdk/i686-win5.1/jdk1.6.0_12/bin/../jre/bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem
USERNAME=turkia
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 2, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows XP Build 2600 Service Pack 3
CPU:total 1 (1 cores per cpu, 1 threads per core) family 6 model 15 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
Memory: 4k page, physical 2086444k(1045564k free), swap 4024844k(2273736k free)
vm_info: Java HotSpot(TM) Client VM (11.2-b01) for windows-x86 JRE (1.6.0_12-b04), built on Jan 17 2009 09:57:14 by "java_re" with MS VC++ 7.1
time: Thu Mar 03 11:07:22 2011
elapsed time: 334 seconds
libtlmdevice_ycp-3-0-0.dll is the library I am using
If you have any idea :)
Thanks in advance.
kind regards,
Ali.
The native code needs to attach to the jvm using AttachCurrentThread and use the JNIEnv pointer provided by this function. You cannot just use the first JNIEnv your c++ lib got its hands on.
Also, there's a good chance that the c++ lib isn't thread-safe, can't tell without seeing source.
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.
Curious if anyone could help out in regards to a Java HotSpot dump...saw some reference to head over to the Sun Forums, figured I would try here first...below is the dump...
#
# An unexpected error has been detected by Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d8c8f23, pid=2836, tid=5980
#
# Java VM: Java HotSpot(TM) Client VM (11.2-b01 mixed mode, sharing windows-x86)
# Problematic frame:
# V [jvm.dll+0xc8f23]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x06c4d800): JavaThread "Thread-3365400" [_thread_in_vm, id=5980, stack(0x05560000,0x055b0000)]
siginfo: ExceptionCode=0xc0000005, writing address 0x055ad9d0
Registers:
EAX=0x00002000, EBX=0x055afad4, ECX=0x055ad9d0, EDX=0x0556605c
ESP=0x055af9d8, EBP=0x055afb88, ESI=0x00000002, EDI=0x055af9d0
EIP=0x6d8c8f23, EFLAGS=0x00010202
Top of Stack: (sp=0x055af9d8)
0x055af9d8: 06b54330 06c4d800 6d8c92fc 281db870
0x055af9e8: 055afa78 06c4d800 06b54320 06b54320
0x055af9f8: 0000000a 055afb90 06b54328 06b5432c
0x055afa08: 06b54330 00000005 06c4d800 06b54324
0x055afa18: 06c4d800 00000000 281db870 00000000
0x055afa28: 06b54330 00000000 00000000 00000000
0x055afa38: 6d951381 055afb88 055afa00 055afad4
0x055afa48: 00a190b0 06b54320 06c4d800 281db870
Instructions: (pc=0x6d8c8f23)
0x6d8c8f13: 3b c6 7c 1c e8 74 51 08 00 0f af c6 8b cf 2b c8
0x6d8c8f23: c7 01 00 00 00 00 a1 a4 18 a1 6d 46 3b f0 7e e4
Stack: [0x05560000,0x055b0000], sp=0x055af9d8, free space=318k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [jvm.dll+0xc8f23]
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x06c45c00 JavaThread "Thread-3365408" [_thread_blocked, id=7184, stack(0x05510000,0x05560000)]
0x03d7cc00 JavaThread "Thread-3365407" [_thread_blocked, id=8176, stack(0x05420000,0x05470000)]
=>0x06c4d800 JavaThread "Thread-3365400" [_thread_in_vm, id=5980, stack(0x05560000,0x055b0000)]
0x03ed1400 JavaThread "SocketListener0-16" [_thread_blocked, id=6596, stack(0x05290000,0x052e0000)]
0x06c96000 JavaThread "SocketListener0-6" [_thread_in_native, id=4880, stack(0x054c0000,0x05510000)]
0x06c45000 JavaThread "SocketListener0-3" [_thread_blocked, id=6264, stack(0x05000000,0x05050000)]
0x06c4a400 JavaThread "SocketListener0-22" [_thread_in_native, id=6612, stack(0x05380000,0x053d0000)]
0x06da4400 JavaThread "pool-32-thread-1" [_thread_blocked, id=5440, stack(0x053d0000,0x05420000)]
0x06c72800 JavaThread "pool-30-thread-1" [_thread_blocked, id=2156, stack(0x05050000,0x050a0000)]
0x03f9cc00 JavaThread "pool-31-thread-2" [_thread_blocked, id=2972, stack(0x05330000,0x05380000)]
0x0370ac00 JavaThread "pool-31-thread-1" [_thread_blocked, id=5272, stack(0x052e0000,0x05330000)]
0x06d32c00 JavaThread "pool-33-thread-1" [_thread_blocked, id=3244, stack(0x07e50000,0x07ea0000)]
0x03ee8000 JavaThread "pool-29-thread-5" [_thread_blocked, id=5572, stack(0x05230000,0x05280000)]
0x03fbac00 JavaThread "pool-29-thread-4" [_thread_blocked, id=3992, stack(0x051e0000,0x05230000)]
0x06c56800 JavaThread "pool-29-thread-3" [_thread_blocked, id=5256, stack(0x05190000,0x051e0000)]
0x06c91400 JavaThread "pool-29-thread-2" [_thread_blocked, id=4328, stack(0x05140000,0x05190000)]
0x03b39800 JavaThread "pool-34-thread-1" [_thread_blocked, id=4424, stack(0x050f0000,0x05140000)]
0x03d43800 JavaThread "Thread-3043484" [_thread_in_native, id=1660, stack(0x04fb0000,0x05000000)]
0x06bad800 JavaThread "Timer-92" [_thread_blocked, id=5012, stack(0x04ba0000,0x04bf0000)]
0x03740400 JavaThread "pool-29-thread-1" [_thread_blocked, id=5176, stack(0x04d80000,0x04dd0000)]
0x06b3d400 JavaThread "0APRSeventListenThr" daemon [_thread_in_native, id=4572, stack(0x050a0000,0x050f0000)]
0x06c43400 JavaThread "Timer-90" [_thread_blocked, id=208, stack(0x04f60000,0x04fb0000)]
0x03f3a800 JavaThread "Timer-89" [_thread_blocked, id=1132, stack(0x04f10000,0x04f60000)]
0x06c97000 JavaThread "pool-3-thread-32" [_thread_blocked, id=5388, stack(0x04ec0000,0x04f10000)]
0x0373f000 JavaThread "Timer-88" [_thread_blocked, id=5768, stack(0x04e70000,0x04ec0000)]
0x06b6f800 JavaThread "pool-3-thread-31" [_thread_blocked, id=6140, stack(0x04e20000,0x04e70000)]
0x03f4dc00 JavaThread "Timer-87" [_thread_blocked, id=4436, stack(0x04dd0000,0x04e20000)]
0x03db8c00 JavaThread "Timer-85" [_thread_blocked, id=4820, stack(0x04d30000,0x04d80000)]
0x06b4ec00 JavaThread "Timer-84" [_thread_blocked, id=5356, stack(0x04ce0000,0x04d30000)]
0x03704c00 JavaThread "Timer-83" [_thread_blocked, id=3748, stack(0x04c90000,0x04ce0000)]
0x03e7f000 JavaThread "pool-3-thread-30" [_thread_blocked, id=316, stack(0x04c40000,0x04c90000)]
0x06b77c00 JavaThread "Timer-82" [_thread_blocked, id=1684, stack(0x04bf0000,0x04c40000)]
0x03e13800 JavaThread "pool-3-thread-29" [_thread_blocked, id=5224, stack(0x04b50000,0x04ba0000)]
0x038c0000 JavaThread "Timer-81" [_thread_blocked, id=4312, stack(0x04b00000,0x04b50000)]
0x06cc7400 JavaThread "pool-3-thread-28" [_thread_blocked, id=2192, stack(0x04ab0000,0x04b00000)]
0x06c21800 JavaThread "Timer-80" [_thread_blocked, id=1860, stack(0x04060000,0x040b0000)]
0x03f33800 JavaThread "Timer-79" [_thread_blocked, id=3024, stack(0x04010000,0x04060000)]
0x036f8800 JavaThread "Timer-78" [_thread_blocked, id=3088, stack(0x032b0000,0x03300000)]
0x03f83000 JavaThread "SocketListener0-19" [_thread_in_native, id=2572, stack(0x05470000,0x054c0000)]
0x02bbf800 JavaThread "0APRSeventListenThr" daemon [_thread_in_native, id=5360, stack(0x04a60000,0x04ab0000)]
0x033a8400 JavaThread "pool-3-thread-7" [_thread_blocked, id=2140, stack(0x04a10000,0x04a60000)]
0x033a7c00 JavaThread "Timer-16" [_thread_blocked, id=3956, stack(0x049c0000,0x04a10000)]
0x02c1b400 JavaThread "pool-3-thread-6" [_thread_blocked, id=5396, stack(0x04970000,0x049c0000)]
0x0340d800 JavaThread "Timer-15" [_thread_blocked, id=5660, stack(0x04920000,0x04970000)]
0x03a84000 JavaThread "pool-3-thread-5" [_thread_blocked, id=4164, stack(0x048d0000,0x04920000)]
0x03a85400 JavaThread "Timer-14" [_thread_blocked, id=4836, stack(0x04880000,0x048d0000)]
0x03b03000 JavaThread "pool-3-thread-4" [_thread_blocked, id=4480, stack(0x04830000,0x04880000)]
0x03b06c00 JavaThread "Timer-13" [_thread_blocked, id=4264, stack(0x047e0000,0x04830000)]
0x03a83000 JavaThread "pool-4-thread-1" [_thread_blocked, id=4316, stack(0x04790000,0x047e0000)]
0x03202800 JavaThread "Timer-12" [_thread_blocked, id=4924, stack(0x04740000,0x04790000)]
0x03204000 JavaThread "Timer-11" [_thread_blocked, id=1768, stack(0x046f0000,0x04740000)]
0x03afa000 JavaThread "pool-3-thread-3" [_thread_blocked, id=4036, stack(0x046a0000,0x046f0000)]
0x03af5800 JavaThread "Timer-10" [_thread_blocked, id=2860, stack(0x04650000,0x046a0000)]
0x03af3c00 JavaThread "pool-3-thread-2" [_thread_blocked, id=1944, stack(0x04600000,0x04650000)]
0x03af2c00 JavaThread "Timer-9" [_thread_blocked, id=2404, stack(0x045b0000,0x04600000)]
0x03cbcc00 JavaThread "Timer-8" [_thread_blocked, id=2348, stack(0x04560000,0x045b0000)]
0x03cba400 JavaThread "pool-3-thread-1" [_thread_blocked, id=1348, stack(0x04510000,0x04560000)]
0x03c9b800 JavaThread "Timer-7" [_thread_blocked, id=1972, stack(0x044c0000,0x04510000)]
0x03c9a400 JavaThread "Timer-6" [_thread_blocked, id=4296, stack(0x04470000,0x044c0000)]
0x03cab800 JavaThread "EventAdmin Async Event Dispatcher Thread" daemon [_thread_blocked, id=4276, stack(0x04420000,0x04470000)]
0x03ca8800 JavaThread "Thread-12" [_thread_in_native, id=4336, stack(0x043d0000,0x04420000)]
0x03912000 JavaThread "pool-2-thread-1" [_thread_blocked, id=4452, stack(0x04380000,0x043d0000)]
0x03432000 JavaThread "pool-1-thread-1" [_thread_blocked, id=4612, stack(0x04330000,0x04380000)]
0x03099c00 JavaThread "Timer-5" daemon [_thread_blocked, id=4432, stack(0x042e0000,0x04330000)]
0x03258c00 JavaThread "Timer-4" daemon [_thread_blocked, id=4144, stack(0x04290000,0x042e0000)]
0x03bc5400 JavaThread "Timer-3" daemon [_thread_blocked, id=5984, stack(0x04240000,0x04290000)]
0x03c72400 JavaThread "Timer-2" daemon [_thread_blocked, id=4216, stack(0x041f0000,0x04240000)]
0x03bc2400 JavaThread "Thread-7" daemon [_thread_blocked, id=5780, stack(0x041a0000,0x041f0000)]
0x03ad8c00 JavaThread "Timer-1" daemon [_thread_blocked, id=3536, stack(0x04150000,0x041a0000)]
0x03aedc00 JavaThread "Timer-0" daemon [_thread_blocked, id=3760, stack(0x04100000,0x04150000)]
0x0391f000 JavaThread "Worker-0" [_thread_blocked, id=3772, stack(0x040b0000,0x04100000)]
0x038e6400 JavaThread "Acceptor ServerSocket[addr=0.0.0.0/0.0.0.0,port=0,localport=9090]" [_thread_blocked, id=3116, stack(0x03fc0000,0x04010000)]
0x038c2800 JavaThread "SessionScavenger" daemon [_thread_blocked, id=3696, stack(0x03760000,0x037b0000)]
0x03145000 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=3480, stack(0x03300000,0x03350000)]
0x030dd000 JavaThread "ConsoleSocketGetter" daemon [_thread_in_native, id=568, stack(0x03260000,0x032b0000)]
0x03104400 JavaThread "OSGi Console" [_thread_blocked, id=1252, stack(0x02fd0000,0x03020000)]
0x03104000 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=3152, stack(0x02f80000,0x02fd0000)]
0x02b80c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1468, stack(0x02e30000,0x02e80000)]
0x02b7b800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5016, stack(0x02de0000,0x02e30000)]
0x02b7a000 JavaThread "Attach Listener" daemon [_thread_blocked, id=6052, stack(0x02d90000,0x02de0000)]
0x02b78c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5332, stack(0x02d40000,0x02d90000)]
0x02b70800 JavaThread "Finalizer" daemon [_thread_blocked, id=980, stack(0x02cf0000,0x02d40000)]
0x02b6f400 JavaThread "Reference Handler" daemon [_thread_blocked, id=1364, stack(0x02ca0000,0x02cf0000)]
0x003a6c00 JavaThread "main" [_thread_blocked, id=3712, stack(0x00990000,0x009e0000)]
Other Threads:
0x02b6d800 VMThread [stack: 0x02c50000,0x02ca0000] [id=1864]
0x02b83c00 WatcherThread [stack: 0x02e80000,0x02ed0000] [id=2712]
VM state:synchronizing (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x003a5968] UNKNOWN - owner thread: 0x02b6d800
[0x003a5dc8] UNKNOWN - owner thread: 0x06c45000
Heap
def new generation total 4544K, used 4177K [0x22990000, 0x22e70000, 0x22e70000)
eden space 4096K, 100% used [0x22990000, 0x22d90000, 0x22d90000)
from space 448K, 18% used [0x22e00000, 0x22e14460, 0x22e70000)
to space 448K, 0% used [0x22d90000, 0x22d90000, 0x22e00000)
tenured generation total 60544K, used 53242K [0x22e70000, 0x26990000, 0x26990000)
the space 60544K, 87% used [0x22e70000, 0x2626e8a0, 0x2626ea00, 0x26990000)
compacting perm gen total 30720K, used 30550K [0x26990000, 0x28790000, 0x2a990000)
the space 30720K, 99% used [0x26990000, 0x28765898, 0x28765a00, 0x28790000)
ro space 8192K, 63% used [0x2a990000, 0x2aea7e48, 0x2aea8000, 0x2b190000)
rw space 12288K, 53% used [0x2b190000, 0x2b7fcb38, 0x2b7fcc00, 0x2bd90000)
Dynamic libraries:
0x00400000 - 0x00424000 C:\WINDOWS\system32\java.exe
0x7c800000 - 0x7c8c2000 C:\WINDOWS\system32\ntdll.dll
0x77e40000 - 0x77f42000 C:\WINDOWS\system32\kernel32.dll
0x7d1e0000 - 0x7d27c000 C:\WINDOWS\system32\ADVAPI32.dll
0x77c50000 - 0x77cef000 C:\WINDOWS\system32\RPCRT4.dll
0x76f50000 - 0x76f63000 C:\WINDOWS\system32\Secur32.dll
0x7c340000 - 0x7c396000 C:\Program Files\Java\jre6\bin\msvcr71.dll
0x6d800000 - 0x6da56000 C:\Program Files\Java\jre6\bin\client\jvm.dll
0x77380000 - 0x77411000 C:\WINDOWS\system32\USER32.dll
0x77c00000 - 0x77c49000 C:\WINDOWS\system32\GDI32.dll
0x76aa0000 - 0x76acd000 C:\WINDOWS\system32\WINMM.dll
0x76290000 - 0x762ad000 C:\WINDOWS\system32\IMM32.DLL
0x71bc0000 - 0x71bc8000 C:\WINDOWS\system32\rdpsnd.dll
0x771f0000 - 0x77201000 C:\WINDOWS\system32\WINSTA.dll
0x77ba0000 - 0x77bfa000 C:\WINDOWS\system32\msvcrt.dll
0x71c40000 - 0x71c97000 C:\WINDOWS\system32\NETAPI32.dll
0x76b70000 - 0x76b7b000 C:\WINDOWS\system32\PSAPI.DLL
0x6d290000 - 0x6d298000 C:\Program Files\Java\jre6\bin\hpi.dll
0x6d7b0000 - 0x6d7bc000 C:\Program Files\Java\jre6\bin\verify.dll
0x6d330000 - 0x6d34f000 C:\Program Files\Java\jre6\bin\java.dll
0x6d7f0000 - 0x6d7ff000 C:\Program Files\Java\jre6\bin\zip.dll
0x68000000 - 0x68035000 C:\WINDOWS\system32\rsaenh.dll
0x76920000 - 0x769e2000 C:\WINDOWS\system32\USERENV.dll
0x6d610000 - 0x6d623000 C:\Program Files\Java\jre6\bin\net.dll
0x71c00000 - 0x71c17000 C:\WINDOWS\system32\WS2_32.dll
0x71bf0000 - 0x71bf8000 C:\WINDOWS\system32\WS2HELP.dll
0x71b20000 - 0x71b61000 C:\WINDOWS\System32\mswsock.dll
0x76ed0000 - 0x76efa000 C:\WINDOWS\system32\DNSAPI.dll
0x76f70000 - 0x76f77000 C:\WINDOWS\System32\winrnr.dll
0x76f10000 - 0x76f3e000 C:\WINDOWS\system32\WLDAP32.dll
0x76f80000 - 0x76f85000 C:\WINDOWS\system32\rasadhlp.dll
0x6d630000 - 0x6d639000 C:\Program Files\Java\jre6\bin\nio.dll
0x5f270000 - 0x5f2ca000 C:\WINDOWS\system32\hnetcfg.dll
0x71ae0000 - 0x71ae8000 C:\WINDOWS\System32\wshtcpip.dll
0x72000000 - 0x72012000 C:\Syntellect\ocs\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.3.R33x_v20080118\eclipse_1023.dll
0x77420000 - 0x77523000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.3959_x-ww_D8713E55\COMCTL32.dll
0x77da0000 - 0x77df2000 C:\WINDOWS\system32\SHLWAPI.dll
0x77b90000 - 0x77b98000 C:\WINDOWS\system32\VERSION.dll
0x6d790000 - 0x6d798000 C:\Program Files\Java\jre6\bin\sunmscapi.dll
0x761b0000 - 0x76243000 C:\WINDOWS\system32\CRYPT32.dll
0x76190000 - 0x761a2000 C:\WINDOWS\system32\MSASN1.dll
VM Arguments:
jvm_args: -Xbootclasspath/a:c:\syntellect/ocs/plugins/stax2-api_3.0.1.jar;c:\syntellect/ocs/plugins/woodstox-core-asl_4.0.5.jar -Duser.dir=c:\syntellect -Djava.rmi.server.codebase=file:\C:\syntellect\ocs\plugins\com.syntellect.outbound.iom.apropos_0.0.1\lib\CHIPclient.jar
java_command: c:\syntellect\ocs\plugins\org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Windows Resource Kits\Tools;C:\Program Files\YourKit Java Profiler 7.0.12\bin\win32;
USERNAME=Administrator
OS=Windows_NT
PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 7, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows Server 2003 family Build 3790 Service Pack 2
CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 15 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
Memory: 4k page, physical 2096388k(757460k free), swap 3444692k(2457416k free)
vm_info: Java HotSpot(TM) Client VM (11.2-b01) for windows-x86 JRE (1.6.0_12-b04), built on Jan 17 2009 09:57:14 by "java_re" with MS VC++ 7.1
time: Thu Nov 19 01:55:36 2009
elapsed time: 126527 seconds
It's possible you ran out of memory. What are your -Xms -Xmx settings for the JVM? I'd suggest setting them to be the same. With the Hotspot JVM, I occasionally see crashes when it tries to increase the heap size.
It looks like your running a default sized JVM on Window (128MB). Avoiding Windows would help, but something else you can do is allocate more memory. Try setting your JVM to -Xms512m -Xmx512m
Setting the min and max memory ensures the heap is continuos and the JVM doesn't have to attempt to grow the heap. This leads to a more stable JVM.
The process died in jvm.dll. This is Sun's code, so they are the likely culprit, but is possible your external library corrupted the memory somewhere.
Your program is creating threads left, right, and centre. You can tell by the thread names. By default each thread gets a new sequentially numbered id. The program could reuse the threads by making use of a ThreadPool. The creation and collection of threads causes extra work for the JVM and OS.
When I get unexpected segmentation violations, my first suspect is a third-party DLL. I see that you have one there, from SysIntellect. Is it something that you need to run? If not, then take it out of your classpath, and see if you still get the problem.
The crash appeared to have been triggered by a thread currently running JVM code (see "_thread_in_vm" in the thread listing), so it's possible that you've stumbled across a VM bug (but more likely that you're seeing memory corrupted by that third-party DLL).
On the off chance that it was a VM bug, I did a search on the Sun Bug Parade, using the keywords "_thread_in_vm, jvm.dll+0xc8f23, 1.6.0_12-b04". No results returned, which indicates that either it's a rare bug or caused by outside interference. I mention the keywords because you'll generally see real bugs reporting the same PC ("jvm.dll+0xc8f23"), and it may be version-specific ("1.6.0_12-b04").
Good luck -- I've found that's the most helpful thing to say when faced with heap dumps.
Edit: you say that SysIntellect is your codebase, and it's clearly being loaded as a DLL, but in a comment above you say that you're not using JNI. In that case, how are you accessing the DLL?
If you can reproduce in a Linux environment, I'd recommend Valgrind to try to find any invalid accesses.