https://bugs.documentfoundation.org/show_bug.cgi?id=157841
Bug ID: 157841 Summary: LibreOfficeKit is not thread safe Product: LibreOffice Version: unspecified Hardware: All OS: All Status: UNCONFIRMED Severity: normal Priority: medium Component: Base Assignee: libreoffice-bugs@lists.freedesktop.org Reporter: stevefan1...@gmail.com Description: We want to use LibreOfficeKit in multiple threads, but it seems like it does not work at the moment Steps to Reproduce: 1. Install LibreOffice 2. Follow the conceptual code in this comment: https://github.com/undeflife/libreoffice-rs/issues/17#issuecomment-1772300024 Actual Results: Segfaults on libmergedlo.so Expected Results: It should work out of the box. Reproducible: Always User Profile Reset: No Additional Info: I think we need to make all the static variables thread local, especially gImpl here: https://github1s.com/LibreOffice/core/blob/HEAD/desktop/source/lib/init.cxx#L245 -- You are receiving this mail because: You are the assignee for the bug.