[Webkit-unassigned] [Bug 38298] new-run-webkit-tests can deadlock with Chromium's TestShell

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Apr 28 22:13:05 PDT 2010


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





--- Comment #5 from Eric Seidel <eric at webkit.org>  2010-04-28 22:13:05 PST ---
The hang in TestShell happens at this fgets:
http://src.chromium.org/cgi-bin/gitweb.cgi?p=chromium.git;a=blob;f=webkit/tools/test_shell/test_shell_main.cc;h=37c26bcff0bc9475f051cc0025b688109ed816ca;hb=HEAD#l316

If for any reason the first char of: filenameBuffer is 0 we can hang:

 324           if (!*filenameBuffer)
 325             continue;

This started happening more with my unicode changes, because we started sending
unicode bytestreams to test_shell on some systems by mistake.  If the first
byte left in the buffer is ever 00, then it hangs forever.  That could happen
if IO got interupted due to process switching, etc.

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