Skip to content

您好,我用了您的demo,为什么老是崩溃啊,也不报错 #1

Description

@chigang

05-14 11:27:51.876 4324-4324/com.yinuo2018.rtpdatademo V/xmc: VideoRTPActivity+h264 start
offerEncoder:576000+1152000
swapYV12toI420:::800+480
swapYV12toI420:::576000+576000+384000
05-14 11:27:51.876 4324-4344/com.yinuo2018.rtpdatademo A/libc: Fatal signal 11 (SIGSEGV) at 0x00000000 (code=1), thread 4344 (le.h264.encoder)
05-14 11:27:51.876 4324-4324/com.yinuo2018.rtpdatademo V/xmc: offerEncoder+pos:0
VideoRTPActivity+h264 end
-----------------------------------------------------------------------
05-14 11:27:51.976 178-4352/? E/EmulatedCamera_Device: getCurrentPreviewFrame: Unknown pixel format YU12
05-14 11:27:51.976 178-4352/? E/EmulatedCamera_Preview: onNextFrameAvailable: Unable to obtain preview frame: 22
05-14 11:27:51.976 178-4352/? E/EmulatedCamera_CallbackNotifier: onNextFrameAvailable: Unsupported pixel format 842093913
05-14 11:27:51.976 172-172/? I/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'vivo/msm8916_32/msm8916_32:4.4.2/KTU84P/3.8.017.0927:user/release-keys'
Revision: '0'
pid: 4324, tid: 4344, name: le.h264.encoder >>> com.yinuo2018.rtpdatademo <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000
05-14 11:27:52.006 172-172/? I/DEBUG: eax 00000000 ebx 7e532e8c ecx 00017700 edx 0005dc00
esi 7e1f1000 edi 00000000
xcs 00000073 xds 0000007b xes 0000007b xfs 00000000 xss 0000007b
eip b771785a ebp b92775f0 esp 7e506aa4 flags 00210206
backtrace:
#00 pc 0003e85a /system/lib/libc.so
#1 pc 00012fff /dev/ashmem/ACodec (deleted)
#02 pc 00000b6b /system/lib/libstagefright_soft_h264enc.so
#03 pc 0000709f /system/lib/libstagefright_soft_h264enc.so
#04 pc 0000558f /system/lib/libstagefright_soft_h264enc.so
#05 pc 00005f1f /system/lib/libstagefright_soft_h264enc.so
#06 pc 00005b5f /system/lib/libstagefright_soft_h264enc.so
#07 pc 0000909f /system/lib/libstagefright_soft_h264enc.so
#08 pc 000062ef /system/lib/libstagefright_soft_h264enc.so
#09 pc 0000559f /system/lib/libstagefright_soft_h264enc.so
#10 pc 000055af /system/lib/libstagefright_soft_h264enc.so
#11 pc 000055bf /system/lib/libstagefright_soft_h264enc.so
#12 pc 000055ff /system/lib/libstagefright_soft_h264enc.so (android::Vectorandroid::SoftAVCEncoder::InputBufferInfo::do_copy(void*, void const*, unsigned int) const+63)
#13 pc 0000563f /system/lib/libstagefright_soft_h264enc.so
#14 pc 0000567f /system/lib/libstagefright_soft_h264enc.so (android::Vectorandroid::SoftAVCEncoder::InputBufferInfo::do_move_forward(void*, void const*, unsigned int) const+63)
#15 pc ffffffff
stack:
7e506a64 00000001
7e506a68 b9279d90 [heap]
7e506a6c 00000001
7e506a70 00000000
7e506a74 b9279198 [heap]
7e506a78 b62f159a /system/lib/libstagefright_foundation.so
7e506a7c 7e532e8c /system/lib/libstagefright_soft_h264enc.so
7e506a80 b927769c [heap]
7e506a84 7e506b2c [stack:4344]
7e506a88 b927769c [heap]
7e506a8c 00000000
7e506a90 000003e8
7e506a94 00000000
7e506a98 000001f4
7e506a9c 000003e8
7e506aa0 b9279f10 [heap]
#00 7e506aa4 7e1f1000 /dev/ashmem/ACodec (deleted)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions