[Webkit-unassigned] [Bug 45202] New: Intermittent crashes in EventSource::close()
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Sep 3 14:37:05 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=45202
Summary: Intermittent crashes in EventSource::close()
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Windows XP
Status: UNCONFIRMED
Severity: Blocker
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: RichardDKlein at gmail.com
EventSource::close() sometimes crashes when you leave a page on which Server-Sent events are active. Here's the offending code:
void EventSource::close()
{
if (m_state == CLOSED)
return;
if (m_reconnectTimer.isActive()) {
m_reconnectTimer.stop();
unsetPendingActivity(this);
}
m_state = CLOSED;
m_failSilently = true;
if (m_requestInFlight)
m_loader->cancel();
}
The crash happens when m_requestInFlight is true, but m_loader is 0. This should fix it:
if (m_requestInFlight)
if (m_loader)
m_loader->cancel();
--
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