[Bug 2047458] Re: [SRU] Linphone 5.0.2-4 crashes on launch

Simon Chopin 2047458 at bugs.launchpad.net
Wed Jan 10 10:27:34 UTC 2024


Unsubscribing ubuntu-sponsors as everything looks to have been uploaded,
the mantic package is still in the SRU queue.

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/2047458

Title:
  [SRU] Linphone 5.0.2-4 crashes on launch

Status in linphone package in Ubuntu:
  Fix Released
Status in linphone source package in Mantic:
  In Progress

Bug description:
  [ 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linphone/+bug/2047458/+subscriptions




More information about the Ubuntu-sponsors mailing list