Hi all,
          Trying to port dalvikvm on MIPS board , but while running
dexopt i'm getting BUS error ,
          below is the o/p of logcat command.

V/dalvikvm(  367): DexOpt: locking cache file /data/dalvik-cache/
sys...@framework@core....@classes.dex (fd=7, boot=1)
V/dalvikvm(  367): DexOpt:  locked cache file
V/dalvikvm(  367): checking deps, expecting vfy=1 opt=1
W/dalvikvm(  367): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm(  367): Stale deps in cache file; removing and retrying
V/dalvikvm(  367): DexOpt: locking cache file /data/dalvik-cache/
sys...@framework@core....@classes.dex (fd=7, boot=1)
V/dalvikvm(  367): DexOpt:  locked cache file
V/dalvikvm(  367): DexOpt: successfully initialized new cache file
D/dalvikvm(  367): DexOpt: --- BEGIN 'core.jar
V/dalvikvm(  367): DexOpt: waiting for verify+opt, pid=368
V/dalvikvm(  368): Args: fd=7 off=40 len=3590960 name='/system/
framework/core.jar
V/dalvikvm(  368):   bootclasspath is ''
V/dalvikvm-heap(  368): Creating VM heap of size 2097152
V/dalvikvm(  368): threadid=3: interp stack at 0x2baf0000
V/dalvikvm(  368): LinearAlloc: created region at
0x2baf2000-0x2bef1fff
V/dalvikvm(  368): Continuing optimization (/system/framework/core.jar
I//system/bin/msntp-P(  369): msntp
I//system/bin/msntp-P(  369): msntp
I/logwrapper(  369): /system/bin/msntp
V/dalvikvm(  368): +++ swapping bytes
V/dalvikvm(  368): +++ swapping and verifying
V/dalvikvm(  368): +++ DEX 0x89e00: allocateAux 27328+2930+24798+9926
* 4 = 259928 bytes
V/dalvikvm(  368): Class lookup: classes=2779 slots=8192 (33% occ)
alloc=98312 total=789 max=13
V/dalvikvm(  368): DexOpt: +++ trying to load 2779 classes
V/dalvikvm(  368): +++ dvmAddClassToHash 'Ljava/lang/Class;' 0x0
(isnew=1) --> 0x2aab0350
V/dalvikvm(  368): +++ dvmAddClassToHash 'Ljava/lang/Object;' 0x0
(isnew=1) --> 0x2aab03f8
V/dalvikvm(  368): +++ dvmAddClassToHash 'Ljava/io/Serializable;
V/dalvikvm(  368): +++ dvmAddClassToHash 'Ljava/lang/reflect/
AnnotatedElement;
V/dalvikvm(  368): +++ dvmAddClassToHash 'Ljava/lang/reflect/
GenericDeclaration;
V/dalvikvm(  368): +++ dvmAddClassToHash 'Ljava/lang/reflect/Type;'
0x0 (isnew=1) --> 0x2aab0698
V/dalvikvm(  368): --- LinearRealloc(272) old=276
V/dalvikvm(  368): +++ explicitly initializing Ljava/lang/Class;
V/dalvikvm(  368): +++ dvmAddClassToHash 'Ljava/lang/String;' 0x0
(isnew=1) --> 0x2aab0740
V/dalvikvm(  368): +++ dvmAddClassToHash 'Ljava/lang/Comparable;
V/dalvikvm(  368): +++ dvmAddClassToHash 'Ljava/lang/CharSequence;
V/dalvikvm(  368): --- LinearRealloc(244) old=260
V/dalvikvm(  368): +++ dvmAddClassToHash 'Ljava/lang/Throwable;
V/dalvikvm(  368): --- LinearRealloc(84) old=92
V/dalvikvm(  368): Array class '[Ljava/lang/Object;
V/dalvikvm(  368): +++ dvmAddClassToHash 'Ljava/lang/Cloneable;' 0x0
(isnew=1) --> 0x2aab0a88
V/dalvikvm(  368): +++ dvmAddClassToHash '[Ljava/lang/Object;' 0x0
(isnew=1) --> 0x2aab09e0
V/dalvikvm(  368): Created array class '[Ljava/lang/Object;
V/dalvikvm(  368): +++ dvmAddClassToHash 'Ljava/lang/System;' 0x0
(isnew=1) --> 0x2aab0b30
V/dalvikvm(  368): +++ dvmAddClassToHash 'Ljava/lang/SecurityManager;
V/dalvikvm(  368): +++ dvmAddClassToHash 'Ldalvik/system/VMStack;
V/dalvikvm(  368): +++ dvmAddClassToHash 'Ljava/lang/ClassLoader;
V/dalvikvm(  368): THROW 'Ljava/lang/VerifyError;'
msg='java.lang.Class' cause=(none)
V/dalvikvm(  368): +++ dvmAddClassToHash 'Ljava/lang/VerifyError;' 0x0
(isnew=1) --> 0x2aab0dd0
V/dalvikvm(  368): +++ dvmAddClassToHash 'Ljava/lang/LinkageError;
V/dalvikvm(  368): +++ dvmAddClassToHash 'Ljava/lang/Error;
V/dalvikvm(  368): THROW 'Ljava/lang/VerifyError;'
msg='Ljava.lang.Error;' cause=(none)
E/dalvikvm(  368): Too many exceptions during init (failed on 'Ljava/
lang/VerifyError;' 'Ljava.lang.Error;')
E/dalvikvm(  368): VM aborting
I/DEBUG   (  171): *** *** *** *** *** *** *** *** *** *** *** *** ***
*** *** ***
I/DEBUG   (  171): Build fingerprint: 'unknown'
I/DEBUG   (  171): pid: 368, tid: 368  >>> /system/bin/dexopt <<<
I/DEBUG   (  171): signal 10 (SIGBUS), fault addr 00000000


Does anybody have any idea, why this is happening ? any pointer or any
info about dexopt code region where padding is done would be helpful.

Regards,
DJ

-- 
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-porting

Reply via email to