<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Crash after device was put into "stand by" mode"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=122543#c4">Comment # 4</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Crash after device was put into "stand by" mode"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=122543">bug 122543</a>
              from <span class="vcard"><a class="email" href="mailto:tml@iki.fi" title="Tor Lillqvist <tml@iki.fi>"> <span class="fn">Tor Lillqvist</span></a>
</span></b>
        <pre>The immediate cause of the crash is that in DocumentViewController.mm, in the
block ("lambda") for the thread started by the dispatch_async() call in the
userContentController:didReceiveScriptMessage: instance method, the
fakeSocketAvailableDataLength() function returns -1 and that return value is
passed to the constructor for std::vector<char> buf(n). The root cause is more
complicated; for some reason a new Document object gets constructed even if an
existing one is active.</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>