Solved

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

Posted on 2014-07-18
9
662 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 42

Expert Comment

by:Davis McCarn
Comment Utility
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
Comment Utility
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 42

Expert Comment

by:Davis McCarn
Comment Utility
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
 

Author Comment

by:rpremuz
Comment Utility
I tried JRE 7u40 but it also crashed at start. I'm attaching the error log.
hs-err-pid5748.log
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 42

Expert Comment

by:Davis McCarn
Comment Utility
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
Comment Utility
What if you go to an even earlier version? Does it help? Can you try java 1.6?
0
 

Author Comment

by:rpremuz
Comment Utility
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
Comment Utility
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
Comment Utility
I found the solution myself - installing the latest version of Java RE.
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Setting up a Microsoft WSUS update system is free relatively speaking if you have hard disk space and processor capacity.   However, WSUS can be a blessing and a curse. For example, there is nothing worse than approving updates and they just have…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
The viewer will learn how to implement Singleton Design Pattern in Java.

728 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now