执行本机代码时得到了SIGSEGV

时间:2019-10-24 08:45:40

标签: android android-studio mono

我们在c#点网中有一个代码。使用mono-embeddinator,我们创建了一个本地AAR文件。现在,我们正在android studio应用程序中使用此AAR文件。

执行该应用程序时,访问此AAR文件的任何对象时,它会崩溃。例外:

  1. 在执行本机代码时获得了SIGSEGV。通常,这表明Mono运行时或应用程序使用的本机库之一发生致命错误。

有时会收到其他异常:

---------崩溃开始 2019-10-25 09:38:41.117 A / libc:无效地址0x714a2df940传递给free:未分配值 2019-10-25 09:38:41.118 A / libc:致命信号6(SIGABRT),tid 27395(ers.com.sumoapp)中的代码-6,pid 27395(ers.com.sumoapp) 2019-10-25 09:38:41.454 I / crash_dump64:从逻辑删除获取输出fd,类型:kDebuggerdTombstone 2019-10-25 09:38:41.460 I // system / bin / tombstoned:收到pid 27395的崩溃请求 2019-10-25 09:38:41.469 I / crash_dump64:执行过程27395的转储(目标tid = 27395) 2019-10-25 09:38:41.470 A / DEBUG: * < / em> < strong> > 2019-10-25 09:38:41.470 A / DEBUG:构建指纹:'Nokia / TA-1021_00A0 / PLE:8.1.0 / OPR1.170623.026 / 00A0_5_580:user / release-keys' 2019-10-25 09:38:41.470 A / DEBUG:修订:'0' 2019-10-25 09:38:41.470 A / DEBUG:ABI:'arm64' 2019-10-25 09:38:41.470 A / DEBUG:pid:27395,tid:27395,名称:ers.com.sumoapp >>> sumoapp <<< 2019-10-25 09:38:41.470 A / DEBUG:信号6(SIGABRT),代码-6(SI_TKILL),故障加法器-------- 2019-10-25 09:38:41.485 A / DEBUG:中止消息:``无效地址0x714a2df940传递给free:未分配值'' 2019-10-25 09:38:41.486 A / DEBUG:x0 0000000000000000 x1 0000000000006b03 x2 0000000000000006 x3 0000000000000008 2019-10-25 09:38:41.486 A / DEBUG:x4 8000000000808080 x5 8000000000808080 x6 8000000000808080 x7 0000000000000008 2019-10-25 09:38:41.486 A / DEBUG:x8 0000000000000083 x9 0000000010000000 x10 0000007fea232a50 x11 0000000000000001 2019-10-25 09:38:41.486 A / DEBUG:x12 0000000000000000 x13 000000005db27549 x14 00065be258e4e429 x15 0000a9ba85543f40 2019-10-25 09:38:41.486 A / DEBUG:x16 00000061b136efa8 x17 00000071eca3ac1c x18 0000000000000020 x19 0000000000006b03 2019-10-25 09:38:41.486 A / DEBUG:x20 0000000000006b03 x21 0000000000000083 x22 0000000000000000 x23 00000071ecaa98b8 2019-10-25 09:38:41.486 A / DEBUG:x24 00000071ecaa9934 x25 00000071692c2a00 x26 00000071ede5ba40 x27 0000000000000043 2019-10-25 09:38:41.486 A / DEBUG:x28 00000071ede5ba40 x29 0000007fea232a90 x30 00000071ec9efb6c 2019-10-25 09:38:41.486 A / DEBUG:sp 0000007fea232a50 pc 00000071ec9efb94 pstate 0000000060000000 2019-10-25 09:38:41.924 W / ResourceType:获取资源号0x00000000的值时没有包标识符 2019-10-25 09:38:41.926 D / NetworkController.MobileSignalController(3):updateTelephony:hasService = true ss = SignalStrength:99 0 -120 -160 -120 -1 -1 20 -98 -9 152 2147483647 0 2147483647 gsm | lte 99 99 2019-10-25 09:38:41.927 I / NetworkController.MobileSignalController(3):updateVoiceNetworkType voiceNetType:13 mCurrentState.connected:true 2019-10-25 09:38:41.930 I / NetworkController.MobileSignalController(3):isShowSXLTEStyle:假isRoaming:假 2019-10-25 09:38:42.010 A / DEBUG:回溯: 2019-10-25 09:38:42.010 A / DEBUG:#00 pc 000000000001db94 /system/lib64/libc.so(中止+120) 2019-10-25 09:38:42.010 A / DEBUG:#01 pc 0000000000094da0 /system/lib64/libc.so(ifree + 816) 2019-10-25 09:38:42.010 A / DEBUG:#02 pc 0000000000095018 /system/lib64/libc.so(je_free + 120) 2019-10-25 09:38:42.010 A / DEBUG:#03 pc 0000000000384c54 /system/lib64/libart.so(art :: JNI :: ReleaseStringCritical(_JNIEnv ,_jstring *,unsigned short const *)+ 660) 2019-10-25 09:38:42.010 A / DEBUG:#04 pc 0000000000115c4c /system/lib64/libart.so(art :: CheckJNI :: ReleaseStringCharsInternal(char const *,_JNIEnv *,_jstring *,void const *,bool ,bool)+908) 2019-10-25 09:38:42.010 A / DEBUG:#05 pc 00000000001127a0 /system/lib64/libandroid_runtime.so(android :: android_os_Parcel_writeInterfaceToken(_JNIEnv *,_jclass *,long,_jstring *)+ 160) 2019-10-25 09:38:42.010 A / DEBUG:#06 pc 00000000008c1264 /system/framework/arm64/boot-framework.oat(offset 0x626000)(android.app.admin.SecurityLog.readEventsOnWrapping [DEDUPED] +180) 2019-10-25 09:38:42.010 A / DEBUG:#07 pc 000000000009bfd4 / dev / ashmem / dalvik-jit-code-cache(已删除) 2019-10-25 09:38:42.114 I / mmid:选择超时:等待接收消息 2019-10-25 09:38:43.970 E // system / bin / tombstoned:将墓碑写入:/ data / tombstones / tombstone_08

0 个答案:

没有答案