Solarmutex Deadlock when Closing Calc which contains functions with XVolatileResult return values

Stephan Bergmann sbergman at redhat.com
Mon Jul 30 00:57:40 PDT 2012


On 07/27/2012 05:43 PM, anwen wrote:
> After doing some research, I suspect that the deadlock is because of
> SolarMutex. The main thread starts termination process, acquires SolarMutex,
> and tries to close the second thread. But the second thread can not complete
> if the Listener->modified() function is waiting for SolarMutex too.

Sounds reasonable.  The SolarMutex is a constant source of joy, and 
joining on a thread with SolarMutex locked sounds like a bad idea.  To 
help understand your concrete problem better, can you please show the 
backtraces of the two deadlocked threads?

Stephan


More information about the LibreOffice mailing list