[Libreoffice-bugs] [Bug 111893] initNSApp() leaks memory
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Aug 22 20:10:41 UTC 2017
https://bugs.documentfoundation.org/show_bug.cgi?id=111893
Julien Nabet <serval2412 at yahoo.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |sbergman at redhat.com,
| |thb at libreoffice.org
--- Comment #4 from Julien Nabet <serval2412 at yahoo.fr> ---
I looked at initNSApp method and noticed that some observers were added (see
https://opengrok.libreoffice.org/xref/core/vcl/osx/salinst.cxx#139) but never
released.
On MacOs I tried to follow the init process but I indeed never reached the end
of Desktop::Main as announced with:
1700 // CAUTION: you do not necessarily get here e.g. on the Mac.
(see
https://opengrok.libreoffice.org/xref/core/desktop/source/app/app.cxx#1700)
The weird thing is this other line:
1701 // please put all deinitialization code into doShutdown
I can't reach doShutdown on my Mac so can't deinitialize properly.
By adding some std::cerr, I noticed, LO went until DoExecute (line 1666) then
nothing
I tried to launch it with lldb but when quitting soffice, there's no abort, LO
exits with return code 0
I'm a bit stuck here.
Thorsten: I put you in cc as MacOs expert (from
https://wiki.documentfoundation.org/FindTheExpert) but know that you're dealing
with EMF/WMF part
Stephan: having noticed you had fixed some MacOs specific pbs, thought you
might be interested in this one
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170822/91a36e0f/attachment.html>
More information about the Libreoffice-bugs
mailing list