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 _______________________________________________ LibreOffice mailing list LibreOffice@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice