https://bugs.documentfoundation.org/show_bug.cgi?id=152524
--- Comment #26 from Patrick Luby <[email protected]> --- (In reply to steve from comment #25) > To verify that GPG Suite is at play, uninstalled GPG Suite and indeed, crash > and hang on open are gone. > > Patrick, if you remove all custom (homebrew, macports, ...) gpgs and only > run MacGPG from GPG Suite you are still unable to reproduce the hang / crash > on your Apple Silicon mac? I've been debugging with GPGSuite for the last couple of days. No hang or crash. But, after reading the link in comment #24 last night, I now suspect that what you are seeing is a symptom of that "Objective-C and fork()" problem. What fits in your LibreOffice version timeline is that, IIRC, the LibreOffice build servers were upgraded to macOS Ventura in the last year and the "Objective-C and fork()" problem occurs in code built with the macOS Ventura or later APIs. Have you had a chance to try my "run in the Terminal" steps in comment #24 yet? What those steps do is force macOS to run LibreOffice like it was compiled against a pre-Ventura version of macOS. If crashing stops, then I have an idea of how to fix this: force execution of gpgme on the main thread. I haven't confirmed it yet, but I think LibreOffice is calling fork() on a background thread while LibreOffice is calling Objective-C code (i.e. windows and drawing) on the main thread. It might be tricky doing this change so I'd like to know if the comment #24 workaround works or not. -- You are receiving this mail because: You are the assignee for the bug.
