Bug 55375
Summary: | http/tests/websocket/tests/reload-crash.html sometimes crashes beneath SocketStreamHandle::readStreamCallback on Windows | ||
---|---|---|---|
Product: | WebKit | Reporter: | Adam Roben (:aroben) <aroben> |
Component: | Page Loading | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED DUPLICATE | ||
Severity: | Normal | CC: | abarth, ap, bweinstein, yutak |
Priority: | P2 | Keywords: | InRadar, LayoutTestFailure, PlatformOnly |
Version: | 528+ (Nightly build) | ||
Hardware: | PC | ||
OS: | Windows XP |
Adam Roben (:aroben)
http/tests/websocket/tests/reload-crash.html sometimes crashes on Windows. Here are some crash logs:
http://build.webkit.org/results/Windows%207%20Release%20(Tests)/r79849%20(9839)/http/tests/websocket/tests/reload-crash-crash-log.txt
http://
build.webkit.org/results/Windows%207%20Release%20(Tests)/r79855%20(9843)/http/tests/websocket/tests/reload-crash-crash-log.txt
We're crashing beneath SocketStreamHandle::readStreamCallback. It looks like we trampoline this call over to the main thread; maybe the SocketStreamHandle has already been destroyed by the time the main thread runs the function?
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Adam Roben (:aroben)
Perhaps a duplicate of bug 44138?
Adam Roben (:aroben)
Added to the Skipped file in r79865.
Adam Roben (:aroben)
<rdar://problem/9062357>
Adam Roben (:aroben)
In this slightly different crash log: http://build.webkit.org/results/Windows%207%20Release%20(Tests)/r79864%20(9851)/http/tests/websocket/tests/reload-crash-crash-log.txt
...the crashing code is this:
FAULTING_SOURCE_CODE:
523: length = CFReadStreamRead(m_readStream.get(), localBuffer, sizeof(localBuffer));
524: ptr = localBuffer;
525: }
526:
> 527: m_client->didReceiveData(this, reinterpret_cast<const char*>(ptr), length);
528:
529: break;
530: }
531: case kCFStreamEventCanAcceptBytes:
532: ASSERT_NOT_REACHED();
Alexey Proskuryakov
*** This bug has been marked as a duplicate of bug 44138 ***