JDK-6305266 : SEGV in output.cpp
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 6
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2005-08-02
  • Updated: 2010-04-02
  • Resolved: 2005-08-10
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 6
6 b47Fixed
Related Reports
Relates :  
Description
Running CTW on plumhall.jar, the server compiler crashes in output.cpp:

java -c25 -Xss4m -showversion -verify -XX:-ShowMessageBoxOnError -XX:+CompileTheWorld -XX:CompileTheWorldStartAt=8262 -Xbootclasspath/p:/net/vmsqe.sfbay/export/backup/testbase/CompileTheWorld/jarfiles/plumhall.jar

at classfiles 8245, 8258, 8261, 8265 and 8267.

Comments
SUGGESTED FIX The fix reworks the logic protecting the call to step_and_clear(). See PRT webrev: http://analemma.sfbay.sun.com/net/prt-archiver.sfbay/data/archived_workspaces/main/c2_baseline/2005/20050803145505.rasbold.c2_baseline5/workspace/webrevs/webrev-2005.08.03/index.html
03-08-2005

EVALUATION The fix for bug 5003419 in b43 exposed a logic error in output.cpp, the line: if (succ_bb->num_preds() > 1 || _bbs[succ_bb->pred(1)->_idx] != bb) { fails to protect the pred(1) reference from being out-of-range. Furthermore, there was a logic mistake that caused step_and_clear() to be called for almost every block.
02-08-2005