I have a reproduceable Crash of the Java VM. It happens in JBoss AS7.1.1 when I click in the admin gui on the OSGi console view. The reason for this is a large number of bundles and the fact that (in this version) JBoss OSGi is recursively scan through all of them, which leads to a very deep stack. It seems like the StackOverflowException in this situation is actually thrown and when it is logged (most likely printed?) it is crashing the VM.
I had seen this quite some time ago, but it still happens with 7.0U21 (on x64 win7 -d64 server). I had opened the Bug#2276442 but it seems not to be accepted because I could not provide a minimum reproducible code.
This is somewhat annoying, as the hs_err file should contain quite a few hints on the source of the problem, and having a bug where other can search for the same symptoms would actually be helpfull.
Well, I re-mailed the reviewer with my new error file, but here it is as well:
# Internal Error (sharedRuntime.cpp:728), pid=13892, tid=5360
# guarantee(false) failed: missing exception handler
# JRE version: 7.0_21-b11
# Java VM: Java HotSpot(TM) 64-Bit Server VM (23.21-b01 mixed mode windows-amd64 compressed oops)
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
Current thread (0x0000000020f50000): JavaThread "host-controller-connection-threads - 9" [_thread_in_vm, id=5360, stack(0x000000003ab50000,0x000000003ac50000)]
OS: Windows 7 , 64 bit Build 7601 Service Pack 1
CPU:total 8 (4 cores per cpu, 2 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, avx, ht, tsc, tscinvbit
Memory: 4k page, physical 16733200k(5827364k free), swap 33464540k(19480584k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (23.21-b01) for windows-amd64 JRE (1.7.0_21-b11), built on Apr 4 2013 08:11:28 by "java_re" with unknown MS VC++:1600
If somebody wants to see the whole error file, let me know.