[webkit-gtk] Crash in 2.4.7 Jessie

Gavin Lambert gavinl at compacsort.com
Mon Dec 8 16:26:18 PST 2014


On 26 November 2014 19:08, I quoth:
> Not sure if I should be asking this somewhere else, but I recently updated
a
> test environment from Raspbian Jessie as of a couple of months ago
> (containing WebKit/GTK 2.4.5-2) to the current Jessie as of today
(containing
> WebKit/GTK 2.4.7-2).
> 
> What had been a well-behaved WebKit1 kiosk app (apart from something
> odd with SVG rendering, which is one of the reasons I was trying to
upgrade)
> started running significantly slower than before and not loading some of
the
> XHR content it should have been.  If I left it running for a while, it
also started
> logging this sort of thing repeatedly:
> 
>   GLib-GObject-CRITICAL **: g_object_new_valist: object class
> 'SoupBodyOutputStream' has no property named '\u0004 \x9d\xe5'
>   GLib-GObject-CRITICAL **: g_object_new_valist: object class
> 'SoupBodyInputStream' has no property named '\x80\xb45\u0001'
> 
> (Each one had different garbage characters at the end; the output and
input
> messages were always paired.)
[...]
> Are these known issues?  Is there any known fix?  There don't appear to be
> any newer WebKit1 releases after this.

Just FYI, obtaining the Raspbian source package and building from source had
the same behaviour.  I was finally able to get it to work however by
applying the following patch.  This suggests to me that something is not
very well baked in the JS JIT for non-x86 architectures.

(Also it seems a little odd that just a couple of lines further down it uses
-DENABLE_JIT=0 on [almost?] every architecture.  This makes me wonder why
the JIT is even enabled by default, if it apparently is so problematic.  I'm
also not sure what the distinction between --disable-jit and -DENABLE_JIT=0
is, but the latter alone was not sufficient to unbreak armhf.)

--- a/debian/rules	2014-12-01 03:10:49.000000000 +0000
+++ b/debian/rules	2014-12-03 05:26:26.000000000 +0000
@@ -57,7 +57,7 @@
 endif
 
 # disable jit on some architectures (bug #651636)
-ifneq (,$(filter $(DEB_BUILD_ARCH),armel mips mipsel))
+ifneq (,$(filter $(DEB_BUILD_ARCH),armel armhf mips mipsel))
 	COMMON_CONFIGURE_ARGUMENTS += --disable-jit
 endif




More information about the webkit-gtk mailing list