On 14 Dec 2014 02:17, "Yin Lv" <[email protected]> wrote:
> Hi All, > I'm porting Android L 5.0.1r onto a MIPS platform. Now, it always happens > below ART crash in "JNI_CreateJavaVM" during the system booting up. > > I checked the code under $Android/art/runtime/arch/mips/ and found below > *code*. From this code, looks MIPS does not implement the " > *art_quick_generic_jni_trampoline*". BTW, I found the other platforms > (ARM/XB6) have valid implementation of " > *art_quick_generic_jni_trampoline*" function, > So, does this mean the ART in Android 5.0.1r1 does not support MIPS > completely, and below ART crash is expected? > if not, any suggestion for below crash? > > Thanks in advance for any help!!! > > *============ Code ==============* > *File: $Android/art/runtime/arch/mips/quick_entrypoints_mips.S* > *...* > *END art_quick_resolution_trampoline* > > *UNIMPLEMENTED art_quick_generic_jni_trampoline* > > *.extern artQuickToInterpreterBridge* > *....* > > > *========= Error Logcat log ============* > > I/dex2oat ( 327): Verify none mode specified, skipping verification. > W/dex2oat ( 327): Compilation of void > org.ccil.cowan.tagsoup.HTMLSchema.<init>() took 112.934ms > W/dex2oat ( 327): Compilation of boolean > android.app.ActivityManagerNative.onTransact(int, android.os.Parcel, > android.os.Parcel, int) took 1s > E/dex2oat ( 327): start to create image file > /data/dalvik-cache/mips/system@[email protected] > I/dex2oat ( 327): Explicit concurrent mark sweep GC freed 214729(20MB) > AllocSpace objects, 0(0B) LOS objects, 30% free, 9MB/13MB, paused 12.s > I/dex2oat ( 327): dex2oat took 179.839s (threads: 1) > W/art ( 325): Could not create image space with image file > '/system/framework/boot.art'. Attempting to fall back to imageless running. > E0 > W/art ( 325): Verification of void > android.system.OsConstants.<clinit>() took 435.364ms > F/libc ( 325): Fatal signal 5 (SIGTRAP), code 128 in tid 325 (main) > I/DEBUG ( 56): *** *** *** *** *** *** *** *** *** *** *** *** *** *** > *** *** > I/DEBUG ( 56): Build fingerprint: > 'Android/clouder_mips/tank:5.0.1/LRX22C/mchi12131144:eng/test-keys' > I/DEBUG ( 56): Revision: '1' > I/DEBUG ( 56): ABI: 'mips' > I/DEBUG ( 56): pid: 325, tid: 325, name: main >>> zygote <<< > I/DEBUG ( 56): signal 5 (SIGTRAP), code 128 (SI_KERNEL), fault addr > 0x145 > I/DEBUG ( 56): zr 00000000 at 00000001 v0 7497bc80 v1 00000043 > I/DEBUG ( 56): a0 708f9768 a1 74e7d348 a2 7ff46f18 a3 74e07800 > I/DEBUG ( 56): t0 00000000 t1 12c29040 t2 00000001 t3 00000001 > I/DEBUG ( 56): t4 00000100 t5 00000000 t6 00000000 t7 00000000 > I/DEBUG ( 56): s0 000003e8 s1 74e07800 s2 7ff4703c s3 00000000 > I/DEBUG ( 56): s4 708f9768 s5 7ff46ef8 s6 6dca9e00 s7 7ff46f08 > I/DEBUG ( 56): t8 00000009 t9 7497bc80 k0 00000001 k1 00000000 > I/DEBUG ( 56): gp 74dfd8c0 sp 7ff46df0 s8 7ff46e00 ra 74977300 > I/DEBUG ( 56): hi 00000466 lo 8b956cd3 bva 7fff7008 epc 7497bc80 > I/DEBUG ( 56): > I/DEBUG ( 56): backtrace: > *I/DEBUG ( 56): #00 pc 000cbc80 /system/lib/libart.so > (art_quick_generic_jni_trampoline)* > I/DEBUG ( 56): #02 pc 0030d2e0 /system/lib/libart.so > (art::mirror::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, > art:) > I/DEBUG ( 56): #03 pc 004227c8 /system/lib/libart.so > (artInterpreterToCompiledCodeBridge+168) > I/DEBUG ( 56): #04 pc 00252ecc /system/lib/libart.so (bool > art::interpreter::DoCall<false, false>(art::mirror::ArtMethod*, art::Thre) > I/DEBUG ( 56): #05 pc 000ba1f8 /system/lib/libart.so (art::JValue > art::interpreter::ExecuteGotoImpl<false, false>(art::Thread*, art:) > I/DEBUG ( 56): #06 pc 0022c54c /system/lib/libart.so > (art::interpreter::EnterInterpreterFromStub(art::Thread*, > art::MethodHelper&, a) > I/DEBUG ( 56): #07 pc 0045ee90 /system/lib/libart.so > (artQuickToInterpreterBridge+712) > I/DEBUG ( 56): #08 pc 000cbce0 /system/lib/libart.so > (art_quick_to_interpreter_bridge+80) > I/DEBUG ( 56): #09 pc 000c7300 /system/lib/libart.so > (art_quick_invoke_stub+112) > > > > > -- > -- > unsubscribe: [email protected] > 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 [email protected]. > For more options, visit https://groups.google.com/d/optout. > -- -- unsubscribe: [email protected] 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
