[Libreoffice-bugs] [Bug 114342] Crash while opening a document

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Dec 9 21:55:36 UTC 2017


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

--- Comment #6 from Julien Nabet <serval2412 at yahoo.fr> ---
It's a stack overflow.
After having found that UseThreadedCalculationForFormulaGroups returned 1, I
used this patch just for the test:
diff --git a/sc/source/core/data/formulacell.cxx
b/sc/source/core/data/formulacell.cxx
index 955be80b4c59..9d4c3a97cd40 100644
--- a/sc/source/core/data/formulacell.cxx
+++ b/sc/source/core/data/formulacell.cxx
@@ -4344,7 +4344,7 @@ bool ScFormulaCell::InterpretFormulaGroup()

     if (!bThreadingProhibited && !ScCalcConfig::isOpenCLEnabled() &&
         pCode->GetVectorState() == FormulaVectorEnabledForThreading &&
-       
officecfg::Office::Calc::Formula::Calculation::UseThreadedCalculationForFormulaGroups::get())
+       
officecfg::Office::Calc::Formula::Calculation::UseThreadedCalculationForFormulaGroups::get()
&& false)
     {
         // iterate over code in the formula ...
         // ensure all input is pre-calculated -

I could open the file.

Now I don't know how to fix this.

-- 
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/20171209/bcb84c59/attachment.html>


More information about the Libreoffice-bugs mailing list