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

youenn fablet youennf at gmail.com
Mon Jan 26 03:22:07 PST 2015


The latest patch at https://bugs.webkit.org/show_bug.cgi?id=138967
resolves the crash (some JSC::Strong<> were missing).

I fear that the patch may be a bit too big to get a thorough review though.
The patch could be split into meaningful but not testable sub-patches
(module stuff, JS integration stuff and then tests and more tests).
Would that make sense?
What is a reasonable patch size limit?

Any advice well appreciated.

Thanks,
   Youenn


2015-01-21 19:40 GMT+01:00 Xabier Rodríguez Calvar <calvaris at igalia.com>:
>         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
>
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> https://lists.webkit.org/mailman/listinfo/webkit-dev
>


More information about the webkit-dev mailing list