mate-appearance-properties segfaults on font-tab in certain cases (Ambience + Terminus)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mate-control-center (Ubuntu) |
Expired
|
High
|
Unassigned |
Bug Description
Under certain circumstances, the Mate-Control-Center Appearance window simply segfaults when the font-tab is chosen.
Here is how to reproduce it (and work-around it).
1. Always open mate-appearance
mate-appearance
Aborted (core dumped)
2. To get back into a good state, (i.e. so that opening the font control allows us to use it, rather than crash), do the following:
- Open appearance-
- Select one of the "good" themes. Experimentally, these include BlueMenta, Quid, Fog, AlaDelta
- Go to the fonts tab (it doesn't now crash)
- Close appearance-
3. To make it crash:
- Open appearance-
- Select one of the "bad" themes. Experimentally, these include Ambiance, Ambiant-Mate, Radiance, Radiant-Mate
- Go to the fonts tab (it doesn't (usually) crash this time)
- Close appearance-
- Open the appearance-
- Go to the fonts tab (it doesn't (usually) crash this time)
- It will segfault instantly.
I looked into specific cases that upset it, and the crash only happens on certain choices of Fixed-width font:
- Terminus (my favourite for years) causes the crash (various font sizes: 6,9,17 all do)
- The others, don't seem to: I tried: Ubuntu Mono, Ubuntu Condensed, Monospaced, Courier, Courier 10 Pitch, Courier New,
in other words, the following will cause a segfault: all conditions are necessary
* One of the Ambience-derived themes
* The monospace-font being set to Terminus
* Opening the font-tab of mate-appearance
I have these packages, running under Ubuntu Mate, on Wily 64-bit:
libfreetype6:amd64 2.5.2-4ubuntu1
mate-control-center 1.8.3+dfsg1-2
xfonts-terminus 4.39-1
libcairo2:amd64 1.14.2-2ubuntu1 (this is also the latest release from upstream)
This is perhaps the weirdest bug I've ever tracked down... so I hope I've given enough info to get this fixed.
tags: | added: wily |
Changed in mate-control-center (Ubuntu): | |
importance: | Undecided → High |
Still present as of latest update in Wily, on 6/Aug/2015.
I noticed that when reading my instructions to replicate this bug, I copy-pasted a line which doesn't make sense. The paragraph 3 should read:
3. To make it crash: properties properties window. properties window again
- Open appearance-
- Select one of the "bad" themes. Experimentally, these include Ambiance, Ambiant-Mate, Radiance, Radiant-Mate
- Go to the fonts tab (it doesn't (usually) crash this time)
- Close appearance-
- Open the appearance-
- Go to the fonts tab
- It will segfault instantly.
Perhaps this should have been filed upstream, as nobody has reacted to this report, so I've re-filed it here: /github. com/mate- desktop/ mate-control- center/ issues/ 175
https:/