[Libreoffice-bugs] [Bug 122821] Crash: sclo!ScDocOptions::GetDate

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Jan 20 10:04:42 UTC 2019


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

Julien Nabet <serval2412 at yahoo.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dennisfrancis.in at gmail.com

--- Comment #3 from Julien Nabet <serval2412 at yahoo.fr> ---
Investigating the bt, I found that
https://cgit.freedesktop.org/libreoffice/core/commit/?id=4ddd6f329163cbac5ff31e51a5b028d8eeedadd2

I tried this naive patch locally:
diff --git a/sc/source/core/data/documen2.cxx
b/sc/source/core/data/documen2.cxx
index ebcae2c95774..a2b6287aabc3 100644
--- a/sc/source/core/data/documen2.cxx
+++ b/sc/source/core/data/documen2.cxx
@@ -1163,7 +1163,7 @@ void ScDocument::RemoveLookupCache( ScLookupCache &
rCache )
 void ScDocument::ClearLookupCaches()
 {
     assert(!IsThreadedGroupCalcInProgress());
-    DELETEZ(GetNonThreadedContext().mScLookupCache);
+    //DELETEZ(GetNonThreadedContext().mScLookupCache);
     // Clear lookup cache in all interpreter-contexts in the
(threaded/non-threaded) pools.
     ScInterpreterContextPool::ClearLookupCaches();
 }
I don't reproduce the assert and got no crash.

Dennis: thought you might have some opinion here.

-- 
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/20190120/386aa506/attachment.html>


More information about the Libreoffice-bugs mailing list