Bug 234765

Summary: Abiword fails on the Live CD
Product: [Fedora] Fedora Reporter: William Lovaton <walovaton>
Component: abiwordAssignee: Marc Maurer <uwog>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: gerry, gmureddu
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-04-06 16:14:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 150226, 224205    
Attachments:
Description Flags
Report of the crash generated by bug-buddy
none
handle one font having multiple families none

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):
abiword-2.4.6-3.fc7

How reproducible:
Always

Steps to Reproduce:
1. Open abiword from system menu or command line using the Live CD
2.
3.
  
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. ***