Solved

java crashes with "fatal error: os::release_memory failed"

Posted on 2014-07-18
9
682 Views
Last Modified: 2014-10-07
Hi!

On a MS Windows Server 2003 SP2 32-bit, java.exe crashes at start:

C:\>java -version
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  Internal Error (virtualspace.cpp:125), pid=4488, tid=4496
#  fatal error: os::release_memory failed
#
# JRE version:  (7.0_65-b19) (build )
# Java VM: Java HotSpot(TM) Client VM (24.65-b04 mixed mode windows-x86 )
# Core dump written. Default location: C:\\hs_err_pid4488.mdmp
#
# An error report file with more information is saved as:
# C:\\hs_err_pid4488.log
#
# If you would like to submit a bug report, please visit:
#   http://bugreport.sun.com/bugreport/crash.jsp
#

Open in new window


I'd say this started with JRE 7.0_55-b14 and I know Java worked earlier on that server. JRE installation was fine. What could cause this crashing?

I'm attaching the error log and memory dump.

-- rpr.
java-log.zip
0
Comment
Question by:rpremuz
  • 5
  • 3
9 Comments
 
LVL 43

Expert Comment

by:Davis McCarn
ID: 40205565
Start by going to the Java applet in the control panel, click the settings button below Temporary Internet Files, click the Delete Files button, make sure you check the box for Installed Applications and Applets, and then OK.  When its done, back out and reboot the server.
If the problem still persists, post back.
0
 

Author Comment

by:rpremuz
ID: 40206368
Davis,

I can't start the Java applet in Control Panel - it also crashes. After I try to start it a log and a dump file are created in "C:\Program Files\Java\jre7\bin\". I'm attaching the log file.

-- rpr.
hs-err-pid2064.log
0
 
LVL 43

Expert Comment

by:Davis McCarn
ID: 40206579
One thread I ran into said that server 2003 had issues with Java newer than 7U40.
Uninstall Java in a Add or Remove Programs and, if you really must have Java (most don't need it anymore), you can get 40 here: http://www.filehippo.com/download_jre_32/15926/
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 

Author Comment

by:rpremuz
ID: 40206727
I tried JRE 7u40 but it also crashed at start. I'm attaching the error log.
hs-err-pid5748.log
0
 
LVL 43

Expert Comment

by:Davis McCarn
ID: 40206736
Might I ask what you need Java for?

Personally, I disable IE for everyone except the Administrator because cruising on a server is just way too dangerous these days....
0
 
LVL 35

Expert Comment

by:girionis
ID: 40209265
What if you go to an even earlier version? Does it help? Can you try java 1.6?
0
 

Author Comment

by:rpremuz
ID: 40210061
After a closer look at the system I've found out that it already has several versions of Java embedded with some services. They all work fine - here are the outputs I get in the Command Prompt:

C:\>"C:\Program Files\3ware\_jvm\bin\java.exe" -version
java version "1.5.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64)
Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode, sharing)

C:\>
C:\>"C:\Program Files\APC\PowerChute Business Edition\jre142_11\bin\java.exe" -version
java version "1.4.2_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_11-b06)
Java HotSpot(TM) Client VM (build 1.4.2_11-b06, mixed mode)

C:\>
C:\>"C:\Program Files\MATLAB\R2014a\sys\java\jre\win32\jre\bin\java.exe" -version
java version "1.7.0_11"
Java(TM) SE Runtime Environment (build 1.7.0_11-b21)
Java HotSpot(TM) Client VM (build 23.6-b04, mixed mode)

Open in new window

So, it seems that only newer versions of JRE 7 crash.

-- rpr.
0
 

Accepted Solution

by:
rpremuz earned 0 total points
ID: 40358208
Today I successfully installed JRE 7u67 on that server and it is working fine:

C:\>java -version
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) Client VM (build 24.65-b04, mixed mode, sharing)

Open in new window


Since my last post I only installed available Microsoft updates for Windows Server 2003. Go figure!

Case closed.

-- rpr.
0
 

Author Closing Comment

by:rpremuz
ID: 40365551
I found the solution myself - installing the latest version of Java RE.
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java Flight Recorder and Java Mission Control together create a complete tool chain to continuously collect low level and detailed runtime information enabling after-the-fact incident analysis. Java Flight Recorder is a profiling and event collectio…
Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
Video by: Michael
Viewers learn about how to reduce the potential repetitiveness of coding in main by developing methods to perform specific tasks for their program. Additionally, objects are introduced for the purpose of learning how to call methods in Java. Define …
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question