Here's hoping they know what's wrong. I'm trying to put together a
test case, but it's almost a lost cause given the complexity of code
leading up to this point.

- Charlie

---------- Forwarded message ----------
From: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Jan 14, 2006 10:02 AM
Subject: Your Report (Review ID: 624417) - Code fails to run correctly
under client hotspot 1.4.2; fine under interp mode
To: [EMAIL PROTECTED]


************************************************
Your report has been assigned an internal review ID of: 624417

This review ID is NOT visible on on Sun Developer Network (SDN).

We greatly appreciate your interest in improving the quality of
Java(tm) Technology from Sun Microsystems.

Please be aware that the large volume of reports we receive sometimes
prevents us from responding individually to each message.

We currently have a three week average response time.  If the
information is determined to be a new bug, or a duplicate of a known
bug, you will receive a followup email containing a seven digit bug
number.  You may search for, view, or vote for this bug on the Bug
Database at http://bugs.sun.com/.

If you just reported an issue that could have a major impact on your
project and you require a timely response, please consider purchasing
one of the support offerings at
http://java.sun.com/support/index.html.

The Sun Developer Network (http://developers.sun.com) is a free
service that Sun offers.  To join, visit
http://developers.sun.com/global/join_sdn.html.

For a limited time, SDN members can obtain fully licensed Java IDEs
for web and enterprise development.  More information is at
http://developers.sun.com/prodtech/javatools/free/.

Thank you for your help.



---------------------------------------------------------------


dateCreated: Sat Jan 14 09:02:05 MST 2006
type:        bug
cust_name:   Charles Oliver Nutter
cust_email:  [EMAIL PROTECTED]
jdcid:       headius
status:      Waiting
category:    hotspot
subcategory: compiler1
company:     JRuby dev team
release:     1.4.2
hardware:    x86
OSversion:   win_xp
priority:    4
synopsis:    Code fails to run correctly under client hotspot 1.4.2;
fine under interp mode
description: FULL PRODUCT VERSION :
Tested with both:
java version "1.4.2_06"
java version "1.4.2_10"

FULL OS VERSION :
Microsoft Windows XP [Version 5.1.2600]

A DESCRIPTION OF THE PROBLEM :
My current development branch of JRuby fails to run correctly under
1.4.2_06 and 1.4.2_10. Other versions of 1.4.2 were not tested.
Version 1.5.0_05 works correctly, as do both 1.4.2 versions under
interpreted mode (-Xint).

The problem manifests itself as a left-over element in a stack that
should not be there. When step-by-step debugging or running in
interpreted mode, the stack contains the elements it should. When run
with 1.4.2_06 or 1.4.2_10 with default options, a leftover null is
found to be at the top of the stack, causing a NullPointerException
where one should not be occurring.

Executing the same test with -Xint results in everything working fine.
Debugging the issue causes it to go away, presumably because HotSpot
is disabled. 1.5.0_05 does not exhibit the problem.

The problem shows up with both the client and server VMs, though it
manifests slightly different for each.

My opinion, for what it's worth, is that either an instruction is
going unexecuted or instructions are being reordered in such a way as
to break the code. Since JRuby is a complex piece of software, I have
not been able to narrow this down to a simple test case.

THE PROBLEM WAS REPRODUCIBLE WITH -Xint FLAG: No

THE PROBLEM WAS REPRODUCIBLE WITH -server FLAG: Yes

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Download JRuby source from cnutter_work1 branch on SourceForge.net
(jruby project)
2. Follow included instructions to build it and get it running with a 1.4.2 VM
3. Download the Rubicon test suite from RubyForge.org (rubytests project)
4. Execute Rubicon using "jruby AllTests.rb" from the Rubicon dir

EXPECTED VERSUS ACTUAL BEHAVIOR :
The tests should run to completion. Normal failures are expected,
since we are not yet 100% compliant with all Ruby features.
ERROR MESSAGES/STACK TRACES THAT OCCUR :
The logging messages are specific to JRuby, showing a null pointer
exception within the code. I have traced through numerous paths, and
there should never be a null pointer exception at this point in the
code.

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
No simple test case available at this time. I'm working on it.
---------- END SOURCE ----------

CUSTOMER SUBMITTED WORKAROUND :
No workaround, other than disabling HotSpot.
workaround:
comments:    (company - JRuby dev team , email - [EMAIL PROTECTED])


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
Jruby-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jruby-devel

Reply via email to