https://bugs.freedesktop.org/show_bug.cgi?id=74790

          Priority: medium
            Bug ID: 74790
          Assignee: libreoffice-bugs@lists.freedesktop.org
           Summary: Document comparison crashes Writer
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: ke...@collabora.com
          Hardware: Other
            Status: UNCONFIRMED
           Version: 4.2.0.4 release
         Component: Writer
           Product: LibreOffice

The following creates an infinite loop in master, and crashes 4.2 (both dbgutil
build, but probably no better in the release one):

* open the attached document-comparison-loop-1.odt
* Edit -> Compare Documents, choose document-comparison-loop-2.odt
* see LibreOffice 4.2 crashing or master entering infinite loop :-)

Backtrace:

#0  0x00007ffff74d63d5 in raise () from /lib64/libc.so.6
#1  0x00007ffff74d7858 in abort () from /lib64/libc.so.6
#2  0x00007ffff74cf2e2 in __assert_fail_base () from /lib64/libc.so.6
#3  0x00007ffff74cf392 in __assert_fail () from /lib64/libc.so.6
#4  0x00007fffc6dd0829 in SwpHintsArray::Check (this=0x7fffdc205000,
bPortionsMerged=true)
    at
/local/libreoffice/libreoffice-4-2/sw/source/core/txtnode/ndhints.cxx:308
#5  0x00007fffc6debe78 in SwTxtNode::CopyText (this=0x7fffcc0802c0,
pDest=0x7fffcc8fe2b8, rDestStart=..., rStart=..., nLen=
    8, bForceCopyOfAllAttrs=false) at
/local/libreoffice/libreoffice-4-2/sw/source/core/txtnode/ndtxt.cxx:1789
#6  0x00007fffc6a06860 in SwDoc::CopyImpl (this=0x281b100, rPam=..., rPos=...,
bMakeNewFrms=true, bCopyAll=false, pCpyRange=
    0x7fffcc8fd640) at
/local/libreoffice/libreoffice-4-2/sw/source/core/docnode/ndcopy.cxx:1037
#7  0x00007fffc6a05296 in SwDoc::CopyRange (this=0x281b100, rPam=..., rPos=...,
bCopyAll=false)
    at /local/libreoffice/libreoffice-4-2/sw/source/core/docnode/ndcopy.cxx:701
#8  0x00007fffc687aaee in SwCompareLine::ChangesInLine (this=0x2868e30,
rLine=..., rpInsRing=@0x7fffffffc000: 0x0, rpDelRing=
    @0x7fffffffc008: 0x0) at
/local/libreoffice/libreoffice-4-2/sw/source/core/doc/doccomp.cxx:1375
#9  0x00007fffc687bb9a in SwCompareData::CheckForChangesInLine
(this=0x7fffffffbfa0, rData=..., rStt=@0x7fffffffbee0: 0, 
    rEnd=@0x7fffffffbef0: 1, rThisStt=@0x7fffffffbed8: 0,
rThisEnd=@0x7fffffffbee8: 1)
    at /local/libreoffice/libreoffice-4-2/sw/source/core/doc/doccomp.cxx:1601
#10 0x00007fffc68777cd in CompareData::ShowDiffs (this=0x7fffffffbfa0,
rData=...)
    at /local/libreoffice/libreoffice-4-2/sw/source/core/doc/doccomp.cxx:397
#11 0x00007fffc687cc36 in SwDoc::CompareDoc (this=0x127f100, rDoc=...)
    at /local/libreoffice/libreoffice-4-2/sw/source/core/doc/doccomp.cxx:1804
#12 0x00007fffc6abb6d7 in SwEditShell::CompareDoc (this=0x13348d0, rDoc=...)
    at /local/libreoffice/libreoffice-4-2/sw/source/core/edit/editsh.cxx:898
#13 0x00007fffc736391f in SwView::InsertMedium (this=0x13efec0, nSlotId=6586,
pMedium=0x27f03c0, nVersion=0)
    at /local/libreoffice/libreoffice-4-2/sw/source/ui/uiview/view2.cxx:2180
#14 0x00007fffc73649d6 in SwView::DialogClosedHdl (this=0x13efec0,
_pFileDlg=0x27bf970)

etc.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to