Bug#598956: On kfreebsd going into web pane segfaults Liferea.

Michael Dorrington michael.dorrington at gmail.com
Mon Oct 4 07:33:53 UTC 2010


tags 598956 + patch
thanks

Adrian Bunk wrote:
> On Mon, Oct 04, 2010 at 12:27:29AM +0100, Michael Dorrington wrote:
>> ...
>>> If yes, build WebKit with JIT compilation disabled and
>>> check whether that fixes the problem.
>> Unfortunately, webkit fails to build for me on kfreebsd, even unmodified
>> (and webkit takes a long time to build!):
>>
>>   CXXLD  libwebkit-1.0.la
>> collect2: ld terminated with signal 9 [Killed]
>> make[2]: *** [libwebkit-1.0.la] Error 1
>> make[2]: Leaving directory `/usr/src/webkit-1.2.4/build'
>> make[1]: *** [all] Error 2
>> make[1]: Leaving directory `/usr/src/webkit-1.2.4/build'
>> make: *** [build-stamp] Error 2
>> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> 
> My first guess would be that you ran out of memory, or have the memory 
> for a process limited.

You are correct. I increased the memory of the VM and didn't login to
Gnome. The compile completed successfully.

>> So I can't test this patch in the built package:
>>
>> --- webkit-1.2.4/debian/rules	2010-09-03 22:29:30.000000000 +0100
>> +++ webkit-1.2.4-disablejit/debian/rules	2010-10-03 15:58:35.000000000 +0100
>> @@ -54,6 +54,7 @@
>>  		--host=$(DEB_HOST_GNU_TYPE) \
>>  		--build=$(DEB_BUILD_GNU_TYPE) \
>>  		--enable-gtk-doc \
>> +		--disable-jit \
>> 		--enable-introspection
>> ...
> 
> Yes, that's what should be tested.

Installed
# dpkg -i libwebkit-1.0-2_1.2.4-1.disablejit_kfreebsd-i386.deb
libwebkit-1.0-2-dbg_1.2.4-1.disablejit_kfreebsd-i386.deb
libwebkit-1.0-common_1.2.4-1.disablejit_all.deb

Re-enabled Javascript in Liferea and Epiphany (and restarted them). They
both work without crashing. Success!

Patch needed for kfreebsd attached.

Danke!

Tschüss,
Mike.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: webkit-1.2.4-disable_jit-1.patch
Type: text/x-patch
Size: 413 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-webkit-maintainers/attachments/20101004/d3c04c56/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-webkit-maintainers/attachments/20101004/d3c04c56/attachment-0001.pgp>


More information about the Pkg-webkit-maintainers mailing list