From: Leo Famulari <leo@famulari.name>
To: Julien Lepiller <julien@lepiller.eu>
Cc: guix-devel@gnu.org
Subject: Re: Icecat crash
Date: Tue, 21 Feb 2017 17:44:43 -0500 [thread overview]
Message-ID: <20170221224443.GA18965@jasmine> (raw)
In-Reply-To: <20170215231245.6ddf40c9@lepiller.eu>
[-- Attachment #1: Type: text/plain, Size: 3652 bytes --]
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=1038800
https://bugzilla.mozilla.org/show_bug.cgi?id=740200#c44
> From 89a121bab987caef7f0fbe0f5e24085c3ccae42d Mon Sep 17 00:00:00 2001
> From: Julien Lepiller <julien@lepiller.eu>
> Date: Tue, 14 Feb 2017 20:59:15 +0100
> Subject: [PATCH] gnu: icecat: Fix random crashes.
>
> gnu/packages/gnuzilla.scm (icecat): Remove cairo dependency to fix crashes.
> ---
> gnu/packages/gnuzilla.scm | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)
>
> 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.")
> ;; <https://bugzilla.mozilla.org/show_bug.cgi?id=847568>
> ;;
> ;; TODO: Use system graphite2.
> + ;; TODO: Use system cairo. This currently causes random
> + ;; 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 tarballs
> @@ -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"
> --
> 2.11.1
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2017-02-21 22:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-12-25 23:34 Icecat crash Danny Milosavljevic
2016-12-26 1:47 ` Chris Marusich
2016-12-26 2:15 ` Leo Famulari
2017-02-15 22:12 ` Julien Lepiller
2017-02-21 22:44 ` Leo Famulari [this message]
2017-02-22 8:41 ` ng0
2017-02-22 9:38 ` John Darrington
2017-02-24 18:24 ` Leo Famulari
2016-12-31 21:37 ` Maxim Cournoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170221224443.GA18965@jasmine \
--to=leo@famulari.name \
--cc=guix-devel@gnu.org \
--cc=julien@lepiller.eu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.