BelledonneCommunications / liblinphone

Linphone.org mirror for liblinphone (git://git.linphone.org/liblinphone.git)
http://linphone.org
GNU Affero General Public License v3.0
377 stars 218 forks source link

Hangs up when click Answer on notification and notification doesn't dismiss #172

Open brianjmurrell opened 3 years ago

brianjmurrell commented 3 years ago

Using kotlin_rewrite branch from today, when I receive an incoming call, I get the Answer/Hangup notification and when I hit Answer the call is hung up, the notification goes away for a brief moment and then it comes back and cannot be dismissed. I usually have to try to open the app and then dismiss it to get the notification to go away.

Here's a log.

Viish commented 3 years ago

Given your log it's just the app crashed when you tried to answer the call, most probably due to https://github.com/BelledonneCommunications/linphone-sdk/issues/137#issuecomment-820287144 issue. Then the app restarts but the notification isn't known by this instance of the app, so further clicks on it don't work.

brianjmurrell commented 3 years ago

I tried disabling ICE and it still happens. It's a different crash it seems:

04-15 11:01:17.668  1207  1207 F libc    : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x78 in tid 1207 (.linphone.debug), pid 1207 (.linphone.debug)
04-15 11:01:17.756  1366  1366 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
04-15 11:01:17.758   480   480 I tombstoned: received crash request for pid 1207
04-15 11:01:17.759  1366  1366 I crash_dump64: performing dump of process 1207 (target tid = 1207)
04-15 11:01:17.773  1366  1366 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-15 11:01:17.774  1366  1366 F DEBUG   : LineageOS Version: '18.1-20210408-UNOFFICIAL-mido'
04-15 11:01:17.774  1366  1366 F DEBUG   : Build fingerprint: 'xiaomi/mido/mido:7.0/NRD90M/V9.6.1.0.NCFMIFD:user/release-keys'
04-15 11:01:17.774  1366  1366 F DEBUG   : Revision: '0'
04-15 11:01:17.774  1366  1366 F DEBUG   : ABI: 'arm64'
04-15 11:01:17.775  1366  1366 F DEBUG   : Timestamp: 2021-04-15 11:01:17-0400
04-15 11:01:17.775  1366  1366 F DEBUG   : pid: 1207, tid: 1207, name: .linphone.debug  >>> org.linphone.debug <<<
04-15 11:01:17.775  1366  1366 F DEBUG   : uid: 10340
04-15 11:01:17.775  1366  1366 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x78
04-15 11:01:17.776  1366  1366 F DEBUG   : Cause: null pointer dereference
04-15 11:01:17.776  1366  1366 F DEBUG   :     x0  0000000000000000  x1  000000799c15fd49  x2  0000007fc2c6e758  x3  0000007b0afb2268
04-15 11:01:17.776  1366  1366 F DEBUG   :     x4  0000000000000001  x5  0000000000000000  x6  000000000000000a  x7  000000000000000a
04-15 11:01:17.776  1366  1366 F DEBUG   :     x8  0000000000000000  x9  0000000000000002  x10 0000000000000000  x11 0000000000000000
04-15 11:01:17.776  1366  1366 F DEBUG   :     x12 0000000000000000  x13 5d30303038345b20  x14 0000007c9cfcdd42  x15 0000000000000000
04-15 11:01:17.776  1366  1366 F DEBUG   :     x16 000000799c376390  x17 000000799bb9cad0  x18 0000007ca0864000  x19 0000007a4afa6e60
04-15 11:01:17.776  1366  1366 F DEBUG   :     x20 0000000000000001  x21 0000007b0afb2268  x22 0000000000000000  x23 0000000000000000
04-15 11:01:17.776  1366  1366 F DEBUG   :     x24 0000007ca05f6000  x25 0000007a2aff9260  x26 0000007ca05f6000  x27 0000000000000000
04-15 11:01:17.776  1366  1366 F DEBUG   :     x28 0000007fc2c6e9d0  x29 0000007fc2c6e740
04-15 11:01:17.776  1366  1366 F DEBUG   :     lr  000000799bb923dc  sp  0000007fc2c6e680  pc  000000799bb92408  pst 0000000060000000
04-15 11:01:18.163  1366  1366 F DEBUG   : backtrace:
04-15 11:01:18.166  1366  1366 F DEBUG   :       #00 pc 0000000000778408  /data/app/~~4mA7DnykXsOlq6RHdyQFXg==/org.linphone.debug-Vd1tqDSWaGr0tt3WYYrjuA==/lib/arm64/liblinphone.so (LinphonePrivate::LimeX3dhEncryptionEngine::mutualAuthentication(_MSZrtpContext*, std::__ndk1::shared_ptr<LinphonePrivate::SalMediaDescription> const&, std::__ndk1::shared_ptr<LinphonePrivate::SalMediaDescription> const&, _LinphoneCallDir)+180) (BuildId: 119de47fa8be5728ce40b87572120308d471d41b)
04-15 11:01:18.166  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#1 pc 000000000063b97c  /data/app/~~4mA7DnykXsOlq6RHdyQFXg==/org.linphone.debug-Vd1tqDSWaGr0tt3WYYrjuA==/lib/arm64/liblinphone.so (LinphonePrivate::MediaSessionPrivate::performMutualAuthentication()+292) (BuildId: 119de47fa8be5728ce40b87572120308d471d41b)
04-15 11:01:18.167  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#2 pc 000000000063fc20  /data/app/~~4mA7DnykXsOlq6RHdyQFXg==/org.linphone.debug-Vd1tqDSWaGr0tt3WYYrjuA==/lib/arm64/liblinphone.so (LinphonePrivate::MediaSessionPrivate::startAccept()+1860) (BuildId: 119de47fa8be5728ce40b87572120308d471d41b)
04-15 11:01:18.167  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#3 pc 0000000000640230  /data/app/~~4mA7DnykXsOlq6RHdyQFXg==/org.linphone.debug-Vd1tqDSWaGr0tt3WYYrjuA==/lib/arm64/liblinphone.so (LinphonePrivate::MediaSessionPrivate::accept(LinphonePrivate::MediaSessionParams const*, bool)+304) (BuildId: 119de47fa8be5728ce40b87572120308d471d41b)
04-15 11:01:18.167  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#4 pc 0000000000640f8c  /data/app/~~4mA7DnykXsOlq6RHdyQFXg==/org.linphone.debug-Vd1tqDSWaGr0tt3WYYrjuA==/lib/arm64/liblinphone.so (LinphonePrivate::MediaSession::accept(LinphonePrivate::MediaSessionParams const*)+264) (BuildId: 119de47fa8be5728ce40b87572120308d471d41b)
04-15 11:01:18.167  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#5 pc 00000000005d55d4  /data/app/~~4mA7DnykXsOlq6RHdyQFXg==/org.linphone.debug-Vd1tqDSWaGr0tt3WYYrjuA==/lib/arm64/liblinphone.so (LinphonePrivate::Call::accept(LinphonePrivate::MediaSessionParams const*)+64) (BuildId: 119de47fa8be5728ce40b87572120308d471d41b)
04-15 11:01:18.167  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#6 pc 000000000013ced4  /apex/com.android.art/lib64/libart.so (art_quick_generic_jni_trampoline+148) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.167  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#7 pc 0000000000133564  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.167  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#8 pc 00000000001a8a78  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.167  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#9 pc 000000000031830c  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.167  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#10 pc 000000000030e638  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+996) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.167  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#11 pc 000000000067eb4c  /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+576) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.167  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#12 pc 000000000012d914  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.167  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#13 pc 000000000010f60c  [anon:dalvik-classes3.dex extracted in memory from /data/app/~~4mA7DnykXsOlq6RHdyQFXg==/org.linphone.debug-Vd1tqDSWaGr0tt3WYYrjuA==/base.apk!classes3.dex] (org.linphone.core.CallImpl.acceptWithParams+136)
04-15 11:01:18.167  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#14 pc 000000000067e1a8  /apex/com.android.art/lib64/libart.so (MterpInvokeInterface+1808) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.167  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#15 pc 000000000012da14  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_interface+20) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.167  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#16 pc 00000000000f82aa  [anon:dalvik-classes2.dex extracted in memory from /data/app/~~4mA7DnykXsOlq6RHdyQFXg==/org.linphone.debug-Vd1tqDSWaGr0tt3WYYrjuA==/base.apk!classes2.dex] (org.linphone.core.CoreContext.answerCall+162)
04-15 11:01:18.167  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#17 pc 000000000067c770  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.167  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#18 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.168  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#19 pc 00000000001504a6  [anon:dalvik-classes2.dex extracted in memory from /data/app/~~4mA7DnykXsOlq6RHdyQFXg==/org.linphone.debug-Vd1tqDSWaGr0tt3WYYrjuA==/base.apk!classes2.dex] (org.linphone.notifications.NotificationBroadcastReceiver.handleCallIntent+174)
04-15 11:01:18.168  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#20 pc 000000000067edec  /apex/com.android.art/lib64/libart.so (MterpInvokeDirect+1248) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.168  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#21 pc 000000000012d914  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_direct+20) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.168  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#22 pc 00000000001507f0  [anon:dalvik-classes2.dex extracted in memory from /data/app/~~4mA7DnykXsOlq6RHdyQFXg==/org.linphone.debug-Vd1tqDSWaGr0tt3WYYrjuA==/base.apk!classes2.dex] (org.linphone.notifications.NotificationBroadcastReceiver.onReceive+132)
04-15 11:01:18.168  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#23 pc 0000000000305c34  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.15486036983929349625)+268) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.168  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#24 pc 000000000030dc24  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+200) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.168  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#25 pc 000000000030f00c  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, true>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1772) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.168  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#26 pc 0000000000174fb8  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<true, false>(art::interpreter::SwitchImplContext*)+45680) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.168  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#27 pc 000000000013f7d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.168  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#28 pc 0000000000195e84  /system/framework/framework.jar (android.app.ActivityThread.handleReceiver)
04-15 11:01:18.168  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#29 pc 0000000000305d3c  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.15486036983929349625)+532) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.168  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#30 pc 000000000030dc24  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+200) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.168  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#31 pc 000000000030f00c  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, true>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1772) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.168  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#32 pc 0000000000174fb8  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<true, false>(art::interpreter::SwitchImplContext*)+45680) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.168  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#33 pc 000000000013f7d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.168  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#34 pc 0000000000191634  /system/framework/framework.jar (android.app.ActivityThread.access$1400)
04-15 11:01:18.169  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#35 pc 0000000000305d3c  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.15486036983929349625)+532) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.169  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#36 pc 000000000030dc24  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+200) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.169  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#37 pc 000000000030e61c  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+968) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.169  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#38 pc 000000000067f428  /apex/com.android.art/lib64/libart.so (MterpInvokeStatic+548) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.169  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#39 pc 000000000012d994  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_static+20) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.169  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#40 pc 000000000018e3f0  /system/framework/framework.jar (android.app.ActivityThread$H.handleMessage+1284)
04-15 11:01:18.169  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#41 pc 000000000067c770  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.169  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#42 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.169  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#43 pc 000000000035ce42  /system/framework/framework.jar (offset 0x84d000) (android.os.Handler.dispatchMessage+38)
04-15 11:01:18.169  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#44 pc 000000000067c770  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+1520) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.169  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#45 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.169  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#46 pc 0000000000383fe0  /system/framework/framework.jar (offset 0x84d000) (android.os.Looper.loop+480)
04-15 11:01:18.169  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#47 pc 0000000000305c34  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.15486036983929349625)+268) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.169  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#48 pc 000000000030dc24  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToInterpreterBridge(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame*, art::JValue*)+200) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.169  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#49 pc 000000000030f00c  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, true>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+1772) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.169  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#50 pc 0000000000177f40  /apex/com.android.art/lib64/libart.so (void art::interpreter::ExecuteSwitchImplCpp<true, false>(art::interpreter::SwitchImplContext*)+57848) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.169  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#51 pc 000000000013f7d8  /apex/com.android.art/lib64/libart.so (ExecuteSwitchImplAsm+8) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.170  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#52 pc 00000000001979c8  /system/framework/framework.jar (android.app.ActivityThread.main)
04-15 11:01:18.170  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#53 pc 0000000000305d3c  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.15486036983929349625)+532) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.170  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#54 pc 000000000066b1d8  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+780) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.170  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#55 pc 000000000013cff8  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.170  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#56 pc 00000000001337e8  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.170  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#57 pc 00000000001a8a94  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+228) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.170  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#58 pc 00000000005556d4  /apex/com.android.art/lib64/libart.so (art::InvokeMethod(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jobject*, _jobject*, unsigned long)+1364) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.170  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#59 pc 00000000004d4ee0  /apex/com.android.art/lib64/libart.so (art::Method_invoke(_JNIEnv*, _jobject*, _jobject*, _jobjectArray*)+52) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.170  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#60 pc 000000000008a6f4  /apex/com.android.art/javalib/arm64/boot.oat (art_jni_trampoline+180) (BuildId: fd3cf054c28fb5d3737a5d92c072cfb27c32c982)
04-15 11:01:18.170  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#61 pc 0000000000133564  /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.170  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#62 pc 00000000001a8a78  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.170  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#63 pc 000000000031830c  /apex/com.android.art/lib64/libart.so (art::interpreter::ArtInterpreterToCompiledCodeBridge(art::Thread*, art::ArtMethod*, art::ShadowFrame*, unsigned short, art::JValue*)+376) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.170  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#64 pc 000000000030e638  /apex/com.android.art/lib64/libart.so (bool art::interpreter::DoCall<false, false>(art::ArtMethod*, art::Thread*, art::ShadowFrame&, art::Instruction const*, unsigned short, art::JValue*)+996) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.170  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#65 pc 000000000067c4d0  /apex/com.android.art/lib64/libart.so (MterpInvokeVirtual+848) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.170  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#66 pc 000000000012d814  /apex/com.android.art/lib64/libart.so (mterp_op_invoke_virtual+20) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.170  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#67 pc 000000000049491e  /system/framework/framework.jar (offset 0x1069000) (com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run+22)
04-15 11:01:18.171  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#68 pc 0000000000305c34  /apex/com.android.art/lib64/libart.so (art::interpreter::Execute(art::Thread*, art::CodeItemDataAccessor const&, art::ShadowFrame&, art::JValue, bool, bool) (.llvm.15486036983929349625)+268) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.171  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#69 pc 000000000066b1d8  /apex/com.android.art/lib64/libart.so (artQuickToInterpreterBridge+780) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.171  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#70 pc 000000000013cff8  /apex/com.android.art/lib64/libart.so (art_quick_to_interpreter_bridge+88) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.171  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#71 pc 00000000008af244  /system/framework/arm64/boot-framework.oat (com.android.internal.os.ZygoteInit.main+2212) (BuildId: 521ed54add5f8c21bc42bb5e5150ae947882ed35)
04-15 11:01:18.171  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#72 pc 00000000001337e8  /apex/com.android.art/lib64/libart.so (art_quick_invoke_static_stub+568) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.171  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#73 pc 00000000001a8a94  /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+228) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.171  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#74 pc 0000000000554110  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, std::__va_list)+448) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.171  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#75 pc 00000000005545c4  /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeWithVarArgs<_jmethodID*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, _jmethodID*, std::__va_list)+92) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.171  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#76 pc 0000000000438af8  /apex/com.android.art/lib64/libart.so (art::JNI<true>::CallStaticVoidMethodV(_JNIEnv*, _jclass*, _jmethodID*, std::__va_list)+656) (BuildId: edd92a7af1552c8e00b74ecfac823ad8)
04-15 11:01:18.171  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#77 pc 000000000009944c  /system/lib64/libandroid_runtime.so (_JNIEnv::CallStaticVoidMethod(_jclass*, _jmethodID*, ...)+124) (BuildId: 0d0de45e2d26d82ea1bbc4827f952c0a)
04-15 11:01:18.171  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#78 pc 00000000000a0b34  /system/lib64/libandroid_runtime.so (android::AndroidRuntime::start(char const*, android::Vector<android::String8> const&, bool)+756) (BuildId: 0d0de45e2d26d82ea1bbc4827f952c0a)
04-15 11:01:18.171  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#79 pc 0000000000003580  /system/bin/app_process64 (main+1336) (BuildId: 8b041fc279d5108900e48324bafa5142)
04-15 11:01:18.171  1366  1366 F DEBUG   :       BelledonneCommunications/linphone-android#80 pc 000000000004988c  /apex/com.android.runtime/lib64/bionic/libc.so (__libc_init+108) (BuildId: be9c72fe4db37cd191b589b74d090d13)
brianjmurrell commented 3 years ago

I had to roll back to SDK 4.5.0-beta.50+c67027b to work around this. Even 4.5.2 was crashing.

Viish commented 3 years ago

If you can pinpoint the exact SDK version where the crash happens that may help us find the issue and fix it.

brianjmurrell commented 3 years ago

4.5.0-beta.56+31b64eb is the last version that works. Started crashing in 4.5.0-beta.58+5dafa37.

Viish commented 3 years ago

Thanks, we'll look into it.

Viish commented 3 years ago

Issue has been assigned internally.

jeannotlapin commented 3 years ago

@brianjmurrell, thanks for the report. Could you please post the debug log leading to this crash ?

jeannotlapin commented 3 years ago

A fix is on its way. You can cherry-pick this commit https://github.com/BelledonneCommunications/liblinphone/commit/31b9882065ef82cc260a64b90e41b5ddfa011922 on your build or just wait for it to be merged in the release/4.5 branch

It shall fix the problem, let me know otherwise.

brianjmurrell commented 3 years ago

@jeannotlapin Awesome. I didn't see the request for the log until this morning.

TBH, I have never had any luck building the SDK so I just use the releases that are in https://linphone.org/maven_repository/org/linphone/linphone-sdk-android/?C=M;O=D

But I think I was using the 5.0.0-alpha build with the latest linphone-android kotlin_rewrite branch when this happened. Any idea when https://github.com/BelledonneCommunications/liblinphone/commit/31b9882065ef82cc260a64b90e41b5ddfa011922 might land there?

jeannotlapin commented 3 years ago

It shall be now in the 4.5.5-pre ( https://linphone.org/maven_repository/org/linphone/linphone-sdk-android/4.5.5-pre.3+9fc3246/ ) and shall get to 5.0.0-alpha by the end of the week,

brianjmurrell commented 3 years ago

Did it make it into 5.0.0-alpha?

jeannotlapin commented 3 years ago

Yes, it's in from 5.0.0-alpha.52