harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexei Fedotov (JIRA)" <j...@apache.org>
Subject [jira] Commented: (HARMONY-3720) [drlvm][verifier] VerifyError: 'Data flow analysis error' is reported for class in AXIS2 server binary distribution
Date Wed, 25 Apr 2007 13:52:15 GMT

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

Alexei Fedotov commented on HARMONY-3720:
-----------------------------------------

I believe both reported problems are fixed by HARMONY-3725.

Ilya, Chris, thank you for the good bug. I have verified that your examples work now. Please
verify the problem is no longer a show stopper for you.

Chris example works perfectly:
$ build/win_ia32_msvc_debug/deploy/jdk/jre/bin/java -cp .\;c:/bin/eclipse/plugins/org.eclipse.swt.win32.win32.x86_3.1.1.jar
Test
[aafedoto-mobl1] /c/Users/af/ws_harmony/last_v/trunk/working_vm
$ cat Test.java
public class Test {
    public static void main(String args[]) {
        try {
            Class.forName("org.eclipse.swt.widgets.EventTable").getConstructors();
        } catch (ClassNotFoundException cnfe) {
            System.out.println(cnfe);
            cnfe.printStackTrace();
        }
    }
}

In Ilya's example there is still a crash when reporting ClassNotFound exception, and I have
fixed it by removing a good part of class loader code ( relocation of a method table to add
fake methods). Currently I'm looking if there are any regressions with this.




> [drlvm][verifier] VerifyError: 'Data flow analysis error' is reported for class in AXIS2
server binary distribution
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: HARMONY-3720
>                 URL: https://issues.apache.org/jira/browse/HARMONY-3720
>             Project: Harmony
>          Issue Type: Bug
>          Components: DRLVM
>            Reporter: Ilya Neverov
>         Attachments: VerifyErrorInAxis2.zip
>
>
> Recent Harmony builds (at least on ia32 platforms) failed to start AXIS2 server - see
the logs below. This bug prevents AXIS2 test scenario [HARMONY-3538] from executing the server
part on the Harmony.
> The AXIS2 distribution was d/loaded from the Apache mirror site - http://apache.rinet.ru/dist/ws/axis2/1_1_1/axis2-1.1.1.zip.

> I prepared small reproducer class with loads the AXIS2 class and gets the same error.

> =============== Server start
> Apr 21, 2007 9:42:29 PM org.apache.axis2.transport.SimpleAxis2Server main
> SEVERE: [SimpleAxisServer] Shutting down. Error starting SimpleAxisServer
> Throwable occurred: java.lang.VerifyError: (class: edu/emory/mathcs/backport/java/util/concurrent/AbstractExecutorService,
method: doInvokeAny(Ljava/util/Collection;ZJ)Ljava/lang/Object;) Data flow analysis error
>         at java.lang.ClassLoader.defineClass0(ClassLoader.java)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:417)
>         at java.security.SecureClassLoader.defineClass(Unknown Source)
>         at java.net.URLClassLoader.findClassImpl(Unknown Source)
>         at java.net.URLClassLoader$4.run(Unknown Source)
>         at java.net.URLClassLoader$4.run(Unknown Source)
>         at java.security.AccessController.doPrivilegedImpl(AccessController.java)
>         at java.security.AccessController.doPrivileged(AccessController.java:64)
>         at java.net.URLClassLoader.findClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java)
>         at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:941)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java)
>         at java.lang.ClassLoader.defineClass0(ClassLoader.java)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:417)
>         at java.security.SecureClassLoader.defineClass(Unknown Source)
>         at java.net.URLClassLoader.findClassImpl(Unknown Source)
>         at java.net.URLClassLoader$4.run(Unknown Source)
>         at java.net.URLClassLoader$4.run(Unknown Source)
>         at java.security.AccessController.doPrivilegedImpl(AccessController.java)
>         at java.security.AccessController.doPrivileged(AccessController.java:64)
>         at java.net.URLClassLoader.findClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java)
>         at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:941)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java)
>         at org.apache.axis2.transport.http.server.SimpleHttpServer.init(SimpleHttpServer.java)
>         at org.apache.axis2.transport.http.SimpleHTTPServer.start(SimpleHTTPServer.java)
>         at org.apache.axis2.engine.ListenerManager.start(ListenerManager.java)
>         at org.apache.axis2.transport.SimpleAxis2Server.main(Unknown Source)
> =============== Reproducer start
> > /usr/jrockit-1.5.0/bin/java -cp .  verify.LoadAbstractExecutorService          
                                                   
> java.lang.NoClassDefFoundError: edu/emory/mathcs/backport/java/util/concurrent/CancellationException
> > hdk/trunk/target/hdk/jdk/jre/bin/java -cp .  verify.LoadAbstractExecutorService
       
> Uncaught exception in main:
> java.lang.VerifyError: (class: edu/emory/mathcs/backport/java/util/concurrent/AbstractExecutorService,
method: doInvokeAny(Ljava/util/Collection;ZJ)Ljava/lang/Object;) Data flow analysis error
>         at java.lang.ClassLoader.defineClass0(ClassLoader.java)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:417)
>         at java.security.SecureClassLoader.defineClass(Unknown Source)
>         at java.net.URLClassLoader.findClassImpl(Unknown Source)
>         at java.net.URLClassLoader$4.run(Unknown Source)
>         at java.net.URLClassLoader$4.run(Unknown Source)
>         at java.security.AccessController.doPrivilegedImpl(AccessController.java)
>         at java.security.AccessController.doPrivileged(AccessController.java:64)
>         at java.net.URLClassLoader.findClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java)
>         at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:941)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java)
>         at java.lang.ClassLoader.defineClass0(ClassLoader.java)
>         at java.lang.ClassLoader.defineClass(ClassLoader.java:417)
>         at java.security.SecureClassLoader.defineClass(Unknown Source)
>         at java.net.URLClassLoader.findClassImpl(Unknown Source)
>         at java.net.URLClassLoader$4.run(Unknown Source)
>         at java.net.URLClassLoader$4.run(Unknown Source)
>         at java.security.AccessController.doPrivilegedImpl(AccessController.java)
>         at java.security.AccessController.doPrivileged(AccessController.java:64)
>         at java.net.URLClassLoader.findClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java)
>         at java.lang.ClassLoader$SystemClassLoader.loadClass(ClassLoader.java:941)
>         at java.lang.ClassLoader.loadClass(ClassLoader.java)
> FAILED to invoke JVM.
> > hdk/trunk/target/hdk/jdk/jre/bin/java -version
> Apache Harmony Launcher : (c) Copyright 1991, 2006 The Apache Software Foundation or
its licensors, as applicable.
> java version "1.5.0" 
> pre-alpha : not complete or compatible
> svn = r531111, (Apr 22 2007), Linux/ia32/gcc 4.1.0, release build
> http://incubator.apache.org/harmony

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