Help needed !!! SolarMutex

Miklos Vajna vmiklos at collabora.co.uk
Tue Jan 16 08:49:48 UTC 2018


Hi,

On Mon, Jan 15, 2018 at 09:27:27PM +0100, jan iversen <jancasacondor at gmail.com> wrote:
> I need help. I am debugging the iOS version of LibreOfficeKit init() to
> find a missing SolarMutex release (Xcode 9 debugger).
> 
> Can someone please tell me how to "see" (in the debugger) if the SolarMutex
> is locked, and if so to which task.

Here is what I would try:

- put SAL_DEBUG statements into
  comphelper::GenericSolarMutex::doRelease/doAcquire

- monitor the output, if you see an acquire without a matching release,
  you can put a breakpoint on the function in your debugger, have a look
  at the backtrace, that will show you who locked the mutex without a
  release

Regards,

Miklos
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20180116/156be1ed/attachment.sig>


More information about the LibreOffice mailing list