Java HotSpot error - java

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.

Related

Java 9.0.1 OpenJdk crashed the JVM with problem with AdaptiveWeightedAverage

My application failed for a customer crashing the JVM
I have these details:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb6b48b12, pid=31447, tid=31508
#
# JRE version: OpenJDK Runtime Environment (9.0+11) (build 9.0.1+11)
# Java VM: OpenJDK Client VM (9.0.1+11, mixed mode, serial gc, linux-)
# Problematic frame:
# V [libjvm.so+0x1d9b12] AdaptiveWeightedAverage::sample(float)+0x55
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /mnt/system/config/Apps/SongKong/songkong/hs_err_pid31447.log
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
Does it look familar to anyone, I have search both https://bugs.java.com/bugdatabase/ and https://bugs.openjdk.java.net/secure/Dashboard.jspa without finding anything.
Here is the start of the hs_err_id log file
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb6aacb12, pid=13032, tid=13074
#
# JRE version: OpenJDK Runtime Environment (9.0+11) (build 9.0.1+11)
# Java VM: OpenJDK Client VM (9.0.1+11, mixed mode, serial gc, linux-)
# Problematic frame:
# V [libjvm.so+0x1d9b12] AdaptiveWeightedAverage::sample(float)+0x55
#
# No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
#
--------------- S U M M A R Y ------------
Command Line: -Duser.home=/mnt/disk1/share -Xms150m -Xmx900m -Dcom.mchange.v2.log.MLog=com.mchange.v2.log.jdk14logging.Jdk14MLog -Dorg.jboss.logging.provider=jdk -Djava.util.logging.config.class=com.jthink.songkong.logging.StandardLogging --add-opens=java.base/java.lang=ALL-UNNAMED lib/songkong-6.8.jar -r
Host: Marvell PJ4Bv7 Processor rev 1 (v7l), 1 cores, 1G, Buildroot 2014.11-rc1
Time: Fri Feb 7 01:50:35 2020 GMT elapsed time: 53621 seconds (0d 14h 53m 41s)
--------------- T H R E A D ---------------
Current thread (0xb6657d00): VMThread "VM Thread" [stack: 0x7b7e9000,0x7b869000] [id=13074]
Stack: [0x7b7e9000,0x7b869000], sp=0x7b8677a0, free space=505k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x1d9b12] AdaptiveWeightedAverage::sample(float)+0x55
[error occurred during error reporting (printing native stack), id 0xb]
siginfo: si_signo: 11 (SIGSEGV), si_code: 1 (SEGV_MAPERR), si_addr: 0x0000000a
Register to memory mapping:
r0 = 0x00000000
0x00000000 is an unknown value
r1 = 0x00000100
0x00000100 is an unknown value
r2 = 0x000001fc
0x000001fc is an unknown value
r3 = 0x00000023
0x00000023 is an unknown value
r4 = 0x783bf970
0x783bf970 is an unknown value
r5 = 0x00000000
0x00000000 is an unknown value
r6 = 0x0e6a0000
0x0e6a0000 is an unknown value
r7 = 0x00000000
0x00000000 is an unknown value
r8 = 0x783bf940
0x783bf940 is an unknown value
r9 = 0x0e6a0000
0x0e6a0000 is an unknown value
r10 = 0x7b8679ec
0x7b8679ec is an unknown value
fp = 0xb6657c38
0xb6657c38 is an unknown value
r12 = 0xfffffefe
0xfffffefe is an unknown value
sp = 0x7b8677a0
0x7b8677a0 is an unknown value
lr = 0xb6c62daf
0xb6c62daf: <offset 0x0038fdaf> in /mnt/system/config/Apps/SongKong/songkong/jre/lib/client/libjvm.so at 0xb68d3000
pc = 0xb6aacb12
0xb6aacb12: <offset 0x001d9b12> in /mnt/system/config/Apps/SongKong/songkong/jre/lib/client/libjvm.so at 0xb68d3000
Registers:
r0 = 0x00000000
r1 = 0x00000100
r2 = 0x000001fc
r3 = 0x00000023
r4 = 0x783bf970
r5 = 0x00000000
r6 = 0x0e6a0000
r7 = 0x00000000
r8 = 0x783bf940
r9 = 0x0e6a0000
r10 = 0x7b8679ec
fp = 0xb6657c38
r12 = 0xfffffefe
sp = 0x7b8677a0
lr = 0xb6c62daf
pc = 0xb6aacb12
cpsr = 0x80000030
Top of Stack: (sp=0x7b8677a0)
0x7b8677a0: 00000000 404e0000 00000001 000b6448
0x7b8677b0: 7b8677b8 b6c62daf b6d4c8b8 783bf910
0x7b8677c0: 00000000 b660d800 7b867808 b6d1f000
0x7b8677d0: b662f310 b6c62f43 7b8679f6 b6cac9cc
0x7b8677e0: 7b8677f0 b6d1f000 7b8679ec b6b1d987
0x7b8677f0: 7b867820 7b8679f0 7b867800 b6a068a3
0x7b867800: 00000400 7b867820 00000000 00000012
0x7b867810: b660d800 00000000 00000012 b660d800
Instructions: (pc=0xb6aacb12)
0xb6aacaf2: ee064603 eeb83a10 ee377a46 ee286ac7
0xb6aacb02: ee667a07 ee876a86 eec67a27 ee777aa7
0xb6aacb12: edc47a87 46bd7a00 8b02ecbd 2064bd98
0xb6aacb22: f9e1f1fd 6a00edd4 0000e7db 480642c8
VM_Operation (0x77c5daa0): GenCollectForAllocation, mode: safepoint, requested by thread 0x77a0d790
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x742a7448 JavaThread "Thread-513" daemon [_thread_blocked, id=11706, stack(0x76a70000,0x76ac0000)]
0x73db7458 JavaThread "Thread-510" daemon [_thread_blocked, id=11027, stack(0x773b6000,0x77406000)]
0x732b66f0 JavaThread "Thread-509" daemon [_thread_blocked, id=10757, stack(0x77b70000,0x77bc0000)]
0x762428e0 JavaThread "Thread-508" daemon [_thread_blocked, id=10130, stack(0x79310000,0x79360000)]
0x74284f48 JavaThread "Thread-503" daemon [_thread_blocked, id=8094, stack(0x78210000,0x78260000)]
0x76d60e10 JavaThread "qtp9318356-11036" [_thread_blocked, id=4101, stack(0x78410000,0x78460000)]
0x762dc8f0 JavaThread "qtp9318356-11035" [_thread_blocked, id=4100, stack(0x79bc0000,0x79c10000)]
0x783bf910 JavaThread "qtp9318356-9925" [_thread_blocked, id=22685, stack(0x78260000,0x782b0000)]
0x732170a8 JavaThread "qtp9318356-5567" [_thread_blocked, id=9426, stack(0x76810000,0x76860000)]
0x760e2708 JavaThread "qtp9318356-5564" [_thread_blocked, id=9423, stack(0x768b0000,0x76900000)]
0x77a0d790 JavaThread "Worker:12" [_thread_blocked, id=18002, stack(0x77c10000,0x77c60000)]
0x77a0daf0 JavaThread "pool-1639-thread-1" [_thread_blocked, id=17984, stack(0x77186000,0x771d6000)]
0x76db5e88 JavaThread "Worker:11" [_thread_blocked, id=17983, stack(0x77316000,0x77366000)]
0x783c9df8 JavaThread "Worker:10" [_thread_blocked, id=17982, stack(0x77406000,0x77456000)]
0x77a25388 JavaThread "SongLoaderWorker:9" [_thread_blocked, id=17942, stack(0x77366000,0x773b6000)]
0x76d6bce8 JavaThread "com.jthink.songkong.server.callback.ServerFixSongs:8" [_thread_blocked, id=17922, stack(0x793b0000,0x79400000)]
0x769c7cb8 JavaThread "pool-1636-thread-2" [_thread_blocked, id=17764, stack(0x77276000,0x772c6000)]
0x732c50d8 JavaThread "pool-1636-thread-1" [_thread_blocked, id=17763, stack(0x77036000,0x77086000)]
0x7690e140 JavaThread "pool-1601-thread-2" [_thread_blocked, id=11810, stack(0x771d6000,0x77226000)]
0x769077c8 JavaThread "pool-1601-thread-1" [_thread_blocked, id=11809, stack(0x77226000,0x77276000)]
0x769368a8 JavaThread "MappedByteBufferSource Async Flush Thread" daemon [_thread_blocked, id=8920, stack(0x76fe6000,0x77036000)]
0x77d9d990 JavaThread "com.jthink.songkong.fileloader.LoadFolderWorker:3" [_thread_blocked, id=380, stack(0x77eb0000,0x77f00000)]
0x77d940d8 JavaThread "pool-429-thread-1" [_thread_blocked, id=374, stack(0x77e60000,0x77eb0000)]
0x77d9c740 JavaThread "SongLoaderCountFiles:2" [_thread_blocked, id=373, stack(0x77cb0000,0x77d00000)]
0x7b670218 JavaThread "qtp9318356-91" [_thread_blocked, id=32431, stack(0x79360000,0x793b0000)]
0x7833f418 JavaThread "qtp9318356-90" [_thread_in_native, id=32430, stack(0x79db0000,0x79e00000)]
0x7b6e7478 JavaThread "MVStore background writer async:/mnt/disk1/share/SongKong/Prefs/Database/Database.mv.db" daemon [_thread_blocked, id=27227, stack(0x79270000,0x792c0000)]
0x7b670cf8 JavaThread "H2 File Lock Watchdog (Socket) async:/mnt/disk1/share/SongKong/Prefs/Database/Database.lock.db" daemon [_thread_blocked, id=27222, stack(0x7a61c000,0x7a66c000)]
0x7b694750 JavaThread "Scheduler-7136558" [_thread_blocked, id=13763, stack(0x78560000,0x785b0000)]
0x7b6786c0 JavaThread "Scheduler-14033461" [_thread_blocked, id=13428, stack(0x785b0000,0x78600000)]
0x7b6717d8 JavaThread "qtp9318356-45-acceptor-0#4cfe9c-ServerConnector#8b18a5{HTTP/1.1,[http/1.1]}{0.0.0.0:4567}" [_thread_in_native, id=13427, stack(0x7904c000,0x7909c000)]
0x789c3e20 JavaThread "Thread-10" [_thread_blocked, id=13405, stack(0x791d0000,0x79220000)]
0x7a0b4f10 JavaThread "C3P0PooledConnectionPoolManager[identityToken->1hge13oa8796in41o2hlgl|1df6bb7]-HelperThread-#2" daemon [_thread_blocked, id=13275, stack(0x7a66c000,0x7a6bc000)]
0x7a0b4958 JavaThread "C3P0PooledConnectionPoolManager[identityToken->1hge13oa8796in41o2hlgl|1df6bb7]-HelperThread-#1" daemon [_thread_blocked, id=13274, stack(0x79b70000,0x79bc0000)]
0x7a0b43c0 JavaThread "C3P0PooledConnectionPoolManager[identityToken->1hge13oa8796in41o2hlgl|1df6bb7]-HelperThread-#0" daemon [_thread_blocked, id=13273, stack(0x79920000,0x79970000)]
0x7a0feb80 JavaThread "C3P0PooledConnectionPoolManager[identityToken->1hge13oa8796in41o2hlgl|1df6bb7]-AdminTaskTimer" daemon [_thread_blocked, id=13272, stack(0x79c10000,0x79c60000)]
0x7adb1358 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=13146, stack(0x7a7e3000,0x7a833000)]
0xb66f12d8 JavaThread "Service Thread" daemon [_thread_blocked, id=13114, stack(0x7b2b6000,0x7b306000)]
0xb66a1a20 JavaThread "Common-Cleaner" daemon [_thread_blocked, id=13105, stack(0x7b306000,0x7b356000)]
0xb6675c88 JavaThread "Sweeper thread" daemon [_thread_blocked, id=13104, stack(0x7b356000,0x7b3a6000)]
0xb6674978 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=13103, stack(0x7b3a6000,0x7b426000)]
0xb666cdc8 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=13102, stack(0x7b426000,0x7b476000)]
0xb6667688 JavaThread "Finalizer" daemon [_thread_blocked, id=13099, stack(0x7b748000,0x7b798000)]
0xb665a900 JavaThread "Reference Handler" daemon [_thread_blocked, id=13088, stack(0x7b798000,0x7b7e8000)]
0xb6609308 JavaThread "main" [_thread_blocked, id=13037, stack(0xb67d9000,0xb6828000)]
Other Threads:
=>0xb6657d00 VMThread "VM Thread" [stack: 0x7b7e9000,0x7b869000] [id=13074]
0xb66f2a90 WatcherThread [stack: 0x7b236000,0x7b2b6000] [id=13115]
Threads with active compile tasks:
VM state:at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0xb6608520] Threads_lock - owner thread: 0xb6657d00
[0xb6608930] Heap_lock - owner thread: 0x77a0d790
Heap:
def new generation total 265600K, used 265599K [0x7c000000, 0x8e020000, 0x8ec00000)
eden space 236160K, 100% used [0x7c000000, 0x8a6a0000, 0x8a6a0000)
from space 29440K, 99% used [0x8c360000, 0x8e01fff8, 0x8e020000)
to space 29440K, 0% used [0x8a6a0000, 0x8a6a0000, 0x8c360000)
tenured generation total 589672K, used 298477K [0x8ec00000, 0xb2bda000, 0xb4400000)
the space 589672K, 50% used [0x8ec00000, 0xa0f7b5c0, 0xa0f7b600, 0xb2bda000)
Metaspace used 45545K, capacity 46775K, committed 46976K, reserved 47408K
Card table byte_map: [0x7be3d000,0x7c000000] byte_map_base: 0x7ba5d000
Polling page: 0xb6f30000
But surely the question is what does AdaptiveWeightedAverage do ?
If this was the intended question. Then you might have a look into the source.
hotspot/src/share/vm/gc/shared/gcUtil.cpp
// A weighted average maintains a running, weighted average
// of some float value (templates would be handy here if we
// need different types).
//
// The average is adaptive in that we smooth it for the
// initial samples; we don't use the weight until we have
// enough samples for it to be meaningful.
//
// This serves as our best estimate of a future unknown.
//
class AdaptiveWeightedAverage : public CHeapObj<mtGC> {
private:
float _average; // The last computed average
unsigned _sample_count; // How often we've sampled this average
unsigned _weight; // The weight used to smooth the averages
// A higher weight favors the most
// recent data.
bool _is_old; // Has enough historical data
hotspot/src/share/vm/gc/shared/gcUtil.hpp
void AdaptiveWeightedAverage::sample(float new_sample) {
increment_count();
// Compute the new weighted average
float new_avg = compute_adaptive_average(new_sample, average());
set_average(new_avg);
_last_sample = new_sample;
}
and
float AdaptiveWeightedAverage::compute_adaptive_average(float new_sample,
float average) {
// We smooth the samples by not using weight() directly until we've
// had enough data to make it meaningful. We'd like the first weight
// used to be 1, the second to be 1/2, etc until we have
// OLD_THRESHOLD/weight samples.
It's used by the garbage collector.
Maybe somehow related to a problem with available memory. (it's a guess, don't have much experience with Java on ARM platform)
This lead me to this guess max heap -Xmx900m vs system memory 1G.
The way out of this was to switch to Java 11 build, this no longer crashes with this error.

jvm crash in 8.0_121-b13

Our production servers crashed twice with problematic frame inside one of our classes. We have not been able to reproduce this issue and haven't seen it in any other environment. What can cause this?
how to play..........
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (malloc) failed to allocate 32744 bytes for ChunkPool::allocate
# Possible reasons:
# The system is out of physical RAM or swap space
# In 32 bit mode, the process size limit was hit
# Possible solutions:
# Reduce memory load on the system
# Increase physical memory or swap space
# Check if swap backing store is full
# Use 64 bit Java on a 64 bit OS
# Decrease Java heap size (-Xmx/-Xms)
# Decrease number of Java threads
# Decrease Java thread stack sizes (-Xss)
# Set larger code cache with -XX:ReservedCodeCacheSize=
# This output file may be truncated or incomplete.
#
# Out of Memory Error (allocation.cpp:273), pid=3304, tid=0x000000000000139c
#
# JRE version: Java(TM) SE Runtime Environment (8.0_121-b13) (build 1.8.0_121-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.121-b13 mixed mode windows-amd64 compressed oops)
# Failed to write core dump.
#
--------------- T H R E A D ---------------
Current thread (0x000000005507a000): JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=5020, stack(0x0000000056180000,0x0000000056280000)]
Stack: [0x0000000056180000,0x0000000056280000]
[error occurred during error reporting (printing stack bounds), id 0xc0000005]
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
Current CompileTask:
C2:4318067 19033 4 org.hibernate.event.internal.DefaultLoadEventListener::convertCacheEntryToEntity (533 bytes)
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0000000059d16000 JavaThread "Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner#71c1d887" daemon [_thread_blocked, id=4116, stack(0x0000000077170000,0x0000000077270000)]
0x0000000059d1a800 JavaThread "Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner#71c1d887" daemon [_thread_blocked, id=4964, stack(0x00000000774e0000,0x00000000775e0000)]
0x0000000059d19800 JavaThread "Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner#71c1d887" daemon [_thread_blocked, id=5780, stack(0x0000000076e60000,0x0000000076f60000)]
0x0000000058980000 JavaThread "Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner#71c1d887" daemon [_thread_blocked, id=4112, stack(0x0000000076fe0000,0x00000000770e0000)]
0x0000000058980800 JavaThread "Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner#71c1d887" daemon [_thread_blocked, id=5732, stack(0x0000000076d10000,0x0000000076e10000)]
0x0000000058982000 JavaThread "Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner#71c1d887" daemon [_thread_blocked, id=4772, stack(0x0000000072ad0000,0x0000000072bd0000)]
0x000000005897f000 JavaThread "Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner#71c1d887" daemon [_thread_blocked, id=5068, stack(0x0000000072d00000,0x0000000072e00000)]
0x0000000058981800 JavaThread "Dispatch-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner#71c1d887" daemon [_thread_blocked, id=6052, stack(0x0000000075700000,0x0000000075800000)]
0x0000000058983000 JavaThread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2" daemon [_thread_blocked, id=3080, stack(0x0000000073a60000,0x0000000073b60000)]
0x0000000058983800 JavaThread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1" daemon [_thread_blocked, id=4996, stack(0x0000000073c20000,0x0000000073d20000)]
0x000000005897e800 JavaThread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0" daemon [_thread_blocked, id=2864, stack(0x0000000073910000,0x0000000073a10000)]
0x0000000059d17800 JavaThread "Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner#702d98be" daemon [_thread_blocked, id=2724, stack(0x00000000765f0000,0x00000000766f0000)]
0x0000000059d19000 JavaThread "Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner#702d98be" daemon [_thread_blocked, id=6040, stack(0x0000000076b40000,0x0000000076c40000)]
0x0000000059d18000 JavaThread "Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner#702d98be" daemon [_thread_blocked, id=4916, stack(0x00000000769e0000,0x0000000076ae0000)]
0x0000000059d14800 JavaThread "Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner#702d98be" daemon [_thread_blocked, id=5176, stack(0x00000000760c0000,0x00000000761c0000)]
0x0000000059d15000 JavaThread "Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner#702d98be" daemon [_thread_blocked, id=1104, stack(0x0000000076470000,0x0000000076570000)]
0x000000005897b800 JavaThread "Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner#702d98be" daemon [_thread_blocked, id=2916, stack(0x0000000075fc0000,0x00000000760c0000)]
0x0000000058979000 JavaThread "Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner#702d98be" daemon [_thread_blocked, id=3548, stack(0x0000000075e00000,0x0000000075f00000)]
0x000000005897d000 JavaThread "Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner#702d98be" daemon [_thread_blocked, id=4092, stack(0x0000000073680000,0x0000000073780000)]
0x000000005897a800 JavaThread "Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner#702d98be" daemon [_thread_blocked, id=5456, stack(0x0000000072ea0000,0x0000000072fa0000)]
0x000000005897c000 JavaThread "Task-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner#702d98be" daemon [_thread_blocked, id=5188, stack(0x0000000075a90000,0x0000000075b90000)]
0x0000000058978800 JavaThread "Dispatch-Thread-for-com.mchange.v2.async.ThreadPerTaskAsynchronousRunner#702d98be" daemon [_thread_blocked, id=2932, stack(0x0000000075850000,0x0000000075950000)]
0x000000005ac66000 JavaThread "executor-10" [_thread_blocked, id=5052, stack(0x0000000075970000,0x0000000075a70000)]
0x000000005ac65800 JavaThread "executor-9" [_thread_blocked, id=2476, stack(0x00000000753f0000,0x00000000754f0000)]
0x000000005ac64800 JavaThread "http-nio-8080-exec-10" daemon [_thread_blocked, id=804, stack(0x00000000749e0000,0x0000000074ae0000)]
0x000000005ac64000 JavaThread "http-nio-8080-exec-9" daemon [_thread_blocked, id=4540, stack(0x0000000061c50000,0x0000000061d50000)]
0x000000005ac63000 JavaThread "http-nio-8080-exec-8" daemon [_thread_blocked, id=5892, stack(0x0000000075210000,0x0000000075310000)]
0x0000000059d23800 JavaThread "http-nio-8080-exec-7" daemon [_thread_blocked, id=6084, stack(0x0000000075100000,0x0000000075200000)]
0x0000000059d22800 JavaThread "executor-8" [_thread_blocked, id=6140, stack(0x0000000074f30000,0x0000000075030000)]
0x0000000059d22000 JavaThread "http-nio-8080-exec-6" daemon [_thread_blocked, id=5212, stack(0x0000000066180000,0x0000000066280000)]
0x0000000059d20800 JavaThread "http-nio-8080-exec-5" daemon [_thread_blocked, id=4732, stack(0x0000000074e00000,0x0000000074f00000)]
0x0000000059d21000 JavaThread "http-nio-8080-exec-4" daemon [_thread_blocked, id=4712, stack(0x00000000748e0000,0x00000000749e0000)]
0x0000000059d1f800 JavaThread "http-nio-8080-exec-3" daemon [_thread_blocked, id=3464, stack(0x00000000747d0000,0x00000000748d0000)]
0x0000000059d1f000 JavaThread "http-nio-8080-exec-2" daemon [_thread_blocked, id=3444, stack(0x00000000741b0000,0x00000000742b0000)]
0x0000000059d1e000 JavaThread "http-nio-8080-exec-1" daemon [_thread_blocked, id=3512, stack(0x0000000074440000,0x0000000074540000)]
0x0000000059d1d800 JavaThread "executor-7" [_thread_blocked, id=4924, stack(0x0000000056080000,0x0000000056180000)]
0x0000000059d1c800 JavaThread "executor-6" [_thread_blocked, id=5772, stack(0x0000000074300000,0x0000000074400000)]
0x0000000059d1c000 JavaThread "executor-5" [_thread_blocked, id=3124, stack(0x000000006d810000,0x000000006d910000)]
0x00000000653ec000 JavaThread "executor-4" [_thread_blocked, id=312, stack(0x0000000073090000,0x0000000073190000)]
0x00000000653ea800 JavaThread "executor-3" [_thread_blocked, id=636, stack(0x0000000073780000,0x0000000073880000)]
0x00000000653eb000 JavaThread "executor-2" [_thread_blocked, id=544, stack(0x000000006dc00000,0x000000006dd00000)]
0x0000000059d1b000 JavaThread "executor-1" [_thread_blocked, id=264, stack(0x0000000073eb0000,0x0000000073fb0000)]
0x0000000059cf1800 JavaThread "ajp-nio-8009-Acceptor-0" daemon [_thread_in_native, id=5480, stack(0x00000000729c0000,0x0000000072ac0000)]
0x0000000059cf0800 JavaThread "ajp-nio-8009-ClientPoller-1" daemon [_thread_blocked, id=3184, stack(0x0000000070d30000,0x0000000070e30000)]
0x0000000059cef800 JavaThread "ajp-nio-8009-ClientPoller-0" daemon [_thread_blocked, id=2760, stack(0x0000000072750000,0x0000000072850000)]
0x0000000059cef000 JavaThread "http-nio-8080-Acceptor-0" daemon [_thread_in_native, id=3640, stack(0x000000006f450000,0x000000006f550000)]
0x0000000059cee000 JavaThread "http-nio-8080-ClientPoller-1" daemon [_thread_blocked, id=3180, stack(0x0000000070bd0000,0x0000000070cd0000)]
0x0000000056f02000 JavaThread "http-nio-8080-ClientPoller-0" daemon [_thread_blocked, id=5408, stack(0x0000000070ab0000,0x0000000070bb0000)]
0x0000000056f01000 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=2960, stack(0x0000000070740000,0x0000000070840000)]
0x0000000056f00800 JavaThread "Timer-3" daemon [_thread_blocked, id=5032, stack(0x000000006fb40000,0x000000006fc40000)]
0x0000000056eff800 JavaThread "schedulerFactoryBean_QuartzSchedulerThread" [_thread_blocked, id=1168, stack(0x000000006f950000,0x000000006fa50000)]
0x0000000056eff000 JavaThread "schedulerFactoryBean_Worker-10" [_thread_blocked, id=5412, stack(0x000000006f760000,0x000000006f860000)]
0x00000000571b9000 JavaThread "schedulerFactoryBean_Worker-9" [_thread_blocked, id=5896, stack(0x000000006f5b0000,0x000000006f6b0000)]
0x00000000571b8000 JavaThread "schedulerFactoryBean_Worker-8" [_thread_blocked, id=3116, stack(0x000000006e940000,0x000000006ea40000)]
0x00000000571b7800 JavaThread "schedulerFactoryBean_Worker-7" [_thread_blocked, id=2416, stack(0x000000006f320000,0x000000006f420000)]
0x00000000571b6800 JavaThread "schedulerFactoryBean_Worker-6" [_thread_blocked, id=2052, stack(0x000000006f170000,0x000000006f270000)]
0x00000000571b6000 JavaThread "schedulerFactoryBean_Worker-5" [_thread_blocked, id=3660, stack(0x000000006f000000,0x000000006f100000)]
0x00000000636d7000 JavaThread "schedulerFactoryBean_Worker-4" [_thread_blocked, id=3992, stack(0x000000006eed0000,0x000000006efd0000)]
0x00000000636d6800 JavaThread "schedulerFactoryBean_Worker-3" [_thread_blocked, id=5416, stack(0x000000006ed60000,0x000000006ee60000)]
0x00000000636d5800 JavaThread "schedulerFactoryBean_Worker-2" [_thread_blocked, id=976, stack(0x000000006eb70000,0x000000006ec70000)]
0x00000000636d5000 JavaThread "schedulerFactoryBean_Worker-1" [_thread_blocked, id=5724, stack(0x000000006ea40000,0x000000006eb40000)]
0x00000000636d4000 JavaThread "Timer-2" daemon [_thread_blocked, id=5276, stack(0x000000006e770000,0x000000006e870000)]
0x000000005ade5000 JavaThread "scheduler_QuartzSchedulerThread" [_thread_blocked, id=3340, stack(0x000000006e570000,0x000000006e670000)]
0x00000000653ed800 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=2260, stack(0x000000006e1f0000,0x000000006e2f0000)]
0x00000000653ec800 JavaThread "com%002ejeecms%002ecore%002esecurity%002e%0043ms%0041uthorizing%0052ealm%002eauthorization%0043ache.data" [_thread_blocked, id=4896, stack(0x000000006dfc0000,0x000000006e0c0000)]
0x00000000653e9800 JavaThread "Timer-1" daemon [_thread_blocked, id=5360, stack(0x000000006d950000,0x000000006da50000)]
0x00000000653e9000 JavaThread "com%002ejeecms%002ecore%002eentity%002e%0043ms%0055ser%002elogs.data" [_thread_blocked, id=5844, stack(0x000000006d360000,0x000000006d460000)]
0x00000000653e8000 JavaThread
0x000000005adeb000 JavaThread "MySQL Statement Cancellation Timer" daemon [_thread_blocked, id=5644, stack(0x0000000063e00000,0x0000000063f00000)]
0x000000005adea800 JavaThread "com%002ejeecms%002ecms%002eentity%002eassist%002e%0043ms%0056ote%0052eply.data" [_thread_blocked, id=5172, stack(0x00000000644b0000,0x00000000645b0000)]
0x000000005ade9800 JavaThread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#2" daemon [_thread_blocked, id=3356, stack(0x0000000064260000,0x0000000064360000)]
0x000000005ade9000 JavaThread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#1" daemon [_thread_blocked, id=3724, stack(0x0000000064130000,0x0000000064230000)]
0x000000005ade8000 JavaThread "com.mchange.v2.async.ThreadPoolAsynchronousRunner$PoolThread-#0" daemon [_thread_blocked, id=5224, stack(0x0000000063f40000,0x0000000064040000)]
0x000000005ade7800 JavaThread "Timer-0" daemon [_thread_blocked, id=3136, stack(0x0000000063d00000,0x0000000063e00000)]
0x000000005ade6800 JavaThread "org%002ehibernate%002ecache%002einternal%002e%0053tandard%0051uery%0043ache.data" [_thread_blocked, id=3396, stack(0x0000000062c30000,0x0000000062d30000)]
0x000000005ade6000 JavaThread "org%002ehibernate%002ecache%002espi%002e%0055pdate%0054imestamps%0043ache.data" [_thread_blocked, id=5744, stack(0x000000005df70000,0x000000005e070000)]
0x000000005b4c4000 JavaThread "net.sf.ehcache.CacheManager#30f61e1d" daemon [_thread_blocked, id=5236, stack(0x000000005e0b0000,0x000000005e1b0000)]
0x00000000571d3000 JavaThread "NioBlockingSelector.BlockPoller-2" daemon [_thread_blocked, id=1332, stack(0x0000000057440000,0x0000000057540000)]
0x000000005734d800 JavaThread "NioBlockingSelector.BlockPoller-1" daemon [_thread_blocked, id=712, stack(0x0000000058cf0000,0x0000000058df0000)]
0x0000000056ec8000 JavaThread "GC Daemon" daemon [_thread_blocked, id=2068, stack(0x00000000566c0000,0x00000000567c0000)]
0x00000000563d4800 JavaThread "AsyncFileHandlerWriter-929338653" daemon [_thread_blocked, id=3360, stack(0x0000000056b40000,0x0000000056c40000)]
0x0000000056297000 JavaThread "Service Thread" daemon [_thread_blocked, id=3268, stack(0x00000000567e0000,0x00000000568e0000)]
0x00000000550cb800 JavaThread "C1 CompilerThread1" daemon [_thread_blocked, id=2248, stack(0x0000000055840000,0x0000000055940000)]
=>0x000000005507a000 JavaThread "C2 CompilerThread0" daemon [_thread_in_native, id=5020, stack(0x0000000056180000,0x0000000056280000)]
0x0000000055079000 JavaThread "Attach Listener" daemon [_thread_blocked, id=1164, stack(0x0000000055a60000,0x0000000055b60000)]
0x000000005508d000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3516, stack(0x0000000055f80000,0x0000000056080000)]
0x0000000055048800 JavaThread "Finalizer" daemon [_thread_blocked, id=3544, stack(0x0000000055d80000,0x0000000055e80000)]
0x0000000055005000 JavaThread "Reference Handler" daemon [_thread_blocked, id=4188, stack(0x0000000055bd0000,0x0000000055cd0000)]
0x00000000025ff800 JavaThread "main" [_thread_in_native, id=2424, stack(0x00000000028a0000,0x00000000029a0000)]
Other Threads:
0x0000000054ffd000 VMThread [stack: 0x0000000055950000,0x0000000055a50000] [id=3160]
0x00000000562c9800 WatcherThread [stack: 0x0000000056960000,0x0000000056a60000] [id=5560]
VM state:at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x00000000025fdca0] Threads_lock - owner thread: 0x0000000054ffd000
Heap:
PSYoungGen total 325632K, used 165084K [0x00000000eab00000, 0x00000000fec80000, 0x0000000100000000)
eden space 323584K, 50% used [0x00000000eab00000,0x00000000f4a672b0,0x00000000fe700000)
from space 2048K, 90% used [0x00000000fea80000,0x00000000fec50000,0x00000000fec80000)
to space 2048K, 0% used [0x00000000fe880000,0x00000000fe880000,0x00000000fea80000)
ParOldGen total 155136K, used 100497K [0x00000000c0000000, 0x00000000c9780000, 0x00000000eab00000)
object space 155136K, 64% used [0x00000000c0000000,0x00000000c6224720,0x00000000c9780000)
Metaspace used 80452K, capacity 84083K, committed 84928K, reserved 1124352K
class space used 8658K, capacity 9289K, committed 9472K, reserved 1048576K
Card table byte_map: [0x0000000011d60000,0x0000000011f70000] byte_map_base: 0x0000000011760000
Marking Bits: (ParMarkBitMap*) 0x00000000716bb6d0
Begin Bits: [0x00000000124d0000, 0x00000000134d0000)
End Bits: [0x00000000134d0000, 0x00000000144d0000)
Polling page: 0x0000000000130000
CodeCache: size=245760Kb used=55299Kb max_used=55513Kb free=190461Kb
bounds [0x00000000029a0000, 0x0000000006030000, 0x00000000119a0000]
total_blobs=15443 nmethods=14730 adapters=624
compilation: enabled
Compilation events (10 events):
Event: 4209.671 Thread 0x00000000550cb800 nmethod 19028 0x0000000003a22690 code [0x0000000003a227e0, 0x0000000003a22970]
Event: 4209.707 Thread 0x00000000550cb800 19029 3 org.quartz.utils.ClassUtils::isAnnotationPresentOnSuperClasses (68 bytes)
Event: 4209.707 Thread 0x00000000550cb800 nmethod 19029 0x00000000034e5b90 code [0x00000000034e5d80, 0x00000000034e6668]
Event: 4209.760 Thread 0x00000000550cb800 19030 3 org.apache.tomcat.util.buf.MessageBytes::<init> (5 bytes)
Event: 4209.761 Thread 0x00000000550cb800 nmethod 19030 0x0000000004995dd0 code [0x0000000004995f40, 0x00000000049960c8]
Event: 4209.775 Thread 0x00000000550cb800 19031 ! 3 org.hibernate.cache.ehcache.internal.regions.EhcacheGeneralDataRegion::put (86 bytes)
Event: 4209.776 Thread 0x00000000550cb800 nmethod 19031 0x0000000003c639d0 code [0x0000000003c63c00, 0x0000000003c64888]
Event: 4209.843 Thread 0x000000005507a000 19032 4 org.hibernate.event.internal.DefaultLoadEventListener::postLoadEventListeners (36 bytes)
Event: 4209.860 Thread 0x000000005507a000 nmethod 19032 0x0000000006023fd0 code [0x0000000006024280, 0x0000000006024cc8]
Event: 4209.864 Thread 0x000000005507a000 19033 4 org.hibernate.event.internal.DefaultLoadEventListener::convertCacheEntryToEntity (533 bytes)
GC Heap History (10 events):
Event: 4049.872 GC heap before
{Heap before GC invocations=1082 (full 5):
PSYoungGen total 300032K, used 299744K [0x00000000eab00000, 0x00000000fd480000, 0x0000000100000000)
eden space 298496K, 100% used [0x00000000eab00000,0x00000000fce80000,0x00000000fce80000)
from space 1536K, 81% used [0x00000000fd300000,0x00000000fd438000,0x00000000fd480000)
to space 2048K, 0% used [0x00000000fd080000,0x00000000fd080000,0x00000000fd280000)
ParOldGen total 155136K, used 100489K [0x00000000c0000000, 0x00000000c9780000, 0x00000000eab00000)
object space 155136K, 64% used [0x00000000c0000000,0x00000000c6222720,0x00000000c9780000)
Metaspace used 80442K, capacity 84077K, committed 84928K, reserved 1124352K
class space used 8658K, capacity 9288K, committed 9472K, reserved 1048576K
Event: 4049.879 GC heap after
Heap after GC invocations=1082 (full 5):
PSYoungGen total 302592K, used 1408K [0x00000000eab00000, 0x00000000fec80000, 0x0000000100000000)
eden space 300544K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000fd080000)
from space 2048K, 68% used [0x00000000fd080000,0x00000000fd1e0000,0x00000000fd280000)
to space 2048K, 0% used [0x00000000fea80000,0x00000000fea80000,0x00000000fec80000)
ParOldGen total 155136K, used 100489K [0x00000000c0000000, 0x00000000c9780000, 0x00000000eab00000)
object space 155136K, 64% used [0x00000000c0000000,0x00000000c6222720,0x00000000c9780000)
Metaspace used 80442K, capacity 84077K, committed 84928K, reserved 1124352K
class space used 8658K, capacity 9288K, committed 9472K, reserved 1048576K
}
Event: 4079.948 GC heap before
{Heap before GC invocations=1083 (full 5):
PSYoungGen total 302592K, used 301952K [0x00000000eab00000, 0x00000000fec80000, 0x0000000100000000)
eden space 300544K, 100% used [0x00000000eab00000,0x00000000fd080000,0x00000000fd080000)
from space 2048K, 68% used [0x00000000fd080000,0x00000000fd1e0000,0x00000000fd280000)
to space 2048K, 0% used [0x00000000fea80000,0x00000000fea80000,0x00000000fec80000)
ParOldGen total 155136K, used 100489K [0x00000000c0000000, 0x00000000c9780000, 0x00000000eab00000)
object space 155136K, 64% used [0x00000000c0000000,0x00000000c6222720,0x00000000c9780000)
Metaspace used 80442K, capacity 84077K, committed 84928K, reserved 1124352K
class space used 8658K, capacity 9288K, committed 9472K, reserved 1048576K
Event: 4079.958 GC heap after
Heap after GC invocations=1083 (full 5):
PSYoungGen total 325632K, used 1856K [0x00000000eab00000, 0x00000000fec80000, 0x0000000100000000)
eden space 323584K, 0% used [0x00000000eab00000,0x00000000eab00000,0x00000000fe700000)
from space 2048K, 90% used [0x00000000fea80000,0x00000000fec50000,0x00000000fec80000)
to space 2048K, 0% used [0x00000000fe880000,0x00000000fe880000,0x00000000fea80000)
ParOldGen total 155136K, used 100497K [0x00000000c0000000, 0x00000000c9780000, 0x00000000eab00000)
object space 155136K, 64% used [0x00000000c0000000,0x00000000c6224720,0x00000000c9780000)
Metaspace used 80442K, capacity 84077K, committed 84928K, reserved 1124352K
class space used 8658K, capacity 9288K, committed 9472K, reserved 1048576K
}
Deoptimization events (10 events):
Event: 4000.892 Thread 0x0000000059d22000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000000000518e500 method=org.springframework.core.annotation.AnnotationUtils.synthesizeAnnotation(Ljava/lang/annotation/Annotation;Ljava/lang/reflect/AnnotatedElement;)Ljava/lang/annotation/Anno
Event: 4000.892 Thread 0x0000000059d22000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000002af3c78 method=java.lang.ref.SoftReference.get()Ljava/lang/Object; # 6
Event: 4000.892 Thread 0x0000000059d22000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000000000518e500 method=org.springframework.core.annotation.AnnotationUtils.synthesizeAnnotation(Ljava/lang/annotation/Annotation;Ljava/lang/reflect/AnnotatedElement;)Ljava/lang/annotation/Anno
Event: 4000.892 Thread 0x0000000059d22000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x000000000518e500 method=org.springframework.core.annotation.AnnotationUtils.synthesizeAnnotation(Ljava/lang/annotation/Annotation;Ljava/lang/reflect/AnnotatedElement;)Ljava/lang/annotation/Anno
Event: 4000.893 Thread 0x0000000059d22000 Uncommon trap: reason=class_check action=maybe_recompile pc=0x0000000004d2b214 method=org.springframework.core.annotation.AnnotationUtils.synthesizeAnnotation(Ljava/lang/annotation/Annotation;Ljava/lang/reflect/AnnotatedElement;)Ljava/lang/annotation/Anno
Event: 4000.920 Thread 0x0000000059d22000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x000000000435b84c method=java.lang.ref.SoftReference.get()Ljava/lang/Object; # 6
Event: 4001.371 Thread 0x000000005ac63000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000005a136a4 method=java.util.concurrent.ScheduledThreadPoolExecutor$DelayedWorkQueue.offer(Ljava/lang/Runnable;)Z # 39
Event: 4035.113 Thread 0x000000005add0800 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000004c29518 method=java.util.concurrent.locks.AbstractQueuedSynchronizer.acquireInterruptibly(I)V # 19
Event: 4209.730 Thread 0x000000005ac63000 Uncommon trap: reason=unstable_if action=reinterpret pc=0x0000000005253c0c method=java.nio.channels.spi.AbstractInterruptibleChannel.end(Z)V # 31
Event: 4209.730 Thread 0x000000005ac63000 Uncommon trap: reason=unloaded action=reinterpret pc=0x0000000003aa4118 method=org.apache.coyote.http11.InternalNioInputBuffer.fill(Z)Z # 270
Internal exceptions (10 events):
Event: 4205.040 Thread 0x000000005897a800 Exception <a 'java/net/ConnectException': Connection timed out: connect> (0x00000000efa1b838) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\prims\jni.cpp, line 735]
Event: 4205.043 Thread 0x0000000059d19000 Exception <a 'java/net/ConnectException': Connection timed out: connect> (0x00000000efa26b28) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\prims\jni.cpp, line 735]
Event: 4205.045 Thread 0x000000005897b800 Exception <a 'java/net/ConnectException': Connection timed out: connect> (0x00000000ef9fd718) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\prims\jni.cpp, line 735]
Event: 4205.048 Thread 0x0000000059d15000 Exception <a 'java/net/ConnectException': Connection timed out: connect> (0x00000000efa353c0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\prims\jni.cpp, line 735]
Event: 4205.050 Thread 0x000000005897d000 Exception <a 'java/net/ConnectException': Connection timed out: connect> (0x00000000efa04090) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\prims\jni.cpp, line 735]
Event: 4205.052 Thread 0x0000000059d18000 Exception <a 'java/net/ConnectException': Connection timed out: connect> (0x00000000efa3d5b8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\prims\jni.cpp, line 735]
Event: 4205.054 Thread 0x0000000058979000 Exception <a 'java/net/ConnectException': Connection timed out: connect> (0x00000000efa0ad58) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\prims\jni.cpp, line 735]
Event: 4205.056 Thread 0x0000000059d14800 Exception <a 'java/net/ConnectException': Connection timed out: connect> (0x00000000efa4a258) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\prims\jni.cpp, line 735]
Event: 4205.056 Thread 0x000000005897c000 Exception <a 'java/net/ConnectException': Connection timed out: connect> (0x00000000efa14cc8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\prims\jni.cpp, line 735]
Event: 4205.056 Thread 0x0000000059d17800 Exception <a 'java/net/ConnectException': Connection timed out: connect> (0x00000000efa54d50) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\prims\jni.cpp, line 735]
Events (10 events):
Event: 4209.842 Executing VM operation: RevokeBias done
Event: 4209.842 Executing VM operation: RevokeBias
Event: 4209.842 Executing VM operation: RevokeBias done
Event: 4209.842 Executing VM operation: RevokeBias
Event: 4209.843 Executing VM operation: RevokeBias done
Event: 4209.861 Thread 0x000000005507a000 flushing nmethod 0x0000000005a612d0
Event: 4209.862 Thread 0x000000005507a000 flushing nmethod 0x0000000005c09550
Event: 4209.862 Thread 0x000000005507a000 flushing nmethod 0x0000000005c4fed0
Event: 4209.863 Thread 0x000000005507a000 flushing nmethod 0x0000000005e39bd0
Event: 4209.902 Executing VM operation: RevokeBias
--------------- S Y S T E M ---------------
OS: Windows Server 2008 R2 , 64 bit Build 7601 (6.1.7601.23572)
CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 79 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, avx2, aes, clmul, erms, rtm, 3dnowpref, lzcnt, tsc, bmi1, bmi2, adx
Memory: 4k page, physical 4193784k(415244k free), swap 4191924k(123832k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (25.121-b13) for windows-amd64 JRE (1.8.0_121-b13), built on Dec 12 2016 18:21:36 by "java_re" with MS VC++ 10.0 (VS2010)
time: Sat May 06 15:33:04 2017
elapsed time: 4317 seconds (0d 1h 11m 57s)

my java application exited suddenly because of a fatal error {EXCEPTION_UNCAUGHT_CXX_EXCEPTION }

I have developed a GUI java application. It has login page for user authentication.
It use mysql as back-end. I have wrapped my application using Jar2Exe 1.0 (Regexlab.com) to a 32bit windows .exe file.
not the problem is that when i run the application :
the database connection is OK;
the login windows is OK.
When I click on submit button to login into application, most of time, it works and the application continue to work. But sometimes, the application exit without any message and generate a error log which content is as follow:
----------------------------------------------------------
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x766fb9bc, pid=8808, tid=7540
#
# JRE version: 6.0_29-b11
# Java VM: Java HotSpot(TM) Client VM (20.4-b02 mixed mode, sharing windows-x86 )
# Problematic frame:
# C [KERNELBASE.dll+0xb9bc]
#
# 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 (0x0a186000): JavaThread "SwingWorker-pool-1-thread-10" daemon [_thread_in_native, id=7540, stack(0x0e390000,0x0e490000)]
siginfo: ExceptionCode=0xe06d7363, ExceptionInformation=0x19930520 0x0e48f41c 0x0042e2c0
Registers:
EAX=0x0e48f344, EBX=0x00000000, ECX=0x00000003, EDX=0x00000000
ESP=0x0e48f344, EBP=0x0e48f394, ESI=0x00429508, EDI=0x0e48f3d4
EIP=0x766fb9bc, EFLAGS=0x00000216
Top of Stack: (sp=0x0e48f344)
0x0e48f344: e06d7363 00000001 00000000 766fb9bc
0x0e48f354: 00000003 19930520 0e48f41c 0042e2c0
0x0e48f364: 00000008 00000000 0e48f420 00000000
0x0e48f374: 00000000 00000008 0e48f408 00000000
0x0e48f384: 00401dc2 00000000 02448e48 00000000
0x0e48f394: 0e48f3d4 0040df08 e06d7363 00000001
0x0e48f3a4: 00000003 0e48f3c8 02448e60 02448e30
0x0e48f3b4: e06d7363 00000001 00000000 00000000
Instructions: (pc=0x766fb9bc)
0x766fb99c: 02 50 ff 75 14 8d 45 c4 50 e8 58 ad 02 00 83 c4
0x766fb9ac: 0c eb 03 89 45 c0 8d 45 b0 50 ff 15 5c 11 6f 76
0x766fb9bc: c9 c2 10 00 cc cc cc cc cc 8b ff 55 8b ec 56 8b
0x766fb9cc: 75 08 83 fe f4 72 18 83 fe f6 77 13 8d 45 08 50
Register to memory mapping:
EAX=0x0e48f344 is pointing into the stack for thread: 0x0a186000
EBX=0x00000000 is an unknown value
ECX=0x00000003 is an unknown value
EDX=0x00000000 is an unknown value
ESP=0x0e48f344 is pointing into the stack for thread: 0x0a186000
EBP=0x0e48f394 is pointing into the stack for thread: 0x0a186000
ESI=0x00429508 is an unknown value
EDI=0x0e48f3d4 is pointing into the stack for thread: 0x0a186000
Stack: [0x0e390000,0x0e490000], sp=0x0e48f344, free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [KERNELBASE.dll+0xb9bc] RaiseException+0x58
C [panda.exe+0xdf08] Java_com_regexlab_j2e_Jar2ExeClassLoader_findResources+0xb528
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.regexlab.j2e.Jar2ExeClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+0
J java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;
J java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;
v ~StubRoutines::call_stub
j com.panda.HomePageUI$124.doInBackground()Ljava/lang/Object;+26
j javax.swing.SwingWorker$1.call()Ljava/lang/Object;+14
j java.util.concurrent.FutureTask$Sync.innerRun()V+30
j java.util.concurrent.FutureTask.run()V+4
j javax.swing.SwingWorker.run()V+4
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 )
0x0a62b000 JavaThread "Thread-12" daemon [_thread_blocked, id=8328, stack(0x0f460000,0x0f560000)]
0x0a62ac00 JavaThread "pool-2-thread-1" [_thread_in_Java, id=6056, stack(0x0bdc0000,0x0bec0000)]
0x0a62a400 JavaThread "Thread-11" daemon [_thread_blocked, id=4872, stack(0x0bc80000,0x0bd80000)]
0x0a62a000 JavaThread "Thread-10" daemon [_thread_blocked, id=2980, stack(0x0bb40000,0x0bc40000)]
=>0x0a186000 JavaThread "SwingWorker-pool-1-thread-10" daemon [_thread_in_native, id=7540, stack(0x0e390000,0x0e490000)]
0x0a185800 JavaThread "SwingWorker-pool-1-thread-9" daemon [_thread_blocked, id=3852, stack(0x0e250000,0x0e350000)]
0x0a185400 JavaThread "SwingWorker-pool-1-thread-8" daemon [_thread_blocked, id=5452, stack(0x0e110000,0x0e210000)]
0x0a184c00 JavaThread "SwingWorker-pool-1-thread-7" daemon [_thread_blocked, id=8800, stack(0x0dfd0000,0x0e0d0000)]
0x0a184800 JavaThread "SwingWorker-pool-1-thread-6" daemon [_thread_in_native, id=8740, stack(0x0de90000,0x0df90000)]
0x0a184000 JavaThread "SwingWorker-pool-1-thread-5" daemon [_thread_blocked, id=4856, stack(0x0dd50000,0x0de50000)]
0x0a183c00 JavaThread "SwingWorker-pool-1-thread-4" daemon [_thread_blocked, id=644, stack(0x0dc10000,0x0dd10000)]
0x0a183400 JavaThread "SwingWorker-pool-1-thread-3" daemon [_thread_blocked, id=516, stack(0x0dad0000,0x0dbd0000)]
0x0a182c00 JavaThread "Image Fetcher 1" daemon [_thread_blocked, id=2772, stack(0x0d990000,0x0da90000)]
0x0a182800 JavaThread "KeyTipManager processing thread" daemon [_thread_blocked, id=7440, stack(0x0d750000,0x0d850000)]
0x0a182000 JavaThread "SwingWorker-pool-1-thread-2" daemon [_thread_blocked, id=5576, stack(0x0d500000,0x0d600000)]
0x0a181c00 JavaThread "SyntheticaAnimation 70" daemon [_thread_blocked, id=5660, stack(0x0d400000,0x0d500000)]
0x0a181400 JavaThread "SyntheticaAnimation 60" daemon [_thread_blocked, id=9112, stack(0x0d200000,0x0d300000)]
0x0a181000 JavaThread "Image Fetcher 0" daemon [_thread_in_native, id=8860, stack(0x067e0000,0x068e0000)]
0x0a180800 JavaThread "StreamConnector 1: driver_launched_mysqld_1 std err" daemon [_thread_in_native, id=6052, stack(0x09da0000,0x09ea0000)]
0x0a180000 JavaThread "StreamConnector 0: driver_launched_mysqld_1 std out" daemon [_thread_in_native, id=3264, stack(0x09c60000,0x09d60000)]
0x0a17fc00 JavaThread "driver_launched_mysqld_1" daemon [_thread_in_native, id=2516, stack(0x09b20000,0x09c20000)]
0x0a11b000 JavaThread "SyntheticaAnimation 50" daemon [_thread_blocked, id=4088, stack(0x0b570000,0x0b670000)]
0x0023e000 JavaThread "DestroyJavaVM" [_thread_blocked, id=9132, stack(0x00090000,0x00190000)]
0x0a11b800 JavaThread "SwingWorker-pool-1-thread-1" daemon [_thread_blocked, id=7784, stack(0x0b430000,0x0b530000)]
0x0a11e800 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=3808, stack(0x0aef0000,0x0aff0000)]
0x0a110800 JavaThread "TimerQueue" daemon [_thread_blocked, id=3828, stack(0x0abf0000,0x0acf0000)]
0x0a0ac800 JavaThread "SyntheticaCleanerThread" daemon [_thread_blocked, id=8832, stack(0x0aaf0000,0x0abf0000)]
0x0a05e000 JavaThread "Thread-2" daemon [_thread_blocked, id=8556, stack(0x0a7f0000,0x0a8f0000)]
0x05b5bc00 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=8968, stack(0x09ef0000,0x09ff0000)]
0x059c7800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=9056, stack(0x066a0000,0x067a0000)]
0x059c7000 JavaThread "AWT-Shutdown" [_thread_blocked, id=8364, stack(0x06560000,0x06660000)]
0x059c4c00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=6100, stack(0x06460000,0x06560000)]
0x02b11800 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=7964, stack(0x053a0000,0x054a0000)]
0x02afc000 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=3420, stack(0x05260000,0x05360000)]
0x02af9000 JavaThread "Attach Listener" daemon [_thread_blocked, id=8732, stack(0x05120000,0x05220000)]
0x02af5800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=8380, stack(0x04fe0000,0x050e0000)]
0x02aef400 JavaThread "Finalizer" daemon [_thread_blocked, id=8804, stack(0x04ea0000,0x04fa0000)]
0x02aedc00 JavaThread "Reference Handler" daemon [_thread_blocked, id=8420, stack(0x04d60000,0x04e60000)]
Other Threads:
0x02ab1c00 VMThread [stack: 0x04c20000,0x04d20000] [id=7960]
0x02b25c00 WatcherThread [stack: 0x054e0000,0x055e0000] [id=9100]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
def new generation total 78656K, used 59862K [0x24580000, 0x29ad0000, 0x29ad0000)
eden space 69952K, 73% used [0x24580000, 0x27775a10, 0x289d0000)
from space 8704K, 100% used [0x289d0000, 0x29250000, 0x29250000)
to space 8704K, 0% used [0x29250000, 0x29250000, 0x29ad0000)
tenured generation total 174784K, used 25650K [0x29ad0000, 0x34580000, 0x34580000)
the space 174784K, 14% used [0x29ad0000, 0x2b3dc920, 0x2b3dca00, 0x34580000)
compacting perm gen total 12288K, used 11118K [0x34580000, 0x35180000, 0x38580000)
the space 12288K, 90% used [0x34580000, 0x3505b908, 0x3505ba00, 0x35180000)
ro space 10240K, 51% used [0x38580000, 0x38aad0b8, 0x38aad200, 0x38f80000)
rw space 12288K, 54% used [0x38f80000, 0x39619570, 0x39619600, 0x39b80000)
Code Cache [0x02b70000, 0x02e78000, 0x04b70000)
....
//----------------------------------------------------------
I have googled it. I found some people had the same EXCEPTION_UNCAUGHT_CXX_EXCEPTION problem. Some of them solved their issue changing the thread stack size. I did it to, but I still have the problem.
I would be very happy if anyone can help me, thanks.
NOTE: Panda.exe is the name of application.
Looking over a portion of your error log, and working backwards:
1. C [KERNELBASE.dll+0xb9bc] RaiseException+0x58
2. C [panda.exe+0xdf08] Java_com_regexlab_j2e_Jar2ExeClassLoader_findResources+0xb528
3. Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
4. j com.regexlab.j2e.Jar2ExeClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+0
5. J java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;
6. J java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;
7. v ~StubRoutines::call_stub
8. j com.panda.HomePageUI$124.doInBackground()Ljava/lang/Object;+26
9. j javax.swing.SwingWorker$1.call()Ljava/lang/Object;+14
Line 8: you're clearly in your code when this occurs.
Lines 7-4: you've moved into Regexlab.com's code; in their classloader
Lines 2-1: Regexlab's made a native call. You're outside of the normal JVM code-base, and in native code written by a 3rd party when the exception is raised. The problem is in Regexlab code, and out of your hands.
Not much you can do with this other than to report it to Regexlab and obtain a patch.
Do you have Panda Antivirus installed on your computer? The log says the problem is outside the JVM, in native code, and there is a reference to a process named 'Panda.exe'.
This is just a guess, but it may be your antivirus conflicting with your application. Can you test your application in a computer without antivirus (e.g. the same Windows installation run as a Virtual Machine)
Give proper permissions to native library that is being used by JVM

How to debug a native Java crash on Linux?

I've seen this question and this article on how to debug a native Java crash. The article is with respect to Windows. What are the equivalent debugging aids on Linux?
Note: All I have is this crash log from a user in the field. I do not have access to the machine on which the crash occurred.
Update: I am pretty sure the crash is due to JNI code we have. I never meant to imply that it was the JVM itself that was faulty.
Per request, here is the crash dump (or as much of it as will fit in the 30K stackoverflow limit):
#
# An unexpected error has been detected by Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x06300e76, pid=9983, tid=4106996592
#
# Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode, sharing)
# Problematic frame:
# V [libjvm.so+0x300e76]
#
# 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 (0x0922e000): VMThread [id=9985]
siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000008
Registers:
EAX=0x00000008, EBX=0x88a829b3, ECX=0x88a829b0, EDX=0xa7d6c1dc
ESP=0xf4cbba5c, EBP=0xf4cbba68, ESI=0xa7d6d1d8, EDI=0x00000404
EIP=0x06300e76, CR2=0x00000008, EFLAGS=0x00010202
Top of Stack: (sp=0xf4cbba5c)
0xf4cbba5c: a7d6c1c8 0920cc30 aa0de5c0 f4cbba98
0xf4cbba6c: 063517d7 cf8f2a20 a7d6c1c8 0920cc30
0xf4cbba7c: 0920cc30 00000000 00000000 6d224c40
0xf4cbba8c: 00000001 f4cbbbb0 0920b440 f4cbbab8
0xf4cbba9c: 061dd4df 0920cc30 f4cbbb10 f4cbbac8
0xf4cbbaac: 0633cb7e 0643b5b8 f4492968 f4cbbad8
0xf4cbbabc: 061dcd68 f4cbbaf0 0920cc30 f4cbbaf8
0xf4cbbacc: 061df31e f4cbbb10 d4cbcc2c f4cbbb08
Instructions: (pc=0x06300e76)
0x06300e66: 82 39 f2 73 34 90 8d 74 26 00 8b 02 85 c0 74 22
0x06300e76: 8b 18 80 3d 45 10 42 06 00 74 0c 89 d8 31 c9 83
Stack: [0xf4c3c000,0xf4cbd000), sp=0xf4cbba5c, free space=510k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x300e76]
V [libjvm.so+0x3517d7]
V [libjvm.so+0x1dd4df]
V [libjvm.so+0x1dcd68]
V [libjvm.so+0x1dc3cc]
V [libjvm.so+0x1d4c52]
V [libjvm.so+0x1d32cc]
V [libjvm.so+0x1d4229]
V [libjvm.so+0x1dc82a]
V [libjvm.so+0x1d1d34]
V [libjvm.so+0x186125]
V [libjvm.so+0x1d20bc]
V [libjvm.so+0x3b2cbe]
V [libjvm.so+0x3c5037]
V [libjvm.so+0x3c46bc]
V [libjvm.so+0x3c488a]
V [libjvm.so+0x3c446f]
V [libjvm.so+0x30b719]
C [libpthread.so.0+0x5cb2]
VM_Operation (0xf2b60728): generation collection for allocation, mode: safepoint, requested by thread 0x09449c00
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x092afc00 JavaThread "RawImageCache" daemon [_thread_blocked, id=10026]
0xf37d1000 JavaThread "TimerQueue" daemon [_thread_blocked, id=10022]
0x09410000 JavaThread "SunTileScheduler0Standard7" daemon [_thread_blocked, id=10021]
0x0940f000 JavaThread "SunTileScheduler0Standard6" daemon [_thread_blocked, id=10020]
0x0946fc00 JavaThread "SunTileScheduler0Standard5" daemon [_thread_blocked, id=10019]
0x0946e800 JavaThread "SunTileScheduler0Standard4" daemon [_thread_blocked, id=10018]
0x0946d400 JavaThread "SunTileScheduler0Standard3" daemon [_thread_blocked, id=10017]
0x0946c000 JavaThread "SunTileScheduler0Standard2" daemon [_thread_blocked, id=10016]
0x0946ac00 JavaThread "SunTileScheduler0Standard1" daemon [_thread_blocked, id=10015]
0x0946a000 JavaThread "SunTileScheduler0Standard0" daemon [_thread_blocked, id=10014]
0x0944a800 JavaThread "Image List Poller" [_thread_blocked, id=10012]
0x09449c00 JavaThread "Image Task Queue" [_thread_blocked, id=10011]
0xf37e3c00 JavaThread "Laf-Widget fade tracker" [_thread_blocked, id=10010]
0x094abc00 JavaThread "FileCacheMonitor" daemon [_thread_blocked, id=10009]
0xf37e3800 JavaThread "DestroyJavaVM" [_thread_blocked, id=9984]
0xf37ee400 JavaThread "Thread-6" daemon [_thread_blocked, id=10006]
0xf3a7c800 JavaThread "DirectoryMonitor.MonitorThread" daemon [_thread_blocked, id=10005]
0xf3a73800 JavaThread "AWT Watchdog" daemon [_thread_blocked, id=10004]
0xf3adb800 JavaThread "TileReaper" daemon [_thread_blocked, id=10003]
0x093c3c00 JavaThread "process reaper" daemon [_thread_in_native, id=10001]
0x093ac800 JavaThread "Timer-0" daemon [_thread_blocked, id=9999]
0x093a8c00 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=9997]
0x093a8000 JavaThread "AWT-Shutdown" [_thread_blocked, id=9996]
0x09378c00 JavaThread "AWT-XAWT" daemon [_thread_blocked, id=9994]
0x09368400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=9993]
0x09350000 JavaThread "Thread-1" daemon [_thread_blocked, id=9992]
0x0923b400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=9990]
0x09239c00 JavaThread "CompilerThread0" daemon [_thread_blocked, id=9989]
0x09238800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=9988]
0x09230800 JavaThread "Finalizer" daemon [_thread_blocked, id=9987]
0x0922f400 JavaThread "Reference Handler" daemon [_thread_blocked, id=9986]
Other Threads:
=>0x0922e000 VMThread [id=9985]
0x09245000 WatcherThread [id=9991]
VM state:at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
[0x09205178/0x092051a0] Threads_lock - owner thread: 0x0922e000
[0x09205638/0x09205650] Heap_lock - owner thread: 0x09449c00
Heap
def new generation total 83968K, used 9280K [0x55600000, 0x5b110000, 0x5ec40000)
eden space 74688K, 0% used [0x55600000, 0x55600000, 0x59ef0000)
from space 9280K, 100% used [0x5a800000, 0x5b110000, 0x5b110000)
to space 9280K, 0% used [0x59ef0000, 0x59ef0000, 0x5a800000)
tenured generation total 1233640K, used 1233529K [0x5ec40000, 0xaa0fa000, 0xcf800000)
the space 1233640K, 99% used [0x5ec40000, 0xaa0de5c0, 0x8b4af400, 0xaa0fa000)
compacting perm gen total 13312K, used 13175K [0xcf800000, 0xd0500000, 0xd3800000)
the space 13312K, 98% used [0xcf800000, 0xd04ddd70, 0xd04dde00, 0xd0500000)
ro space 8192K, 69% used [0xd3800000, 0xd3d8f608, 0xd3d8f800, 0xd4000000)
rw space 12288K, 57% used [0xd4000000, 0xd46eee98, 0xd46ef000, 0xd4c00000)
Dynamic libraries:
[ snip ]
VM Arguments:
jvm_args: -Dinstall4j.jvmDir=/home/berbmit/bin/LightZone/jre -Dinstall4j.appDir=/home/berbmit/bin/LightZone -Dexe4j.moduleName=/home/berbmit/bin/LightZone/LightZone -Dcom.lightcrafts.licensetype=ESD -Xmx2000000k
java_command: com.install4j.runtime.Launcher launch com.lightcrafts.platform.linux.LinuxLauncher true false /home/berbmit/bin/LightZone/LightZone.log /home/berbmit/bin/LightZone/LightZone.log false true false true true -1 -1 20 20 Arial 0,0,0 8 500 20 40 Arial 0,0,0 8 500 -1
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=/home/berbmit/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
USERNAME=berbmit
LD_LIBRARY_PATH=/home/berbmit/bin/LightZone/jre/lib/i386/client:/home/berbmit/bin/LightZone/jre/lib/i386:/home/berbmit/bin/LightZone/jre/../lib/i386:/home/berbmit/bin/LightZone/.:
SHELL=/bin/bash
DISPLAY=:0.0
Signal Handlers:
SIGSEGV: [libjvm.so+0x3b29c0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x3b29c0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x309ec0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: SIG_IGN, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGILL: [libjvm.so+0x309ec0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x30bef0], sa_mask[0]=0x00000000, sa_flags=0x10000004
SIGHUP: [libjvm.so+0x30b910], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGINT: [libjvm.so+0x30b910], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGQUIT: [libjvm.so+0x30b910], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTERM: [libjvm.so+0x30b910], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR2: [libjvm.so+0x30bef0], sa_mask[0]=0x00000000, sa_flags=0x10000004
--------------- S Y S T E M ---------------
OS:squeeze/sid
uname:Linux 2.6.35-23-generic #41-Ubuntu SMP Wed Nov 24 11:55:36 UTC 2010 x86_64
libc:glibc 2.12.1 NPTL 2.12.1
rlimit: STACK 8192k, CORE 0k, NPROC infinity, NOFILE 1024, AS infinity
load average:0.67 0.54 0.36
CPU:total 8 (8 cores per cpu, 2 threads per core) family 6 model 10 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, ht
Memory: 4k page, physical 8191552k(3359308k free), swap 1016828k(1016828k free)
vm_info: Java HotSpot(TM) Client VM (1.6.0_03-b05) for linux-x86, built on Sep 24 2007 22:45:46 by "java_re" with gcc 3.2.1-7a (J2SE release)
Unless your JNI library has corrupted a random area of memory (which is extreamly difficult to debug), the most likely cause of a crash in the libjvm is a bug in the JVM. Given the current release is Java 6 update 23 and you have Java 6 update 3, upgrading is the first thing I would try.
BTW: Also you appear to have a 64-bit OS, you might like to try the 64-bit Java.
BTW2: You can write -Xmx2000000k as -mx2g. The default maximum on a 8 GB machine should be about 2 GB anyway.
I was expecting a JNI call in the crash dump, but it does not appear to be the cause, but instead a bug in the pthreads library.
I cannot remember offhand if the pthreads library must be provided by the underlying platform or it is baked into the JRE, but I would suggest that you ensure that you are running on one of the officially supported Linux platforms and if not, then strongly consider switching.
Do you really need -Xmx2000000k? Looks like you are only using about 84MB of that.
My experience is that you really can't reliably go above about 1700MB heap in a 32 bit process space anyway. So, that setting may be causing this problem.

Java application crash when uses icepdf library

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

Categories