Bug 1293682

Summary: The XFCE4 desktop crashes when selecting Terminus as the display font
Product: [Fedora] Fedora Reporter: Benjamin Ariel Nava Martinez <arielnmz>
Component: xfce4-panelAssignee: Mukundan Ragavan <nonamedotc>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: cwickert, kevin, nonamedotc
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 18:37:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Benjamin Ariel Nava Martinez 2015-12-22 16:48:15 UTC
Description of problem:
XFCE4 crashes if the Terminus font is used as the display font.


Version-Release number of selected component (if applicable):
Paquetes instalados
Nombre      : xfce4-panel
Arquitectur : i686
Epoch       : 0
Versión     : 4.12.0
Lanzamiento : 3.fc22
Tamaño      : 3.7 M
Repo        : @System
Resumen     : Next generation panel for Xfce
URL         : http://www.xfce.org/
Licencia    : GPLv2+ and LGPLv2+
Descripción : This package includes the panel for the Xfce desktop environment.


How reproducible:
Always.


Steps to Reproduce:
1. Open the "Appearance" dialog (xfce4-appearance-settings).
2. Head to the "Font styles" tab ("Tipos de letra" in spanish).
3. Change the "Default font style" ("Tipo de letra predeterminado" in spanish.)
4. Select terminus and accept.

Actual results:
The panels crash and the desktop becomes virtually unusable.

Expected results:
The font changes correctly.

Additional info:
I managed to solve the issue by changing to another TTY (tty2) and editing (vi) the xsettings file (/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml). I was able to do most things like changing windows (although the window changer did not appear) and change desktops, but calling the xfce4-session-logout app makes the session crash and falls back to the login greeter (lightdm).

Apps that crash have this output on the console:

xfce4-about: cairo-scaled-font.c:459: _cairo_scaled_glyph_page_destroy: La declaración `!scaled_font->cache_frozen' no se cumple.
Abortado (`core' generado)

xfce4-appearance-settings: cairo-scaled-font.c:459: _cairo_scaled_glyph_page_destroy: La declaración `!scaled_font->cache_frozen' no se cumple.
Abortado (`core' generado)

Comment 1 Benjamin Ariel Nava Martinez 2015-12-22 16:58:44 UTC
Another components for reference:
Version-Release number of selected component (if applicable):
Paquetes instalados
Nombre      : xfwm4
Arquitectur : i686
Epoch       : 0
Versión     : 4.12.3
Lanzamiento : 1.fc22
Tamaño      : 2.0 M
Repo        : @System
Desde repo  : updates
Resumen     : Next generation window manager for Xfce
URL         : http://www.xfce.org/
Licencia    : GPLv2+
Descripción : xfwm4 is a window manager compatible with GNOME, GNOME2, KDE2,
            : KDE3 and Xfce.

Paquetes instalados
Nombre      : xfce4-session
Arquitectur : i686
Epoch       : 0
Versión     : 4.12.1
Lanzamiento : 3.fc22
Tamaño      : 2.0 M
Repo        : @System
Resumen     : Xfce session manager
URL         : http://www.xfce.org/
Licencia    : GPLv2+
Descripción : xfce4-session is the session manager for the Xfce desktop
            : environment.

Additional info:
The setting I had to change in the xsettings file (vi ~/.config/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml) was:

<property name="FontName" type="string" value="Terminus 10"/>

To:

<property name="FontName" type="string" value="Roboto 10"/>

From within:

<property name="Gtk" type="empty">

Comment 2 Benjamin Ariel Nava Martinez 2015-12-22 17:03:36 UTC
I can also confirm that this happens on Fedora 23 x86_64 too.

Version-Release number of selected component (if applicable):
Paquetes instalados
Nombre      : xfce4-panel
Arquitectur : x86_64
Epoch       : 0
Versión     : 4.12.0
Lanzamiento : 4.fc23
Tamaño      : 3.7 M
Repo        : @System
Desde repo  : fedora
Resumen     : Next generation panel for Xfce
URL         : http://www.xfce.org/
Licencia    : GPLv2+ and LGPLv2+
Descripción : This package includes the panel for the Xfce desktop environment.

Additional components (for reference):
Paquetes instalados
Nombre      : xfwm4
Arquitectur : x86_64
Epoch       : 0
Versión     : 4.12.3
Lanzamiento : 2.fc23
Tamaño      : 2.0 M
Repo        : @System
Desde repo  : fedora
Resumen     : Next generation window manager for Xfce
URL         : http://www.xfce.org/
Licencia    : GPLv2+
Descripción : xfwm4 is a window manager compatible with GNOME, GNOME2, KDE2,
            : KDE3 and Xfce.

Paquetes instalados
Nombre      : xfce4-session
Arquitectur : x86_64
Epoch       : 0
Versión     : 4.12.1
Lanzamiento : 6.fc23
Tamaño      : 2.0 M
Repo        : @System
Desde repo  : fedora
Resumen     : Xfce session manager
URL         : http://www.xfce.org/
Licencia    : GPLv2+
Descripción : xfce4-session is the session manager for the Xfce desktop
            : environment.

Kernel version:
4.2.7-300.fc23.x86_64

Comment 3 Mukundan Ragavan 2016-01-01 00:32:59 UTC
I can reproduce this reliably ... Thanks for the report. I will submit a report upstream.

Comment 4 Fedora End Of Life 2016-07-19 18:37:37 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.