A tool to decode hs_err files

The hs_err6.pl perl script parses an existing hs_err file and annotates it with additional information. In particular the script will decode the the rather cryptic "Error ID" string as well as making an attempt to decorate the module-relative offsets (e.g., [jvm.dll+0x1234]) found in native stack listings with more useful symbolic names.

The script is provided as-is and is entirely unsupported. It works only on J2SE 6 reference platforms. To get started run with the --help option. Ideally, future versions of the JVM will integrate this feature and there'll be no need for the script.

Comments:

[Trackback] now david dice of sun came up with this script to simplify hs_err files, generated by java in case of crashes etc. it is written in perl and sounds quite promising: The hs_err6.pl perl script parses an existing hs_err file and annotates it with additio...

Posted by stotti.blog() on September 12, 2006 at 08:03 PM EDT #

I'm not actually the author of the script, I simply posted it. It's been in use internally for quite some time.

Posted by dave on September 13, 2006 at 05:54 AM EDT #

hi dave, thanks for pointing this out. i have now posted a followup on my blog to correct this. thank you for publishing the script! cheers!

Posted by stotti on November 16, 2006 at 08:20 PM EST #

[Trackback] There's a simple web interface at http://openjdk.neojava.org/cgi-bin/hs_err that allows decoding of hs_err or hs_err_pid HotSpot crash logs. It produces the same output as the command-line version . Decoding the crash log is invariably the firs...

Posted by Steve Bohne's Weblog on February 26, 2007 at 03:14 AM EST #

i cant play chess on yahoo

Posted by ahmed on May 08, 2007 at 09:53 AM EDT #

Where can we download the symbolic map files from?

Posted by Scott Marlow on September 03, 2009 at 09:23 AM EDT #

do you have anything for windows

Posted by Kedar on March 05, 2010 at 04:59 AM EST #

Kedar,

The script is now rather old, but at least in the past it properly supported windows. All you need is perl.

Regards, -Dave

Posted by Dave Dice on March 05, 2010 at 07:56 AM EST #

FYI that neojava link is defunct

Posted by David Holmes on July 29, 2010 at 08:03 PM EDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

Dave

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today