Hi fadden , thanks for the reply. i have fixed 'ashmem' issue and am able to proceed till 'dexopt' tries to optimize the jar file,which is failing with following error. ------------- DexOpt: locked cache file DexOpt: successfully initialized new cache file DexOpt: --- BEGIN 'core.jar' (bootstrap=1) --- DexOpt: waiting for verify+opt, pid=2460 Continuing optimization (/home/cupcake/out/debug/target/product/eee_701/system/framework/core.jar, isb=1, vfy=1, opt=1) +++ swapping bytes DexOpt: --- END 'core.jar' --- status=0xff00, process failed Unable to extract+optimize DEX from '/home/cupcake/out/debug/target/product/eee_701/system/framework/core.jar' --------------
On debugging i found it is failing at '~/cupcake/dalvik/libdex/DexSwapVerify.c:2084' where 'swapMap()' function is failing. Thanks in advance Ananda On Wed, Mar 25, 2009 at 4:35 AM, fadden <[email protected]> wrote: > > On Mar 24, 8:09 am, "an...@android" <[email protected]> wrote: > > ORIGINAL-> MTERP_OFFSET(offArrayObject_contents, ArrayObject, > > contents, 12) > > MODIFIED-> MTERP_OFFSET(offArrayObject_contents, ArrayObject, > > contents, 16) > > See MTERP_NO_UNALIGN_64 in the current version: > > > http://android.git.kernel.org/?p=platform/dalvik.git;a=blob;f=vm/mterp/common/asm-constants.h;h=73292a9f2a5863fe55b3d524695f245388ad1780;hb=HEAD > > > but this time i didnt get the seg fault but one message came up saying > > "Dalvik VM init failed (check log file)". > > > > On debugging in gdb I found the error line to be at > > The log file will usually provide some useful info. Do you have /dev/ > log working? > > > system/core/libcutils/ashmem-dev.c:60 ret = ioctl(fd, > > ASHMEM_SET_SIZE, size) > > ; -- with errno set to -ENOTTY. > > Do you have the ashmem driver working? > > > > --~--~---------~--~----~------------~-------~--~----~ unsubscribe: [email protected] website: http://groups.google.com/group/android-porting -~----------~----~----~----~------~----~------~--~---
