[Webkit-unassigned] [Bug 42785] Crash in WebKit2WebProcess in WaitForMultipleObjects beneath WorkQueue::workQueueThreadBody every time WebKitTestRunner runs a test

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 28 08:14:43 PDT 2010


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





--- Comment #17 from Adam Roben (aroben) <aroben at apple.com>  2010-07-28 08:14:43 PST ---
As an experiment, I modified InjectedBundle to send strings of a certain length in InjectedBundle::done, rather than sending the test output. Sending a string of 2023 characters crashes almost every time. This turns into a 4074-byte message. It looks like there are usually two 20-byte messages that get sent with it, for a total of 4114 bytes. This is just a little bit over the 4096-byte buffer size we specify to ::CreateNamedPipe. Increasing the buffer size we specify to ::CreateNamedPipe to 8192 bytes fixes the crash in this experiment.

So it looks like we have a problem with sending messages larger than the pipe's buffer size.

-- 
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