Skip to content

android video calling crashes #3564

@chenlx761

Description

@chenlx761

Describe the bug

On some android devices, a crash occurs during a video call,THANK

Steps to reproduce

epconfig :
epConfig.getMedConfig().setClockRate(16000);
epConfig.getMedConfig().setSndClockRate(16000);
epConfig.getMedConfig().setQuality(10);
epConfig.getMedConfig().setThreadCnt(2);

Android pjci.supportedSize = new int[]{800,600};

PJSIP version

2.13

Context

android

Log, call stack, etc

2023-05-15 15:00:45.068 9722-9722/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2023-05-15 15:00:45.068 9722-9722/? A/DEBUG: Build fingerprint: 'alps/full_k39tv1_bsp_1g/k39tv1_bsp_1g:8.1.0/O11019/1634281153:user/test-keys'
2023-05-15 15:00:45.068 9722-9722/? A/DEBUG: Revision: '0'
2023-05-15 15:00:45.068 9722-9722/? A/DEBUG: ABI: 'arm'
2023-05-15 15:00:45.068 9722-9722/? A/DEBUG: pid: 3606, tid: 9548, name: Cam2HandlerThre  >>> com.example.pjsipgo <<<
2023-05-15 15:00:45.068 9722-9722/? A/DEBUG: signal 6 (SIGABRT), code -6 (SI_TKILL), fault addr --------
2023-05-15 15:00:45.074 9722-9722/? A/DEBUG: Abort message: '../src/pjmedia-videodev/android_dev.c:1202: void OnGetFrame2(JNIEnv *, jobject, jlong, jobject, jint, jint, jobject, jint, jint, jobject, jint, jint): assertion "p1 >= p0_end || p2 >= p0_end" failed'
2023-05-15 15:00:45.075 9722-9722/? A/DEBUG:     r0 00000000  r1 0000254c  r2 00000006  r3 00000008
2023-05-15 15:00:45.075 9722-9722/? A/DEBUG:     r4 00000e16  r5 0000254c  r6 8cf0582c  r7 0000010c
2023-05-15 15:00:45.075 9722-9722/? A/DEBUG:     r8 00000000  r9 00000280  sl 8cf05a74  fp 00000001
2023-05-15 15:00:45.075 9722-9722/? A/DEBUG:     ip 8cf05a28  sp 8cf05818  lr ab4b187d  pc ab4ab3ce  cpsr 20010030
2023-05-15 15:00:45.080 9722-9722/? A/DEBUG: backtrace:
2023-05-15 15:00:45.080 9722-9722/? A/DEBUG:     #00 pc 0001a3ce  /system/lib/libc.so (abort+63)
2023-05-15 15:00:45.080 9722-9722/? A/DEBUG:     #01 pc 0001a5f1  /system/lib/libc.so (__assert2+20)
2023-05-15 15:00:45.080 9722-9722/? A/DEBUG:     #02 pc 0026e073  /data/app/com.example.pjsipgo-gMWHBPRaKjPw1GFdVgvKew==/lib/arm/libpjsua2.so
2023-05-15 15:00:45.080 9722-9722/? A/DEBUG:     #03 pc 0000e0eb  /data/app/com.example.pjsipgo-gMWHBPRaKjPw1GFdVgvKew==/oat/arm/base.odex (offset 0xe000)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions