Opened 10 years ago

Closed 5 years ago

Last modified 4 years ago

#11274 closed bug (fixed)

[WebPositive] crashes in WebCore::SocketStreamHandle::platformClose

Reported by: diver Owned by: pulkomandy
Priority: normal Milestone: R1/beta2
Component: Applications/WebPositive Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

hrev47897+ WebKit 1.4.4

To reproduce:

Attachments (2)

WebPositive-3519-debug-23-09-2014-08-33-53.report (50.3 KB ) - added by diver 10 years ago.
WebPositive-338-debug-20-05-2015-20-13-40.report (27.9 KB ) - added by xray7224 9 years ago.
irccloud debug file

Download all attachments as: .zip

Change History (6)

comment:1 by xray7224, 9 years ago

I believe I have managed to reproduce the bug by logging into https://irccloud.org (you can sign up for a free account). I have attached the bug report onto this.

by xray7224, 9 years ago

irccloud debug file

comment:2 by pulkomandy, 9 years ago

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

comment:3 by waddlesplash, 5 years ago

Resolution: fixed
Status: newclosed

Neither of those sites crash now (though WebSockets still don't work quite right, but that's tracked elsewhere.)

comment:4 by nielx, 4 years ago

Milestone: R1R1/beta2

Assign tickets with status=closed and resolution=fixed within the R1/beta2 development window to the R1/beta2 Milestone

Note: See TracTickets for help on using tickets.