Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2005

Tip: Looking for answers? Try searching our database.

How stable is 1.5?

Thread view: 
Bruce Lee - 30 Oct 2005 17:00 GMT
I've got Java 1.5.0_05-b05 running on Windows XP and Windows 2000 and it's
starting to through a lot of "An unexpected error has been detected by
HotSpot Virtual Machine" errors after a bit. Is it worth switching back to
1.4.2? I'd rather not because it means recompiling classes.
Roedy Green - 31 Oct 2005 03:59 GMT
On Sun, 30 Oct 2005 16:00:37 GMT, "Bruce Lee"
<blah@blahbllbllahblah.com> wrote, quoted or indirectly quoted someone
who said :

>I've got Java 1.5.0_05-b05 running on Windows XP and Windows 2000 and it's
>starting to through a lot of "An unexpected error has been detected by
>HotSpot Virtual Machine" errors after a bit. Is it worth switching back to
>1.4.2? I'd rather not because it means recompiling classes.

I've never had such an error.  What are we doing different?

What is your platform?  Does this happen with only a certain app?

Signature

Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.

Daniel Dyer - 31 Oct 2005 11:24 GMT
> On Sun, 30 Oct 2005 16:00:37 GMT, "Bruce Lee"
> <blah@blahbllbllahblah.com> wrote, quoted or indirectly quoted someone
[quoted text clipped - 10 lines]
>
> What is your platform?  Does this happen with only a certain app?

Sounds like a misbehaving JNI program.  Has the code changed in addition  
to the VM?

Dan.

Signature

Daniel Dyer
http://www.dandyer.co.uk

Mickey Segal - 01 Nov 2005 04:20 GMT
> I've got Java 1.5.0_05-b05 running on Windows XP and Windows 2000 and it's
> starting to through a lot of "An unexpected error has been detected by
> HotSpot Virtual Machine" errors after a bit. Is it worth switching back to
> 1.4.2? I'd rather not because it means recompiling classes.

With earlier versions of 1.5 I had a problem for which the crash report said
that an "unexpected error has been detected by HotSpot Virtual Machine".
However, in my case the problem seems to be gone in 1.5.0_05-b05.  Details
of the original problem are in a thread from a year ago:
http://groups.google.com/group/comp.lang.java.programmer/browse_thread/thread/6e
12e8e3c39c7cc4/fc26f4eb1aa040d0


It seems that there is no general answer to the stability question - the
latest version seems to be stable for some programs and unstable for others.

For those who imagine that this bug was fixed after Sun responding to my
concerns, Sun refused my bug report saying they needed a "compact test case
that simulates the bug you have reported".  Since it is not trivial to do so
for JVM bugs that occur about 5% of the time in huge programs I devoted some
time to helping find their bug but they never accepted a bug report.

I am not surprised to find that bugs of this type remain.
Bruce Lee - 04 Nov 2005 11:19 GMT
Re:
http://groups.google.co.uk/group/comp.lang.java.programmer/browse_frm/thread
/f8fd2e29795306c4/c2a2ecaff6d4cccd?lnk=st&q=%22bruce+lee%22+stable+1.5&rnum=
7&hl=en#c2a2ecaff6d4cccd

Thanks for the feedback - I missed the original posting so I've dug it out
of google.

I'm still getting the odd random error (below) in various java programs on
Windows XP/2000. And like Mickey Segal, don't have a test case because it is
happening randomly in various java apps.

# An unexpected error has been detected by HotSpot Virtual Machine:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d6c09b4, pid=324,
tid=1780
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_05-b05 mixed mode, sharing)
# Problematic frame:
# V  [jvm.dll+0x109b4]
#
# An error report file with more information is saved as hs_err_pid324.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
dnasmars - 08 Nov 2005 09:03 GMT
> I've got Java 1.5.0_05-b05 running on Windows XP and Windows 2000 and it's
> starting to through a lot of "An unexpected error has been detected by
> HotSpot Virtual Machine" errors after a bit. Is it worth switching back to
> 1.4.2? I'd rather not because it means recompiling classes.

the stability of a JVM is always inversely proportional
to the stability of the programs one makes :)
Bruce Lee - 08 Nov 2005 16:15 GMT
> > I've got Java 1.5.0_05-b05 running on Windows XP and Windows 2000 and it's
> > starting to through a lot of "An unexpected error has been detected by
[quoted text clipped - 3 lines]
> the stability of a JVM is always inversely proportional
> to the stability of the programs one makes :)

I've switched back to Java 1.4.2 and the same program, under the same
environment and conditions doesn't crash now.


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.