Callbacks from UNO to Python intermittently lead to a deadlock in Implementation::inspect() in stoc/source/inspect/introspection.cxx See also http://lists.freedesktop.org/archives/libreoffice/2015-June/068986.html
Created attachment 116939 [details] Reproducer script Reproducer script attached - to run: export PYTHONPATH=[some_directory]/core/instdir/program export URE_BOOTSTRAP="vnd.sun.star.pathname:[some_directory]/core/instdir/program/fundamentalrc" for i in `seq 1 100`; do ./test.py; done At least for me it's rather prone to locking up the X session (with or without SAL_NO_MOUSEGRABS, etc.) so have a remote terminal handy before trying. The payload is the last function in the script - the rest is just setup/support code.
Adding Cc: to sbergman@redhat.com as requested - thanks
Stephan Bergmann committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a12db8e9e1960f3f209f1b95547041681566d636 tdf#92440: Reduce code areas covered by mutex It will be available in 5.1.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.