David Dice's Weblog

Monday Sep 11, 2006

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 13, 2006 at 03:03 AM 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 12:54 PM 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 17, 2006 at 04:20 AM 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 11:14 AM EST #

i cant play chess on yahoo

Posted by ahmed on May 08, 2007 at 04:53 PM EDT #

Where can we download the symbolic map files from?

Posted by Scott Marlow on September 03, 2009 at 04:23 PM EDT #

Post a Comment:
  • HTML Syntax: NOT allowed
Copyright © 2006-2008 Dave Dice, All Rights Reserved.

Calendar

Feeds

Search

Links

Navigation

Referers

XML Feed
Creative Commons License
This work is licensed under a Creative Commons Attribution-No Derivative Works 3.0 License.