vcl::Window::dispose deadlock

Noel Grandin noelgrandin at gmail.com
Tue Jun 9 01:02:20 PDT 2015



On 2015-06-09 09:58 AM, Stephan Bergmann wrote:
> On Windows, with master as of last night, "make check" happened to run into a deadlock in soffice.bin as below.  The
> main thread is trying to re-acquire the SolarMutex (after a SolarMutexReleaser) from within the event loop, while an
> incoming URP thread (apparently holding the SolarMutex) does vcl::Window::dispose which, on Windows, blocks on sending a
> message into the event loop.

Shouldn't something that blocks on sending a message into the event loop drop the SolarMutex while it waits for the 
reply, and then reacquire it afterwards?


More information about the LibreOffice mailing list