[Bug 2047458] [NEW] [SRU] Linphone 5.0.2-4 crashes on launch
Launchpad Bug Tracker
2047458 at bugs.launchpad.net
Fri Jan 5 00:51:04 UTC 2024
You have been subscribed to a public bug by Sudip Mukherjee (sudipmuk):
[ Impact ]
linphone is completely unusable in Mantic and Noble as it will always
segfault if any user tries to run the application.
The problem is an affect of LTO and it works if its built with LTO disabled.
Looking at the trace and some debugging it appears that linphone is trying to insert the address in the Cache before LruCache object has been initialized and as a result the capacity of the Cache is 0. But this only happens if LTO is enabled. On a non-LTO build the LruCache object is ready from the start.
[ Test Plan ]
* Run linphone and confirm the gui starts
[ Where problems could occur ]
This is only a check of the Cache capacity before linphone tries to add the address to the Cache. A worst case possibility is that LruCache is never initialized and that will mean the addresses will never be saved in the Cache list. So, any user who has used linphone on releases pre-Mantic might see that addesses they have used are not available in the Cache. But that should not affect the normal funtioning.
For users of Mantic and Noble, linphone has never worked, so they will not see any difference.
[ Other Info ]
* This only affects Mantic and Noble.
* The test plan is just a basic test. Ideally someone who actually uses
linphone should test.
* The patch is not forwarded upstream as upstream has completely changed this part of the code and its not using LruCache anymore. This patch can be dropped when the package is updated to latest version.
[ Original Bug Description ]
If you attempt to launch Linphone (desktop) on Ubuntu 23.10 (which has
version 5.0.2-4), it will crash.
This is the output:
2023-12-26 17:44:55:903 belle-sip-warning-There is no object pool created in thread [139832270873280]. Use belle_sip_object_pool_push() to create one. Unowned objects not unref'd will be leaked.
Segmentation fault (core dumped)
I can confirm this also affects Kubuntu 23.10 as well.
** Affects: linphone (Ubuntu)
Importance: Undecided
Status: Confirmed
** Affects: linphone (Ubuntu Mantic)
Importance: Undecided
Status: Confirmed
** Tags: mantic noble
--
[SRU] Linphone 5.0.2-4 crashes on launch
https://bugs.launchpad.net/bugs/2047458
You received this bug notification because you are a member of Ubuntu Sponsors, which is subscribed to the bug report.
More information about the Ubuntu-sponsors
mailing list