Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Java API
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Other JSE/JEE APIs
JAI error :EXCEPTION_FLT_DIVIDE_BY_ZERO
mohit junejaa
Ranch Hand
Posts: 41
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hi
when i try to compile my JAI samples from SUN site i get following error::EXCEPTION_FLT_DIVIDE_BY_ZERO
kindly help
the error log is::
# # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_FLT_DIVIDE_BY_ZERO (0xc000008e) at pc=0x00c0aa53, pid=1080, tid=900 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_04-b05 mixed mode, sharing) # Problematic frame: # j com.sun.tools.javac.jvm.Items$ImmediateItem.isPosZero(D)Z+0 # --------------- T H R E A D --------------- Current thread (0x002657d0): JavaThread "main" [_thread_in_Java, id=900] siginfo: ExceptionCode=0xc000008e, ExceptionInformation=0x00000000 Registers: EAX=0x00000000, EBX=0x0000006f, ECX=0x00000002, EDX=0x00000000 ESP=0x0006f474, EBP=0x0006f498, ESI=0x26bdeda0, EDI=0x0006f4a8 EIP=0x00c0aa53, EFLAGS=0x00010246 Top of Stack: (sp=0x0006f474) 0x0006f474: 00000000 3ff00000 0006f47c 26bded98 0x0006f484: 0006f4a8 26be2f88 00000000 26bdedb8 0x0006f494: 0006f4a0 0006f4c8 00c02a7b 00000000 0x0006f4a4: 00000000 22ac3348 0006f4ac 26bdec3a 0x0006f4b4: 0006f4e8 26be2f88 00000000 26bdeca8 0x0006f4c4: 0006f4e8 0006f508 00c029fa 00000000 0x0006f4d4: 00000000 00000000 00000000 00000000 0x0006f4e4: 00000000 22ac3348 0006f4ec 26b64364 Instructions: (pc=0x00c0aa53) 0x00c0aa43: c6 81 6d dc 0c 24 de f1 db 2d 14 c6 81 6d de c9 0x00c0aa53: dd 1c 24 dd 04 24 58 5a 0f b6 5e 01 46 ff 24 9d Stack: [0x00030000,0x00070000), sp=0x0006f474, free space=253k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) j com.sun.tools.javac.jvm.Items$ImmediateItem.isPosZero(D)Z+0 j com.sun.tools.javac.jvm.Items$ImmediateItem.load()Lcom/sun/tools/javac/jvm/Items$Item;+282 j com.sun.tools.javac.jvm.Gen.completeBinop(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/code/Symbol$OperatorSymbol :wink: Lcom/sun/tools/javac/jvm/Items$Item;+172 j com.sun.tools.javac.jvm.Gen.visitBinary(Lcom/sun/tools/javac/tree/Tree$Binary :wink: V+304 j com.sun.tools.javac.tree.Tree$Binary.accept(Lcom/sun/tools/javac/tree/Tree$Visitor :wink: V+2 j com.sun.tools.javac.jvm.Gen.genExpr(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/code/Type :wink: Lcom/sun/tools/javac/jvm/Items$Item;+62 j com.sun.tools.javac.jvm.Gen.genCond(Lcom/sun/tools/javac/tree/Tree;Z)Lcom/sun/tools/javac/jvm/Items$CondItem;+302 j com.sun.tools.javac.jvm.Gen.genCond(Lcom/sun/tools/javac/tree/Tree;I)Lcom/sun/tools/javac/jvm/Items$CondItem;+10 j com.sun.tools.javac.jvm.Gen.visitIf(Lcom/sun/tools/javac/tree/Tree$If :wink: V+20 j com.sun.tools.javac.tree.Tree$If.accept(Lcom/sun/tools/javac/tree/Tree$Visitor :wink: V+2 j com.sun.tools.javac.jvm.Gen.genDef(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/comp/Env :wink: V+12 j com.sun.tools.javac.jvm.Gen.genStat(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/comp/Env :wink: V+24 j com.sun.tools.javac.jvm.Gen.genStat(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/comp/Env;I)V+10 j com.sun.tools.javac.jvm.Gen.genStats(Lcom/sun/tools/javac/util/List;Lcom/sun/tools/javac/comp/Env :wink: V+19 j com.sun.tools.javac.jvm.Gen.visitBlock(Lcom/sun/tools/javac/tree/Tree$Block :wink: V+31 j com.sun.tools.javac.tree.Tree$Block.accept(Lcom/sun/tools/javac/tree/Tree$Visitor :wink: V+2 j com.sun.tools.javac.jvm.Gen.genDef(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/comp/Env :wink: V+12 j com.sun.tools.javac.jvm.Gen.genStat(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/comp/Env :wink: V+24 j com.sun.tools.javac.jvm.Gen.genMethod(Lcom/sun/tools/javac/tree/Tree$MethodDef;Lcom/sun/tools/javac/comp/Env;Z)V+456 j com.sun.tools.javac.jvm.Gen.visitMethodDef(Lcom/sun/tools/javac/tree/Tree$MethodDef :wink: V+55 j com.sun.tools.javac.tree.Tree$MethodDef.accept(Lcom/sun/tools/javac/tree/Tree$Visitor :wink: V+2 j com.sun.tools.javac.jvm.Gen.genDef(Lcom/sun/tools/javac/tree/Tree;Lcom/sun/tools/javac/comp/Env :wink: V+12 j com.sun.tools.javac.jvm.Gen.genClass(Lcom/sun/tools/javac/comp/Env;Lcom/sun/tools/javac/tree/Tree$ClassDef :wink: Z+149 j com.sun.tools.javac.main.JavaCompiler.genCode(Lcom/sun/tools/javac/comp/Env;Lcom/sun/tools/javac/tree/Tree$ClassDef :wink: V+6 j com.sun.tools.javac.main.JavaCompiler.compile(Lcom/sun/tools/javac/util/List :wink: Lcom/sun/tools/javac/util/List;+795 j com.sun.tools.javac.main.Main.compile([Ljava/lang/String;Lcom/sun/tools/javac/util/Context :wink: I+350 j com.sun.tools.javac.main.Main.compile([Ljava/lang/String :wink: I+9 j com.sun.tools.javac.Main.compile([Ljava/lang/String :wink: I+12 j com.sun.tools.javac.Main.main([Ljava/lang/String :wink: V+102 v ~StubRoutines::call_stub V [jvm.dll+0x82696] V [jvm.dll+0xd6fd9] V [jvm.dll+0x82567] V [jvm.dll+0x895e6] C [javac.exe+0x14d0] C [javac.exe+0x66dd] C [kernel32.dll+0x1eb69] --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x00b9e040 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=1456] 0x00b9cc18 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1152] 0x00b9bf80 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1272] 0x00b97458 JavaThread "Finalizer" daemon [_thread_blocked, id=1296] 0x00b96a90 JavaThread "Reference Handler" daemon [_thread_blocked, id=1344] =>0x002657d0 JavaThread "main" [_thread_in_Java, id=900] Other Threads: 0x00b94688 VMThread [id=1256] 0x00b9f258 WatcherThread [id=1156] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 576K, used 398K [0x22a70000, 0x22b10000, 0x22f50000) eden [error occurred during error reporting, step 190, id 0xc000008e] Dynamic libraries: 0x00400000 - 0x0040e000 C:\JDK\BIN\javac.exe 0x77f50000 - 0x77ff9000 C:\WINDOWS\System32\ntdll.dll 0x77e60000 - 0x77f45000 C:\WINDOWS\system32\kernel32.dll 0x77dd0000 - 0x77e5b000 C:\WINDOWS\system32\ADVAPI32.dll 0x77cc0000 - 0x77d35000 C:\WINDOWS\system32\RPCRT4.dll 0x77c10000 - 0x77c63000 C:\WINDOWS\system32\MSVCRT.dll 0x00280000 - 0x002f3000 C:\DOCUME~1\mohit\LOCALS~1\Temp\hwa6.tmp 0x77340000 - 0x773cb000 C:\WINDOWS\system32\COMCTL32.DLL 0x77c70000 - 0x77cb0000 C:\WINDOWS\system32\GDI32.dll 0x77d40000 - 0x77dcd000 C:\WINDOWS\system32\USER32.dll 0x71b20000 - 0x71b31000 C:\WINDOWS\system32\MPR.DLL 0x771b0000 - 0x772ca000 C:\WINDOWS\system32\OLE32.DLL 0x77120000 - 0x771ab000 C:\WINDOWS\system32\OLEAUT32.DLL 0x71ad0000 - 0x71ad8000 C:\WINDOWS\System32\WSOCK32.DLL 0x71ab0000 - 0x71ac5000 C:\WINDOWS\System32\WS2_32.dll 0x71aa0000 - 0x71aa8000 C:\WINDOWS\System32\WS2HELP.dll 0x6d6b0000 - 0x6d839000 C:\JDK\jre\bin\client\jvm.dll 0x76b40000 - 0x76b6c000 C:\WINDOWS\System32\WINMM.dll 0x6d2f0000 - 0x6d2f8000 C:\JDK\jre\bin\hpi.dll 0x76bf0000 - 0x76bfb000 C:\WINDOWS\System32\PSAPI.DLL 0x6d680000 - 0x6d68c000 C:\JDK\jre\bin\verify.dll 0x6d370000 - 0x6d38d000 C:\JDK\jre\bin\java.dll 0x6d6a0000 - 0x6d6af000 C:\JDK\jre\bin\zip.dll VM Arguments: jvm_args: -Dapplication.home=C:\JDK -Xms8m -Xss4m -ea:com.sun.tools... java_command: com.sun.tools.javac.Main DicomDecoder.java Environment Variables: JAVA_HOME=c:/JDK PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\WBEM;C:/JDK/BIN;;C:/JDK/LIB/TOOLS.JAR USERNAME=mohit OS=Windows_NT PROCESSOR_IDENTIFIER=x86 Family 15 Model 1 Stepping 2, GenuineIntel --------------- S Y S T E M --------------- OS: Windows XP Build 2600 CPU:total 1 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht Memory: 4k page, physical 122352k(24968k free), swap 296028k(103556k free) vm_info: Java HotSpot(TM) Client VM (1.5.0_04-b05) for windows-x86, built on Jun 3 2005 02:10:41 by "java_re" with MS VC++ 6.0
scjp 1.4
Ernest Friedman-Hill
author and iconoclast
Posts: 24207
46
I like...
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
JVM bug. Try upgrading to the latest JDK version.
[Jess in Action]
[AskingGoodQuestions]
mohit junejaa
Ranch Hand
Posts: 41
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
i m using JDK 1.5
i m using windows XP with SP2
can it be due to SP2 ?
scjp 1.4
Ernest Friedman-Hill
author and iconoclast
Posts: 24207
46
I like...
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
You're using JDK 1.5 update 4. Update 6 is available. Little bugs like this get fixed in each update, so upgrade to 1.5.0 update 6, and try again.
[Jess in Action]
[AskingGoodQuestions]
mohit junejaa
Ranch Hand
Posts: 41
posted 17 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
i knw its quite strange
Code compiled fine with runtime enviornment 1.4 !!!
it didnt compile with jre 1.5 it gave error but compiled with JRE 1.4
can nyone explain the anamoly
scjp 1.4
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
An unexpected error has been detected by HotSpot Virtual Machine
JVM Hot Spot issue (in 1.6)
An unexpected error has been detected by HotSpot Virtual Machine:
EXCEPTION_ACCESS_VIOLATION & MSAccess
crash
More...