Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250159 - x11-libs/cairo-1.8.4 - firefox: cairo.c:87: _cairo_error: Assertion `(status != CAIRO_STATUS_SUCCESS && status <= CAIRO_STATUS_INVALID_WEIGHT)' failed.
Summary: x11-libs/cairo-1.8.4 - firefox: cairo.c:87: _cairo_error: Assertion `(status ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Doug Goldstein (RETIRED)
URL:
Whiteboard:
Keywords: InVCS
: 254953 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-07 12:04 UTC by Boris Petersen
Modified: 2009-07-16 19:00 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,4.54 KB, text/plain)
2008-12-07 12:06 UTC, Boris Petersen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Petersen 2008-12-07 12:04:52 UTC
after updating to x11-libs/cairo-1.8.4 firefox starts up but then crashes with an assertion.

Reproducible: Always

Steps to Reproduce:
1. update x11-libs/cairo from 1.8.2 to 1.8.4.
2. start firefox
3. wait till some site start loading 
4. firefox crashes

Actual Results:  
firefox throws an assersion:
firefox: cairo.c:87: _cairo_error: Assertion `(status != CAIRO_STATUS_SUCCESS && status <= CAIRO_STATUS_INVALID_WEIGHT)' failed.


Expected Results:  
firefox should have resumed the saved session properly. Downgrading to 1.8.2 solves the problem for now. Also if i disable all addons with --safe-mode it works normally aswell.
Comment 1 Boris Petersen 2008-12-07 12:06:41 UTC
Created attachment 174542 [details]
emerge --info
Comment 2 Märt Bakhoff 2008-12-07 17:46:03 UTC
Same errors reported with net-p2p/transmission and net-p2p/deluge using cairo-1.8.4 

See bug #250153 (http://bugs.gentoo.org/show_bug.cgi?id=250153)
Comment 3 Boris Petersen 2008-12-08 10:42:58 UTC
maybe they changed the api in a minor release
Comment 4 Märt Bakhoff 2008-12-08 17:58:00 UTC
I'd say it's a bug and should be filed as one. 
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2008-12-09 01:31:19 UTC
Looks like an x11-libs/cairo problem (or this bug should be made a tracker for the breakage).
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2008-12-09 21:27:59 UTC
Can you guys attach emerge -pv cairo?
Comment 7 Boris Petersen 2008-12-10 07:37:18 UTC
08:36:27 root@geonosis ~ # emerge -vp cairo

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U ] x11-libs/cairo-1.8.4 [1.8.2] USE="X directfb glitz opengl svg -debug -doc -xcb" 0 kB

Total: 1 package (1 upgrade), Size of downloads: 0 kB
Comment 8 Chris Faulkner 2008-12-23 10:15:46 UTC
I can confirm this bug as well.  Upon upgrading my system (~amd64) from 1.8.2 to 1.8.4, Any program using Cairo will bug out and crash with the same error.  Downgrading to 1.8.2 solves the problem for now.
Comment 9 Yaroslav Isakov 2008-12-26 23:03:13 UTC
Same problem with gtk frontend of deluge (net-p2p/deluge-1.0.6) and x11-libs/cairo-1.8.4,1.8.6
Comment 10 gruemelmonster 2008-12-27 17:20:02 UTC
Issue remains with cairo-1.8.6 and transmission

---------
# emerge -pv cairo

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] x11-libs/cairo-1.8.6  USE="X glitz opengl svg xcb -debug -directfb -doc" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB
----------
Comment 11 Pacho Ramos gentoo-dev 2009-01-19 10:54:09 UTC
A similar bug was sent to epiphany upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=567727

, they marked it as an dupe of http://bugzilla.gnome.org/show_bug.cgi?id=567253 , that is a gtk-engines bug, maybe users could try with themes not provided by gtk-engines :-/ (cleanice, murrine?)

Something strange to me is that searching in google for this error I have only found people affected from Gentoo, but gentoo's cairo ebuild doesn't seem to have anything strange, except maybe a combination of USE flags :-|
Comment 12 Bastien Lacoste 2009-01-19 22:57:00 UTC
Same bug.
eg : 
transmission: cairo.c:87: _cairo_error: Assertion `(status != CAIRO_STATUS_SUCCESS && status <= CAIRO_STATUS_INVALID_WEIGHT)' failed.

[ebuild   R   ] x11-libs/cairo-1.8.6  USE="X opengl svg -cleartype -debug -directfb -doc -glitz -xcb" 0 kB
Comment 13 Pacho Ramos gentoo-dev 2009-01-26 19:03:57 UTC
Have you tried to apply this patch to cairo?
http://cgit.freedesktop.org/cairo/patch/?id=efa9e1088cbf1b5331cc0bab3348520f3b91ae4b

Good luck!
Comment 14 Vaclav Slavik 2009-01-26 21:51:21 UTC
(In reply to comment #13)
> Have you tried to apply this patch to cairo?

Confirmed fix with cairo-1.8.6 and Transmission.
Comment 15 Jürgen Geuter 2009-01-28 12:28:31 UTC
Patch from #13 aworks with cairo-1.8.6 and solves the problems I had with transmission and occasional firefox crashes (which related to the same problem)
Comment 16 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-01-28 13:09:00 UTC
*** Bug 254953 has been marked as a duplicate of this bug. ***
Comment 17 Szymon Olko 2009-01-30 14:10:46 UTC
(In reply to comment #15)
> Patch from #13 aworks with cairo-1.8.6 and solves the problems I had with
> transmission and occasional firefox crashes (which related to the same problem)
> 
I can also confirm that this method solves firefox crashing problem.

Comment 18 Cristian 2009-02-11 19:47:08 UTC
Yes the patch #13 works well (cairo 1.8.6)... why don't the mantainers put that patch in the ebuild?
Comment 19 Pacho Ramos gentoo-dev 2009-02-11 20:00:10 UTC
(In reply to comment #18)
> Yes the patch #13 works well (cairo 1.8.6)... why don't the mantainers put that
> patch in the ebuild?
> 

Maintainer seems to be away for now, please be patient :-)
http://dev.gentoo.org/devaway/
Comment 20 Cristian 2009-02-11 20:06:25 UTC
(In reply to comment #19)
> (In reply to comment #18)
> > Yes the patch #13 works well (cairo 1.8.6)... why don't the mantainers put that
> > patch in the ebuild?
> > 
> 
> Maintainer seems to be away for now, please be patient :-)
> http://dev.gentoo.org/devaway/
> 

Mmmm, I see. Thank you for the response.
Comment 21 Thomas Sachau gentoo-dev 2009-02-23 21:53:11 UTC
Added a the patch from comment #13 with 1.8.6-r1. Hope, thats ok for everyone.
Comment 22 Pacho Ramos gentoo-dev 2009-07-16 18:49:37 UTC
I think that this can be closed