harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vladimir Beliaev (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-4579) [drlvm][verifier][EUT] jdtcoremodel suite 'dom' from EUT3.3 is crashed in verifier - regression
Date Tue, 31 Jul 2007 11:41:53 GMT
[drlvm][verifier][EUT] jdtcoremodel suite 'dom' from EUT3.3 is crashed in verifier - regression
-----------------------------------------------------------------------------------------------

                 Key: HARMONY-4579
                 URL: https://issues.apache.org/jira/browse/HARMONY-4579
             Project: Harmony
          Issue Type: Bug
         Environment: Windows/x86
            Reporter: Vladimir Beliaev
            Priority: Blocker


jdtcoremodel suite 'dom' from EUT3.3 is crashed (2917 tests - 7%) on Windows x86.

It is regression in compariosn to Harmony M2 (I've passed this 'dom' test suite w/o any issues).

The tested revision (from java -showversion output) is: svn = r561041, (Jul 30 2007)

To reproduce (note: do not use cygwin's unzip):

1. unzip eclipse-Automated-Tests-3.3.zip, enter eclipse-testing, unzip eclipse-junit-tests-I20070625-1500.zip

2. unzip eclipse-SDK-3.3-win32.zip to this eclipse-testing saying "yes" for all overridings

3. execute the script:

    @echo off 
    set JAVA_HOME=<windows path to your harmony to be used>
    set PATH=%JAVA_HOME%\bin;%PATH% 

    set CMD=
    set CMD=%CMD% java 
    set CMD=%CMD% -jar eclipse\plugins\org.eclipse.equinox.launcher_1.0.0.v20070606.jar 
    set CMD=%CMD% -application org.eclipse.test.uitestapplication 
    set CMD=%CMD% -dev bin 
    set CMD=%CMD% -data workspace 
    set CMD=%CMD% formatter=org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter,log.xml

    set CMD=%CMD% -testpluginname org.eclipse.jdt.core.tests.model 
    set CMD=%CMD% -classname org.eclipse.jdt.core.tests.dom.RunAllTests

    echo %CMD% 
    %CMD% 

Results:

It runs several minutes, then 0x0000 memory access dialog appears. The stack trace is:

harmonyvm.dll!CPVerifier::vf_TypePool::ref_mustbe_assignable(CPVerifier::SmConstant from={...},
CPVerifier::SmConstant to={...})  Line 198 + 0x3	C++
harmonyvm.dll!CPVerifier::vf_TypePool::mustbe_assignable(CPVerifier::SmConstant from={...},
CPVerifier::SmConstant to={...})  Line 137 + 0x10	C++
harmonyvm.dll!CPVerifier::vf_Context_t::workmap_expect(CPVerifier::WorkmapElement & el={...},
CPVerifier::SmConstant type={...})  Line 464 + 0x21	C++
harmonyvm.dll!CPVerifier::vf_Context_t::dataflow_instruction(unsigned short instr=226)  Line
1629 + 0xa0	C++
harmonyvm.dll!CPVerifier::vf_Context_t::DataflowLoop(unsigned short instr=226, int workmap_is_a_copy_of_stackmap=0)
 Line 1878 + 0xd	C++
harmonyvm.dll!CPVerifier::vf_Context_t::StartLinearDataflow(unsigned short instr=0)  Line
1810	C++
harmonyvm.dll!CPVerifier::vf_Context_t::verify_method(Method_ * method=0x0a95b098)  Line 2267
+ 0xd	C++
harmonyvm.dll!vf_verify_class(Class_ * klass=0x0a900490, unsigned int verifyAll=0, char *
* error=0x0013b87c)  Line 52 + 0x1d	C++
harmonyvm.dll!Class::verify(const Global_Env * env=0x012b2d00)  Line 64 + 0x11	C++
harmonyvm.dll!DefineClass(JNIEnv_External * jenv=0x021a7d08, const char * name=0x0a909a10,
_jobject * loader=0x0013b99c, const char * buf=0x0a909a68, int len=132186)  Line 613 + 0xc
C++
harmonyvm.dll!Java_java_lang_ClassLoader_defineClass0(JNIEnv_External * jenv=0x021a7d08, _jobject
* cl=0x0013b99c, _jobject * name=0x0013b9a0, _jobject * data=0x0013b9a4, int offset=0, int
len=132186)  Line 64 + 0x1c	C++
 	03689bbe()	

I rerun this test w/ -noverify option for java - it PASSED. Based on this fact + stack trace
I believe it is an issue in verifier.

Thanks
Vladimir Beliaev

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message