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

            Bug ID: 171308
           Summary: SwRedlineItr::SwRedlineItr(const SwTextNode&, SwFont&,
                    SwAttrHandler&, sal_Int32, Mode, const
                    std::__debug::vector<ExtTextInputAttr>*, const
                    SwPosition*): Assertion `m_pExt || m_eMode !=
                    Mode::Ignore' failed.
           Product: LibreOffice
           Version: 26.8.0.0 alpha0+ master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Description:
SwRedlineItr::SwRedlineItr(const SwTextNode&, SwFont&, SwAttrHandler&,
sal_Int32, Mode, const std::__debug::vector<ExtTextInputAttr>*, const
SwPosition*): Assertion `m_pExt || m_eMode != Mode::Ignore' failed.

assert on:

./instdir/program/soffice --headless --convert-to odt ./ooo121134-1-min.docx

Steps to Reproduce:
1. ./instdir/program/soffice --headless --convert-to odt ./ooo121134-1-min.docx

Actual Results:
#3  0x00007ffff7810639 in __assert_fail_base.cold () at /lib64/libc.so.6
#4  0x00007fffc701a421 in SwRedlineItr::SwRedlineItr (this=0x57d7620,
rTextNd=..., rFnt=..., rAH=..., nRed=2147483647,
mode=SwRedlineItr::Mode::Ignore, pArr=0x0, pExtInputStart=0x0)
    at /home/caolan/LibreOffice/core/sw/source/core/text/redlnitr.cxx:845
#5  0x00007fffc701a0f0 in SwAttrIter::CtorInitAttrIter (this=0x7fffffff6140,
rTextNode=..., rScriptInfo=..., pFrame=0x4378560)
    at /home/caolan/LibreOffice/core/sw/source/core/text/redlnitr.cxx:804
#6  0x00007fffc6fbc20f in SwTextIter::CtorInitTextIter (this=0x7fffffff6140,
pNewFrame=0x4378560, pNewInf=0x7fffffff5ef0)
    at /home/caolan/LibreOffice/core/sw/source/core/text/itrtxt.cxx:41
#7  0x00007fffc6f9179a in SwTextMargin::CtorInitTextMargin
(this=0x7fffffff6140, pNewFrame=0x4378560, pNewInf=0x7fffffff5ef0)
    at /home/caolan/LibreOffice/core/sw/source/core/text/itrcrsr.cxx:158
#8  0x00007fffc6f927af in SwTextCursor::CtorInitTextCursor
(this=0x7fffffff6140, pNewFrame=0x4378560, pNewInf=0x7fffffff5ef0)
    at /home/caolan/LibreOffice/core/sw/source/core/text/itrcrsr.cxx:422
#9  0x00007fffc6fb6ef0 in SwTextPainter::CtorInitTextPainter
(this=0x7fffffff6140, pNewFrame=0x4378560, pNewInf=0x7fffffff5ef0)
    at /home/caolan/LibreOffice/core/sw/source/core/text/itrpaint.cxx:70
#10 0x00007fffc6f9d008 in SwTextFormatter::CtorInitTextFormatter
(this=0x7fffffff6140, pNewFrame=0x4378560, pNewInf=0x7fffffff5ef0)
    at /home/caolan/LibreOffice/core/sw/source/core/text/itrform2.cxx:98
#11 0x00007fffc6f56ef1 in SwTextFormatter::SwTextFormatter
(this=0x7fffffff6140, pTextFrame=0x4378560, pTextFormatInf=0x7fffffff5ef0)
    at /home/caolan/LibreOffice/core/sw/source/core/text/itrform2.hxx:157
#12 0x00007fffc6f533d3 in SwTextFrame::FormatImpl (this=0x4378560,
pRenderContext=0x436b070, pPara=0x5393170,
rIntersectingObjs=std::__debug::vector of length 0, capacity 0)
    at /home/caolan/LibreOffice/core/sw/source/core/text/frmform.cxx:2022
#13 0x00007fffc6f5490b in SwTextFrame::Format (this=0x4378560,
pRenderContext=0x436b070) at
/home/caolan/LibreOffice/core/sw/source/core/text/frmform.cxx:2280
#14 0x00007fffc6d094ce in SwContentFrame::MakeAll (this=0x4378560) at
/home/caolan/LibreOffice/core/sw/source/core/layout/calcmove.cxx:1633
#15 0x00007fffc6d03e84 in SwFrame::OptPrepareMake (this=0x4378560) at
/home/caolan/LibreOffice/core/sw/source/core/layout/calcmove.cxx:420
#16 0x00007fffc6d89d7d in SwFrame::OptCalc (this=0x4378560) at
/home/caolan/LibreOffice/core/sw/source/core/inc/frame.hxx:1135
#17 0x00007fffc6d86b31 in SwLayAction::FormatContent_ (this=0x7fffffff9000,
pContent=0x4378560, pPage=0x51b8910)
    at /home/caolan/LibreOffice/core/sw/source/core/layout/layact.cxx:2043
#18 0x00007fffc6d85d42 in SwLayAction::FormatContent (this=0x7fffffff9000,
pPage=0x51b8910) at
/home/caolan/LibreOffice/core/sw/source/core/layout/layact.cxx:1849
#19 0x00007fffc6d8064a in SwLayAction::InternalAction (this=0x7fffffff9000,
pRenderContext=0x436b070) at
/home/caolan/LibreOffice/core/sw/source/core/layout/layact.cxx:641
#20 0x00007fffc6d7f4a3 in SwLayAction::Action (this=0x7fffffff9000,
pRenderContext=0x436b070) at
/home/caolan/LibreOffice/core/sw/source/core/layout/layact.cxx:404
#21 0x00007fffc74fda0b in SwViewShell::CalcLayout (this=0x4377a70) at
/home/caolan/LibreOffice/core/sw/source/core/view/viewsh.cxx:1261
#22 0x00007fffc6bea14b in SwEditShell::CalcLayout (this=0x4377a70) at
/home/caolan/LibreOffice/core/sw/source/core/edit/edws.cxx:89
#23 0x00007fffc72e641e in SwXFrame::getPropertyValue (this=0x5391f70,
rPropertyName="LayoutSize") at
/home/caolan/LibreOffice/core/sw/source/core/unocore/unoframe.cxx:2216
#24 0x00007fffc72ee706 in SwXTextFrame::getPropertyValue (this=0x5391f70,
rPropertyName="LayoutSize") at
/home/caolan/LibreOffice/core/sw/source/core/unocore/unoframe.cxx:3383
#25 0x00007fffe96899d7 in
XMLTextParagraphExport::addTextFrameAttributes(com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet>
const&, bool, basegfx::B2DPoint*, rtl::OUString*, rtl::OUString*) () at
/home/caolan/LibreOffice/core/xmloff/source/text/txtparae.cxx:2968
#26 0x00007fffe968b81c in
XMLTextParagraphExport::_exportTextFrame(com::sun::star::uno::Reference<com::sun::star::beans::XPropertySet>
const&, com::sun::star::uno::Reference<com::sun::star::beans::XPropertySetInfo>
const&, bool) () at
/home/caolan/LibreOffice/core/xmloff/source/text/txtparae.cxx:3276


Expected Results:
no assert


Reproducible: Always


User Profile Reset: Yes

Additional Info:
not new, seen it for over a year in crashtesting, but this minimal reproducer
isolates the problem

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to