[webkit-gtk] Crash on xLarge memory allocation with webkitgtk+ 2.8.3

Mario Sanchez Prada mario at webkit.org
Thu Jul 2 03:29:37 PDT 2015


On 24/06/15 21:58, Mario Sanchez Prada wrote:
> [...]
>> Any reproducible test case, perhaps on a public Web page?
>>
> Unfortunately, so far I can only reproduce this error by running an
> applications that embed WebKit and use it via GObject Introspection. I tried
> to write a simplified case I could share but could not do it yet,
> unfortunately, sorry about that.

Not anymore. Here you have a URL that reliably crashes MiniBrowser for me:

http://crucial.tmall.com/category-988709636.htm?utm_source=baidu&utm_medium=ppc&utm_term=6.18&utm_content=general&utm_campaign=s_mx100

Got them from the Red Hat bugzilla, where someone reported this to happen in
Fedora every single time that URL was loaded, while using Epiphany:

  https://bugzilla.redhat.com/show_bug.cgi?id=1225733#c8

Btw, for the sake of completeness, I finally figure out that disabling the
-ftree-sra optimization from GCC (enabled automatically for -O1 or higher)
prevents this crash from happening, both when testing my original use case
and when trying the URL pointed out above.

I'm now currently waiting for yet another build to finish to check whether
passing the -fno-tree-sra flag while building bmalloc only would be enough
and will post the results "soon" in the bug I reported to track this down:

  https://bugs.webkit.org/show_bug.cgi?id=146440

Also, I think I will send a mail now to webkit-dev, now that I have found a
way to reliably reproduce the issue just by using MiniBrowser and this URL.

Thanks,
Mario


More information about the webkit-gtk mailing list