United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-6447157 Crashdump (hs_err_pid*.log) does not contain the crash time
JDK-6447157 : Crashdump (hs_err_pid*.log) does not contain the crash time

Details
Type:
Enhancement
Submit Date:
2006-07-10
Status:
Closed
Updated Date:
2012-10-13
Project Name:
JDK
Resolved Date:
2007-04-24
Component:
hotspot
OS:
windows_2003,solaris_10,windows_xp
Sub-Component:
runtime
CPU:
x86,sparc
Priority:
P5
Resolution:
Fixed
Affected Versions:
5.0,6u3
Fixed Versions:
hs10 (b12)

Related Reports
Backport:
Backport:
Backport:
Duplicate:
Duplicate:

Sub Tasks

Description
FULL PRODUCT VERSION :
java version "1.5.0_07"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
Java HotSpot(TM) Client VM (build 1.5.0_07-b03, mixed mode, sharing)

FULL OS VERSION :
Windows any, Linux any

A DESCRIPTION OF THE PROBLEM :
When the Java VM crashes a hs_err_pid*.log ist written to disk. It does not contain the time when the crash occurred. This information is essential since the file creation time generally is lost during transport.

THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: Yes

THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Let the Java VM crash and examine the hs_err_pid created.

EXPECTED VERSUS ACTUAL BEHAVIOR :
The time of the crash should be reported in the hs_err_pid file.
REPRODUCIBILITY :
This bug can be reproduced always.

                                    

Comments
EVALUATION

How about this at the end of the hs_err_pid*.log)?
...
CPU:total 2

Memory: 8k page, physical 2097152k(733840k free)
 vm_info: Java HotSpot(TM) Client VM (coleen-jvmg) for solaris-sparc, built on Jan 24 2007 15:46:16 by "coleenp" with unknown Workshop:0x580

current time: Wed Jan 24 15:46:42 2007
                                     
2007-01-24
EVALUATION

Fixed 6447157: Crashdump (hs_err_pid*.log) dues not contain the crash time

Print date and time in fatal error reporting code.  Also print the elapsed time.

Fix verified (y/n): y
Verified by: visually in hs_err_pid*log

Webrev (containing this fix and related others):
http://jruntime.east/~coleenp/webrev/6447157
                                     
2007-03-23



Hardware and Software, Engineered to Work Together