• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EXCEPTION_ILLEGAL_INSTRUCTION

 
Hejal Patel
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tried searching through the bug database and the rest of the site, but can't find this one.

hs_err_pid1668


An unexpected error has been detected by HotSpot Virtual Machine:

EXCEPTION_ILLEGAL_INSTRUCTION (0xc000001d) at pc=0x00610111, pid=1668, tid=272

Java VM: Java HotSpot(TM) Client VM (1.5.0_05-b05 mixed mode, sharing)
Problematic frame:
C 0x00610111

I am using jdk version 1.3.1_07 however while executing even small java HelloWorld.java program it gives me above error.

My java.exe and javac.exe doesnt work.

Regards
Hej
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using jdk version 1.3.1_07

But the JVM used during execution seems to be 1.5.0_05-b05 ! Check your PATH.
 
Hejal Patel
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey Christophe

I really appreciate your quick response. I have gone through the class path everything is set proper. Even when I use
below command in command prompt it gives me this error.

C:\jdk1.3.1_07\bin>java

Unexpected Signal : EXCEPTION_ILLEGAL_INSTRUCTION occurred at PC=0x8bd836
Function name=(N/A)
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.



Current Java thread:

Dynamic libraries:
0x00400000 - 0x00405000 C:\jdk1.3.1_07\bin\java.exe
0x7C900000 - 0x7C9AF000 C:\WINDOWS\system32\ntdll.dll
0x7C800000 - 0x7C8F6000 C:\WINDOWS\system32\kernel32.dll
0x77DD0000 - 0x77E6B000 C:\WINDOWS\system32\ADVAPI32.dll
0x77E70000 - 0x77F02000 C:\WINDOWS\system32\RPCRT4.dll
0x77FE0000 - 0x77FF1000 C:\WINDOWS\system32\Secur32.dll
0x77C10000 - 0x77C68000 C:\WINDOWS\system32\MSVCRT.dll
0x6D420000 - 0x6D4F8000 C:\jdk1.3.1_07\jre\bin\hotspot\jvm.dll
0x7E410000 - 0x7E4A1000 C:\WINDOWS\system32\USER32.dll
0x77F10000 - 0x77F59000 C:\WINDOWS\system32\GDI32.dll
0x76B40000 - 0x76B6D000 C:\WINDOWS\system32\WINMM.dll
0x5DAC0000 - 0x5DAC8000 C:\WINDOWS\system32\rdpsnd.dll
0x76360000 - 0x76370000 C:\WINDOWS\system32\WINSTA.dll
0x5B860000 - 0x5B8B5000 C:\WINDOWS\system32\NETAPI32.dll
0x76BF0000 - 0x76BFB000 C:\WINDOWS\system32\PSAPI.DLL
0x6D220000 - 0x6D227000 C:\jdk1.3.1_07\jre\bin\hpi.dll
0x6D3B0000 - 0x6D3BD000 C:\jdk1.3.1_07\jre\bin\verify.dll
0x6D250000 - 0x6D267000 C:\jdk1.3.1_07\jre\bin\java.dll
0x6D3C0000 - 0x6D3CD000 C:\jdk1.3.1_07\jre\bin\zip.dll
0x76C90000 - 0x76CB8000 C:\WINDOWS\system32\imagehlp.dll
0x59A60000 - 0x59B01000 C:\WINDOWS\system32\DBGHELP.dll
0x77C00000 - 0x77C08000 C:\WINDOWS\system32\VERSION.dll

Local Time = Tue Mar 31 09:08:41 2009
Elapsed Time = 0
#
# HotSpot Virtual Machine Error : EXCEPTION_ILLEGAL_INSTRUCTION
# Error ID : 4F530E43505002BD
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Java VM: Java HotSpot(TM) Client VM (1.3.1_07-b02 mixed mode)
#
# An error report file has been saved as hs_err_pid1576.log.
# Please refer to the file for further information.

Thanks
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, I'll have to pass on that one. Maybe you have some kind of JVM/hardware incompatibility, but I can't tell.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15207
36
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a special reason why you are using such an ancient JDK (version 1.3.1)?

If not, then get JDK 6 here and use it instead.
 
Saifuddin Merchant
Ranch Hand
Posts: 607
Firefox Browser Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like something gone wrong with your installation. Re-installing (probably a newer JDK) should take care of the problem (It mostly does )
 
Hejal Patel
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sam Mercs : Also after reinstalling it doesn't work.

Jesper Young : Special reason of using this JDK is ma entire application is built using it hence i am not planning to change it.

I must say thanks to you all for your support.

Regards
hej
 
Henry Wong
author
Marshal
Pie
Posts: 20889
75
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hejal Patel wrote:Jesper Young : Special reason of using this JDK is ma entire application is built using it hence i am not planning to change it.


If you can't upgrade to the latest version of Java, at least upgrade to the latest version of Java 1.3.1. This is likely caused by a bug in the JVM, which hopefully has been fixed in the latest underscore release.

If this doesn't work, I don't think you have many options though. Sun has EOL Java 1.3.1 a long time ago.

Henry
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It appears that this is happening for more than one different JDK install; and he implies that it's happening the very instant the JVM is launched, not at some random point in the program. This suggests the possibility the "illegal instruction" is some x86 CPU instruction that his computer honestly doesn't implement. Maybe it's a cheap knockoff of some kind that's not really compatible? Maybe he's running Windows in emulation? Or maybe there's something grievously wrong with the machine.

So Hejal Patel, tell us about your computer.
 
Hejal Patel
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All

Please help me to get rid off this bug Actually I tried installing upgraded jdk version: 1.3.1_08 but it doesn't work.

Regards
Hej
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hejal Patel wrote:et rid off this bug Actually I tried installing upgraded jdk version: 1.3.1_08 but it doesn't work.


You're going to have to help us help you. As I said, it sounds like something may be seriously wrong with your computer itself. Tell us something about the computer you're using, please.
 
Hejal Patel
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All


My application is built using jdk 1.3.1_07 and it was working fine with this version. Now suddenly I started getting error so I am planning to migrate my application on jdk 1.4.2_07. I need your suggestion whether it will create any problem for all deprecated methods or other problem.

hey Crish and Jasper please suggest me.

Regards
Hej
 
Steve Luke
Bartender
Posts: 4181
21
IntelliJ IDE Java Python
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hejal Patel wrote:Hi All


My application is built using jdk 1.3.1_07 and it was working fine with this version. Now suddenly I started getting error so I am planning to migrate my application on jdk 1.4.2_07. I need your suggestion whether it will create any problem for all deprecated methods or other problem.

hey Crish and Jasper please suggest me.

Regards
Hej


Hi Hejal,

If you are migrating to a new JDK, why the babystep to another EOL version? Why not move to a current version?

If you want to know how your code will be affected by the change in versions, a few things you should read would be the API for the new version - compare it with the code you use in your application, and read up on alternative methods suggested by the API. This information will also be provided at compile time messages about deprecated methods if you compile with the -Xlint:deprecated flag.

You should also read the release notes for the version of Java you are moving to so you can find all the new, non-API things that may have changed.
 
Campbell Ritchie
Sheriff
Posts: 48386
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You will get unchecked warnings for all your generic classes.

You might get problems with J5/J6 if there is anything in the old code which might be interpreted as boxing or un-boxing; are there any other potential problems?
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ernest wrote: You're going to have to help us help you. As I said, it sounds like something may be seriously wrong with your computer itself. Tell us something about the computer you're using, please.


If it "suddenly" stopped working--what changed? Anything? Your code? Your platform?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
are there any other potential problems?

Porting our application from 1.2 to 5.0 was a lot of fun on the Swing side It's not just a matter of changing deprecated code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic