Differences between revisions 1 and 2
Revision 1 as of 2006-09-12 13:39:44
Size: 3951
Editor: OliverDeakin
Comment:
Revision 2 as of 2009-09-20 21:54:37
Size: 3951
Editor: localhost
Comment: converted to 1.6 markup
No differences found!

As discussed on the list [1], this application fails to launch. HARMONY-1257 has been raised with the details of the failures. (note: these results are taken from attempted runs with the IBM VME)

On Windows, the application brings up its loading progress screen, then halts, printing the following stack trace to stderr:

Exception in thread "main" java.lang.reflect.InvocationTargetException 
        at java.lang.reflect.AccessibleObject.invokeV(AccessibleObject.java:27) 
        at java.lang.reflect.Method.invoke(Method.java:258) 
        at com.ibm.oti.vm.JarRunner.main(JarRunner.java:42) 
Caused by: java.lang.NoSuchMethodError: java/applet/Applet.getAppletContext()Ljava/applet/AppletCont 
ext; 
        at org.tigris.gef.base.Globals.getAppletContext(Globals.java:86) 
        at org.tigris.gef.base.Globals.showStatus(Globals.java:145) 
        at org.tigris.gef.base.Editor.pushMode(Editor.java:282) 
        at org.tigris.gef.base.Editor.<init>(Editor.java:191) 
        at org.tigris.gef.base.Editor.<init>(Editor.java:172)
...

So this application has a requirement for an implementation of Applet at least (which we do not currently have).

On Linux, the VM crashes very quickly, with no load screen appearing. The following error message is printed:

Unhandled exception 
Type=Segmentation error vmState=0x00000000 
J9Generic_Signal_Number=00000004 Signal_Number=0000000b Error_Value=00000000 Signal_Code=00000001 
Handler1=403505A1 Handler2=402F2343 InaccessibleAddress=00000000 
EDI=BFFFD260 ESI=0804D010 EAX=00000000 EBX=4003A15C 
ECX=BC058C0C EDX=00000000 
EIP=40036A80 ES=0000007B DS=C010007B ESP=BC05864C 
EFlags=00210202 CS=00000073 SS=0000007B EBP=BC058654 
Module=/nfs/ins/proj/drl/coreapi/vgorr/GIT/classlib/trunk/deploy/jdk/jre/bin/libhythr.so 
Module_base_address=40034000 Symbol=hythread_monitor_enter 
Symbol_address=40036A51 
Target=2_30_20060727_07300_lHdSMR (Linux 2.6.5-7.191-bigsmp) 
CPU=x86 (4 logical CPUs) (0xf280c000 RAM) 
  
JavaVMInitArgs.nOptions=10: 
    -Dcom.ibm.oti.vm.vmdir=/nfs/ins/proj/drl/coreapi/vgorr/GIT/classlib/trunk/deploy/jdk/jre/bin/default/ 
    -Dcom.ibm.oti.vm.exe=/nfs/ins/proj/drl/coreapi/vgorr/GIT/classlib/trunk/deploy/jdk/jre/bin/java 
    -Dcom.ibm.oti.vm.bootstrap.library.path=/nfs/ins/proj/drl/coreapi/vgorr/GIT/classlib/trunk/deploy/jdk/jre/bin:/nfs/ins/proj/drl/coreapi/vgorr/GIT/classlib/trunk/deploy/jdk/jre/bin/default 
    -Xbootclasspath/p:/nfs/ins/proj/drl/coreapi/vgorr/GIT/classlib/trunk/deploy/jdk/jre/bin/default/luni-kernel.jar:/nfs/ins/proj/drl/coreapi/vgorr/GIT/classlib/trunk/deploy/jdk/jre/bin/default/security-kernel.jar 
    -Djava.home=/nfs/ins/proj/drl/coreapi/vgorr/GIT/classlib/trunk/deploy/jdk/jre 
    -Djava.library.path=/nfs/ins/proj/drl/coreapi/vgorr/GIT/classlib/trunk/deploy/jdk/jre/bin/:.:/nfs/ins/proj/drl/coreapi/vgorr/GIT/classlib/trunk/deploy/jdk/jre/bin/default:/nfs/ins/proj/drl/coreapi/vgorr/GIT/classlib/trunk/deploy/jdk/jre/bin 
    -Djava.class.path=argouml.jar 
    _org.apache.harmony.vmi.portlib (extra info: BFFFD260) 
    -Xjcl:jclclear_23 
    _j2se_j9=136448 
Note: dump may be truncated if "ulimit -c" is set too low 
  
Generated system dump: {default OS core name} 
  
Thread: Finalizer thread (priority 5) (daemon) (LOCATION OF ERROR) 
 0000008e java/util/zip/ZipFile.closeZipImpl()V (@610F8FC2) 
 00000008 java/util/zip/ZipFile.close()V 
 00000001 java/util/zip/ZipFile.finalize()V 
  
Thread: Gc Slave Thread (priority 5) (daemon) 
  
Thread: Gc Slave Thread (priority 5) (daemon) 
  
Thread: main (priority 5) 
Unhandled exception in signal handler 
Aborted

The "Module" info indicates that we were in hythr library at the point of crashing. I have yet to diagnose the cause of the crash.

[1] http://mail-archives.apache.org/mod_mbox/incubator-harmony-dev/200608.mbox/%3c23951bd90608222113g2545c9aem4e51b434e63344e9@mail.gmail.com%3e

ArgoUML (last edited 2009-09-20 21:54:37 by localhost)