0
下午好輸出緩衝器時,MediaCodec SIGABRT解除對三星Galaxy S7邊緣
發展我的Android應用程序時,我已經栽跟頭。
我正試圖從攝像頭解碼H264 RTSP流。我準備釋放輸出緩衝區以將輸出呈現給Surface並且沒有任何故障。
與SIGABRT的應用程序崩潰使用renderOutputBuffer
與render
設置爲true
時(如下圖所示),但僅在三星Galaxy S7邊緣(也許是「沒有優勢」品種)在Android 7.0。
不幸的是我無法調試代碼的本地區域。有誰知道我可以如何調試這個區域?
有沒有其他人反對這個並出現勝利?
請看下面的崩潰的回溯。
不幸的是,我無法分享代碼,因爲我在NDA之下。道歉。
謝謝
04-18 13:48:28.183 26496-26496/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-18 13:48:28.184 26496-26496/? A/DEBUG: Build fingerprint: 'samsung/hero2ltexx/hero2lte:7.0/NRD90M/G935FXXU1DQC4:user/release-keys'
04-18 13:48:28.184 26496-26496/? A/DEBUG: Revision: '9'
04-18 13:48:28.184 26496-26496/? A/DEBUG: ABI: 'arm'
04-18 13:48:28.185 26496-26496/? A/DEBUG: pid: 26350, tid: 26486, name: MediaCodec_loop >>> <appid> <<<
04-18 13:48:28.185 26496-26496/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
04-18 13:48:28.185 26496-26496/? A/DEBUG: r0 00000000 r1 00006776 r2 00000006 r3 00000008
04-18 13:48:28.185 26496-26496/? A/DEBUG: r4 cc222978 r5 00000006 r6 cc222920 r7 0000010c
04-18 13:48:28.186 26496-26496/? A/DEBUG: r8 c5e42e68 r9 cc2228ac sl c5d72270 fp b7c2a140
04-18 13:48:28.186 26496-26496/? A/DEBUG: ip 00000000 sp cc2225f0 lr f2889957 pc f288c1c0 cpsr 600d0010
04-18 13:48:28.220 26496-26496/? A/DEBUG: backtrace:
04-18 13:48:28.220 26496-26496/? A/DEBUG: #00 pc 0004a1c0 /system/lib/libc.so (tgkill+12)
04-18 13:48:28.221 26496-26496/? A/DEBUG: #01 pc 00047953 /system/lib/libc.so (pthread_kill+34)
04-18 13:48:28.221 26496-26496/? A/DEBUG: #02 pc 0001d955 /system/lib/libc.so (raise+10)
04-18 13:48:28.221 26496-26496/? A/DEBUG: #03 pc 000194a1 /system/lib/libc.so (__libc_android_abort+34)
04-18 13:48:28.221 26496-26496/? A/DEBUG: #04 pc 000170e8 /system/lib/libc.so (abort+4)
04-18 13:48:28.221 26496-26496/? A/DEBUG: #05 pc 000e7d8f /system/lib/libstagefright.so (_ZN7android10MediaCodec21onReleaseOutputBufferERKNS_2spINS_8AMessageEEE+806)
04-18 13:48:28.221 26496-26496/? A/DEBUG: #06 pc 000e3b8b /system/lib/libstagefright.so (_ZN7android10MediaCodec17onMessageReceivedERKNS_2spINS_8AMessageEEE+478)
04-18 13:48:28.221 26496-26496/? A/DEBUG: #07 pc 0000ecf9 /system/lib/libstagefright_foundation.so (_ZN7android8AHandler14deliverMessageERKNS_2spINS_8AMessageEEE+24)
04-18 13:48:28.221 26496-26496/? A/DEBUG: #08 pc 00010edf /system/lib/libstagefright_foundation.so (_ZN7android8AMessage7deliverEv+62)
04-18 13:48:28.222 26496-26496/? A/DEBUG: #09 pc 0000f869 /system/lib/libstagefright_foundation.so (_ZN7android7ALooper4loopEv+372)
04-18 13:48:28.222 26496-26496/? A/DEBUG: #10 pc 0000e3a7 /system/lib/libutils.so (_ZN7android6Thread11_threadLoopEPv+270)
04-18 13:48:28.222 26496-26496/? A/DEBUG: #11 pc 0006b2a5 /system/lib/libandroid_runtime.so (_ZN7android14AndroidRuntime15javaThreadShellEPv+80)
04-18 13:48:28.224 26496-26496/? A/DEBUG: #12 pc 00047423 /system/lib/libc.so (_ZL15__pthread_startPv+22)
04-18 13:48:28.224 26496-26496/? A/DEBUG: #13 pc 00019efd /system/lib/libc.so (__start_thread+6)