<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Fatal Error after insert a new line by Enter (std::bad_array_new_length)"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=140077#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Fatal Error after insert a new line by Enter (std::bad_array_new_length)"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=140077">bug 140077</a>
              from <span class="vcard"><a class="email" href="mailto:freedesktop@treblig.org" title="Dave Gilbert <freedesktop@treblig.org>"> <span class="fn">Dave Gilbert</span></a>
</span></b>
        <pre>and:
SwScriptInfo::CountCJKCharacters '承包人(全称): 重庆钢铁集团建设工程有限公司' nPos: 23 nEnd: 26
BreakIterator_Unicode::nextCharacters '承包人(全称): 重庆钢铁集团建设工程有限公司' oldStartPos:23
nStartPos: -1 nDone: 0 nCount: 1

so the nextCharacters is immediately exiting. I count 23 actual characters in
that string.

I think the 26 is coming from lcl_AddSpace in portxt.cxx:
        nPos = rInf.GetIdx();
        nEnd = rInf.GetIdx() + rPor.GetLen();</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>