Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656754 - media-gfx/gnome-font-viewer-3.24.0 crashes on opening a font file
Summary: media-gfx/gnome-font-viewer-3.24.0 crashes on opening a font file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-28 15:52 UTC by Bruce Guenter
Modified: 2018-10-07 00:19 UTC (History)
1 user (show)

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


Attachments
Modified ebuild using the two patches (gnome-font-viewer-3.24.0-r1.ebuild,696 bytes, text/plain)
2018-05-28 15:52 UTC, Bruce Guenter
Details
font-view: make sure to hold the GApplication while doing async init (gnome-font-viewer-3.24.0-fix-async-init.patch,1.25 KB, patch)
2018-05-28 15:53 UTC, Bruce Guenter
Details | Diff
font-view: ensure the window exists when opening a file (gnome-font-viewer-3.24.0-ensure-window-exists.patch,1.16 KB, patch)
2018-05-28 15:53 UTC, Bruce Guenter
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Bruce Guenter 2018-05-28 15:52:31 UTC
Created attachment 533640 [details]
Modified ebuild using the two patches

gnome-font-viewer 3.24.0 crashes on startup when opening a font file. This is reproducible for me with any font file I've tried.

There is an upstream bug for this, which has been fixed in later versions of gnome-font-viewer but the fixes are not released for the 3.24 branch. I have built a modified ebuild with these patches and confirmed that it resolves the crash. I will attach the ebuild and patches.

GNOME bug: https://bugzilla.gnome.org/show_bug.cgi?id=782738
RedHat bug: https://bugzilla.redhat.com/show_bug.cgi?id=1450638
Comment 1 Bruce Guenter 2018-05-28 15:53:15 UTC
Created attachment 533644 [details, diff]
font-view: make sure to hold the GApplication while doing async init
Comment 2 Bruce Guenter 2018-05-28 15:53:40 UTC
Created attachment 533646 [details, diff]
font-view: ensure the window exists when opening a file
Comment 3 Larry the Git Cow gentoo-dev 2018-10-07 00:19:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b39e7fc8d47444f5c52f486a44566277c06f535

commit 8b39e7fc8d47444f5c52f486a44566277c06f535
Author:     Mart Raudsepp <leio@gentoo.org>
AuthorDate: 2018-10-07 00:00:42 +0000
Commit:     Mart Raudsepp <leio@gentoo.org>
CommitDate: 2018-10-07 00:18:52 +0000

    media-gfx/gnome-font-viewer: bump to 3.30.0
    
    Closes: https://bugs.gentoo.org/656754
    Signed-off-by: Mart Raudsepp <leio@gentoo.org>
    Package-Manager: Portage-2.3.49, Repoman-2.3.11

 media-gfx/gnome-font-viewer/Manifest               |  1 +
 .../gnome-font-viewer-3.30.0.ebuild                | 28 ++++++++++++++++++++++
 2 files changed, 29 insertions(+)