Hello,
IMX6 android5.0.2 user load cannot boot up,relative log as below,
01-01 00:02:01.879 F/dex2oat ( 429): art/runtime/runtime.cc:284]
01-01 00:02:01.879 F/libc ( 429): Fatal signal 6 (SIGABRT), code -6 in tid 429 (main)
01-01 00:02:01.981 I/DEBUG ( 152): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-01 00:02:01.981 I/DEBUG ( 152): Build fingerprint: 'Freescale/em70/em70:5.0.2/1.0.0-ga-rc4/10200211:user/release-keys'
01-01 00:02:01.981 I/DEBUG ( 152): Revision: '0'
01-01 00:02:01.981 I/DEBUG ( 152): ABI: 'arm'
01-01 00:02:01.981 I/DEBUG ( 152): pid: 429, tid: 429, name: main >>> /system/bin/dex2oat <<<
01-01 00:02:01.981 I/DEBUG ( 152): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
01-01 00:02:02.010 I/DEBUG ( 152): Abort message: 'art/runtime/runtime.cc:820] Check failed: options->boot_class_path_ != nullptr '
01-01 00:02:02.010 I/DEBUG ( 152): r0 00000000 r1 000001ad r2 00000006 r3 00000000
01-01 00:02:02.010 I/DEBUG ( 152): r4 76f8b114 r5 00000006 r6 00000002 r7 0000010c
01-01 00:02:02.010 I/DEBUG ( 152): r8 00000001 r9 7664f490 sl 76607400 fp 766501c0
01-01 00:02:02.010 I/DEBUG ( 152): ip 000001ad sp 7e88bf60 lr 76f14119 pc 76f38344 cpsr 600f0010
01-01 00:02:02.010 I/DEBUG ( 152):
01-01 00:02:02.010 I/DEBUG ( 152): backtrace:
01-01 00:02:02.010 I/DEBUG ( 152): #00 pc 0003b344 /system/lib/libc.so (tgkill+12)
01-01 00:02:02.010 I/DEBUG ( 152): #01 pc 00017115 /system/lib/libc.so (pthread_kill+52)
01-01 00:02:02.010 I/DEBUG ( 152): #02 pc 00017d33 /system/lib/libc.so (raise+10)
01-01 00:02:02.011 I/DEBUG ( 152): #03 pc 00014589 /system/lib/libc.so (__libc_android_abort+36)
01-01 00:02:02.011 I/DEBUG ( 152): #04 pc 00012a40 /system/lib/libc.so (abort+4)
01-01 00:02:02.011 I/DEBUG ( 152): #05 pc 00215895 /system/lib/libart.so (art::Runtime::Abort()+160)
01-01 00:02:02.011 I/DEBUG ( 152): #06 pc 000a6e93 /system/lib/libart.so (art::LogMessage::~LogMessage()+1322)
01-01 00:02:02.011 I/DEBUG ( 152): #07 pc 00217c4d /system/lib/libart.so
(art::Runtime::Init(std::__1::vector<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*> > > const&, bool)+4944)
01-01 00:02:02.011 I/DEBUG ( 152): #08 pc 0021880b /system/lib/libart.so (art::Runtime::Create(std::__1::vector<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*>, std::__1::allocator<std::__1::pair<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, void const*> > > const&, bool)+46)
01-01 00:02:02.011 I/DEBUG ( 152): #09 pc 0000aa09 /system/bin/dex2oat
01-01 00:02:02.011 I/DEBUG ( 152): #10 pc 0000deaf /system/bin/dex2oat
01-01 00:02:02.011 I/DEBUG ( 152): #11 pc 000128f1 /system/lib/libc.so (__libc_init+44)
01-01 00:02:02.011 I/DEBUG ( 152): #12 pc 00006508 /system/bin/dex2oat
01-01 00:02:02.072 I/DEBUG ( 152):
01-01 00:02:02.072 I/DEBUG ( 152): Tombstone written to: /data/tombstones/tombstone_01
01-01 00:02:02.073 E/installd( 155): DexInv: --- END '/system/framework/services.jar' --- status=0x0006, process failed
01-01 00:02:02.074 I/art ( 416): DexFile_isDexOptNeeded failed to open oat file '/data/dalvik-cache/arm/system@framework@ethernet-service.jar@classes.dex' for file location '/system/framework/ethernet-service.jar': Failed to open oat filename for reading: No such file or directory
01-01 00:02:02.074 I/art ( 416): DexFile_isDexOptNeeded failed to open oat file '/system/framework/arm/ethernet-service.odex' for file location '/system/framework/ethernet-service.jar': Failed to open oat filename for reading: No such file or directory
01-01 00:02:02.108 E/cutils-trace( 431): Error opening trace file: Permission denied (13)
what's the root cause of this crash issue? I see no odex files generated under system folder, but other 5.0 deivces like nexus have odex files generated, so is this the possible
reason. Besides, I found there is a code change in dex_preopt_libart.mk, LIBART_IMG_TARGET_BASE_ADDRESS := 0x50000000, what does this change mean? Could you
give me a suggest to fix this issue and boot up successfully?
Thanks!