[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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



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.
Patch fixes issue on kfreebsd where webkit crashes due to Javascript with JIT.
--- 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
 
 	$(MAKE) $(MAKEARGUMENTS) -C build

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: