Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 102944 - firefox segmentation faults when printing to file
Summary: firefox segmentation faults when printing to file
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-18 01:22 UTC by Raphael
Modified: 2006-06-10 01:58 UTC (History)
0 users

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


Attachments
Debug output of firefox crashing (debug.txt,10.93 KB, text/plain)
2005-08-18 03:11 UTC, Raphael
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Raphael 2005-08-18 01:22:22 UTC
Firefox segmentationa faults with the message

"/usr/libexec/mozilla-launcher: line 116:  9832 Segmentation fault     
"$mozbin" "$@"
firefox-bin exited with non-zero status (139)
"

when I attempt to print to file.  It does in fact look like it is doing the
printing and get's right to the end before the crashing. There is a "mozilla.ps"
file created.

 emerge info
Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6
.12-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r7 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X1
1/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdf
m/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /u
sr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://www.
mirror.ac.uk/sites/www.ibiblio.org/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/ http:
//ftp.easynet.nl/mirror/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d aac aalib alsa artworkextra avi bash-completion berkdb bindin
st bitmap-fonts bonobo bootsplash browserplugin cdr crypt cups curl dvd dvdr eds
 encode esd fam font-server foomaticdb fortran gdbm gif gnome gpm gstreamer gtk 
gtk2 guile icq imagemagick imlib ipv6 irc jabber java jpeg junit kde libwww lzw 
lzw-tiff mad motif mozilla mp3 mpeg msn ncurses nls nptl nsplugin offensive ogg 
oggvorbis opengl oss pam pdflib perl png python qt quicktime readline rss samba 
sdl spell ssl tcpd tetex theora tiff truetype truetype-fonts type1-fonts usb use
rlocales vorbis xml xml2 xmms xpm xv xvid yahoo zlib userland_GNU kernel_linux e
libc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS

 emerge -pv mozilla-firefox

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] www-client/mozilla-firefox-1.0.6-r5  -debug +gnome +ipv6 +java
-mozcalendar -mozdevelop -moznoxft -mozsvg +truetype -xinerama -xprint 32,065 kB 


Reproducible: Always
Steps to Reproduce:
1. Open firefox and go to a web page
2. Choose "print to file"
3.

Actual Results:  
It looks like it is printing to file and the seg faults leaving the error message

/usr/libexec/mozilla-launcher: line 116:  9832 Segmentation fault 
     "$mozbin" "$@"
firefox-bin exited with non-zero status (139)


Expected Results:  
Firefox should print to file and carry on normally without crashing.
Comment 1 Raphael 2005-08-18 01:44:46 UTC
Following a tip from the forums here is an update.

If I go to about:config and toggle all preferences with "Type2" in their name to
"false" then I can print to file!  The only message I get in the xterm from this is

 NO FONT WAS FOUND Name["Sans"]

The resulting ps file looks ok at first glance.

Raphael
Comment 2 Raphael 2005-08-18 03:11:50 UTC
Created attachment 66218 [details]
Debug output of firefox crashing

I recompiled firefox with debug turned on and this is the output from the
beginning.  I loaded firefox and went straight to print to file.
Comment 3 Raphael 2005-09-06 04:10:47 UTC
Also reported to https://bugzilla.mozilla.org/show_bug.cgi?id=305878 complete
with proper stack trace this time which appears to confirm diagnosis as a font
problem.
Comment 4 Raphael 2006-06-10 01:58:31 UTC
This bug refers to an old version of firefox so I am closing it now.

Raphael