https://bugs.freedesktop.org/show_bug.cgi?id=78838

Julien Nabet <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected],
                   |                            |[email protected],
                   |                            |markus.mohrhard@googlemail.
                   |                            |com, [email protected]

--- Comment #6 from Julien Nabet <[email protected]> ---
"attempt to compare a singular iterator to a past-the-end iterator" has been
seen too in fdo#47865
Caolan had fixed it with
http://cgit.freedesktop.org/libreoffice/core/commit/?id=9cab649ccb3d827258e95a9b5c91d4b726564d89

So I thought that insert data in pColumnData might invalidate miAutoPosColumn

With this patch, I don't reproduce the crash.
diff --git a/sc/source/ui/app/inputhdl.cxx b/sc/source/ui/app/inputhdl.cxx
index 8b8d051..32ece93 100644
--- a/sc/source/ui/app/inputhdl.cxx
+++ b/sc/source/ui/app/inputhdl.cxx
@@ -1417,7 +1417,10 @@ void ScInputHandler::GetColData()
         pDoc->GetDataEntries(
             aCursorPos.Col(), aCursorPos.Row(), aCursorPos.Tab(), true,
aEntries, true);
         if (!aEntries.empty())
+        {
             pColumnData->insert(aEntries.begin(), aEntries.end());
+            miAutoPosColumn = pColumnData->end();
+        }
     }
 }

Terrence: even if you had a different bt, could you give it a try?

Kohei/Markus/Eike: I thought it might interest you (crash with bt in sc part)

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to