#10924: Webpositive crashed WebCore::ResourceHandle::client()
----------------------------------------+---------------------------------
Reporter: xray7224 | Owner: pulkomandy
Type: bug | Status: new
Priority: normal | Milestone: R1
Component: Applications/WebPositive | Version: R1/Development
Resolution: | Keywords:
Blocked By: 11602 | Blocking: 12047, 12137, 12605
Has a Patch: 1 | Platform: All
----------------------------------------+---------------------------------
Comment (by pulkomandy):
HeadersReceived is called from the request's own thread. While the request
is running, WebKit can decide to abort it. When it does that, it resets
the pointer, so the requests crashes (cleanly) instead of corrupting
memory.
When such crashes happen, moving the things around is not the right thing
to do. Instead, the problem should be investigated, and locking added in
the right places to avoid such problems.
A big part of the network code in WebKit could be cleaned up. It was
derived from the curl code then grew over the years to accomodate changes
in our API. I think the whole thing should be reviewed for locking issues.
--
Ticket URL: <https://dev.haiku-os.org/ticket/10924#comment:10>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.