tags: linphone, ortp, android, runtime, sigsegv, ndk, bug, error
linphone-android-sdk, git checkout hash: g0e3dd22
Library has been configured and successfully run, but sometimes there is random SIGSEGV during call with no pattern(some time it is about ~13 minutes of call, some time it is about ~5 minutes of call, some time it is about ~30 of call).
So as you can see it is very petty for me to have so powerful, but unreliable tool as linphone - I really want to figure out what is problem and fix that pity inconvenience with random bug
Anyway, is there any suggestions to debug this problem and figure out what's wrong ?
Stacktrace:
03-02 11:43:34.285 6114-7604/? A/libc﹕ invalid address or address of corrupt block 0xb8308f40 passed to dlfree
03-02 11:43:34.285 6114-7604/? A/libc﹕ Fatal signal 11 (SIGSEGV), code 1, fault addr 0xdeadbaad in tid 7604 (Thread-7602)
03-02 11:43:34.415 288-288/? I/DEBUG﹕ *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-02 11:43:34.415 288-288/? I/DEBUG﹕ Build fingerprint: 'samsung/a7ltexx/a7lte:5.0.2/LRX22G/A700FDXXU1BOJD:user/release-keys'
03-02 11:43:34.415 288-288/? I/DEBUG﹕ Revision: '5'
03-02 11:43:34.415 288-288/? I/DEBUG﹕ ABI: 'arm'
03-02 11:43:34.415 288-288/? I/DEBUG﹕ pid: 6114, tid: 7604, name: Thread-7602 >>> mobi.sender.voice <<<
03-02 11:43:34.415 288-288/? I/DEBUG﹕ signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0xdeadbaad
03-02 11:43:34.485 288-288/? I/DEBUG﹕ Abort message: 'invalid address or address of corrupt block 0xb8308f40 passed to dlfree'
03-02 11:43:34.485 288-288/? I/DEBUG﹕ r0 00000000 r1 b6fd2dec r2 deadbaad r3 00000000
03-02 11:43:34.485 288-288/? I/DEBUG﹕ r4 b8308f40 r5 b6fd40f8 r6 00000000 r7 3360fa38
03-02 11:43:34.485 288-288/? I/DEBUG﹕ r8 b8591b80 r9 00000028 sl b856b790 fp 00000034
03-02 11:43:34.485 288-288/? I/DEBUG﹕ ip 00000000 sp a156bac8 lr b6fa4637 pc b6fa4638 cpsr 60070030
03-02 11:43:34.485 288-288/? I/DEBUG﹕ backtrace:
03-02 11:43:34.485 288-288/? I/DEBUG﹕ #00 pc 00028638 /system/lib/libc.so (dlfree+1239)
03-02 11:43:34.485 288-288/? I/DEBUG﹕ #01 pc 0000ef53 /system/lib/libc.so (free+10)
03-02 11:43:34.485 288-288/? I/DEBUG﹕ #02 pc 00229701 /data/app/mobi.sender.voice-1/lib/arm/liblinphone-armeabi-v7a.so (ortp_free+8)
03-02 11:43:34.485 288-288/? I/DEBUG﹕ #03 pc 0022f797 /data/app/mobi.sender.voice-1/lib/arm/liblinphone-armeabi-v7a.so (freeb+42)
03-02 11:43:34.485 288-288/? I/DEBUG﹕ #04 pc 0022f7bb /data/app/mobi.sender.voice-1/lib/arm/liblinphone-armeabi-v7a.so (freemsg+6)
03-02 11:43:34.485 288-288/? I/DEBUG﹕ #05 pc 0022f92d /data/app/mobi.sender.voice-1/lib/arm/liblinphone-armeabi-v7a.so (msgpullup+48)
03-02 11:43:34.485 288-288/? I/DEBUG﹕ #06 pc 000d6ff4 /data/app/mobi.sender.voice-1/lib/arm/liblinphone-armeabi-v7a.so
03-02 11:43:34.485 288-288/? I/DEBUG﹕ #07 pc 0022d1a1 /data/app/mobi.sender.voice-1/lib/arm/liblinphone-armeabi-v7a.so (meta_rtp_transport_sendto+48)
03-02 11:43:34.485 288-288/? I/DEBUG﹕ #08 pc 0022e69b /data/app/mobi.sender.voice-1/lib/arm/liblinphone-armeabi-v7a.so
03-02 11:43:34.485 288-288/? I/DEBUG﹕ #09 pc 0022e80b /data/app/mobi.sender.voice-1/lib/arm/liblinphone-armeabi-v7a.so (rtp_session_rtp_send+94)
03-02 11:43:34.485 288-288/? I/DEBUG﹕ #10 pc 0022cd01 /data/app/mobi.sender.voice-1/lib/arm/liblinphone-armeabi-v7a.so (__rtp_session_sendm_with_ts+496)
03-02 11:43:34.485 288-288/? I/DEBUG﹕ #11 pc 00100e48 /data/app/mobi.sender.voice-1/lib/arm/liblinphone-armeabi-v7a.so
03-02 11:43:34.485 288-288/? I/DEBUG﹕ #12 pc 000d2dac /data/app/mobi.sender.voice-1/lib/arm/liblinphone-armeabi-v7a.so (ms_filter_process+44)
03-02 11:43:34.485 288-288/? I/DEBUG﹕ #13 pc 000d3d44 /data/app/mobi.sender.voice-1/lib/arm/liblinphone-armeabi-v7a.so
03-02 11:43:34.485 288-288/? I/DEBUG﹕ #14 pc 000d3d80 /data/app/mobi.sender.voice-1/lib/arm/liblinphone-armeabi-v7a.so
03-02 11:43:34.485 288-288/? I/DEBUG﹕ #15 pc 000d3d80 /data/app/mobi.sender.voice-1/lib/arm/liblinphone-armeabi-v7a.so
03-02 11:43:34.485 288-288/? I/DEBUG﹕ #16 pc 000d3d80 /data/app/mobi.sender.voice-1/lib/arm/liblinphone-armeabi-v7a.so
03-02 11:43:34.485 288-288/? I/DEBUG﹕ #17 pc 000d3d80 /data/app/mobi.sender.voice-1/lib/arm/liblinphone-armeabi-v7a.so
03-02 11:43:34.485 288-288/? I/DEBUG﹕ #18 pc 000d3dec /data/app/mobi.sender.voice-1/lib/arm/liblinphone-armeabi-v7a.so
03-02 11:43:34.485 288-288/? I/DEBUG﹕ #19 pc 000d3fe0 /data/app/mobi.sender.voice-1/lib/arm/liblinphone-armeabi-v7a.so
03-02 11:43:34.485 288-288/? I/DEBUG﹕ #20 pc 00012f33 /system/lib/libc.so (__pthread_start(void*)+30)
03-02 11:43:34.485 288-288/? I/DEBUG﹕ #21 pc 00010ff7 /system/lib/libc.so (__start_thread+6)
--
Yevhenii Vasiuk
skype: evasyuk