Crash when opening TTF font

Bug #1717678 reported by Helio
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
GNOME Font Viewer
Fix Released
Medium
gnome-font-viewer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Steps to reproduce:
1. Install `gnome-font-viewer`
2. Download TTF font
3a. Try to install this Symbol font (https://raw.githubusercontent.com/IamDH4/ttf-wps-fonts/master/symbol.ttf)

$ gnome-font-viewer symbol.ttf

3b. Try to open webdings.ttf font from `ttf-mscorefonts-installer` package (see bug 1647906 for details).

$ gnome-font-viewer /usr/share/fonts/truetype/msttcorefonts/webdings.ttf

Expected results:
* GNOME Font Viewer opened window for font preview and installation

Actual results:
* GNOME Font Viewer crashed with the following output:

(gnome-font-viewer:14847): Pango-CRITICAL **: pango_find_base_dir: assertion 'text != NULL || length == 0' failed
Violación de segmento (`core' generado)

Note: I attached the font file.

Revision history for this message
Helio (teknohelio) wrote :
Norbert (nrbrtx)
tags: added: xenial
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gnome-font-viewer (Ubuntu):
status: New → Confirmed
Revision history for this message
Norbert (nrbrtx) wrote :

Same with Symbol font from https://raw.githubusercontent.com/IamDH4/ttf-wps-fonts/master/symbol.ttf :

(gnome-font-viewer:23086): Pango-CRITICAL **: pango_find_base_dir: assertion 'text != NULL || length == 0' failed
Segmentation fault (core dumped)

Launching fro terminal with gives the same result:

$ gnome-font-viewer ~/Downloads/symbol.ttf

(gnome-font-viewer:23121): Pango-CRITICAL **: pango_find_base_dir: assertion 'text != NULL || length == 0' failed
Segmentation fault (core dumped)

description: updated
description: updated
Revision history for this message
Norbert (nrbrtx) wrote : apport information

ApportVersion: 2.20.1-0ubuntu2.15
Architecture: amd64
CurrentDesktop: MATE
DistroRelease: Ubuntu 16.04
InstallationDate: Installed on 2014-02-07 (1445 days ago)
InstallationMedia: Ubuntu 12.04.4 LTS "Precise Pangolin" - Release amd64 (20140204)
Package: gnome-font-viewer 3.16.2-1ubuntu1
PackageArchitecture: amd64
ProcVersionSignature: Ubuntu 4.4.0-104.127-generic 4.4.98
Tags: xenial
Uname: Linux 4.4.0-104-generic x86_64
UpgradeStatus: Upgraded to xenial on 2017-04-15 (282 days ago)
UserGroups: adm audio cdrom dialout dip fax floppy fuse libvirtd lpadmin netdev plugdev sambashare scanner sudo tape vboxusers video wireshark
_MarkForUpload: True

tags: added: apport-collected
Revision history for this message
Norbert (nrbrtx) wrote : Dependencies.txt

apport information

Revision history for this message
Norbert (nrbrtx) wrote : JournalErrors.txt

apport information

Revision history for this message
Norbert (nrbrtx) wrote : ProcCpuinfoMinimal.txt

apport information

Revision history for this message
Norbert (nrbrtx) wrote : ProcEnviron.txt

apport information

description: updated
description: updated
Changed in gnome-font-viewer:
importance: Unknown → Medium
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.