[Libreoffice-bugs] [Bug 135231] Editing cut crashes Writer, seems to be when cut reduces number of pages in document

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jul 30 14:04:43 UTC 2020


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

--- Comment #12 from Jan-Marek Glogowski <glogow at fbihome.de> ---
(In reply to Julien Nabet from comment #11)
> With another build without enable-dbgutil, it seems there's an infinite loop:
> Thread 1 "soffice.bin" received signal SIGSEGV, Segmentation fault.
> 0x00007fffe6880a02 in lcl_FindContentFrame (rpContentFrame=
>     @0x7fffffff1fb8: 0x0, rpFootnoteFrame=@0x7fffffff1fb0: 0x0, 
>     pFrame=0x52a6a80, rbChkFootnote=@0x7fffffff1faf: false)
>     at sw/source/core/layout/sectfrm.cxx:879
> 879	{
> (gdb) bt
> #0  0x00007fffe6880a02 in lcl_FindContentFrame(SwContentFrame*&,
> SwFootnoteFrame*&, SwFrame*, bool&)
>     (rpContentFrame=@0x7fffffff1fb8: 0x0, rpFootnoteFrame=@0x7fffffff1fb0:
> 0x0, pFrame=0x52a6a80, rbChkFootnote=@0x7fffffff1faf: false)
>     at sw/source/core/layout/sectfrm.cxx:879
> #1  0x00007fffe6880aa5 in lcl_FindContentFrame(SwContentFrame*&,
> SwFootnoteFrame*&, SwFrame*, bool&)
>     (rpContentFrame=@0x7fffffff1fb8: 0x0, rpFootnoteFrame=@0x7fffffff1fb0:
> 0x0, pFrame=0x518aea0, rbChkFootnote=@0x7fffffff1faf: false)
>     at sw/source/core/layout/sectfrm.cxx:899
> #2  0x00007fffe6880aa5 in lcl_FindContentFrame(SwContentFrame*&,
> SwFootnoteFrame*&, SwFrame*, bool&)
>     (rpContentFrame=@0x7fffffff1fb8: 0x0, rpFootnoteFrame=@0x7fffffff1fb0:
> 0x0, pFrame=0x518aea0, rbChkFootnote=@0x7fffffff1faf: false)
>     at sw/source/core/layout/sectfrm.cxx:899
...

Oh no - footnote code. It'll be a nightmare to fix. Every time I tried to
refactor it into more sensible code, things broke left and right. Especially
the refcount handling is a nightmare. Had my fair share of it when fixing bug
121441.

-- 
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/20200730/5ef3ded5/attachment.htm>


More information about the Libreoffice-bugs mailing list