Bug 234765 - Abiword fails on the Live CD
Summary: Abiword fails on the Live CD
Alias: None
Product: Fedora
Classification: Fedora
Component: abiword
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Marc Maurer
QA Contact: Fedora Extras Quality Assurance
: 227192 235322 (view as bug list)
Depends On:
Blocks: FC7Blocker Fedora7LiveCD
TreeView+ depends on / blocked
Reported: 2007-04-01 17:49 UTC by William Lovaton
Modified: 2007-11-30 22:12 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2007-04-06 16:14:52 UTC
Type: ---

Attachments (Terms of Use)
Report of the crash generated by bug-buddy (7.45 KB, text/plain)
2007-04-01 17:55 UTC, William Lovaton
no flags Details
handle one font having multiple families (4.20 KB, patch)
2007-04-05 20:01 UTC, Ray Strode [halfline]
no flags Details | Diff

Description William Lovaton 2007-04-01 17:49:08 UTC
Description of problem:
Abiword fails to start on the Live CD, it always crash when I click on the
launcher, then bug-buddy comes up.

I guess this is a known problem because it happened in Test 2 and now in Test3
Live CD.  The funny thing is that on my test system updated as of today April 1
it works fine and even before Test 3 were released (but after Test 2) it didn't
fail either.

I am reporting this because the version in Test 3 Live CD and my test system is
exactly the same.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Open abiword from system menu or command line using the Live CD
Actual results:
Abiword fails to start

Expected results:
Abiword works fine

Comment 1 William Lovaton 2007-04-01 17:55:15 UTC
Created attachment 151392 [details]
Report of the crash generated by bug-buddy

Maybe useless but this is the crash report from bug-buddy when running from the
Live CD (Fedora 7 Test 3).

Comment 2 Ray Strode [halfline] 2007-04-05 20:01:27 UTC
Created attachment 151808 [details]
handle one font having multiple families

The above patch seems to fix things for me.  The problem seems to be that we
default to "Sans" which is an alias for the DejaVu Sans font that has two
family names "DejaVu Sans" and "DejaVu LGC Sans".  At startup abiword creates a
hash table of every font on the system and later assumes if a font is asked for
and fontconfig knows about it, then it will be in the hash table.  It only
added the first family for the font pattern to the hash table, however. The
crash in this case was because the font was being requested by a family that
didn't get added to the hash table.

Comment 3 Marc Maurer 2007-04-06 15:06:41 UTC
*** Bug 227192 has been marked as a duplicate of this bug. ***

Comment 4 Marc Maurer 2007-04-06 16:14:52 UTC
Slightly modified version of the patch committed upstream. Will be in the next
build. Thanks a lot!

Comment 5 Marc Maurer 2007-04-06 16:22:08 UTC
*** Bug 235322 has been marked as a duplicate of this bug. ***

Note You need to log in before you can comment on or make changes to this bug.