Bug#783293: browsers using webkit crash with 'illegal instruction' on i586

Alberto Garcia berto at igalia.com
Tue Dec 8 17:45:24 UTC 2015


Control: tags -1 - wontfix + patch

On Mon, May 18, 2015 at 12:33:13PM +0100, Mark Hindley wrote:

> I have been bitten by this too: all of my webkit browsers crash with
> SIGILL since upgrading to Jessie on non SSE hardware.

I've been reproducing this, I think the solution is as easy as
disabling JIT in non-SSE2 hardware.

I'll test it a bit more and upload a new package if this solves the
problem.

--- webkitgtk.orig/Source/JavaScriptCore/runtime/VM.cpp
+++ webkitgtk/Source/JavaScriptCore/runtime/VM.cpp
@@ -134,6 +134,11 @@ static bool enableAssembler(ExecutableAl
         return false;
     }
 
+#if CPU(X86)
+    if (!isSSE2Present())
+        return false;
+#endif
+
 #if USE(CF)
 #if COMPILER(GCC) && !COMPILER(CLANG)
     // FIXME: remove this once the EWS have been upgraded to LLVM.

Berto



More information about the Pkg-webkit-maintainers mailing list