[Libreoffice-bugs] [Bug 142694] Writer stops responding with busy CPU after opening this document
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Mon Jun 7 13:18:53 UTC 2021
https://bugs.documentfoundation.org/show_bug.cgi?id=142694
--- Comment #2 from Luke Deller <luke at deller.id.au> ---
Thanks Timur!
I opened this in the debugger with a local build
LibreOfficeDev 7.2.0.0.alpha1 ec629c5ee22d02f99d66a5cf975ce239876b7f4d
There is an infinite loop at the following location because pFrame->FindNext()
is returning pFrame again:
(gdb) frame
#0 SwFrame::PrepareMake (this=0x55555aa58180, pRenderContext=0x55555ab5b3a0)
at /home/deller/build/lo/sw/source/core/layout/calcmove.cxx:349
349 pFrame = pFrame->FindNext();
(gdb) bt
#0 SwFrame::PrepareMake(OutputDevice*) (this=0x55555aa58180,
pRenderContext=0x55555ab5b3a0) at
/home/deller/build/lo/sw/source/core/layout/calcmove.cxx:349
#1 0x00007fffbe797bfe in SwFrame::Calc(OutputDevice*) const
(this=0x55555aa58180, pRenderContext=0x55555ab5b3a0) at
/home/deller/build/lo/sw/source/core/layout/trvlfrm.cxx:1792
#2 0x00007fffbe7018cd in SwLayAction::FormatLayoutTab(SwTabFrame*, bool)
(this=0x7fffffff2000, pTab=0x55555aa58180, bAddRect=false) at
/home/deller/build/lo/sw/source/core/layout/layact.cxx:1476
#3 0x00007fffbe7010fe in SwLayAction::FormatLayout(OutputDevice*,
SwLayoutFrame*, bool) (this=0x7fffffff2000, pRenderContext=0x55555ab5b3a0,
pLay=0x55555aafa430, bAddRect=false)
at /home/deller/build/lo/sw/source/core/layout/layact.cxx:1364
#4 0x00007fffbe70118e in SwLayAction::FormatLayout(OutputDevice*,
SwLayoutFrame*, bool) (this=0x7fffffff2000, pRenderContext=0x55555ab5b3a0,
pLay=0x55555ab2be80, bAddRect=false)
at /home/deller/build/lo/sw/source/core/layout/layact.cxx:1369
#5 0x00007fffbe6fe1e1 in SwLayAction::InternalAction(OutputDevice*)
(this=0x7fffffff2000, pRenderContext=0x55555ab5b3a0) at
/home/deller/build/lo/sw/source/core/layout/layact.cxx:528
#6 0x00007fffbe6fd6e9 in SwLayAction::Action(OutputDevice*)
(this=0x7fffffff2000, pRenderContext=0x55555ab5b3a0) at
/home/deller/build/lo/sw/source/core/layout/layact.cxx:341
#7 0x00007fffbe705255 in SwLayIdle::SwLayIdle(SwRootFrame*, SwViewShellImp*)
(this=0x7fffffff20c0, pRt=0x55555a9eb420, pI=0x55555a9f0970) at
/home/deller/build/lo/sw/source/core/layout/layact.cxx:2213
#8 0x00007fffbec3877e in SwViewShell::LayoutIdle() (this=0x55555ab44750) at
/home/deller/build/lo/sw/source/core/view/viewsh.cxx:716
#9 0x00007fffbe3cdd9d in sw::DocumentTimerManager::DoIdleJobs(Timer*)
(this=0x55555a80d210) at
/home/deller/build/lo/sw/source/core/doc/DocumentTimerManager.cxx:177
...
The document here has an awkward construct on page 3 involving nested tables:
there is an outer table with a header row, in which is embedded an inner table
with all the real content which is longer than a page. I expect the author did
not intend to have that outer table, indeed it is hard to notice it exists in
the UI.
--
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/20210607/d8f60361/attachment-0001.htm>
More information about the Libreoffice-bugs
mailing list