[Libreoffice-bugs] [Bug 106282] Crash in: windows.storage.dll when hitting cancel in file open dialog, when a file search is running

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Nov 21 13:50:56 UTC 2019


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

--- Comment #18 from Julien Nabet <serval2412 at yahoo.fr> ---
(In reply to Mike Kaganski from comment #17)
> The problem seems to be unloading of ExplorerFrame.dll in CoUninitialize()
> in the AsyncRequests thread, while still running the code from it (executing
> CFirstPageResults::RunBackgroundEnumeration - see comment 5).
> 
> However, simply removing CoUninitialize() from VistaFilePickerImpl::after()
> doesn't help, possibly because it still gets called automatically when the
> thread terminates (?).
>...

It makes me think about this log I got when just launching an LO module
(Writer/Calc/Impress/...) (Win10 with master sources updated today):
warn:extensions.olebridge:17940:13228:extensions/source/ole/olethread.cxx:41:
CoInitializeEx failed (expectedly): Impossible de modifier le mode thread une
fois qu’il a été fixé. (= Impossible to change thread mode once it has been
defined)
warn:extensions.olebridge:17940:13228:extensions/source/ole/olethread.cxx:61:  
Thread is in a main single-threaded apartment.

Searching "CoInitializeEx" gives:
https://opengrok.libreoffice.org/search?project=core&full=CoInitializeEx&defs=&refs=&path=&hist=&type=&si=full
some code use: "COINIT_MULTITHREADED"
other parts use: "COINIT_APARTMENTTHREADED"

-- 
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/20191121/ccb9c15c/attachment-0001.html>


More information about the Libreoffice-bugs mailing list