https://bugs.documentfoundation.org/show_bug.cgi?id=101136

            Bug ID: 101136
           Summary: ODatabaseDocument deadlocks
           Product: LibreOffice
           Version: 5.3.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Base
          Assignee: libreoffice-bugs@lists.freedesktop.org
          Reporter: mst...@redhat.com
                CC: lio...@mamane.lu

Created attachment 126417
  --> https://bugs.documentfoundation.org/attachment.cgi?id=126417&action=edit
deadlocked stacks

if i run the crash-testing test-bugzilla-files.py with LO 5.1.4.2,
about 10% of the documents that are "exported" are actually
copies of the source document.

this is because during the export Base deadlocks and the python
script kills it after 180 seconds.  these timeout-kills are not
reported in the "crashlog" that is generated.

apparently calling ODatabaseDocument members on a non-main thread
doesn't work well because the main thread may be dispatching
some Idle or Timer at the same time that calls into Base UI,
which then may call ODatabaseDocument members.

that deadlocks because ODatabaseDocument has its own mutex.

i wonder if that can be fixed by replacing ODatabaseDocument's
own mutex with SolarMutex.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to