./maxve image -> Exception in thread "main" com.sun.max.vm.runtime.FatalError:

  1 post   Feedicon  
Replies: 0 - Last Post: March 04, 2011 12:53
by: mindfab
« Older Topic » Newer Topic
showing 1 - 1 of 1
 
Posted: March 04, 2011 12:53 by mindfab
Hi,

i recently installed maxine and the helloworld program of maxine works.

Now, I try to setup java guest and after

hg pull -u
./bin/maxve clean
./bin/maxve build
./bin/maxve image

I get the following error during building the image file...

<Trace 1> loading: com.sun.max.vm.compiler.snippet
<Trace 1> loading: com.sun.max.vm.cps.hotpath
Exception in thread "main" com.sun.max.vm.runtime.FatalError: could not find unconditional substitutee method in class java.nio.Bits substituted by private static void com.sun.max.ve.jdk.JDK_java_nio_Bits.copyFromByteArray(java.lang.Object,long,long,long)
	at com.sun.max.vm.runtime.FatalError.unexpected(FatalError.java:132)
	at com.sun.max.vm.runtime.FatalError$1.handle(FatalError.java:63)
	at com.sun.max.program.ProgramError.unexpected(ProgramError.java:119)
	at com.sun.max.program.ProgramError.unexpected(ProgramError.java:136)
	at com.sun.max.annotate.METHOD_SUBSTITUTIONS$Static.register(METHOD_SUBSTITUTIONS.java:134)
<Trace 1> Total time: 3.67 seconds
	at com.sun.max.annotate.METHOD_SUBSTITUTIONS$Static.processAnnotationInfo(METHOD_SUBSTITUTIONS.java:197)
	at com.sun.max.vm.hosted.JavaPrototype.loadMethodSubstitutions(JavaPrototype.java:195)
	at com.sun.max.vm.hosted.JavaPrototype.<init>(JavaPrototype.java:270)
	at com.sun.max.vm.hosted.JavaPrototype.initialize(JavaPrototype.java:242)
	at com.sun.max.vm.hosted.BootImageGenerator.<init>(BootImageGenerator.java:195)
	at com.sun.max.vm.hosted.BootImageGenerator.main(BootImageGenerator.java:333)
Exception in thread "main" com.sun.max.program.ProgramError: Unexpected Program Error: execution of command: [/usr/lib/jvm/java-6-sun-1.6.0.24/jre/bin/java, -d64, -ea, -cp, /usr/lib/jvm/java-6-sun/lib/tools.jar:/home/robert/maxine/CRI/bin:/home/robert/maxine/C1X/bin:/home/robert/maxine/C0X/bin:/home/robert/maxine/Base/bin:/home/robert/maxine/Assembler/bin:/home/robert/maxine/VM/bin:/home/robert/maxine/VM/classes:/home/robert/maxine/CPS/bin:/home/robert/maxine/MaxineELF/bin:/home/robert/maxine/VMDI/bin:/home/robert/maxine/Tele/bin:/home/robert/maxine/JDWP/bin:/home/robert/maxine/TeleJDWP/bin:/home/robert/maxine/Inspector/bin:/home/robert/maxve/JNodeFS/bin:/home/robert/maxve/YANFS/bin:/home/robert/maxve/GNUCP/bin:/home/robert/maxve/VEJDK/bin:/home/robert/maxve/NFSServer/bin:/home/robert/maxve/VEBase/bin:/home/robert/maxve/VEMain/bin:/home/robert/maxve/VETele/bin:/home/robert/maxve/VETools/bin, -Dmax.os=MaxVE, -Dmax.ve.bootimage.fs.contents=bootimagefilespecs/tests, -Dmax.allow.all.core.packages, -Dmax.vmthread.factory.class=com.sun.max.ve.sched.VEVmThreadFactory, -Dmax.mutex.factory.class=com.sun.max.vm.monitor.modal.sync.nat.NativeMutexFactory, -Dmax.conditionvariable.factory.class=com.sun.max.vm.monitor.modal.sync.nat.NativeConditionVariableFactory, -Dmax.ve.scheduler.factory.class=com.sun.max.ve.sched.std.StdSchedulerFactory, -Dmax.ve.scheduler.runqueue.factory.class=com.sun.max.ve.sched.nopriority.RingRunQueueFactory, -Dmax.ve.spinlock.factory.class=com.sun.max.ve.spinlock.guk.GUKSpinLockFactory, -Dmax.ve.net.config.file=netconfig, -Xms1200m, -Xmx1200m, -Xbootclasspath/a:/home/robert/maxve/VENative/../VEJDK/bin, com.sun.max.vm.hosted.BootImageGenerator, -trace=1, -run=com.sun.max.vm.run.max.ve, -build=PRODUCT] failed [exit code = 1]
	at com.sun.max.program.ProgramError.unexpected(ProgramError.java:124)
	at com.sun.max.program.ProgramError.unexpected(ProgramError.java:136)
	at com.sun.max.vm.hosted.VEBootImageGenerator.exec(VEBootImageGenerator.java:314)
	at com.sun.max.vm.hosted.VEBootImageGenerator.buildMaxineImage(VEBootImageGenerator.java:157)
	at com.sun.max.vm.hosted.VEBootImageGenerator.main(VEBootImageGenerator.java:94)


I have the following environment:

robert@debian:~/maxve/VENative$ cat /etc/issue
Debian GNU/Linux wheezy/sid \n \l

robert@debian:~/maxve/VENative$ java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)

robert@debian:~/maxve/VENative$ echo $XEN_ROOT
/home/robert/xen/xen-4.0.1/

robert@debian:~/maxve/VENative$ echo $JAVA_HOME
/usr/lib/jvm/java-6-sun

Is there anybody who can help me out ?

Thx
Replies: 0 - Last Post: March 04, 2011 12:53
by: mindfab
« Older Topic » Newer Topic
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close