[Libreoffice-bugs] [Bug 107973] CRASH: After specific paste and undo operation

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Nov 14 07:02:10 UTC 2017


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

Fyodor <fyodor_e at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |DUPLICATE
           Assignee|libreoffice-bugs at lists.free |fyodor_e at hotmail.com
                   |desktop.org                 |

--- Comment #3 from Fyodor <fyodor_e at hotmail.com> ---
This bug surely relates to
https://bugs.documentfoundation.org/show_bug.cgi?id=94225.
Crush happens here
https://opengrok.libreoffice.org/xref/core/sw/source/core/undo/unins.cxx#234

            SwNodeIndex aNd( pTmpDoc->GetNodes(), nNode);
            SwContentNode* pCNd = aNd.GetNode().GetContentNode();
            SwPaM aPaM( *pCNd, nContent );

As I've described in
https://bugs.documentfoundation.org/show_bug.cgi?id=94225#c44, fly anchored to
last para haven't got deleted. As a result, node indices, stored in Undo clases
become invalid, which leads to crush.

Code above creates aNd index pointing to start section node. GetContentNode
returns nullptr and SwPaM constructor crushes LO.

This bug will be resolved as bug 94255 gets resolved.

*** This bug has been marked as a duplicate of bug 94255 ***

-- 
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/20171114/107702aa/attachment.html>


More information about the Libreoffice-bugs mailing list