harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Berezhniuk (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3617) [drlvm][verifier] API test org.apache.harmony.prefs.tests.java.util.prefs.AbstractPreferencesTest failed on Win x86_64 release build
Date Mon, 04 Jun 2007 17:48:26 GMT

    [ https://issues.apache.org/jira/browse/HARMONY-3617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12501296
] 

Ilya Berezhniuk commented on HARMONY-3617:
------------------------------------------

I've got the following stack trace for release build (when vm.assert_dialog is set to false):

Windows reported exception: 0xc0000005
Registers:
    EAX: 0x00000001, EBX: 0x003f0000, ECX: 0x0573ffff, EDX: 0x05740000
    ESI: 0x003f06e8, EDI: 0x00000002, ESP: 0x0013e548, EBP: 0x003f06e8
    EIP: 0x7c902f17
Stack trace:
  0: tan (??:-1)
  1: ?? (??:-1)
  2: junit/framework/Assert.assertNull(Ljava/lang/Object;)V (Assert.java:223)
  3: org/apache/harmony/prefs/tests/java/util/prefs/AbstractPreferencesTest.testClear()V (AbstractPreferencesTest.java:218)
  4: java/lang/reflect/VMReflection.invokeMethod(JLjava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
(VMReflection.java:-2)
  5: java/lang/reflect/Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;
(Method.java:382)
  6: junit/framework/TestCase.runTest()V (TestCase.java:164)
  7: junit/framework/TestCase.runBare()V (TestCase.java:130)
  8: junit/framework/TestResult$1.protect()V (TestResult.java:106)
  9: junit/framework/TestResult.runProtected(Ljunit/framework/Test;Ljunit/framework/Protectable;)V
(TestResult.java:124)
 10: junit/framework/TestResult.run(Ljunit/framework/TestCase;)V (TestResult.java:109)
 11: junit/framework/TestCase.run(Ljunit/framework/TestResult;)V (TestCase.java:120)
 12: junit/framework/TestSuite.runTest(Ljunit/framework/Test;Ljunit/framework/TestResult;)V
(TestSuite.java:230)
 13: junit/framework/TestSuite.run(Ljunit/framework/TestResult;)V (TestSuite.java:225)
 14: junit/textui/TestRunner.doRun(Ljunit/framework/Test;Z)Ljunit/framework/TestResult; (TestRunner.java:120)
 15: junit/textui/TestRunner.start([Ljava/lang/String;)Ljunit/framework/TestResult; (TestRunner.java:185)
 16: junit/textui/TestRunner.main([Ljava/lang/String;)V (TestRunner.java:143)
<end of stack trace>
255

The test passes if vm.assert_dialog=true. But when I've added debug printing into VEH handler,
I've got hundreds of AccessViolation exceptions in native code. Looks like there is another
VEH or SEH handler installed, so all these exceptions which are skipped in VEH handler with
EXCEPTION_CONTINUE_SEARCH are then caught in another handler. These interrupted tests are
considered as passed, so whole AbstractPreferencesTest test is passed with vm.assert_dialog=true.


> [drlvm][verifier] API test org.apache.harmony.prefs.tests.java.util.prefs.AbstractPreferencesTest
failed on Win x86_64 release build
> ------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3617
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3617
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>         Environment: winx64
>            Reporter: Vladimir Ivanov
>
> API test org.apache.harmony.prefs.tests.java.util.prefs.AbstractPreferencesTest failed
on Win x86_64 release build (r527316). Note this test passed on debug build in my env.
> --------------execution log (2 runs)--------------------
> working_classlib\modules\prefs\bin\test>target\hdk\jdk\jre\bin\java.exe -Xem:jet -cp
.;working_classlib\depends\jars\junit_3.8.2\junit.jar junit.textui.TestRunner org.apache.harmony.prefs.tests.java.util.prefs.AbstractPreferencesTest
> .......
> <hang>
> working_classlib\modules\prefs\bin\test>target\hdk\jdk\jre\bin\java.exe -Xem:opt -cp
.;working_classlib\depends\jars\junit_3.8.2\junit.jar junit.textui.TestRunner org.apache.harmony.prefs.tests.java.util.prefs.AbstractPreferencesTest
> .......Assertion failed at C:\cruise_hdk\cc\projects\trunk\working_vm\vm\jitrino\src\translator\java\JavaByteCodeTranslator.cpp:622

-- 
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