[Webkit-unassigned] [Bug 34633] WebSocket bufferedAmount should not be 0 when send after close.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Feb 14 18:42:46 PST 2010


https://bugs.webkit.org/show_bug.cgi?id=34633





--- Comment #7 from Fumitoshi Ukai <ukai at chromium.org>  2010-02-14 18:42:44 PST ---
(In reply to comment #6)
> *** Bug 34898 has been marked as a duplicate of this bug. ***

(In reply to comment #4)
> This is causing crashes under Leopard.  See bug 34898.

Thanks for crash report.

It shows it crashed at 

  m_client->didReceiveMessage(String::fromUTF8(msgStart, p - msgStart));

so m_client is 0 here.
This is because m_client could be 0 after some user callback called
(m_client->didConnect() was called before in this function).
Note that it is related to https://bugs.webkit.org/show_bug.cgi?id=34636
(onclose synchronously called. onopen -> close -> onclose).

I'll add check !m_client to fix the crash.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list