[Libreoffice-bugs] [Bug 124721] Crash in sw::UpdateFramesForRemoveDeleteRedline(SwDoc &, SwPaM const &)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Apr 16 09:49:54 UTC 2019


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

Michael Stahl (CIB) <michael.stahl at cib.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|bibisected, bisected,       |
                   |regression, wantBacktrace   |
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=10
                   |                            |7975

--- Comment #3 from Michael Stahl (CIB) <michael.stahl at cib.de> ---
doesn't look like a regression from sw_redlinehide; 6.1 and 6.0 have the same
assert as master:

soffice.bin: libreoffice-6-1/sw/source/core/txtnode/thints.cxx:1265: bool
SwTextNode::InsertHint(SwTextAttr*, SetAttrMode): Assertion `pAttr &&
pAttr->GetStart() <= Len()' failed.

the problem is that this frame (anchored at-char in the last node of the
document) is duplicated on Undo:

[ 162]  0x8008160           StartNode , 
[ 163]   0x8013e20           TextNode "Ek wil net graag hiermee  baie dankie se
aan die CPF -  Gerna, Robert en Eksteen.  Ek waardeer jul onbaatsugtige hulp. 
Julle entoesiasme en ondersteuning  sal my bybly. Dit is nogal gerusstellend om
te weet sulke mense is net 'n telefoon- of radio-oproep ver!  Ek kan julle
verseker dat my man julle ook ewig dankbaar is!  Dit mag volgende keer dalk nie
'n onskadelike slang wees nie!", 
[ 164]   0x8015f70           TextNode "", 
[ 165]   0x80161a0           TextNode "Mercia Engelbrecht", 
[ 166]  0x80109e0             EndNode , 

subsequently the node indexes are offset and crash is inevitable; the assert is
because the hint from Undo is inserted on the wrong node.

this reminds me of bug 107975 and 2903d85d6197829633d7f96c95cd55821c2c20ff

-- 
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/20190416/a285689b/attachment.html>


More information about the Libreoffice-bugs mailing list