Internal Error (os_windows_x86.cpp:114)
cowwoc
cowwoc at bbs.darktech.org
Fri Jun 11 17:38:16 PDT 2010
David Holmes-9 wrote:
>
> First I'd suggest enabling verification to ensure that the bytecode
> generator is generating well-formed bytecode.
>
Running with -Xcheck:jni and -Xverify:all doesn't find any problems. Please
note that while the crash dump (seen below) shows a Java method at the top
of the stack, it is actually a native method. It is also interesting to note
that when I run under a 32-bit JVM with a 32-bit native library the JVM
crashes with "Runtime Error! Program: [...]java.exe [...] The application
has requested the Runtime to terminate it in an unusual way. Please contact
the application's support team for more information". Maybe the JDK does not
like something about my native library... it's just not clear what that
might be...
Here is the crash dump under 64-bit:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# Internal Error (os_windows_x86.cpp:114), pid=5952, tid=5512
# guarantee(result == EXCEPTION_CONTINUE_EXECUTION) failed: Unexpected
result from topLevelExceptionFilter
#
# JRE version: 7.0-b94
# Java VM: Java HotSpot(TM) 64-Bit Server VM (19.0-b01 mixed mode
windows-amd64 compressed oops)
# 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 (0x00000000003ec000): JavaThread "main" [_thread_in_native,
id=5512, stack(0x0000000002420000,0x0000000002520000)]
Stack: [0x0000000002420000,0x0000000002520000]
[error occurred during error reporting (printing stack bounds), id
0xc0000005]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j jperipheral.WindowsOS.jaceCreateInstance()J+0
j jperipheral.WindowsOS.<init>()V+6
j jperipheral.Peripherals.<init>()V+37
j jperipheral.GuiceModule.getPeripherals()Ljperipheral/Peripherals;+4
v ~StubRoutines::call_stub
j
sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0
j
sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87
j
sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6
j
java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161
j com.google.inject.internal.ProviderMethod.get()Ljava/lang/Object;+57
j
com.google.inject.InternalFactoryToProviderAdapter.get(Lcom/google/inject/internal/Errors;Lcom/google/inject/internal/InternalContext;Lcom/google/inject/spi/Dependency;)Ljava/lang/Object;+14
j
com.google.inject.ProviderToInternalFactoryAdapter$1.call(Lcom/google/inject/internal/InternalContext;)Ljava/lang/Object;+18
j
com.google.inject.InjectorImpl.callInContext(Lcom/google/inject/ContextualCallable;)Ljava/lang/Object;+62
j
com.google.inject.ProviderToInternalFactoryAdapter.get()Ljava/lang/Object;+21
j com.google.inject.Scopes$1$1.get()Ljava/lang/Object;+24
j
com.google.inject.InternalFactoryToProviderAdapter.get(Lcom/google/inject/internal/Errors;Lcom/google/inject/internal/InternalContext;Lcom/google/inject/spi/Dependency;)Ljava/lang/Object;+14
j
com.google.inject.InjectorImpl$4$1.call(Lcom/google/inject/internal/InternalContext;)Ljava/lang/Object;+30
j
com.google.inject.InjectorImpl.callInContext(Lcom/google/inject/ContextualCallable;)Ljava/lang/Object;+34
j com.google.inject.InjectorImpl$4.get()Ljava/lang/Object;+25
j
com.google.inject.InjectorImpl.getInstance(Ljava/lang/Class;)Ljava/lang/Object;+5
j jperipheral.Main.<init>()V+33
j jperipheral.Main.main([Ljava/lang/String;)V+4
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0000000005f12000 JavaThread "Low Memory Detector" daemon
[_thread_blocked, id=5252, stack(0x0000000006ba0000,0x0000000006ca0000)]
0x0000000005f0c000 JavaThread "CompilerThread1" daemon [_thread_blocked,
id=3724, stack(0x0000000006aa0000,0x0000000006ba0000)]
0x0000000005f0a800 JavaThread "CompilerThread0" daemon [_thread_blocked,
id=3136, stack(0x00000000069a0000,0x0000000006aa0000)]
0x0000000005f07000 JavaThread "Attach Listener" daemon [_thread_blocked,
id=4288, stack(0x00000000068a0000,0x00000000069a0000)]
0x0000000005f02000 JavaThread "Signal Dispatcher" daemon [_thread_blocked,
id=3268, stack(0x00000000067a0000,0x00000000068a0000)]
0x0000000005eaf800 JavaThread "Finalizer" daemon [_thread_blocked,
id=5164, stack(0x00000000066a0000,0x00000000067a0000)]
0x0000000005ea8800 JavaThread "Reference Handler" daemon [_thread_blocked,
id=1992, stack(0x00000000065a0000,0x00000000066a0000)]
=>0x00000000003ec000 JavaThread "main" [_thread_in_native, id=5512,
stack(0x0000000002420000,0x0000000002520000)]
Other Threads:
0x0000000005ea3800 VMThread [stack: 0x00000000064a0000,0x00000000065a0000]
[id=3528]
0x0000000005f17000 WatcherThread [stack:
0x0000000006ca0000,0x0000000006da0000] [id=4172]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
PSYoungGen total 19136K, used 7574K [0x00000000eaab0000,
0x00000000ec000000, 0x0000000100000000)
eden space 16448K, 46% used
[0x00000000eaab0000,0x00000000eb215958,0x00000000ebac0000)
from space 2688K, 0% used
[0x00000000ebd60000,0x00000000ebd60000,0x00000000ec000000)
to space 2688K, 0% used
[0x00000000ebac0000,0x00000000ebac0000,0x00000000ebd60000)
PSOldGen total 43712K, used 0K [0x00000000c0000000,
0x00000000c2ab0000, 0x00000000eaab0000)
object space 43712K, 0% used
[0x00000000c0000000,0x00000000c0000000,0x00000000c2ab0000)
PSPermGen total 21248K, used 6696K [0x00000000bac00000,
0x00000000bc0c0000, 0x00000000c0000000)
object space 21248K, 31% used
[0x00000000bac00000,0x00000000bb28a290,0x00000000bc0c0000)
Dynamic libraries:
0x0000000000400000 - 0x000000000042f000 C:\Program
Files\Java\jdk1.7.0\jre\bin\java.exe
0x00000000778f0000 - 0x0000000077a9b000 C:\Windows\SYSTEM32\ntdll.dll
0x00000000776d0000 - 0x00000000777ef000 C:\Windows\system32\kernel32.dll
0x000007fefdad0000 - 0x000007fefdb3b000 C:\Windows\system32\KERNELBASE.dll
0x000007fefe070000 - 0x000007fefe14b000 C:\Windows\system32\ADVAPI32.dll
0x000007fefdc20000 - 0x000007fefdcbf000 C:\Windows\system32\msvcrt.dll
0x000007fefde30000 - 0x000007fefde4f000 C:\Windows\SYSTEM32\sechost.dll
0x000007feff520000 - 0x000007feff64e000 C:\Windows\system32\RPCRT4.dll
0x00000000777f0000 - 0x00000000778ea000 C:\Windows\system32\USER32.dll
0x000007feff120000 - 0x000007feff187000 C:\Windows\system32\GDI32.dll
0x000007fefdda0000 - 0x000007fefddae000 C:\Windows\system32\LPK.dll
0x000007feffb10000 - 0x000007feffbda000 C:\Windows\system32\USP10.dll
0x000007fefc200000 - 0x000007fefc3f4000
C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7600.16385_none_fa645303170382f6\COMCTL32.dll
0x000007feff190000 - 0x000007feff201000 C:\Windows\system32\SHLWAPI.dll
0x000007fefde00000 - 0x000007fefde2e000 C:\Windows\system32\IMM32.DLL
0x000007feff010000 - 0x000007feff119000 C:\Windows\system32\MSCTF.dll
0x000000006d8d0000 - 0x000000006dfa8000 C:\Program
Files\Java\jdk1.7.0\jre\bin\server\jvm.dll
0x000007fefb530000 - 0x000007fefb56b000 C:\Windows\system32\WINMM.dll
0x000000006d840000 - 0x000000006d84e000 C:\Program
Files\Java\jdk1.7.0\jre\bin\verify.dll
0x000000006d410000 - 0x000000006d437000 C:\Program
Files\Java\jdk1.7.0\jre\bin\java.dll
0x000000006d370000 - 0x000000006d37a000 C:\Program
Files\Java\jdk1.7.0\jre\bin\hpi.dll
0x0000000077ab0000 - 0x0000000077ab7000 C:\Windows\system32\PSAPI.DLL
0x000000006d890000 - 0x000000006d8a5000 C:\Program
Files\Java\jdk1.7.0\jre\bin\zip.dll
0x000007feef780000 - 0x000007feef9ff000
C:\Users\Gili\Documents\jperipheral\trunk\build\amd64\debug\JPeripheral.dll
0x0000000180000000 - 0x0000000180075000
C:\Users\Gili\Documents\jperipheral\trunk\build\amd64\debug\jace.dll
0x000000006fb90000 - 0x000000006fca6000
C:\Windows\WinSxS\amd64_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.30729.4148_none_e29f88eb40dc93cd\MSVCP90D.dll
0x000000006f310000 - 0x000000006f45f000
C:\Windows\WinSxS\amd64_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.30729.4148_none_e29f88eb40dc93cd\MSVCR90D.dll
VM Arguments:
jvm_args: -Dfile.encoding=UTF-8 -ea -Xcheck:jni -Xverify:all
-Djava.library.path=C:\Users\Gili\Documents\jperipheral\trunk\build\amd64\debug
java_command: jperipheral.Main
Launcher Type: SUN_STANDARD
Environment Variables:
JAVA_HOME=C:\Program Files\Java\jdk1.7.0
PATH=C:\Program Files
(x86)\Subversion;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files (x86)\QuickTime\QTSystem\;C:\Program Files\TortoiseSVN\bin;C:\Program
Files (x86)\TortoiseHg\;c:\batch;c:\util;C:\Program
Files\apache-ant-1.8.0\bin;C:\Program Files (x86)\TextPad 5;C:\Program
Files\Java\jdk1.7.0\bin;C:\Program Files (x86)\OpenVPN\bin
USERNAME=Gili
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 15 Stepping 11, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 Build 7600
CPU:total 4 (4 cores per cpu, 1 threads per core) family 6 model 15 stepping
11, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
Memory: 4k page, physical 4193464k(1025844k free), swap 8385028k(4303292k
free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (19.0-b01) for windows-amd64 JRE
(1.7.0-ea-b94), built on May 20 2010 03:42:50 by "java_re" with MS VC++ 8.0
(VS2005)
time: Fri Jun 11 20:27:15 2010
elapsed time: 0 seconds
--------------------------
Thanks,
Gili
--
View this message in context: http://old.nabble.com/Internal-Error-%28os_windows_x86.cpp%3A114%29-tp28837789p28861066.html
Sent from the OpenJDK Hotspot Virtual Machine mailing list archive at Nabble.com.
More information about the hotspot-dev
mailing list