[Webkit-unassigned] [Bug 51115] New: Crash in web process when the connection breaks

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Dec 15 09:48:17 PST 2010


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

           Summary: Crash in web process when the connection breaks
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: kbalazs at webkit.org


This is the story:
 1. The UI process close the last page
 2. The connection of the web process is invalidated
 3. The work queue of the connection is still running and it detects disconnection and call connectionDidClose
 4. m_client is 0 so connectionDidClose does a null dereference

That means we need a null check in connectionDidClose.
I don't know exactly how ports other than Qt affected by the problem but a null check does not costs too much
so I think it is better to handle that in the common part of the implementation. I investigated a lot of how should
that fixed correctly and I think this is the best.

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