SUGGESTED FIX
--- chaitin.cpp Mon Nov 29 06:07:11 2004
***************
*** 1403,1409 ****
// Search the current block for an existing base-Phi
Block *b = _cfg._bbs[derived->_idx];
! for( i = 1; i < b->end_idx(); i++ ) {// Search for matching Phi
Node *phi = b->_nodes[i];
if( !phi->is_Phi() ) { // Found end of Phis with no match?
b->_nodes.insert( i, base ); // Must insert created Phi here as base
--- 1403,1409 ----
// Search the current block for an existing base-Phi
Block *b = _cfg._bbs[derived->_idx];
! for( i = 1; i <= b->end_idx(); i++ ) {// Search for matching Phi
Node *phi = b->_nodes[i];
if( !phi->is_Phi() ) { // Found end of Phis with no match?
b->_nodes.insert( i, base ); // Must insert created Phi here as base
###@###.### 2004-12-02 18:33:49 GMT
|
EVALUATION
The VM crashes for the customer in at least two ways, so there may be multiple bugs.
The user.dmp and "crash3" appear to be the same, with C2 failing in reg_split.cpp, per the analysis found in the Comments section. At the time, C2 was compiling PortalServiceItem.startServices. That analysis indicates the same bug as 4965984, now closed. In 4965984, the customer accepted the workaround as a solution, and was not motivated to help us pursue a fix.
The source code for PortalServiceItem.startServices (attached) shows a method
that is very similar in structure to the failing method for 5026838 (to be fixed in 1.4.2_07). It may be worth our while to have the customer, if willing, attempt a run with an early 1.4.2_07 build, or, a custom built 1.4.2_06 with the fix for 5026838 added.
The "crash1" failure is a guarantee failure at buildOopMap.cpp:263. It is not clear if, or how this related to "crash3".
The method of failure "crash2" is unknown for now. It could be either the buildOooMap or the reg_split failure.
###@###.### 10/19/04 16:26 GMT
This may an off-by-one error fixed in Tiger in chaitin.cpp under the bugid of 5030922. The bugtraq entry for that bug has no relevant info; I'm working with the RE for that bug to correct the situation.
###@###.### 2004-11-29 14:27:05 GMT
Customer verifies that the off-by-one fix from 5030922 eliminates their problem. I will leave this bug open since 5030922 was an umbrella bug which contained other fixes.
The fix should be applied to 5.0, also.
###@###.### 2004-12-02 18:33:49 GMT
|