After further inspection, we found this is because all our 32-bit process does not have [stack] line in their /proc/<pid>/maps. But a 32-bit process on nexus 9 has that line.
It seems a kernel issue. David於 2015年6月23日星期二 UTC+8上午6時50分48秒寫道: > > Hi, > > I am porting Android 5.1.1 to a 64-bit SoC. The kernel is 64-bit. > > We build multilib with ro.zygote=zygote64_32. The booting crashed with > the following log: > > W/art ( 144): WARNING!!!: Incomplete boot detected. Pruning dalvik > cache > F/libc ( 144): No [stack] line found in "/proc/self/task/144/maps"! > F/libc ( 144): Fatal signal 6 (SIGABRT), code -6 in tid 144 (zygote) > I/DEBUG ( 67): *** *** *** *** *** *** *** *** *** *** *** *** *** *** > *** *** > I/DEBUG ( 67): Build fingerprint: > I/DEBUG ( 67): Revision: '0' > I/DEBUG ( 67): ABI: 'arm' > I/DEBUG ( 67): pid: 144, tid: 144, name: zygote >>> zygote <<< > I/DEBUG ( 67): signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr > -------- > I/DEBUG ( 67): Abort message: 'No [stack] line found in > "/proc/self/task/144/maps"!' > I/DEBUG ( 67): r0 00000000 r1 00000090 r2 00000006 r3 00000000 > I/DEBUG ( 67): r4 f7317e38 r5 00000006 r6 00000000 r7 0000010c > I/DEBUG ( 67): r8 ff9968dc r9 f71efcbc sl f71d9fe8 fp aaef0b30 > I/DEBUG ( 67): ip 00000090 sp ff996848 lr f71a5dbd pc f71cbed4 > cpsr 600f0010 > I/DEBUG ( 67): > I/DEBUG ( 67): backtrace: > I/DEBUG ( 67): #00 pc 0003ced4 /system/lib/libc.so (tgkill+12) > I/DEBUG ( 67): #01 pc 00016db9 /system/lib/libc.so > (pthread_kill+52) > I/DEBUG ( 67): #02 pc 000179cf /system/lib/libc.so (raise+10) > I/DEBUG ( 67): #03 pc 00014171 /system/lib/libc.so > (__libc_android_abort+36) > I/DEBUG ( 67): #04 pc 000124f8 /system/lib/libc.so (abort+4) > I/DEBUG ( 67): #05 pc 000154a7 /system/lib/libc.so > (__libc_fatal+16) > I/DEBUG ( 67): #06 pc 00016225 /system/lib/libc.so > (__pthread_attr_getstack_main_thread(void**, unsigned int*)+216) > I/DEBUG ( 67): #07 pc 002402f7 /system/lib/libart.so > (art::GetThreadStack(long, void**, unsigned int*, unsigned int*)+34) > I/DEBUG ( 67): #08 pc 00224c3f /system/lib/libart.so > (art::Thread::InitStackHwm()+34) > I/DEBUG ( 67): #09 pc 00225249 /system/lib/libart.so > (art::Thread::Init(art::ThreadList*, art::JavaVMExt*)+324) > I/DEBUG ( 67): #10 pc 00229b67 /system/lib/libart.so > (art::Thread::Attach(char const*, bool, _jobject*, bool)+114) > I/DEBUG ( 67): #11 pc 00217a29 /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 cons) > I/DEBUG ( 67): #12 pc 0021964f /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 co) > I/DEBUG ( 67): #13 pc 001d291d /system/lib/libart.so > (JNI_CreateJavaVM+432) > I/DEBUG ( 67): #14 pc 000603cb /system/lib/libandroid_runtime.so > (android::AndroidRuntime::startVm(_JavaVM**, _JNIEnv**)+2286) > I/DEBUG ( 67): #15 pc 00060a13 /system/lib/libandroid_runtime.so > (android::AndroidRuntime::start(char const*, > android::Vector<android::String8> const&)+258) > I/DEBUG ( 67): #16 pc 00001675 /system/bin/app_process32 > I/DEBUG ( 67): #17 pc 000123a9 /system/lib/libc.so > (__libc_init+44) > I/DEBUG ( 67): #18 pc 000017b0 /system/bin/app_process32 > I/DEBUG ( 67): > I/DEBUG ( 67): Tombstone written to: /data/tombstones/tombstone_03 > > > This seems 32-bit zygote crash. We also find if we build 32-bit dex2oat, > it crashes on such stack trace. > So we build dex2oat with 64-bit now (We also don't know if this is > correct. Because on Nexus 9(flounder), dex2oat seems a 32-bit elf) > > > Any one could give some hint? > -- -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-porting+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.