[Libreoffice-bugs] [Bug 64690] EDITING: Process hang on find/replace in Basic code involving "\&"
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Sun Jan 26 14:17:35 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=64690
--- Comment #26 from Julien Nabet <serval2412 at yahoo.fr> ---
It seems there's an infinite loop in this part:
#5 0x00007ffff7f49933 in rtl_uString_newReplaceStrAt(rtl_uString**,
rtl_uString*, sal_Int32, sal_Int32, rtl_uString*) (ppThis=0x7fffffff0010,
pStr=0x7fffd45b8010, nIndex=4, nCount=0, pNewSubStr=0x55555a6bae00)
at /home/julien/lo/libreoffice/sal/rtl/strtmpl.cxx:1603
#6 0x00007ffff0544df2 in rtl::OUString::replaceAt(int, int, rtl::OUString
const&) const (this=0x55555a4f29e0, index=4, count=0, newStr="ABC\\&") at
/home/julien/lo/libreoffice/include/rtl/ustring.hxx:2298
#7 0x00007ffff0765825 in TextNode::InsertText(int, rtl::OUString const&)
(this=0x55555a4f29e0, nPos=4, rText="ABC\\&") at
/home/julien/lo/libreoffice/vcl/source/edit/textdoc.cxx:267
#8 0x00007ffff0766b45 in TextDoc::InsertText(TextPaM const&, rtl::OUString
const&) (this=0x55555a2bc890, rPaM=..., rStr="ABC\\&") at
/home/julien/lo/libreoffice/vcl/source/edit/textdoc.cxx:479
#9 0x00007ffff077c4ec in TextEngine::ImpInsertText(TextSelection const&,
rtl::OUString const&) (this=0x55555a42af50, rCurSel=..., rStr="ABC\\&") at
/home/julien/lo/libreoffice/vcl/source/edit/texteng.cxx:772
#10 0x00007ffff07a8f67 in TextView::Replace(i18nutil::SearchOptions const&,
bool, bool) (this=0x55555a50ca20, rSearchOptions=..., bAll=true, bForward=true)
at /home/julien/lo/libreoffice/vcl/source/edit/textview.cxx:2206
#11 0x00007fffd49d76ca in
basctl::ModulWindow::StartSearchAndReplace(SvxSearchItem const&, bool)
(this=0x55555a447bd0, rSearchItem=..., bFromStart=false)
at /home/julien/lo/libreoffice/basctl/source/basicide/baside2.cxx:1254
#12 0x00007fffd49f03d9 in basctl::Shell::ExecuteSearch(SfxRequest&)
(this=0x55555a38e3e0, rReq=...) at
/home/julien/lo/libreoffice/basctl/source/basicide/basides1.cxx:142
#13 0x00007fffd4a032e9 in SfxStubbasctl_ShellExecuteSearch(SfxShell*,
SfxRequest&) (pShell=0x55555a38e3e0, rReq=...) at
/home/julien/lo/libreoffice/workdir/SdiTarget/basctl/sdi/basslots.hxx:156
--
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/20200126/84d60370/attachment.htm>
More information about the Libreoffice-bugs
mailing list