JDK-6447157 : Crashdump (hs_err_pid*.log) does not contain the crash time
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 5.0,6u3
  • Priority: P5
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_10,windows_2003,windows_xp
  • CPU: x86,sparc
  • Submitted: 2006-07-10
  • Updated: 2012-10-13
  • Resolved: 2007-04-24
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 6 JDK 7 Other
5.0u19,hs10Fixed 6u4Fixed 7Fixed hs10Fixed
Related Reports
Duplicate :  
Duplicate :  
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 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
23-03-2007

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
24-01-2007