linphone-desktop icon indicating copy to clipboard operation
linphone-desktop copied to clipboard

[Bug]: Error "QSharedMemory::create: out of resources" on macOS with Linphone 5.2.4

Open saygonka opened this issue 10 months ago • 4 comments

Context

Hello Linphone Team,

I am experiencing a recurrent issue when attempting to launch Linphone 5.2.4 on macOS. The application fails to start, and I receive the following error messages:

SingleApplication: Unable to create block.
SingleApplication: 7 "QSharedMemory::create: out of resources"

General information

  • Device: Mac mini
  • OS: Sonoma 14.4
  • Version of the App: 5.2.4

Expected behaviour

Linphone should start without any error related to resource allocation.

To Reproduce

  1. Open Terminal
  2. Run open /Applications/Linphone.app/Contents/MacOS/linphone

Additional context

No response

SDK logs URL

No response

saygonka avatar Apr 24 '24 09:04 saygonka

Could it be an issue with Rosetta?

Ledjlale avatar May 15 '24 07:05 Ledjlale

This part is managed by the SingleApplication project. It is more like an issue coming from them ( https://github.com/itay-grudev/SingleApplication/ ). We are using 3.4.0 but I don't see any commit till the 3.5.1 that resolved this kind of issue.

Ledjlale avatar May 15 '24 07:05 Ledjlale

Update from: https://github.com/itay-grudev/SingleApplication/issues/194#issuecomment-2164963306 QSharedMemory will desappear on v4.0

Ledjlale avatar Jun 13 '24 08:06 Ledjlale

@Ledjlale Thanks for letting us know about it! I had the same issue today. After rebooting the Mac mini, Linphone ran without any issues. So until QSharedMemory disappears, rebooting seems to be a workaround.

saygonka avatar Jul 16 '24 15:07 saygonka