[webkit-dev] Problem with a crash using JSC code

Xabier Rodríguez Calvar calvaris at igalia.com
Wed Jan 21 10:40:44 PST 2015


	Hi!

I am now implementing with Youenn the Streams API standard [1] in
WebKit. You can find the first patch at [2] (it's r? now). While we get
that patch reviewed and landed we are adding more tests and working out
the problems. One of them is one crash that I cannot hunt, with the
following backtrace:

http://fpaste.org/172619/60635142/

You can find the code under the lines to make it easier. What is going
on is:

     1. There's a call to the ReadableStream object, delegated to the
        JSReadableStreamSource as a result of the object creation.
     2. There's a call to the JSReadableStream::read method, delegating
        in the ReadableStream that ends up pulling again and that second
        call crashes.

It is probably something stupid I am not taking into account, but I have
already been fighting this for a couple of days and cannot make it work
properly.

Any help? Thanks a lot in advance!

[1] https://streams.spec.whatwg.org/
[2] https://bugs.webkit.org/show_bug.cgi?id=138967

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20150121/cb6a1a66/attachment.sig>


More information about the webkit-dev mailing list