Bug 161653 - crash when viewing python documentation
crash when viewing python documentation
Product: Fedora
Classification: Fedora
Component: cairo (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Kristian Høgsberg
Depends On:
  Show dependency treegraph
Reported: 2005-06-24 18:11 EDT by Colin Walters
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-06-26 15:53:27 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
valgrind log (1.80 KB, text/plain)
2005-06-24 18:12 EDT, Colin Walters
no flags Details

  None (edit)
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?

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