terminating with uncaught except

2022-05-31  本文已影响0人  阴天不带伞百分百下雨君
2022-06-01 17:47:42.113 3159-3183/com.ndk.hkkplayer E/libc++abi: terminating with uncaught exception of type std::bad_alloc: std::bad_alloc
2022-06-01 17:47:42.113 3159-3183/com.ndk.hkkplayer A/libc: Fatal signal 6 (SIGABRT), code -6 in tid 3183 (Thread-2)
2022-06-01 17:47:42.168 3206-3206/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2022-06-01 17:47:42.168 3206-3206/? A/DEBUG: Build fingerprint: 'google/android_x86/x86:7.1.2/N2G47O/3636322:/release-keys'
2022-06-01 17:47:42.168 3206-3206/? A/DEBUG: Revision: '0'
2022-06-01 17:47:42.168 3206-3206/? A/DEBUG: ABI: 'x86'
2022-06-01 17:47:42.168 3206-3206/? A/DEBUG: pid: 3159, tid: 3183, name: Thread-2  >>> com.ndk.hkkplayer <<<
2022-06-01 17:47:42.168 3206-3206/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
2022-06-01 17:47:42.169 3206-3206/? A/DEBUG: Abort message: 'terminating with uncaught exception of type std::bad_alloc: std::bad_alloc'
2022-06-01 17:47:42.169 3206-3206/? A/DEBUG:     eax 00000000  ebx 00000c57  ecx 00000c6f  edx 00000006
2022-06-01 17:47:42.169 3206-3206/? A/DEBUG:     esi a5d7f978  edi a5d7f920
2022-06-01 17:47:42.169 3206-3206/? A/DEBUG:     xcs 00000073  xds 0000007b  xes 0000007b  xfs 0000003b  xss 0000007b
2022-06-01 17:47:42.169 3206-3206/? A/DEBUG:     eip c7f29c10  ebp a5d7ed38  esp a5d7ecdc  flags 00000296
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG: backtrace:
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #00 pc 00000c10  [vdso:c7f29000] (__kernel_vsyscall+16)
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #01 pc 0007ab5c  /system/lib/libc.so (tgkill+28)
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #02 pc 00076335  /system/lib/libc.so (pthread_kill+85)
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #03 pc 00027d2a  /system/lib/libc.so (raise+42)
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #04 pc 0001eeb6  /system/lib/libc.so (abort+86)
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #05 pc 00033458  /system/lib/libc++.so
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #06 pc 00033676  /system/lib/libc++.so
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #07 pc 00067889  /system/lib/libc++.so
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #08 pc 00066cd4  /system/lib/libc++.so (__cxa_throw+212)
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #09 pc 00067a79  /system/lib/libc++.so (_Znwj+121)
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #10 pc 00067b00  /system/lib/libc++.so (_Znaj+32)
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #11 pc 00012f7f  /system/lib/libOpenglSystemCommon.so (_ZN7HostRPC5allocEj+383)
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #12 pc 00003f67  /system/lib/libstagefright_soft_eglenc.so
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #13 pc 0000423e  /system/lib/hw/gralloc.default.so
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #14 pc 0000ee7b  /system/lib/libui.so (_ZN7android18Gralloc1On0Adapter4lockERKNSt3__110shared_ptrINS0_6BufferEEE25gralloc1_producer_usage_t25gralloc1_consumer_usage_tRK13gralloc1_rectPPvRKNS_2spINS_5FenceEEE+283)
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #15 pc 0000db2a  /system/lib/libui.so (_ZN7android18Gralloc1On0Adapter8lockHookIPvXadL_ZNS0_4lockERKNSt3__110shared_ptrINS0_6BufferEEE25gralloc1_producer_usage_t25gralloc1_consumer_usage_tRK13gralloc1_rectPS2_RKNS_2spINS_5FenceEEEEEEEiP15gralloc1_devicePK13native_handleyyPSC_PT_i+218)
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #16 pc 0000bfe6  /system/lib/libui.so (_ZN7android8Gralloc16Device4lockEPK13native_handle25gralloc1_producer_usage_t25gralloc1_consumer_usage_tPK13gralloc1_rectPPvRKNS_2spINS_5FenceEEE+102)
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #17 pc 000135b7  /system/lib/libui.so (_ZN7android19GraphicBufferMapper9lockAsyncEPK13native_handlejRKNS_4RectEPPvi+231)
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #18 pc 0001143d  /system/lib/libui.so (_ZN7android13GraphicBuffer9lockAsyncEjRKNS_4RectEPPvi+205)
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #19 pc 00078348  /system/lib/libgui.so (_ZN7android7Surface4lockEP20ANativeWindow_BufferP5ARect+1656)
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #20 pc 00075c09  /system/lib/libgui.so (_ZN7android7Surface7performEiPc+121)
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #21 pc 00074046  /system/lib/libgui.so (_ZN7android7Surface12hook_performEP13ANativeWindowiz+70)
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #22 pc 0000fd14  /system/lib/libandroid.so (ANativeWindow_lock+52)
2022-06-01 17:47:42.171 3206-3206/? A/DEBUG:     #23 pc 0001f4bf  /system/lib/arm/nb/libtcb.so

使用ffmpeg播放音视频,由于内存泄漏,造成以上报错,程序崩溃
解决方案:排查修复内存泄漏点

上一篇 下一篇

猜你喜欢

热点阅读