Launcher Crash in bringing up Latest Android with ranchu device and qemu with ranchu board

83 views
Skip to first unread message

Raghav Mahajan

unread,
Oct 23, 2017, 10:07:24 AM10/23/17
to Android Building
I am using following command to launch qemu ::

>> ./aarch64-softmmu/qemu-system-aarch64 -machine type=ranchu -cpu cortex-a57 -m 2048 -serial mon:stdio -show-cursor -kernel ranchu-kernel/Image -append 'console=ttyAMA0,38400 keep_bootcon' -initrd AOSP/out/target/product/ranchu/ramdisk.img -drive index=2,id=userdata,file=AOSP/out/target/product/ranchu/userdata.img -device virtio-blk-device,drive=userdata -device virtio-blk-device,drive=cache -drive index=1,id=cache,file=AOSP/out/target/product/ranchu/cache.img -device virtio-blk-device,drive=system -drive index=0,id=system,file=AOSP/out/target/product/ranchu/system.img -netdev user,id=mynet -device virtio-net-device,netdev=mynet

I am getting following crash::

init: starting service 'hidl_memory'...
capability: warning: `main' uses 32-bit capabilities (legacy support in use)
init: starting service 'configstore-hal-1-0'...
init: Command 'class_start hal' action=boot (/init.rc:641) took 1837ms and succeeded
init: starting service 'healthd'...
init: starting service 'lmkd'...
DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
DEBUG: Build fingerprint: 'Android/ranchu/ranchu:P/OC/raghav10060211:eng/test-keys'
DEBUG: Revision: '0'
DEBUG: ABI: 'arm64'
DEBUG: pid: 867, tid: 867, name: main  >>> zygote64 <<<
DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
DEBUG: Abort message: 'couldn't find an OpenGL ES implementation'
DEBUG:     x0   0000000000000000  x1   0000000000000363  x2   0000000000000006  x3   0000000000000008
DEBUG:     x4   0000000000000000  x5   0000000000000000  x6   0000000000000000  x7   7f7f7f7f7f7f7f7f
DEBUG:     x8   0000000000000083  x9   b247529e1f074eac  x10  0000000000000000  x11  0000000000000001
DEBUG:     x12  ffffffffffffffff  x13  ffffffffffffffff  x14  ff00000000000000  x15  ffffffffffffffff
DEBUG:     x16  0000007b079fbfa8  x17  0000007b04f9073c  x18  0000000000000008  x19  0000000000000363
DEBUG:     x20  0000000000000363  x21  0000007b06624048  x22  0000000000000000  x23  0000007b079efa30
DEBUG:     x24  0000007b066240d4  x25  0000007b06624048  x26  0000000012eb07a8  x27  00000000707dbad8
DEBUG:     x28  0000000012c087d0  x29  0000007fe2ff70e0  x30  0000007b04f45bf8
DEBUG:     sp   0000007fe2ff70a0  pc   0000007b04f45c14  pstate 0000000060000000

DEBUG: backtrace:
DEBUG:     #00 pc 000000000001dc14  /system/lib64/libc.so (abort+104)
DEBUG:     #01 pc 0000000000007f8c  /system/lib64/liblog.so (__android_log_assert+304)
DEBUG:     #02 pc 0000000000017e34  /system/lib64/libEGL.so (android::Loader::open(android::egl_connection_t*)+724)
DEBUG:     #03 pc 0000000000011bf4  /system/lib64/libEGL.so (android::egl_init_drivers()+100)
DEBUG:     #04 pc 0000000000011e98  /system/lib64/libEGL.so (eglGetDisplay+152)
DEBUG:     #05 pc 00000000000ba4f0  /system/lib64/libandroid_runtime.so (android_eglGetDisplayInt(_JNIEnv*, _jobject*, int)+56)
DEBUG:     #06 pc 0000000000bffb48  /system/framework/arm64/boot-framework.oat (offset 0x5d2000) (android.hardware.usb.UsbDevice.native_get_device_name [DEDUPED]+152)
DEBUG:     #07 pc 000000000156ac08  /system/framework/arm64/boot-framework.oat (offset 0x5d2000) (com.android.internal.os.ZygoteInit.preload+456)
DEBUG:     #08 pc 0000000001569f58  /system/framework/arm64/boot-framework.oat (offset 0x5d2000) (com.android.internal.os.ZygoteInit.main+2040)
DEBUG:     #09 pc 000000000055024c  /system/lib64/libart.so (art_quick_invoke_static_stub+604)
DEBUG:     #10 pc 00000000000de968  /system/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+260)
DEBUG:     #11 pc 00000000004745b8  /system/lib64/libart.so (art::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::ArgArray*, art::JValue*, char const*)+104)
DEBUG:     #12 pc 0000000000474220  /system/lib64/libart.so (art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+420)
DEBUG:     #13 pc 00000000003790e4  /system/lib64/libart.so (art::JNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+620)
DEBUG:     #14 pc 00000000001121fc  /system/lib64/libart.so (art::CheckJNI::CallMethodV(char const*, _JNIEnv*, _jobject*, _jclass*, _jmethodID*, std::__va_list, art::Primitive::Type, art::InvokeType)+2668)
DEBUG:     #15 pc 00000000001029c0  /system/lib64/libart.so (art::CheckJNI::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+92)
DEBUG:     #16 pc 00000000000a7c78  /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+120)
DEBUG:     #17 pc 00000000000aa330  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+832)
DEBUG:     #18 pc 0000000000002458  /system/bin/app_process64 (main+1328)
DEBUG:     #19 pc 00000000000a1e44  /system/lib64/libc.so (__libc_init+88)
DEBUG:     #20 pc 0000000000001e74  /system/bin/app_process64 (_start_main+76)

I have checked libEGL.so is present in /system/lib64

What am I missing in this?
How can I resolve this crash?
Reply all
Reply to author
Forward
0 new messages