问答

搜索

1
回答

222
浏览

Android SDK出现OOM crash

1、BUG现象 使用Android版SDK时,点击开始会议,然后结束会议,再次点击开始会议,然后结束,重复三次,第四次的时候必现OOM崩溃,怀疑是底层未释放资源导致。 2、复现环境 手机使用的小米3,WIFI网络,运行其他SIP客户端正常。MIUI 9.8.1.11,Android 6.0.1 3、错误信息如下 01-26 13:56:23.520 27885-27885/com.tucodec.cn.android_voip_simple_demo W/art: Throwing OutOfMemoryError "Failed to allocate a 7000012 byte allocation with 657544 free bytes and 642KB until OOM" 01-26 13:56:23.537 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] JNI DETECTED ERROR IN APPLICATION: JNI NewGlobalRef called with pending exception java.lang.OutOfMemoryError: Failed to allocate a 7000012 byte allocation with 657544 free bytes and 642KB until OOM 01-26 13:56:23.537 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at long com.tucodec.voip.TYVoipAndroid.createContext(long, int) ((null):-2) 01-26 13:56:23.537 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at void com.tucodec.voip.TYVoipAndroid.initVoip(com.tucodec.voip.TYVoipVideoCapture) ((null):-1) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at void com.tucodec.cn.android_voip_simple_demo.MeetingActivity.initGroupChat() (MeetingActivity.java:238) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at void com.tucodec.cn.android_voip_simple_demo.MeetingActivity.onCreate(android.os.Bundle) (MeetingActivity.java:95) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6357) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1108) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2436) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2543) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at void android.app.ActivityThread.access$1000(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:156) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1407) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at void android.os.Looper.loop() (Looper.java:157) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:5653) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:746) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:636) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] in call to NewGlobalRef 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] from long com.tucodec.voip.TYVoipAndroid.createContext(long, int) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] "main" prio=5 tid=1 Runnable 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] | group="main" sCount=0 dsCount=0 obj=0x74e423c0 self=0xb4c76500 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] | sysTid=27885 nice=-10 cgrp=default sched=0/0 handle=0xb6f15b34 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] | state=R schedstat=( 13036734087 1448755945 9125 ) utm=1114 stm=189 core=3 HZ=100 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] | stack=0xbe3c2000-0xbe3c4000 stackSize=8MB 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] | held mutexes= "mutator lock"(shared held) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] native: #00 pc 00371597 /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+142) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] native: #01:Android SDK出现OOM crash pc 003504f3 /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEP12BacktraceMap+166) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] native: #02 pc 0025a803 /system/lib/libart.so (ZN3art9JavaVMExt8JniAbortEPKcS2+742) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] native: #03 pc 0025aedd /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+64) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] native: #04 pc 000fd491 /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+32) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] native: #05 pc 001025a5 /system/lib/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE.constprop.95+5072) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] native: #06 pc 00114991 /system/lib/libart.so (_ZN3art8CheckJNI12NewGlobalRefEP7_JNIEnvP8_jobject+392) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] native: #07 pc 000eafd7 /data/app/com.tucodec.cn.android_voip_simple_demo-2/lib/arm/libvoip_android.so (_ZN7_JNIEnv12NewGlobalRefEP8_jobject+28) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] native: #08 pc 000eaebd /data/app/com.tucodec.cn.android_voip_simple_demo-2/lib/arm/libvoip_android.so (Java_com_tucodec_voip_TYVoipAndroid_createContext+452) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] native: #09 pc 000eab59 /system/lib/libart.so (art_quick_generic_jni_trampoline+40) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] native: #10 pc 000e6461 /system/lib/libart.so (art_quick_invoke_stub_internal+64) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] native: #11 pc 0040300d /system/lib/libart.so (art_quick_invoke_stub+188) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] native: #12 pc 007fd0d4 [stack] (???) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at com.tucodec.voip.TYVoipAndroid.createContext(Native method) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at com.tucodec.voip.TYVoipAndroid.initVoip(unavailable:-1) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at com.tucodec.cn.android_voip_simple_demo.MeetingActivity.initGroupChat(MeetingActivity.java:238) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at com.tucodec.cn.android_voip_simple_demo.MeetingActivity.onCreate(MeetingActivity.java:95) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at android.app.Activity.performCreate(Activity.java:6357) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2436) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2543) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at android.app.ActivityThread.access$1000(ActivityThread.java:156) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1407) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at android.os.Handler.dispatchMessage(Handler.java:102) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at android.os.Looper.loop(Looper.java:157) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at android.app.ActivityThread.main(ActivityThread.java:5653) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at java.lang.reflect.Method.invoke!(Native method) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:746) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636) 01-26 13:56:23.538 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/java_vm_ext.cc:410] 01-26 13:56:23.635 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] Runtime aborting... 01-26 13:56:23.635 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] Aborting thread: 01-26 13:56:23.635 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] "main" prio=10 tid=1 Native 01-26 13:56:23.635 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | group="" sCount=0 dsCount=0 obj=0x74e423c0 self=0xb4c76500 01-26 13:56:23.635 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | sysTid=27885 nice=-10 cgrp=default sched=0/0 handle=0xb6f15b34 01-26 13:56:23.635 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | state=R schedstat=( 13053831691 1448856726 9126 ) utm=1115 stm=190 core=3 HZ=100 01-26 13:56:23.635 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | stack=0xbe3c2000-0xbe3c4000 stackSize=8MB 01-26 13:56:23.635 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | held mutexes= "abort lock" 01-26 13:56:23.635 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #00 pc 00371597 /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+142) 01-26 13:56:23.635 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #01:Android SDK出现OOM crash pc 003504f3 /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEP12BacktraceMap+166) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #02 pc 003339dd /system/lib/libart.so (_ZNK3art10AbortState10DumpThreadERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEPNS_6ThreadE+28) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #03 pc 00333c7b /system/lib/libart.so (_ZN3art7Runtime5AbortEv+566) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #04 pc 000f48bb /system/lib/libart.so (_ZN3art10LogMessageD2Ev+2226) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #05 pc 0025ab2d /system/lib/libart.so (ZN3art9JavaVMExt8JniAbortEPKcS2+1552) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #06 pc 0025aedd /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+64) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #07 pc 000fd491 /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+32) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #08 pc 001025a5 /system/lib/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE.constprop.95+5072) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #09 pc 00114991 /system/lib/libart.so (_ZN3art8CheckJNI12NewGlobalRefEP7_JNIEnvP8_jobject+392) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #10 pc 000eafd7 /data/app/com.tucodec.cn.android_voip_simple_demo-2/lib/arm/libvoip_android.so (_ZN7_JNIEnv12NewGlobalRefEP8_jobject+28) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #11 pc 000eaebd /data/app/com.tucodec.cn.android_voip_simple_demo-2/lib/arm/libvoip_android.so (Java_com_tucodec_voip_TYVoipAndroid_createContext+452) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #12 pc 000eab59 /system/lib/libart.so (art_quick_generic_jni_trampoline+40) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #13 pc 000e6461 /system/lib/libart.so (art_quick_invoke_stub_internal+64) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #14 pc 0040300d /system/lib/libart.so (art_quick_invoke_stub+188) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #15 pc 007fd0d4 [stack] (???) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at com.tucodec.voip.TYVoipAndroid.createContext(Native method) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at com.tucodec.voip.TYVoipAndroid.initVoip(unavailable:-1) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at com.tucodec.cn.android_voip_simple_demo.MeetingActivity.initGroupChat(MeetingActivity.java:238) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at com.tucodec.cn.android_voip_simple_demo.MeetingActivity.onCreate(MeetingActivity.java:95) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at android.app.Activity.performCreate(Activity.java:6357) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2436) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2543) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at android.app.ActivityThread.access$1000(ActivityThread.java:156) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1407) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at android.os.Handler.dispatchMessage(Handler.java:102) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at android.os.Looper.loop(Looper.java:157) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at android.app.ActivityThread.main(ActivityThread.java:5653) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at java.lang.reflect.Method.invoke!(Native method) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:746) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] Pending exception java.lang.OutOfMemoryError: Failed to allocate a 7000012 byte allocation with 657544 free bytes and 642KB until OOM 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at long com.tucodec.voip.TYVoipAndroid.createContext(long, int) ((null):-2) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at void com.tucodec.voip.TYVoipAndroid.initVoip(com.tucodec.voip.TYVoipVideoCapture) ((null):-1) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at void com.tucodec.cn.android_voip_simple_demo.MeetingActivity.initGroupChat() (MeetingActivity.java:238) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at void com.tucodec.cn.android_voip_simple_demo.MeetingActivity.onCreate(android.os.Bundle) (MeetingActivity.java:95) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at void android.app.Activity.performCreate(android.os.Bundle) (Activity.java:6357) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at void android.app.Instrumentation.callActivityOnCreate(android.app.Activity, android.os.Bundle) (Instrumentation.java:1108) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at android.app.Activity android.app.ActivityThread.performLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2436) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at void android.app.ActivityThread.handleLaunchActivity(android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:2543) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at void android.app.ActivityThread.access$1000(android.app.ActivityThread, android.app.ActivityThread$ActivityClientRecord, android.content.Intent) (ActivityThread.java:156) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at void android.app.ActivityThread$H.handleMessage(android.os.Message) (ActivityThread.java:1407) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at void android.os.Handler.dispatchMessage(android.os.Message) (Handler.java:102) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at void android.os.Looper.loop() (Looper.java:157) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at void android.app.ActivityThread.main(java.lang.String[]) (ActivityThread.java:5653) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at java.lang.Object java.lang.reflect.Method.invoke!(java.lang.Object, java.lang.Object[]) (Method.java:-2) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at void com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run() (ZygoteInit.java:746) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at void com.android.internal.os.ZygoteInit.main(java.lang.String[]) (ZygoteInit.java:636) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] Dumping all threads without appropriate locks held: thread list lock mutator lock 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] All threads: 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] DALVIK THREADS (26): 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] "main" prio=10 tid=1 Runnable 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | group="" sCount=0 dsCount=0 obj=0x74e423c0 self=0xb4c76500 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | sysTid=27885 nice=-10 cgrp=default sched=0/0 handle=0xb6f15b34 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | state=R schedstat=( 13078766796 1448856726 9126 ) utm=1116 stm=191 core=3 HZ=100 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | stack=0xbe3c2000-0xbe3c4000 stackSize=8MB 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | held mutexes= "abort lock" "mutator lock"(shared held) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #00 pc 00371597 /system/lib/libart.so (_ZN3art15DumpNativeStackERNSt3__113basic_ostreamIcNS0_11char_traitsIcEEEEiP12BacktraceMapPKcPNS_9ArtMethodEPv+142) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #01:Android SDK出现OOM crash pc 003504f3 /system/lib/libart.so (_ZNK3art6Thread4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEEP12BacktraceMap+166) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #02 pc 0035adef /system/lib/libart.so (_ZN3art14DumpCheckpoint3RunEPNS_6ThreadE+478) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #03 pc 0035b9bd /system/lib/libart.so (_ZN3art10ThreadList13RunCheckpointEPNS_7ClosureEb+216) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #04 pc 0035c0a7 /system/lib/libart.so (_ZN3art10ThreadList4DumpERNSt3__113basic_ostreamIcNS1_11char_traitsIcEEEE+142) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #05 pc 00333bf1 /system/lib/libart.so (_ZN3art7Runtime5AbortEv+428) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #06 pc 000f48bb /system/lib/libart.so (_ZN3art10LogMessageD2Ev+2226) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #07 pc 0025ab2d /system/lib/libart.so (ZN3art9JavaVMExt8JniAbortEPKcS2+1552) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #08 pc 0025aedd /system/lib/libart.so (_ZN3art9JavaVMExt9JniAbortVEPKcS2_St9__va_list+64) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #09 pc 000fd491 /system/lib/libart.so (_ZN3art11ScopedCheck6AbortFEPKcz+32) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #10 pc 001025a5 /system/lib/libart.so (_ZN3art11ScopedCheck5CheckERNS_18ScopedObjectAccessEbPKcPNS_12JniValueTypeE.constprop.95+5072) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #11 pc 00114991 /system/lib/libart.so (_ZN3art8CheckJNI12NewGlobalRefEP7_JNIEnvP8_jobject+392) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #12 pc 000eafd7 /data/app/com.tucodec.cn.android_voip_simple_demo-2/lib/arm/libvoip_android.so (_ZN7_JNIEnv12NewGlobalRefEP8_jobject+28) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #13 pc 000eaebd /data/app/com.tucodec.cn.android_voip_simple_demo-2/lib/arm/libvoip_android.so (Java_com_tucodec_voip_TYVoipAndroid_createContext+452) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #14 pc 000eab59 /system/lib/libart.so (art_quick_generic_jni_trampoline+40) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #15 pc 000e6461 /system/lib/libart.so (art_quick_invoke_stub_internal+64) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #16 pc 0040300d /system/lib/libart.so (art_quick_invoke_stub+188) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #17 pc 007fd0d4 [stack] (???) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at com.tucodec.voip.TYVoipAndroid.createContext(Native method) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at com.tucodec.voip.TYVoipAndroid.initVoip(unavailable:-1) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at com.tucodec.cn.android_voip_simple_demo.MeetingActivity.initGroupChat(MeetingActivity.java:238) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at com.tucodec.cn.android_voip_simple_demo.MeetingActivity.onCreate(MeetingActivity.java:95) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at android.app.Activity.performCreate(Activity.java:6357) 01-26 13:56:23.636 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1108) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2436) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2543) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at android.app.ActivityThread.access$1000(ActivityThread.java:156) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1407) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at android.os.Handler.dispatchMessage(Handler.java:102) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at android.os.Looper.loop(Looper.java:157) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at android.app.ActivityThread.main(ActivityThread.java:5653) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at java.lang.reflect.Method.invoke!(Native method) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:746) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:636) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] "Signal Catcher" prio=10 tid=2 WaitingInMainSignalCatcherLoop 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | group="" sCount=1 dsCount=0 obj=0x32c0f100 self=0xaeb99000 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | sysTid=27891 nice=0 cgrp=default sched=0/0 handle=0xb420b930 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | state=S schedstat=( 1187813 1557864 5 ) utm=0 stm=0 core=1 HZ=100 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | stack=0xb410f000-0xb4111000 stackSize=1014KB 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | held mutexes= 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #00 pc 00040c70 /system/lib/libc.so (__rt_sigtimedwait+12) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #01:Android SDK出现OOM crash pc 0001ca57 /system/lib/libc.so (sigwait+22) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #02 pc 0033a7f5 /system/lib/libart.so (_ZN3art13SignalCatcher13WaitForSignalEPNS_6ThreadERNS_9SignalSetE+76) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #03 pc 0033b957 /system/lib/libart.so (_ZN3art13SignalCatcher3RunEPv+218) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #04 pc 0003f567 /system/lib/libc.so (_ZL15__pthread_startPv+30) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #05 pc 00019c37 /system/lib/libc.so (__start_thread+6) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] (no managed stack frames) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] "JDWP" prio=10 tid=3 WaitingInMainDebuggerLoop 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | group="" sCount=1 dsCount=0 obj=0x32c0f160 self=0xab51ea00 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | sysTid=27892 nice=0 cgrp=default sched=0/0 handle=0xb4107930 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | state=S schedstat=( 2153905 3874113 12 ) utm=0 stm=0 core=2 HZ=100 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | stack=0xb400b000-0xb400d000 stackSize=1014KB 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | held mutexes= 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #00 pc 00040b8c /system/lib/libc.so (__pselect6+20) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #01:Android SDK出现OOM crash pc 0001bda9 /system/lib/libc.so (select+60) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #02 pc 00401a3b /system/lib/libart.so (_ZN3art4JDWP12JdwpAdbState15ProcessIncomingEv+218) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #03 pc 00266f27 /system/lib/libart.so (_ZN3art4JDWP9JdwpState3RunEv+314) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #04 pc 00267da5 /system/lib/libart.so (_ZN3art4JDWPL15StartJdwpThreadEPv+16) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #05 pc 0003f567 /system/lib/libc.so (_ZL15__pthread_startPv+30) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #06 pc 00019c37 /system/lib/libc.so (__start_thread+6) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] (no managed stack frames) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] "HeapTaskDaemon" prio=10 tid=4 Blocked 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | group="" sCount=1 dsCount=0 obj=0x32c0f1c0 self=0xab521200 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | sysTid=27896 nice=0 cgrp=default sched=0/0 handle=0xb3cec930 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | state=S schedstat=( 214259119 54340464 154 ) utm=13 stm=8 core=0 HZ=100 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | stack=0xb3bea000-0xb3bec000 stackSize=1038KB 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | held mutexes= 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #00 pc 00017644 /system/lib/libc.so (syscall+32) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #01:Android SDK出现OOM crash pc 000f7089 /system/lib/libart.so (_ZN3art17ConditionVariable9TimedWaitEPNS_6ThreadExi+120) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #02 pc 001d764d /system/lib/libart.so (ZN3art2gc13TaskProcessor7GetTaskEPNS_6ThreadE+240) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #03 pc 001d7af9 /system/lib/libart.so (ZN3art2gc13TaskProcessor11RunAllTasksEPNS_6ThreadE+72) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #04 pc 0000036f /data/dalvik-cache/arm/system@framework@boot.oat (Java_dalvik_system_VMRuntime_runHeapTasks+74) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at dalvik.system.VMRuntime.runHeapTasks(Native method) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] - waiting to lock an unknown object 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at java.lang.Daemons$HeapTaskDaemon.run(Daemons.java:443) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at java.lang.Thread.run(Thread.java:818) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] "Binder:27885_1" prio=10 tid=5 Native 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | group="" sCount=1 dsCount=0 obj=0x32c0f220 self=0xab521c00 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | sysTid=27897 nice=0 cgrp=default sched=0/0 handle=0xb3ae9930 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | state=S schedstat=( 285762464 340092690 1370 ) utm=9 stm=19 core=3 HZ=100 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | stack=0xb39ed000-0xb39ef000 stackSize=1014KB 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | held mutexes= 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #00 pc 00040ac4 /system/lib/libc.so (__ioctl+8) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #01:Android SDK出现OOM crash pc 00047541 /system/lib/libc.so (ioctl+14) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #02 pc 0001e9e9 /system/lib/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+132) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #03 pc 0001eed7 /system/lib/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+6) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #04 pc 0001eff1 /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+48) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #05 pc 0002393d /system/lib/libbinder.so (???) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #06 pc 00010075 /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+112) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #07 pc 00063a87 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+70) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #08 pc 0003f567 /system/lib/libc.so (_ZL15__pthread_startPv+30) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #09 pc 00019c37 /system/lib/libc.so (__start_thread+6) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] (no managed stack frames) 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] "Binder:27885_2" prio=10 tid=6 Native 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | group="" sCount=1 dsCount=0 obj=0x32c0f280 self=0xaeb9a400 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | sysTid=27901 nice=0 cgrp=default sched=0/0 handle=0xb39d9930 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | state=S schedstat=( 278308621 330020155 1382 ) utm=10 stm=17 core=3 HZ=100 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | stack=0xb38dd000-0xb38df000 stackSize=1014KB 01-26 13:56:23.637 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | held mutexes= 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #00 pc 00040ac4 /system/lib/libc.so (__ioctl+8) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #01:Android SDK出现OOM crash pc 00047541 /system/lib/libc.so (ioctl+14) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #02 pc 0001e9e9 /system/lib/libbinder.so (_ZN7android14IPCThreadState14talkWithDriverEb+132) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #03 pc 0001eed7 /system/lib/libbinder.so (_ZN7android14IPCThreadState20getAndExecuteCommandEv+6) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #04 pc 0001eff1 /system/lib/libbinder.so (_ZN7android14IPCThreadState14joinThreadPoolEb+48) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #05 pc 0002393d /system/lib/libbinder.so (???) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #06 pc 00010075 /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+112) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #07 pc 00063a87 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+70) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #08 pc 0003f567 /system/lib/libc.so (_ZL15__pthread_startPv+30) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #09 pc 00019c37 /system/lib/libc.so (__start_thread+6) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] (no managed stack frames) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] "FinalizerDaemon" prio=10 tid=7 Waiting 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | group="" sCount=1 dsCount=0 obj=0x32c0f2e0 self=0xab520300 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | sysTid=27894 nice=0 cgrp=default sched=0/0 handle=0xb3efa930 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | state=S schedstat=( 12375833 18970260 46 ) utm=0 stm=1 core=0 HZ=100 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | stack=0xb3df8000-0xb3dfa000 stackSize=1038KB 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | held mutexes= 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #00 pc 00017640 /system/lib/libc.so (syscall+28) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #01:Android SDK出现OOM crash pc 000f6e09 /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+96) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #02 pc 002becf1 /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+1144) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #03 pc 002bfa4f /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+142) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #04 pc 002d1355 /system/lib/libart.so (_ZN3artL13Object_waitJIEP7_JNIEnvP8_jobjectxi+44) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #05 pc 0000055d /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Object_wait__JI+96) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at java.lang.Object.wait!(Native method) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] - waiting on <0x0a0166a8> (a java.lang.ref.ReferenceQueue) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at java.lang.Object.wait(Object.java:423) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:101) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] - locked <0x0a0166a8> (a java.lang.ref.ReferenceQueue) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:72) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:217) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at java.lang.Thread.run(Thread.java:818) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] "ReferenceQueueDaemon" prio=10 tid=8 Waiting 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | group="" sCount=1 dsCount=0 obj=0x32c0f340 self=0xab51f900 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | sysTid=27893 nice=0 cgrp=default sched=0/0 handle=0xb4001930 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | state=S schedstat=( 5085524 18246665 84 ) utm=0 stm=0 core=0 HZ=100 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | stack=0xb3eff000-0xb3f01000 stackSize=1038KB 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | held mutexes= 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #00 pc 00017640 /system/lib/libc.so (syscall+28) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #01:Android SDK出现OOM crash pc 000f6e09 /system/lib/libart.so (_ZN3art17ConditionVariable4WaitEPNS_6ThreadE+96) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #02 pc 002becf1 /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+1144) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #03 pc 002bfa4f /system/lib/libart.so (ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+142) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #04 pc 002d131b /system/lib/libart.so (ZN3artL11Object_waitEP7_JNIEnvP8_jobject+38) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #05 pc 0000036f /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Object_wait+74) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at java.lang.Object.wait!(Native method) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] - waiting on <0x0dd015c1> (a java.lang.Class) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at java.lang.Daemons$ReferenceQueueDaemon.run(Daemons.java:152) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] - locked <0x0dd015c1> (a java.lang.Class) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at java.lang.Thread.run(Thread.java:818) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] "FinalizerWatchdogDaemon" prio=10 tid=9 Sleeping 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | group="" sCount=1 dsCount=0 obj=0x32c0f3a0 self=0xab520d00 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | sysTid=27895 nice=0 cgrp=default sched=0/0 handle=0xb3df3930 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | state=S schedstat=( 1193904 15112189 11 ) utm=0 stm=0 core=0 HZ=100 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | stack=0xb3cf1000-0xb3cf3000 stackSize=1038KB 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] | held mutexes= 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #00 pc 00017644 /system/lib/libc.so (syscall+32) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #01:Android SDK出现OOM crash pc 000f7089 /system/lib/libart.so (_ZN3art17ConditionVariable9TimedWaitEPNS_6ThreadExi+120) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #02 pc 002bea47 /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadExibNS_11ThreadStateE+462) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #03 pc 002bfa4f /system/lib/libart.so (_ZN3art7Monitor4WaitEPNS_6ThreadEPNS_6mirror6ObjectExibNS_11ThreadStateE+142) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] native: #04 pc 0001b8db /data/dalvik-cache/arm/system@framework@boot.oat (Java_java_lang_Thread_sleep__Ljava_lang_Object_2JI+126) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at java.lang.Thread.sleep!(Native method) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] - sleeping on <0x0c804166> (a java.lang.Object) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at java.lang.Thread.sleep(Thread.java:1031) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] - locked <0x0c804166> (a java.lang.Object) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at java.lang.Thread.sleep(Thread.java:985) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at java.lang.Daemons$FinalizerWatchdogDaemon.sleepFor(Daemons.java:324) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at java.lang.Daemons$FinalizerWatchdogDaemon.waitForFinalization(Daemons.java:346) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at java.lang.Daemons$FinalizerWatchdogDaemon.run(Daemons.java:263) 01-26 13:56:23.638 27885-27885/com.tucodec.cn.android_voip_simple_demo A/art: art/runtime/runtime.cc:366] at java.lang.Thread.run(Thread.java:818) 01-26 13:56:23.643 27885-27885/com.tucodec.cn.android_voip_simple_demo A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 27885 (oip_simple_demo)

lc  发布于  2018-01-26