From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: Icecat crash Date: Tue, 21 Feb 2017 17:44:43 -0500 Message-ID: <20170221224443.GA18965@jasmine> References: <20161226003450.24dcd472@scratchpost.org> <87tw9r796y.fsf@gmail.com> <20161226021519.GA30967@jasmine> <20170215231245.6ddf40c9@lepiller.eu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59840) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cgJAy-0005X3-Gz for guix-devel@gnu.org; Tue, 21 Feb 2017 17:44:53 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cgJAv-0005IU-Eh for guix-devel@gnu.org; Tue, 21 Feb 2017 17:44:52 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:37880) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cgJAv-0005HY-7R for guix-devel@gnu.org; Tue, 21 Feb 2017 17:44:49 -0500 Content-Disposition: inline In-Reply-To: <20170215231245.6ddf40c9@lepiller.eu> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Julien Lepiller Cc: guix-devel@gnu.org --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Feb 15, 2017 at 11:12:45PM +0100, Julien Lepiller wrote: > Hey, I'm also experiencing crashes with icecat since a few months. It > just seems to happen randomly. I've found a note about that on the LFS > website on the firefox page that says that using system cairo is > causing a crash when it tries to do background rendering. So I've > changed our icecat recipe to use the bundled version of cairo, and I > don't get any crash anymore. Would something like this patch be > acceptable? For serious upstream vendors like Mozilla, one of the reasons they bundle things is that they are hitting bugs in the 3rd party library that are not fixed upstream. On the other hand, distros like to unbundle because the upstream vendor tends not to patch security vulnerabilities in their bundled copies quickly enough, in our opinion. So, if we want to use the bundled cairo, we need to understand what upstream version of cairo it is based on, and if it contains any unpatched security vulnerabilities. Of course, denial-of-service is a security issue, and our IceCat is currently suffering from it due to this cairo crash. Another option is figure out how to build our IceCat using the skia rendering backend [0] instead of cairo, which is the work-around that we have been recommending to users. Asking users to change this option themselves is not a good solution, in my opinion. WDYT? [0] https://bugzilla.mozilla.org/show_bug.cgi?id=3D1038800 https://bugzilla.mozilla.org/show_bug.cgi?id=3D740200#c44 > From 89a121bab987caef7f0fbe0f5e24085c3ccae42d Mon Sep 17 00:00:00 2001 > From: Julien Lepiller > Date: Tue, 14 Feb 2017 20:59:15 +0100 > Subject: [PATCH] gnu: icecat: Fix random crashes. >=20 > gnu/packages/gnuzilla.scm (icecat): Remove cairo dependency to fix crashe= s. > --- > gnu/packages/gnuzilla.scm | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) >=20 > diff --git a/gnu/packages/gnuzilla.scm b/gnu/packages/gnuzilla.scm > index 9279c46b5..90655fd76 100644 > --- a/gnu/packages/gnuzilla.scm > +++ b/gnu/packages/gnuzilla.scm > @@ -404,6 +404,8 @@ standards.") > ;; > ;; > ;; TODO: Use system graphite2. > + ;; TODO: Use system cairo. This currently causes r= andom > + ;; crash when icecat does background rendering. > ;; > "modules/freetype2" > "modules/zlib" > @@ -412,7 +414,6 @@ standards.") > "media/libjpeg" > "media/libvpx" > "security/nss" > - "gfx/cairo" > "js/src/ctypes/libffi" > "db/sqlite3")) > ;; Delete .pyc files, typically present in icecat source tarba= lls > @@ -426,7 +427,6 @@ standards.") > (inputs > `(("alsa-lib" ,alsa-lib) > ("bzip2" ,bzip2) > - ("cairo" ,cairo) > ("cups" ,cups) > ("dbus-glib" ,dbus-glib) > ("gdk-pixbuf" ,gdk-pixbuf) > @@ -511,7 +511,6 @@ standards.") > "--with-system-nspr" > "--with-system-nss" > "--enable-system-pixman" > - "--enable-system-cairo" > "--enable-system-ffi" > "--enable-system-hunspell" > "--enable-system-sqlite" > --=20 > 2.11.1 >=20 --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEEsFFZSPHn08G5gDigJkb6MLrKfwgFAliswtsACgkQJkb6MLrK fwhpbRAAn2KUljETscVmIbp5AZyWO+h/WUVZe/r8mJq7JlAGVhMFRBEiwn2sRpdl w5OTULlzBMLJkPKpMaPoDuAgBnq4tIitqZ7CdS2Au8U/PZFrYrl1Y//WZB7acnW+ wiGQy+29QE+XvrrY21hlNMtNNk4rCsDm14/VVONo2e+St+c5T0OKPHK9HHQqV3XB BHp9MThbSLf64mUTHFJtMWpBv3/UtRWqpdir2iMAbTUF+6NeduNd1eTRNMOn7Ms5 hd8AkzsOoS1c9ghCGOCOFMiR98ikutclZsBouO/gC+q8uhC/yvEOZ28QpcjBQHu9 9+LbObWkytGUwOwn5Ht0ZpODlMMosYUhWME0A/qEJ/+diTT5UesSg1ES3TYQydOQ tNIvZLyjmhzHhxiw6H2jf43Oz8QgZYRUfQtfzSThbKYflTjC2MPHvH+JKb3yabx0 lPGaAbRbnTkIzfmzaW6tzaSiw7k7OKNad9mCEowiUosEQEgn7gRc2xlTkhNUu8X/ cR20d5eHCtnpt1kAlvveLUsjvA51IZqgWvJpy/+pY6xQun6SLfRaAwvuK1B4ix6+ zOZVPrQzV444m770MdwJOptuGTmlo8XcS1nVeZWzJe62N+EWZFsV5LAYujAYwURZ H8uvEHReWnk+nLv5SKatj7inN+1KV2OsIKzpwIiw9Axsypp0EdI= =REg3 -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM--