Hi linphone developers,
I use the xamarin version of the linphone SDK (4.3).
When my Aandroid app enters the background or is terminated I want to stop the Linphone Core. This can be done with Core.Stop(). Although after the app is terminated, I get a fatal exception from linphone. See below:
--------- beginning of crash
03-09 16:40:16.570 14344 14344 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x140 in tid 14344 (xxx.xxxx.xxx), pid 14344 (xxx.xxx.xxx)
03-09 16:40:16.687 14778 14778 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
03-09 16:40:16.687 1210 1210 I /system/bin/tombstoned: received crash request for pid 14344
03-09 16:40:16.688 14778 14778 I crash_dump64: performing dump of process 14344 (target tid = 14344)
03-09 16:40:16.709 14778 14778 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-09 16:40:16.709 14778 14778 F DEBUG : Build fingerprint: 'Nokia/Onyx_00WW/B2N_sprout:10/QKQ1.190828.002/00WW_4_10C:user/release-keys'
03-09 16:40:16.709 14778 14778 F DEBUG : Revision: '0'
03-09 16:40:16.709 14778 14778 F DEBUG : ABI: 'arm64'
03-09 16:40:16.710 14778 14778 F DEBUG : Timestamp: 2020-03-09 16:40:16+0100
03-09 16:40:16.710 14778 14778 F DEBUG : pid: 14344, tid: 14344, name: xxx.xxxx.xxx >>> xxx.xxxx.xxx <<<
03-09 16:40:16.710 14778 14778 F DEBUG : uid: 10316
03-09 16:40:16.710 14778 14778 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x140
03-09 16:40:16.710 14778 14778 F DEBUG : Cause: null pointer dereference
03-09 16:40:16.710 14778 14778 F DEBUG : x0 0000000000000000 x1 0000000000000000 x2 fffffffffffffffe x3 ffffffffa1a9ebf9
03-09 16:40:16.710 14778 14778 F DEBUG : x4 001bb6b9ea000000 x5 000000702382a439 x6 00000070ab262000 x7 0000000008c60f08
03-09 16:40:16.710 14778 14778 F DEBUG : x8 0000000000000000 x9 0000000000000445 x10 000000005e666360 x11 000000000008af11
03-09 16:40:16.710 14778 14778 F DEBUG : x12 0000000000000018 x13 00000003e8000000 x14 0021691e50071256 x15 000082bea9947f1f
03-09 16:40:16.711 14778 14778 F DEBUG : x16 0000006faf74e8d0 x17 00000070a8857b60 x18 0000006faf0c77b8 x19 0000006faa75d800
03-09 16:40:16.711 14778 14778 F DEBUG : x20 00000070a9fd8020 x21 000000005e666360 x22 000000003fb5f7b2 x23 0000000012e666d0
03-09 16:40:16.711 14778 14778 F DEBUG : x24 0000000000000008 x25 00000070a9fa6810 x26 0000000000000001 x27 0000000000000002
03-09 16:40:16.711 14778 14778 F DEBUG : x28 0000007fc244c0b0 x29 0000007fc244be70
03-09 16:40:16.711 14778 14778 F DEBUG : sp 0000007fc244be00 lr 0000006faedae054 pc 0000006faedae238
03-09 16:40:16.867 14778 14778 F DEBUG :
03-09 16:40:16.867 14778 14778 F DEBUG : backtrace:
03-09 16:40:16.867 14778 14778 F DEBUG : #00 pc 000000000052a238 /data/app/xxx.xxxx.xxx-mAIXPxl717FWC22GdNcF7w==/lib/arm64/liblinphone.so (linphone_core_iterate+548) (BuildId: 823b7d6cc4f075facb90cadb8c9061656eb2872d)
03-09 16:40:16.867 14778 14778 F DEBUG : #01 pc 0000000000008f44 <anonymous:70a8241000>
03-09 16:40:17.509 14382 14783 W ActivityTaskManager: Force finishing activity xxx.xxxx.xxx/crc642febfdc0bedae6b7.MainActivity
Who can help me out?
With kind regards
Jan