Re: Help needed !!! SolarMutex

2018-01-16 Thread Miklos Vajna
Hi,

On Mon, Jan 15, 2018 at 09:27:27PM +0100, jan iversen  
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


signature.asc
Description: Digital signature
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice


Help needed !!! SolarMutex

2018-01-15 Thread jan iversen
Hi

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.

rgds
jan I.
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice