<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - EDITING: Process hang on find/replace in Basic code involving "\&""
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=64690#c26">Comment # 26</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - EDITING: Process hang on find/replace in Basic code involving "\&""
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=64690">bug 64690</a>
              from <span class="vcard"><a class="email" href="mailto:serval2412@yahoo.fr" title="Julien Nabet <serval2412@yahoo.fr>"> <span class="fn">Julien Nabet</span></a>
</span></b>
        <pre>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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>