Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mate-appearance-properties: segfault on specific combinations of themes and fonts #175

Closed
RichardNeill opened this issue Aug 5, 2015 · 5 comments

Comments

@RichardNeill
Copy link

The combination of (exactly):

  • an Ambience-derived theme:
  • the fixed-width font = Terminus
  • the 2nd time the Appearance->fonts option is opened

will result in a repeatable segfault.
This is a really weird condition, but it is easy and reliable to reproduce.

mate-appearance-properties: ../../../../src/cairo-scaled-font.c:459: _cairo_scaled_glyph_page_destroy: Assertion `!scaled_font->cache_frozen' failed.
Aborted (core dumped)

I originally filed this report downstream, here, with more details:
https://bugs.launchpad.net/ubuntu/+source/mate-control-center/+bug/1464069

@monsta
Copy link
Contributor

monsta commented Aug 28, 2015

Weird one, I agree. Question: did you try it in Wily only?

I'd try it there later - but only after all MATE packages will be upgraded to 1.10. The current mix of 1.8 and 1.10 is known to cause issues (see the news post here).

@sboddy
Copy link

sboddy commented Sep 9, 2015

See https://bugs.launchpad.net/ubuntu/+source/terminator/+bug/1294699 for an earlier instance of this same issue, and details of an upstream (cairo) bug report that is getting no attention for now.

@IronWolve
Copy link

Same issue, running Mate 1.12 Ambiant Gtk2/gtk3, Ubuntu Medium 10 font, opensuse tumbleweed.

mate-appearance-properties: cairo-scaled-font.c:459: _cairo_scaled_glyph_page_destroy: Assertion `!scaled_font->cache_frozen' failed.
Aborted (core dumped)

@monsta
Copy link
Contributor

monsta commented Nov 28, 2015

Ok, I confirm it in Mint 17.3. Ambiance + Terminus crashes mate-appearance-properties alright.

Here's the (huge) backtrace: http://pastebin.com/NkY0VRRQ

The backtrace confirms that the problem should be addressed in cairo, or maybe in murrine theme engine (see comments at this bug report).

@monsta
Copy link
Contributor

monsta commented Jun 25, 2016

So, this is the same issue as in mate-desktop/mate-panel#328, and it is fixed by patching Murrine theme engine. It's a pity that Murrine isn't maintained upstream for years, so the patch should be applied in the distros. So I've sent the patch (in the form of debdiff) to Debian and Ubuntu, and other people sent the patch to Arch and Fedora.

Debian: https://bugs.debian.org/827134
Ubuntu: https://bugs.launchpad.net/bugs/1294699
Arch: https://bugs.archlinux.org/48294
Fedora: https://bugzilla.redhat.com/1310313

Patch itself (in the attachment): mate-desktop/mate-panel#328 (comment)

@monsta monsta closed this as completed Jun 25, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants