When built for a ARMv5 (qemuarm) or ARMv6 (raspberrypi), the JavaScript interpretter gets a segmentation violation. Build 'midori' for one of these platforms. When it starts, it contacts DuckDuckGo and the javascript on that page will cause the error. Running the program under gdb: Program received signal SIGSEGV, Segmentation fault. (gdb) bt #0 0xb525aaf0 in asCell (this=0xbefff5d0) at /usr/src/debug/webkit-gtk/1.8.3-r1/webkit-1.8.3/Source/JavaScriptCore/runtime/JSValueInlineMethods.h:296 #1 JSC::JSValue::get (this=0xbefff5d0, exec=0xad607698, propertyName=..., slot=...) at /usr/src/debug/webkit-gtk/1.8.3-r1/webkit-1.8.3/Source/JavaScriptCore/runtime/JSObject.h:812 #2 0xb5250434 in JSC::JITStubThunked_op_get_by_id_proto_list (args=0xbefff630) at /usr/src/debug/webkit-gtk/1.8.3-r1/webkit-1.8.3/Source/JavaScriptCore/jit/JITStubs.cpp:1804 #3 0xb524d5ec in cti_op_get_by_id_proto_list () from /usr/lib/libjavascriptcoregtk-1.0.so.0 When built for ARMv7 (beaglebone, i/MX6 targets), midori runs correctly
Before retesting this one, webkit-gtk, webkit and Midori needs to be upgraded first.
Retested using midori 0.5.8, issue still present.
Investigation started.
JiT for WEbkit JS will be disabled for ARM v5 and v6 for now. This needs to be re-evaluated after webkit next upgrade.
Patch sent in for review.
Fixed with commit: http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=7ecfaaaf5886c1892cc5190f8d632265ffd92f50
The issue solved itself in latest webkit-gtk, because JIT code no longer even compiles on ARMv5 or ARMv6. Looks like they test only on ARMv7 onwards. I'll submit webkit/midori update patches as soon as they're ready.
Hi Alexander, please remove the armv5 JIT disabling patch while doing the upgrade. Issue is actually fixed, I reopened the bug in order to track the aforementioned patch removal.
What patch are you referring to? And why should it be removed?
Anyway, the recipe is rewritten from scratch because webkit gtk is now using cmake instead of autotools, and JIT is disabled for ARMv5/6 in the new recipe, because it won't build otherwise. I think this can be closed.