MI 8 Lite Android9 monkey 异常

每次小米审核都会在monkey测试中报出问题,我们与上一版的区别就是升级声网sdk到 2.9.0.103
更详细日志可以发邮件回复

signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x7
包名
null
#00 pc 002aa3ce /system/lib/libart.so (art::JNI::GetStringCritical(_JNIEnv*, _jstring*, unsigned char*)+490)
#01 pc 000bfe29 /system/lib/libandroid_runtime.so (android::android_os_Parcel_writeString(_JNIEnv*, _jclass*, long long, _jstring*)+30)
#02 pc 00a76c43 /system/framework/arm/boot-framework.oat (offset 0x9de000) (android.app.admin.SecurityLog.readEventsOnWrapping [DEDUPED]+130)
#03 pc 0146af17 /system/framework/arm/boot-framework.oat (offset 0x9de000) (android.os.Parcel$ReadWriteHelper.writeString+54)
#04 pc 01475603 /system/framework/arm/boot-framework.oat (offset 0x9de000) (android.os.Parcel.writeString+58)
#05 pc 011eb7bf /system/framework/arm/boot-framework.oat (offset 0x9de000) (android.content.ContentProviderProxy.call+118)
#06 pc 014e6c7b /system/framework/arm/boot-framework.oat (offset 0x9de000) (android.provider.Settings$NameValueCache.getStringForUser+1138)
#07 pc 01af3cdd /system/framework/arm/boot-framework.oat (offset 0x9de000) (android.provider.Settings$Global.getStringForUser+116)
#08 pc 01af5485 /system/framework/arm/boot-framework.oat (offset 0x9de000) (android.provider.Settings$Secure.getStringForUser+948)
#09 pc 01af4c25 /system/framework/arm/boot-framework.oat (offset 0x9de000) (android.provider.Settings$Secure.getIntForUser+116)
#10 pc 01af4a79 /system/framework/arm/boot-framework.oat (offset 0x9de000) (android.provider.Settings$Secure.getInt+64)
#11 pc 0040e575 /system/lib/libart.so (art_quick_invoke_stub_internal+68)
#12 pc 003e80cb /system/lib/libart.so (art_quick_invoke_static_stub+222)
#13 pc 000a1427 /system/lib/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+154)
#14 pc 0034886d /system/lib/libart.so (art::(anonymous namespace)::InvokeWithArgArray(art::ScopedObjectAccessAlreadyRunnable const&, art::ArtMethod*, art::(anonymous namespace)::ArgArray*, art::JValue*, char const*)+52)
#15 pc 00348697 /system/lib/libart.so (art::InvokeWithVarArgs(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+310)
#16 pc 0028b2e1 /system/lib/libart.so (art::JNI::CallStaticIntMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+444)
#17 pc 0001992d anonymous:d67bc000

从你提供的堆栈信息来看,里面是没有 Agora 的库文件的,应该不是 crash 在了 Agora SDK。

请提供以下信息,我们来做进一步的确认:

  1. 崩溃对应的现象是闪退还是卡住?
  2. 必现还是偶现?如果是偶现,发生概率大约是多少?
  3. 是做了什么操作后 crash 的?(复现步骤)