[haiku-bugs] Re: [Haiku] #11274: [WebPositive] crashes in WebCore::SocketStreamHandle::platformClose

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Thu, 21 May 2015 06:20:02 -0000

#11274: [WebPositive] crashes in WebCore::SocketStreamHandle::platformClose
----------------------------------------+----------------------------
Reporter: diver | Owner: pulkomandy
Type: bug | Status: new
Priority: normal | Milestone: R1
Component: Applications/WebPositive | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
----------------------------------------+----------------------------

Comment (by pulkomandy):

Yes, I already know that irccloud has the same problem. The easy/lazy fix
would be to disable the Web Socket support in WebKit, and the better fix
would be to review and simplify that code (too much threads used, and race
conditions there).


https://github.com/haiku/webkit/blob/rebased/Source/WebCore/platform/network/haiku/SocketStreamHandleHaiku.cpp

Soup backend code for comparison:

https://github.com/haiku/webkit/blob/rebased/Source/WebCore/platform/network/soup/SocketStreamHandleSoup.cpp

--
Ticket URL: <https://dev.haiku-os.org/ticket/11274#comment:2>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: