This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin for Android App Development and have Peter Sommerhoff on-line!
See this thread for details.
Win a copy of Kotlin for Android App Development this week in the Kotlin forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Clarification needed regarding JVM crash - reg.  RSS feed

 
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,

I am one among those people who believe very strongly that Java is the most artistic, reliable programming language. But I am not able to defend in a debate about JVM getting crashed.

Please have a look at the following message.


An unexpected error has been detected by HotSpot Virtual Machine:

EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x100a4937, pid=2792, tid=2944

Java VM: Java HotSpot(TM) Client VM (1.5.0_12-b04 mixed mode, sharing)
Problematic frame:
C [CSPJNIWrappers.dll+0xa4937]

An error report file with more information is saved as hs_err_pid2792.log

If you would like to submit a bug report, please visit:
http://java.sun.com/webapps/bugreport/crash.jsp



What is the reason for this? Can anybody help me to know the reason.

thanks and regards,
dinesh V
 
author and iconoclast
Posts: 24203
43
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's a bug in the JVM or (just as likely) in part of the OS used by the JVM. A JVM is just a piece of software, like any other; they have bugs. And of course, Windows has bugs, too.
 
dinesh Venkatesan
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Ernest!!
But I wonder why Sun is not putting much effort to have a work around for these kind of bugs.

regards,
dinesh V
 
Ranch Hand
Posts: 1970
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is "CSPJNIWrappers.dll" actually part of the JVM, or is it some native code that you have added? What's "CSP"? I do not have the exact same version of JVM as you do, but none of my installations of Java on Windows have a file of that name.

If it's not part of the JVM (and I think it's not), then your crash is nothing to do with Java - it's your bad native code.
 
author
Posts: 8995
19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this one is bound for the intermediate forum...
 
This tiny ad is wafer thin:
Programmatically Create PDF Using Free Spire.PDF with Java
https://coderanch.com/wiki/703735/Programmatically-Create-PDF-Free-Spire
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!