Skip to Main Content

Java HotSpot Virtual Machine

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

JVM crash - but only in debug mode

843829May 24 2006 — edited Oct 13 2006
I get a JVM crash (with hs_err_pidXXXX.log file saved) when I run my application in debug mode, but not in "normal" (non-debug) mode.
I'm using JNIWrapper to access a COM object, and it's when that call is made that the crash happens.
Any ideas as to how I can work out what's going on?
The first page of the log file is attached. It happens with 1.5.0_05 and 1.5.0_06.
Thanks,
Calum

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# EXCEPTION_FLT_STACK_CHECK (0xc0000092) at pc=0x00b30d58, pid=3748, tid=508
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_05-b05 mixed mode)
# Problematic frame:
# v ~RuntimeStub::jvmdi_exception_throw Runtime1 stub
#

--------------- T H R E A D ---------------

Current thread (0x0b0c0890): JavaThread "Thread-4" [_thread_in_Java, id=508]

siginfo: ExceptionCode=0xc0000092, ExceptionInformation=0x00000000 0x0b43e030

Registers:
EAX=0x02ae14e0, EBX=0x0b43e110, ECX=0x00000000, EDX=0x00b97a8c
ESP=0x0b43e030, EBP=0x0b43e108, ESI=0x00b97a83, EDI=0x00000000
EIP=0x00b30d58, EFLAGS=0x00010206

Top of Stack: (sp=0x0b43e030)
0x0b43e030: 00adaa74 0b43e070 00adadf1 00000001
0x0b43e040: 00000000 0b43e03c 06aefe40 0b43e070
0x0b43e050: 06b57478 00000000 06aefe40 0b43e070
0x0b43e060: 0b43e090 00ad29fa 00000000 00ad7333
0x0b43e070: ffff1372 ffff0020 ffffffff 00ae0973
0x0b43e080: 05ff001b 0b43e174 ffff0023 000001e0
0x0b43e090: 016b6ad4 92189210 9e780003 92100003
0x0b43e0a0: 0000000b 00000004 0252d9a8 02040000

Instructions: (pc=0x00b30d58)
0x00b30d48: 83 ec 6c dd 34 24 9b d9 24 24 83 ec 40 dd 1c 24
0x00b30d58: dd 5c 24 08 dd 5c 24 10 dd 5c 24 18 dd 5c 24 20


Stack: [0x0b400000,0x0b440000), sp=0x0b43e030, free space=248k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
v ~RuntimeStub::jvmdi_exception_throw Runtime1 stub
J sun.misc.BASE64Decoder.decodeAtom(Ljava/io/PushbackInputStream;Ljava/io/OutputStream;I)V
v ~RuntimeStub::alignment_frame_return Runtime1 stub
j sun.misc.CharacterDecoder.decodeBuffer(Ljava/io/InputStream;Ljava/io/OutputStream;)V+50
j sun.misc.CharacterDecoder.decodeBuffer(Ljava/lang/String;)[B+40
j sun.security.util.ManifestEntryVerifier.setEntry(Ljava/lang/String;Ljava/util/jar/JarEntry;)V+288
j java.util.jar.JarVerifier.beginEntry(Ljava/util/jar/JarEntry;Lsun/security/util/ManifestEntryVerifier;)V+190
j java.util.jar.JarVerifier$VerifierStream.<init>(Ljava/util/jar/Manifest;Ljava/util/jar/JarEntry;Ljava/io/InputStream;Ljava/util/jar/JarVerifier;)V+36
j java.util.jar.JarFile.getInputStream(Ljava/util/zip/ZipEntry;)Ljava/io/InputStream;+85
j sun.misc.URLClassPath$JarLoader$1.getInputStream()Ljava/io/InputStream;+11
j sun.misc.Resource.cachedInputStream()Ljava/io/InputStream;+9
j sun.misc.Resource.getByteBuffer()Ljava/nio/ByteBuffer;+1
j java.net.URLClassLoader.defineClass(Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+179
j java.net.URLClassLoader.access$100(Ljava/net/URLClassLoader;Ljava/lang/String;Lsun/misc/Resource;)Ljava/lang/Class;+3
j java.net.URLClassLoader$1.run()Ljava/lang/Object;+43
v ~StubRoutines::call_stub
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 10 2006
Added on May 24 2006
1 comment
293 views