#14 main thread initialization error while running on xscale be

v1.0 (example)
closed
nobody
None
1
2014-08-07
2005-12-11
Mike Kemelmakher
No

Hi,

i tried to compile and run jamvm 1.4 on xscale be.

Following some system details

# cat /proc/cpuinfo
Processor : XScale-IXP4xx/IXC11xx rev 1 (v5b)
BogoMIPS : 263.78
Features : swp half thumb fastmult edsp
....

# cat /proc/version
Linux version 2.4.20_mvl31-ixdp4xx (a178722@A178722)
(gcc version 3.3.1 (MontaVista 3.3.1-3.0.10.0300532
2003-12-23)) #29 Sun Mar 27 14:06:5

JamVm was compiled using montavista toolchain,
xscale_be-gcc (GCC) 3.3.1 (MontaVista
3.3.1-3.0.10.0300532 2003-12-24)

And i'm trying to run apache-tomcat-5.5.12 + classpath
0.19 ...

classpath was compiled using jikes and same gcc like in
JamVm case.

When trying to run the whole thing on target i'm
getting the following output

#/usr/local/bin/java -verbose
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.util.logging.config.file=/mnt/target/TADIRAN/TOMCAT/apache-tomcat-5.5.12/conf/logging.properties
-Djava.endorsed.dirs=/mnt/target/TADIRAN/TOMCAT/apache-tomcat-5.5.12/common/endorsed
-classpath
:/mnt/target/TADIRAN/TOMCAT/apache-tomcat-5.5.12/bin/jmx.jar:/mnt/target/TADIRAN/TOMCAT/apache-tomcat-5.5.12/bin/bootstrap.jar:/mnt/target/TADIRAN/TOMCAT/apache-tomcat-5.5.12/bin/commons-logging-api.jar:/mnt/target/TADIRAN/TOMCAT/apache-tomcat-5.5.12:
-Dcatalina.base=/mnt/target/TADIRAN/TOMCAT/apache-tomcat-5.5.12
-Dcatalina.home=/mnt/target/TADIRAN/TOMCAT/apache-tomcat-5.5.12
-Djava.io.tmpdir=/mnt/target/TADIRAN/TOMCAT/apache-tomcat-5.5.12/temp
org.apache.catalina.startup.Bootstrap start

[Loaded java/lang/Object from
/usr/local/classpath/share/classpath/glibj.zip]
[Linking class java/lang/Object]
[Loaded java/io/Serializable from
/usr/local/classpath/share/classpath/glibj.zip]
[Linking class java/io/Serializable]
[Loaded java/lang/Class from
/usr/local/classpath/share/classpath/glibj.zip]
[Linking class java/lang/Class]
[Loaded java/lang/Runnable from
/usr/local/classpath/share/classpath/glibj.zip]
[Linking class java/lang/Runnable]
[Loaded java/lang/Thread from
/usr/local/classpath/share/classpath/glibj.zip]
[Linking class java/lang/Thread]
[Loaded java/lang/VMThread from
/usr/local/classpath/share/classpath/glibj.zip]
[Linking class java/lang/VMThread]
vmData = (nil)
run = 0x58d68
daemon = 0x58820
name = 0x58808
group = 0x587d8
priority = 0x58838
vmThread = 0x587c0
thread = 0x5a2f0
line 827 kuku
Error initialising VM (initialiseMainThread)
===========================================

pointer values printing was added by me in thread.c
right after

823: /* findField and findMethod do not throw an
exception... */

it seems like there is some problem with vmData field ..
vmData = findField(vmthread_class, "vmData", "I");

any ideas ?

Mike

Discussion

    • priority: 5 --> 9
     
    • priority: 9 --> 1
    • status: open --> open-rejected
     
    • status: open-rejected --> open
     
  • Logged In: YES
    user_id=1107079

    Hi,
    probably the problem was misconfiguration on my system ..
    so please discard this bug .. since it is not a bug .. :)

    -M

     
  • Robert Lougher
    Robert Lougher
    2014-08-07

    • status: open --> closed
    • Group: --> v1.0 (example)