JDK-8293402 : hs-err file printer should reattempt stack trace printing if it fails
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 20
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-09-06
  • Updated: 2022-09-19
  • Resolved: 2022-09-14
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.
JDK 20
20 b15Fixed
Related Reports
Relates :  
Description
The call stack is maybe the most important part of an hs-err file. We recently introduced printing of source information (https://bugs.openjdk.org/browse/JDK-8242181) which is nice but makes stack printing more vulnerable for two reasons:
- we may crash due to a programmer error (e.g. https://bugs.openjdk.org/browse/JDK-8293344)
- we may timeout on very slow machines/file systems when the source information are parsed from the debug info (we have seen those problems in the past)
Comments
Changeset: 95c7c556 Author: Thomas Stuefe <stuefe@openjdk.org> Date: 2022-09-14 16:49:06 +0000 URL: https://git.openjdk.org/jdk/commit/95c7c556a35378020177c8e64fd98416d5acc8e2
14-09-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/10179 Date: 2022-09-06 08:05:23 +0000
06-09-2022