[PATCH-3-5][PATCH-3-5-5] fdo#50603: Close fds across a restart of soffice on Mac OS X

Stephan Bergmann sbergman at redhat.com
Mon Jun 18 04:28:50 PDT 2012


Hi all,

Via some "remote debugging" I found out the reason for 
<https://bugs.freedesktop.org/show_bug.cgi?id=50603> "Unable to update 
LibreOffice without resetting user profile" is that an soffice 
restarting itself on Mac OS X (when it finds out that the per-user 
information about shared/bundled extensions is not in sync upon startup; 
or after a crash) has file descriptors from the old instance still open.

<http://cgit.freedesktop.org/libreoffice/core/commit/?id=d5e9c2e3e85a2bcdd6a0b2088253fc133e52e831> 
"fdo#50603: Close fds across a restart of soffice on Mac OS X" fixes 
that on master, and I already backported it to libreoffice-3-6.

Please review that patch and consider it for backporting to 
libreoffice-3-5 and libreoffice-3-5-5.  (According to Michal:  "I just 
created a new network test-user, installed LO 3.5.3 + sk lang-pack, ran 
it, created a document.  All fine (as it was before).  Deleted LO 3.5.3, 
installed 3.5.4 + sk lang-pack + your libuno_sal.dylib.3 [containing the 
patch].  Started LO, created a new document, played with it for some 
while, no crash at all (Yay!).")

Thanks,
Stephan


More information about the LibreOffice mailing list