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

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

>> #0  0x29915775 in wait4 () from /lib/libc.so.0.1
>> #1  0x2976b79c in waitpid () from /lib/libpthread.so.0
>> #2  0x297d0978 in IA__g_on_error_stack_trace (
>> #3  0x080780c4 in ?? ()
>> #4  0x2976aad7 in __pthread_sighandler () from /lib/libpthread.so.0
>> #5  <signal handler called>
>> #6  0x28c8b9d6 in WTF::RefPtr<JSC::Structure>::get (exec=0x30240440,
>> #7  JSC::JSGlobalObject::numberObjectStructure (exec=0x30240440, number=...)
>> #8  JSC::constructNumber (exec=0x30240440, number=...)
>> #9  0x28c84fc5 in JSC::JSValue::toThisObjectSlowCase (this=0xbfbfd494,
>> #10 0x28e7edbb in JSC::JSValue::toThisObject (exec=0x30240440,
>> thisValue=...,
>> ...
>> This could well be a caused by webkit not working properly on kfreebsd
>> because Epiphany also crashes on kfreebsd, "epiphany-browser: Crash
>> loading any webpage"
>> <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550362>
> Thanks for your bug report.
> Nothing in this bug report points at a Liferea bug,
> I'm therefore reassigning it to libwebkit-1.0-2.
> http://bugs.debian.org/559925 might be the same issue.
> Does disabling Javascript in Liferea fix it for you
> (restart Liferea after changing the option in the preferences)?

Yes it does! In Tools->Preferences->Browser ticked "Disable Javascript".
Liferea no longer crashes.

Not only that, for Epiphany in Edit-Preferences->Privacy unticking
"Enable JavaScript" stops Epiphany from crashing. (Had some weirdness
with http://debian.org/ but think that's because its the homepage.
Unsetting this homepage made http://debian.org/ available).

> 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

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 \


All I can say is the patch appears to disable JIT in the compile.

>> P.S. Crash reporter says
>> "You have propably triggered a program bug. I will now try to"
>> but probably is spelt incorrectly, it should be
>> "You have probably triggered a program bug. I will now try to"
>> ...
> Thanks, fixed in upstream SVN (fix will be in 1.6.6 and 1.7.5).



Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: