| Summary: | CRASH: After specific paste and undo operation | ||
|---|---|---|---|
| Product: | LibreOffice | Reporter: | Telesto <telesto> |
| Component: | Writer | Assignee: | Fyodor <fyodor_e> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | critical | CC: | ilmari.lauhakangas, serval2412, telesto, xiscofauli |
| Priority: | high | Keywords: | haveBacktrace |
| Version: | Inherited From OOo | ||
| Hardware: | All | ||
| OS: | All | ||
| See Also: |
https://bugs.documentfoundation.org/show_bug.cgi?id=94225 https://bugs.documentfoundation.org/show_bug.cgi?id=108124 |
||
| Whiteboard: | |||
| Crash report or crash signature: | ["SwPosition::SwPosition(SwNode const &)"] | Regression By: | |
| Bug Depends on: | |||
| Bug Blocks: | 105948 | ||
| Attachments: | backtrace | ||
|
Description
Telesto
2017-05-20 17:49:03 UTC
Reproduced in LibreOffice 3.3.0 OOO330m19 (Build:6) tag libreoffice-3.3.0.4 Created attachment 133442 [details]
backtrace
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 *** |