[Libreoffice-bugs] [Bug 122272] FILEOPEN ODT Hang when opening file

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jan 15 05:53:07 UTC 2019


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

--- Comment #2 from Noel Grandin <noelgrandin at gmail.com> ---
Are you sure about that bisect?

Because both my commit and the immediately preceding commit are causing the
same crash, something like:

#0  0x00007fffeae7674a in FT_Glyph_Get_CBox () at /lib64/libfreetype.so.6
#1  0x00007ffff15a1fe7 in FreetypeFont::InitGlyphData(GlyphItem const&,
GlyphData&) const (this=0x5e1fda0, rGlyph=..., rGD=...)
    at
/media/noel/disk2/libo6/vcl/unx/generic/glyphs/freetype_glyphcache.cxx:651
#2  0x00007ffff15abf0e in FreetypeFont::GetGlyphBoundRect(GlyphItem const&)
(this=0x5e1fda0, rGlyph=...) at
/media/noel/disk2/libo6/vcl/unx/generic/glyphs/glyphcache.cxx:329
#3  0x00007ffff159856e in CairoTextRender::GetGlyphBoundRect(GlyphItem const&,
tools::Rectangle&) (this=0x4925400, rGlyph=..., rRect=...)
    at /media/noel/disk2/libo6/vcl/unx/generic/gdi/cairotextrender.cxx:438
#4  0x00007ffff1596783 in SvpSalGraphics::GetGlyphBoundRect(GlyphItem const&,
tools::Rectangle&) (this=0x4925390, rGlyph=..., rRect=...)
    at /media/noel/disk2/libo6/vcl/headless/svptext.cxx:96
#5  0x00007ffff136acf0 in SalLayout::GetBoundRect(SalGraphics&,
tools::Rectangle&) const (this=0x5e1f7a0, rSalGraphics=..., rRect=...)
    at /media/noel/disk2/libo6/vcl/source/gdi/sallayout.cxx:679
#6  0x00007ffff1119e6a in OutputDevice::GetTextBoundRect(tools::Rectangle&,
rtl::OUString const&, int, int, int, unsigned long, long const*) const
    (this=0x4921f00, rRect=..., rStr=Python Exception <class 'gdb.error'>
Length is larger than array size.: 
, nBase=0, nIndex=0, nLen=1, nLayoutWidth=0, pDXAry=0x0) at
/media/noel/disk2/libo6/vcl/source/outdev/text.cxx:2423
#7  0x00007fffd478ae94 in SwDropCapCache::CalcFontSize(SwDropPortion*,
SwTextFormatInfo&) (this=0x5c86250, pDrop=0x5e08920, rInf=...)
    at /media/noel/disk2/libo6/sw/source/core/text/txtdrop.cxx:778
#8  0x00007fffd478b825 in SwDropPortion::Format(SwTextFormatInfo&)
(this=0x5e08920, rInf=...) at
/media/noel/disk2/libo6/sw/source/core/text/txtdrop.cxx:947
#9  0x00007fffd473ca82 in SwTextFormatter::BuildPortions(SwTextFormatInfo&)
(this=0x7fffffff0ab0, rInf=...) at
/media/noel/disk2/libo6/sw/source/core/text/itrform2.cxx:530
#10 0x00007fffd4740c8f in SwTextFormatter::FormatLine(int)
(this=0x7fffffff0ab0, nStartPos=0) at
/media/noel/disk2/libo6/sw/source/core/text/itrform2.cxx:1548
#11 0x00007fffd4710f77 in SwTextFrame::FormatLine(SwTextFormatter&, bool)
(this=0x4a9a930, rLine=..., bPrev=false)
    at /media/noel/disk2/libo6/sw/source/core/text/frmform.cxx:1125
#12 0x00007fffd4712498 in SwTextFrame::Format_(SwTextFormatter&,
SwTextFormatInfo&, bool) (this=0x4a9a930, rLine=..., rInf=..., bAdjust=false)
    at /media/noel/disk2/libo6/sw/source/core/text/frmform.cxx:1480
#13 0x00007fffd4712dd9 in SwTextFrame::Format_(OutputDevice*, SwParaPortion*)
(this=0x4a9a930, pRenderContext=0x4a57490, pPara=0x5e1b720)
    at /media/noel/disk2/libo6/sw/source/core/text/frmform.cxx:1654
#14 0x00007fffd47137a3 in SwTextFrame::Format(OutputDevice*, SwBorderAttrs
const*) (this=0x4a9a930, pRenderContext=0x4a57490)
    at /media/noel/disk2/libo6/sw/source/core/text/frmform.cxx:1801
#15 0x00007fffd4582181 in SwContentFrame::MakeAll(OutputDevice*)
(this=0x4a9a930) at
/media/noel/disk2/libo6/sw/source/core/layout/calcmove.cxx:1393
#16 0x00007fffd457d06e in SwFrame::OptPrepareMake() (this=0x4a9a930) at
/media/noel/disk2/libo6/sw/source/core/layout/calcmove.cxx:368
#17 0x00007fffd45dc060 in SwFrame::OptCalc() const (this=0x4a9a930) at
/media/noel/disk2/libo6/sw/source/core/inc/frame.hxx:892
#18 0x00007fffd45d9c16 in SwLayAction::FormatContent_(SwContentFrame const*,
SwPageFrame const*) (this=0x7fffffff1cb0, pContent=0x4a9a930, pPage=0x4a9c5e0)
    at /media/noel/disk2/libo6/sw/source/core/layout/layact.cxx:1789
#19 0x00007fffd45d91ac in SwLayAction::FormatContent(SwPageFrame const*)
(this=0x7fffffff1cb0, pPage=0x4a9c5e0)
    at /media/noel/disk2/libo6/sw/source/core/layout/layact.cxx:1620
#20 0x00007fffd45d590e in SwLayAction::InternalAction(OutputDevice*)
(this=0x7fffffff1cb0, pRenderContext=0x4a57490)
    at /media/noel/disk2/libo6/sw/source/core/layout/layact.cxx:760
#21 0x00007fffd45d40cf in SwLayAction::Action(OutputDevice*)
(this=0x7fffffff1cb0, pRenderContext=0x4a57490) at
/media/noel/disk2/libo6/sw/source/core/layout/layact.cxx:351
#22 0x00007fffd45db31f in SwLayIdle::SwLayIdle(SwRootFrame*, SwViewShellImp*)
(this=0x7fffffff1d60, pRt=0x4a6b140, pI=0x4a68cc0)
    at /media/noel/disk2/libo6/sw/source/core/layout/layact.cxx:2133
#23 0x00007fffd4ae00c4 in SwViewShell::LayoutIdle() (this=0x4a6bdb0) at
/media/noel/disk2/libo6/sw/source/core/view/viewsh.cxx:711
#24 0x00007fffd42a69bd in sw::DocumentTimerManager::DoIdleJobs(Timer*)
(this=0x18d08a0, pIdle=0x18d08b8)

-- 
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/20190115/31202c7e/attachment.html>


More information about the Libreoffice-bugs mailing list