[Libreoffice-bugs] [Bug 140077] Fatal Error after insert a new line by Enter (std::bad_array_new_length)

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Feb 2 11:27:04 UTC 2021


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

László Németh <nemeth at numbertext.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |NEW
           Assignee|nemeth at numbertext.org       |libreoffice-bugs at lists.free
                   |                            |desktop.org

--- Comment #6 from László Németh <nemeth at numbertext.org> ---
@Áron: are you sure, that patch caused the problem? That was only import fix of
the state of the Show changes mode, i.e. is not possible to continue the
bibisect to find the real place of the problem, setting the Show Changes mode
manually before the bibisected commit?

More details about the assert:

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

Thread 1 "soffice.bin" received signal SIGABRT, Aborted.
__GI_raise (sig=sig at entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
51      ../sysdeps/unix/sysv/linux/raise.c: Nincs ilyen fájl vagy könyvtár.
(gdb) bt
#0  0x00007ffff77aafb7 in __GI_raise (sig=sig at entry=6) at
../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007ffff77ac921 in __GI_abort () at abort.c:79
#2  0x00007ffff779c48a in __assert_fail_base (fmt=0x7ffff7923750 "%s%s%s:%u:
%s%sAssertion `%s' failed.\n%n", assertion=assertion at entry=0x7fffcde8c820
"nIndex == 0 && \"view index out of bounds\"", file=file at entry=0x7fffcde8c2c8
"/home/laci/libreoffice/sw/source/core/text/txtfrm.cxx", line=line at entry=1169,
function=function at entry=0x7fffcde8f140 <sw::MapViewToModel(sw::MergedPara
const&, o3tl::strong_int<int, Tag_TextFrameIndex>)::__PRETTY_FUNCTION__>
"std::pair<SwTextNode*, int> sw::MapViewToModel(const sw::MergedPara&,
TextFrameIndex)") at assert.c:92
#3  0x00007ffff779c502 in __GI___assert_fail (assertion=0x7fffcde8c820 "nIndex
== 0 && \"view index out of bounds\"", file=0x7fffcde8c2c8
"/home/laci/libreoffice/sw/source/core/text/txtfrm.cxx", line=1169,
function=0x7fffcde8f140 <sw::MapViewToModel(sw::MergedPara const&,
o3tl::strong_int<int, Tag_TextFrameIndex>)::__PRETTY_FUNCTION__>
"std::pair<SwTextNode*, int> sw::MapViewToModel(const sw::MergedPara&,
TextFrameIndex)") at assert.c:101
#4  0x00007fffcd1b22b1 in sw::MapViewToModel(sw::MergedPara const&,
o3tl::strong_int<int, Tag_TextFrameIndex>) (rMerged=..., i_nIndex=...) at
/home/laci/libreoffice/sw/source/core/text/txtfrm.cxx:1169
#5  0x00007fffcd116c8d in SwAttrIter::SeekAndChgAttrIter(o3tl::strong_int<int,
Tag_TextFrameIndex>, OutputDevice*) (this=0x7ffffffeffd0, nNewPos=...,
pOut=0x55555b4a1680)
    at /home/laci/libreoffice/sw/source/core/text/itratr.cxx:154
#6  0x00007fffcd1273e3 in SwTextIter::SeekAndChg(SwTextSizeInfo&)
(this=0x7ffffffeffd0, rInf=...) at
/home/laci/libreoffice/sw/source/core/text/itrtxt.hxx:312
#7  0x00007fffcd1381ae in SwTextPainter::DrawTextLine(SwRect const&,
SwSaveClip&, bool) (this=0x7ffffffeffd0, rPaint=..., rClip=...,
bUnderSized=false)
    at /home/laci/libreoffice/sw/source/core/text/itrpaint.cxx:331
#8  0x00007fffcd0fe521 in SwTextFrame::PaintSwFrame(OutputDevice&, SwRect
const&, SwPrintData const*) const (this=0x55555b173de0, rRenderContext=...,
rRect=...)
    at /home/laci/libreoffice/sw/source/core/text/frmpaint.cxx:752
#9  0x00007fffccfdfe32 in SwLayoutFrame::PaintSwFrame(OutputDevice&, SwRect
const&, SwPrintData const*) const (this=0x55555b17a4c0, rRenderContext=...,
rRect=...)
    at /home/laci/libreoffice/sw/source/core/layout/paintfrm.cxx:3461
#10 0x00007fffccfdfe32 in SwLayoutFrame::PaintSwFrame(OutputDevice&, SwRect
const&, SwPrintData const*) const (this=0x55555b17a9f0, rRenderContext=...,
rRect=...)
    at /home/laci/libreoffice/sw/source/core/layout/paintfrm.cxx:3461
#11 0x00007fffccfdebd3 in SwRootFrame::PaintSwFrame(OutputDevice&, SwRect
const&, SwPrintData const*) const (this=0x55555a55c8f0, rRenderContext=...,
rRect=..., pPrintData=0x0)
    at /home/laci/libreoffice/sw/source/core/layout/paintfrm.cxx:3170

-- 
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/20210202/eb32a09d/attachment.htm>


More information about the Libreoffice-bugs mailing list