2023-12-26 22:52:45 |
Tej A. Shah, DMD |
bug |
|
|
added bug |
2024-01-03 17:37:33 |
Robie Basak |
nominated for series |
|
Ubuntu Mantic |
|
2024-01-03 17:37:33 |
Robie Basak |
bug task added |
|
linphone (Ubuntu Mantic) |
|
2024-01-03 17:39:05 |
Sudip Mukherjee |
bug |
|
|
added subscriber Sudip Mukherjee |
2024-01-05 00:47:48 |
Sudip Mukherjee |
summary |
Linphone 5.0.2-4 crashes on launch |
[SRU] Linphone 5.0.2-4 crashes on launch |
|
2024-01-05 00:47:53 |
Sudip Mukherjee |
linphone (Ubuntu): status |
New |
Confirmed |
|
2024-01-05 00:47:56 |
Sudip Mukherjee |
linphone (Ubuntu Mantic): status |
New |
Confirmed |
|
2024-01-05 00:49:40 |
Sudip Mukherjee |
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. |
[ 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. |
|
2024-01-05 00:50:04 |
Sudip Mukherjee |
attachment added |
|
linphone_noble.debdiff https://bugs.launchpad.net/ubuntu/+source/linphone/+bug/2047458/+attachment/5736516/+files/linphone_noble.debdiff |
|
2024-01-05 00:50:29 |
Sudip Mukherjee |
attachment added |
|
linphone_mantic.debdiff https://bugs.launchpad.net/ubuntu/+source/linphone/+bug/2047458/+attachment/5736517/+files/linphone_mantic.debdiff |
|
2024-01-05 00:50:43 |
Sudip Mukherjee |
tags |
|
mantic noble |
|
2024-01-05 00:51:03 |
Sudip Mukherjee |
bug |
|
|
added subscriber Ubuntu Sponsors |
2024-01-09 11:44:40 |
Tommy Giesler |
bug |
|
|
added subscriber Tommy Giesler |
2024-01-09 20:36:20 |
Lena Voytek |
linphone (Ubuntu): status |
Confirmed |
In Progress |
|
2024-01-09 20:36:22 |
Lena Voytek |
linphone (Ubuntu Mantic): status |
Confirmed |
In Progress |
|
2024-01-09 21:42:48 |
Ubuntu Archive Robot |
bug |
|
|
added subscriber Lena Voytek |
2024-01-09 23:30:02 |
Launchpad Janitor |
linphone (Ubuntu): status |
In Progress |
Fix Released |
|
2024-01-10 10:27:38 |
Simon Chopin |
removed subscriber Ubuntu Sponsors |
|
|
|
2024-01-12 14:45:12 |
Timo Aaltonen |
linphone (Ubuntu Mantic): status |
In Progress |
Fix Committed |
|
2024-01-12 14:45:13 |
Timo Aaltonen |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2024-01-12 14:45:16 |
Timo Aaltonen |
bug |
|
|
added subscriber SRU Verification |
2024-01-12 14:45:18 |
Timo Aaltonen |
tags |
mantic noble |
mantic noble verification-needed verification-needed-mantic |
|
2024-01-26 22:53:16 |
Sudip Mukherjee |
tags |
mantic noble verification-needed verification-needed-mantic |
mantic noble verification-done verification-done-mantic |
|
2024-01-31 11:37:38 |
Robie Basak |
removed subscriber Ubuntu Stable Release Updates Team |
|
|
|
2024-01-31 11:37:37 |
Launchpad Janitor |
linphone (Ubuntu Mantic): status |
Fix Committed |
Fix Released |
|