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

--- Comment #5 from Michael Meeks <[email protected]> ---
Interesting, if I cancel the replace I get !!br0ken!! text in the document-
which is exciting. Clearly we passed some invalid parameters to ::copy:

(gdb) bt 10
#0  rtl_uString_newFromSubString (ppThis=0xbfdefb9c, pFrom=0xa0b1f28,
beginIndex=11, count=172)
    at /ssd/opt/libreoffice/master/sal/rtl/strtmpl.cxx:1269
#1  0xaff2c93d in rtl::OUString::copy (this=0x9cf75d0, beginIndex=11,
count=172)
    at /ssd/opt/libreoffice/master/solver/unxlngi6.pro/inc/rtl/ustring.hxx:1465
#2  0xb01d489f in SwUndoReplace::Impl::Impl (this=0xa9a7040, rPam=SwPaM =
{...}, rIns="", bRegExp=true)
    at /ssd/opt/libreoffice/master/sw/source/core/undo/unins.cxx:651
#3  0xb01d49ab in SwUndoReplace::SwUndoReplace (this=0xa9d26c8, rPam=SwPaM =
{...}, rIns="", bRegExp=true)
    at /ssd/opt/libreoffice/master/sw/source/core/undo/unins.cxx:518
#4  0xaff9b150 in SwDoc::ReplaceRangeImpl (this=0x9979ba0, rPam=SwPaM = {...},
rStr="", bRegExReplace=true)
    at /ssd/opt/libreoffice/master/sw/source/core/doc/docedt.cxx:2405
#5  0xaff9b850 in SwDoc::ReplaceRange (this=0x9979ba0, rPam=SwPaM = {...},
rStr="", bRegExReplace=true)
    at /ssd/opt/libreoffice/master/sw/source/core/doc/docedt.cxx:2198
#6  0xaff635f1 in SwFindParaText::Find (this=0xbfdf006c, pCrsr=0x99f64dc,
fnMove=0xb0726634 <aBwrd>, pRegion=0xbfdeffc0, 
    bInReadOnly=<optimized out>) at
/ssd/opt/libreoffice/master/sw/source/core/crsr/findtxt.cxx:593
#7  0xaff66dbc in lcl_FindSelection (rParas=...,
pCurCrsr=pCurCrsr@entry=0x99f64dc, fnMove=0xb0726634 <aBwrd>,
pFndRing=@0xbfdeff9c: 0x0, 
    aRegion=SwPaM = {...}, eFndRngs=FND_IN_SELALL, bInReadOnly=1 '\001',
bCancel=@0xbfdf013f: 0 '\000')
    at /ssd/opt/libreoffice/master/sw/source/core/crsr/swcrsr.cxx:746
#8  0xaff6b410 in SwCursor::FindAll (this=0x99f64dc, rParas=...,
nStart=DOCPOS_CURR, nEnde=DOCPOS_START, eFndRngs=FND_IN_SELALL, bCancel=
    @0xbfdf013f: 0 '\000') at
/ssd/opt/libreoffice/master/sw/source/core/crsr/swcrsr.cxx:1010
#9  0xaff62228 in SwCursor::Find (this=0x99f64dc, rSearchOpt=...,
bSearchInNotes=0 '\000', nStart=DOCPOS_CURR, nEnd=DOCPOS_START, bCancel=
    @0xbfdf013f: 0 '\000', eFndRngs=FND_IN_SELALL, bReplace=1) at
/ssd/opt/libreoffice/master/sw/source/core/crsr/findtxt.cxx:638

Will dig into it later ...

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

Reply via email to