Date: prev next · Thread: first prev next last
2019 Archives by date, by thread · List index


On Mon, 2019-01-14 at 09:32 +0000, Crashtest VM wrote:
New crashtest update available at...

The assert on exporting ooo67907-1.doc to odt is reproducible for me,
i.e.

./instdir/program/soffice.bin --headless --convert-to odt ooo67907-
1.doc

asserts with...

soffice.bin: core/sw/source/core/text/txtfrm.cxx:1100:
std::pair<SwTextNode*, int> sw::MapViewToModel(const sw::MergedPara&,
TextFrameIndex): Assertion `nIndex == 0 && "view index out of bounds"'
failed.

according to git bisect, since...

Commit b15f1ed2a1df45a57b587ac90efa90c1c18866fc (HEAD)
Author: Michael Stahl <Michael.Stahl@cib.de>
Date:   Tue Jan 8 13:22:31 2019 +0100

    sw_redlinehide: try harder to prevent SetRedlineFlags from messing
things up

with bt....

#4  0x00007fffb6883ffa in sw::MapViewToModel(sw::MergedPara const&,
o3tl::strong_int<int, Tag_TextFrameIndex>) (rMerged=..., i_nIndex=...)
    at core/sw/source/core/text/txtfrm.cxx:1100
#5  0x00007fffb68844c4 in
SwTextFrame::MapViewToModel(o3tl::strong_int<int, Tag_TextFrameIndex>)
const (this=0x50ff390, nIndex=...)
    at core/sw/source/core/text/txtfrm.cxx:1160
#6  0x00007fffb66fe4f5 in
SwTextNode::fillSoftPageBreakList(std::__debug::set<int,
std::less<int>, std::allocator<int> >&) const (this=0x4b3aec0, rBreak=
    std::__debug::set with 0 elements) at
core/sw/source/core/layout/softpagebreak.cxx:96
#7  0x00007fffb6b5417d in lcl_FillSoftPageBreakArray(SwUnoCursor
const&, SwSoftPageBreakList&) (rUnoCursor=SwUnoCursor = {...},
rBreakArr=std::__debug::set with 0 elements)
    at core/sw/source/core/unocore/unoportenum.cxx:1111
#8  0x00007fffb6b5549b in lcl_CreatePortions(TextRangeList_t&,
com::sun::star::uno::Reference<com::sun::star::text::XText> const&,
SwUnoCursor*, FrameClientSortList_t&, sal_Int32, sal_Int32)
(i_rPortions=std::__debug::deque with 0 elements, i_xParentText=
    uno::Reference to (SwXBodyText *) 0x4e70560, pUnoCursor=0x56d3ed0,
i_rFrames=std::__debug::deque with 0 elements, i_nStartPos=-1,
i_nEndPos=-1)
    at core/sw/source/core/unocore/unoportenum.cxx:1325
#9  0x00007fffb6b50d38 in
SwXTextPortionEnumeration::SwXTextPortionEnumeration(SwPaM&,
com::sun::star::uno::Reference<com::sun::star::text::XText> const&,
int, int)
    (this=0x5669360, rParaCursor=SwPaM = {...},
xParentText=uno::Reference to (SwXBodyText *) 0x4e70560, nStart=-1,
nEnd=-1)
    at core/sw/source/core/unocore/unoportenum.cxx:363
#10 0x00007fffb6b46d36 in SwXParagraph::createEnumeration()
(this=0x5434540) at core/sw/source/core/unocore/unoparagraph.cxx:1275
#11 0x00007fffed05ff3c in
XMLTextParagraphExport::exportParagraph(com::sun::star::uno::Reference<
com::sun::star::text::XTextContent> const&, bool, bool, bool,
MultiPropertySetHelper&, TextPNS) (
    this=0x4a4b320, rTextContent=uno::Reference to (SwXParagraph *)
0x54345b0, bAutoStyles=false, bIsProgress=true, bExportParagraph=true,
rPropSetHelper=..., eExtensionNS=TextPNS::ODF) at
core/xmloff/source/text/txtparae.cxx:2080
#12 0x00007fffed05e9a3 in
XMLTextParagraphExport::exportTextContentEnumeration(com::sun::star::un
o::Reference<com::sun::star::container::XEnumeration> const&, bool,
com::sun::star::uno::Reference<com::sun::star::text::XTextSection>
const&, bool, bool,
com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet>
const*, TextPNS)
    (this=0x4a4b320, rContEnum=
    uno::Reference to (SwXParagraphEnumerationImpl *) 0x4fade30,
bAutoStyles=false, rBaseSection=empty uno::Reference, bIsProgress=true,
bExportParagraph=true, pRangePropSet=0x0, eExtensionNS=TextPNS::ODF) at
core/xmloff/source/text/txtparae.cxx:1803
#13 0x00007fffed05e06f in
XMLTextParagraphExport::exportText(com::sun::star::uno::Reference<com::
sun::star::text::XText> const&, bool, bool, bool, TextPNS)
    (this=0x4a4b320, rText=uno::Reference to (SwXBodyText *) 0x4e70560,
bAutoStyles=false, bIsProgress=true, bExportParagraph=true,
eExtensionNS=TextPNS::ODF)
    at core/xmloff/source/text/txtparae.cxx:1679
#14 0x00007fffb6dbcb86 in
XMLTextParagraphExport::exportText(com::sun::star::uno::Reference<com::
sun::star::text::XText> const&, bool, bool, TextPNS)
    (this=0x4a4b320, rText=uno::Reference to (SwXBodyText *) 0x4e70560,
bIsProgress=true, bExportParagraph=true, eExtensionNS=TextPNS::ODF)
    at core/include/xmloff/txtparae.hxx:482
#15 0x00007fffb6dbb5ad in SwXMLExport::ExportContent_()
(this=0x4e6bcf0) at core/sw/source/filter/xml/xmlexp.cxx:482
#16 0x00007fffeccf5c62 in SvXMLExport::ImplExportContent()
(this=0x4e6bcf0) at core/xmloff/source/core/xmlexp.cxx:1200
#17 0x00007fffeccf6c24 in
SvXMLExport::exportDoc(xmloff::token::XMLTokenEnum) (this=0x4e6bcf0,
eClass=xmloff::token::XML_TEXT)



Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.