GNOME Bugzilla – Bug 729294
Opening 2048 result in a webkit crash
Last modified: 2014-07-03 14:19:02 UTC
http://gabrielecirulli.github.io/2048/ will cause a crash. I can't get the backtrace cause uploading a huge coredump or downloading gigs of debuginfos is impossible on my network
This works for me with WebKit 2.4.1, Epiphany 3.12.0. What version of WebKit are you using?
This works for me with WebKti2.2.6, Epiphany 3.10.3.
Webkit 2.4.1, Epiphany 3.12 on Fedora Rawhide, crashes every time I open 2048.
Tried to use ABRT to fetch a backtrace, it said it's the same as this bug https://bugzilla.redhat.com/show_bug.cgi?id=1088480 I'm not sure if that's an assumption you can trust, tho.
Webkit 2.4.3 Same crash in duckduckgo search, and many many other websites which are seemingly unrelated. Could be that there's some widely-used javascript library that causes a crash. Here's a backtrace without installing the libwebkit2gtk debuginfo, because that causes gdb to crash :)
+ Trace 233758
More detailed trace (after debuginfo installation). It stops prematurely when gdb crashes, but it tells us the crash is in ANGLE (https://code.google.com/p/angleproject/), which is related to WebGL, but the crash happens in pages which afaik don't use WebGL.
+ Trace 233759
Hey, I've been making several tests with that web page and it doesn't seem to crash in my environment, certainly not with the WebKitGTK+ 2.4.3 packages from Debian. After testing a bit it seems that I can trigger this bug if WebKitGTK+ is built with gcc 4.9, but it works fine if I build using gcc 4.8 (which is also the one used in Debian). So this might be a gcc bug. I'll try to investigate a bit more, but it would be nice if anyone can double-check in their environment.
Might be useful to upload these pages as attachments here or put them online and have links to them, so others can test.
It might be the same as this bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1025576
Looks very similar, and the patch in that bug points to upstream angle issue https://code.google.com/p/angleproject/issues/detail?id=651 which was very recently fixed
Yeah, I rebuilt WebKitGTK+ with this patch and it seems to solve the issue. --- a/Source/ThirdParty/ANGLE/src/compiler/SymbolTable.cpp +++ b/Source/ThirdParty/ANGLE/src/compiler/SymbolTable.cpp @@ -171,7 +171,8 @@ TFunction::~TFunction() TSymbolTableLevel::~TSymbolTableLevel() { for (tLevel::iterator it = level.begin(); it != level.end(); ++it) - delete (*it).second; + if ((*it).first == (*it).second->getMangledName()) + delete (*it).second; } //
Anyway, this is a WebKitGTK+ bug, so I've just reported it there: https://bugs.webkit.org/show_bug.cgi?id=134593 We're planning to make a new stable release very soon that will fix this problem among others. This epiphany bug can be closed I guess since the problem is not here.
Closing as RESOLVED NOTGNOME. Thanks!