Bug 161653

Summary: crash when viewing python documentation
Product: [Fedora] Fedora Reporter: Colin Walters <walters>
Component: cairoAssignee: Kristian Høgsberg <krh>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-06-26 15:53:27 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
valgrind log none

Description Colin Walters 2005-06-24 18:11:19 EDT
Description of problem:

Browse to /usr/share/doc/python-docs-2.4.1/html/lib/index.html

Firefox crashes.

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

How reproducible:
Every time

Steps to Reproduce:
1. /usr/share/doc/python-docs-2.4.1/html/lib/index.html

Will attach a partial stack trace from valgrind.
Comment 1 Colin Walters 2005-06-24 18:12:22 EDT
Created attachment 115961 [details]
valgrind log
Comment 2 Colin Walters 2005-06-25 16:21:06 EDT
Reassigning to cairo per this discussion.

Jun 24 18:15:36 owen	at 0x3BC391FF: ??? (nsFontMetricsPango.cpp:341) is
probbably good enough. Maybe krh wants to compare it to his patch
Jun 24 18:16:17 *	krh looks at line 341
Jun 24 18:16:26 clarkbw	it was "lucida typewriter" that was the problem
Jun 24 18:16:34 clarkbw	if this is the same thing...
Jun 24 18:17:14 owen	clarkbw: May be fixed in cairo CVS ...  Ijust made bitmap
fonts work with cairo and pango
Jun 24 18:21:46 krh	owen: this is division by zero because
face->size->metrics.ascender - face->size->metrics.descender is 0
Jun 24 18:22:49 owen	krh: Yep, that will be the case with bitmap fonts with 0.5.1
Comment 3 Kristian Høgsberg 2005-06-26 15:53:27 EDT
Fixed in rawhide. Why is the python documentation hardcoding butt-ugly bitmap
fonts anyway?