Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 20056 - Mozilla/Galeon crashes on some urls with freetype 2.1.4
Summary: Mozilla/Galeon crashes on some urls with freetype 2.1.4
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: foser (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-04-27 13:46 UTC by Benjamin Tremoulheac
Modified: 2003-05-01 08:19 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamin Tremoulheac 2003-04-27 13:46:02 UTC
Mozilla/Galeon crashes on some urls with freetype 2.1.4

Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030427
Tested with GTK2 support, without GTK2 support, with USE="*" and with USE="-*".
Tested with mozilla-1.2.1-r5.ebuild, mozilla-1.3-r1.ebuild and galeon-1.2.8.ebuild.

Examples of URLs where Mozilla/Galeon crashes :
- http://www.gentoo.org/doc/en/xml-guide.xml and all the other english guides
- http://www.miscmag.com
- http://tv.wip.wanadoo.fr
- http://www.melissamars.com when you have 'net-www/netscape-flash' installed on
your system, if not, mozilla/galeon doesn't crash. But several websites using
Flash (Macromedia Shockwave Flash Player) runs without problems.

Reproducible: Always
Steps to Reproduce:
1. Make sure you have freetype 2.1.4 installed
2. Install Mozilla/Galeon
3. Run Mozilla/Galeon and visit urls indicated

Actual Results:  
Mozilla/Galeon crashes violently (program killed)

Expected Results:  
Mozilla/Galeon opens url

Portage 2.0.47-r10 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r4)
=================================================================
System uname: 2.4.20 i686 AMD Athlon(tm) XP 1700+
GENTOO_MIRRORS=" http://212.219.56.146/sites/www.ibiblio.org/gentoo/"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="guile perl esd mozilla ldap x86 oss alsa -3dnow apm -arts avi berkdb crypt
-cups -encode gdbm gif -gpm gtk gtk2 imlib -java jpeg -kde gnome -libg++ libwww
mikmod -mmx motif mpeg ncurses nls oggvorbis opengl pam pdflib png python -qt
-quicktime readline sdl slang -spell ssl svga tcpd truetype X xml2 xmms xv zlib"
COMPILER="gcc3"
CHOST="i686-pc-linux-gnu"
CFLAGS="-mcpu=athlon-xp -O3 -pipe"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
ACCEPT_KEYWORDS="x86"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="sandbox ccache"
Comment 1 Benjamin Tremoulheac 2003-04-27 13:52:06 UTC
The solution is :
emerge freetype-2.1.3-r2.ebuild for downgraded from 2.1.4 to 2.1.3-r2 and modify your /var/cache/edb/world (or --inject option) for the next emerge -u world.
Comment 2 Julien Allanos (RETIRED) gentoo-dev 2003-04-27 13:56:39 UTC
i had the same trouble, the solution worked for me.
Comment 3 Simon Watson 2003-04-27 14:59:11 UTC
This same activity is also evident on any theregister.co.uk article.
Comment 4 Martin Schlemmer (RETIRED) gentoo-dev 2003-04-29 14:01:26 UTC
Please try with fontconfig-2.2.0-r1 and freetype-2.1.4.
Comment 5 Benjamin Tremoulheac 2003-04-29 16:22:54 UTC
Sorry but I haven't any time now, if somebody wants to try...
Comment 6 Simon Watson 2003-04-30 02:22:55 UTC
Have just tried this, and it still appears to fall over.
Comment 7 foser (RETIRED) gentoo-dev 2003-04-30 06:37:18 UTC
can you get a backtrace with debug info of mozilla crashing ?

i can't reproduce crashing, except for flash page, but i rather blame flash there.
Comment 8 Simon Watson 2003-04-30 07:49:19 UTC
Should I have recompiled mozilla against the new libraries?

Is there a webpage giving information on performing the backtrace you suggest? As you may have guessed, I am new to this :-)
Comment 9 foser (RETIRED) gentoo-dev 2003-04-30 08:10:46 UTC
best would probably be to add 'debugbuild' to the inherit line in the ebuild and then build mozilla like this 'DEBUGBUILD="yes" emerge mozilla'

Run it in gdb and enter 'bt' when you crash. 

And no you shouldnt have to recompile mozilla to work with these libs.

Why do you use a different cpu for your CXX flags btw, don't think it should matter, but it is sorta weird. You might want to try compile mozilla a bit more conservative as well, to make it more stable ('-march=athlon -O2' or something).
Comment 10 Simon Watson 2003-04-30 13:29:51 UTC
Ok - Just been playing and it all appears to work now!
Comment 11 Julien Allanos (RETIRED) gentoo-dev 2003-05-01 08:08:24 UTC
tried with mozilla-1.3, freetype-2.1.4 and fontconfig-2.2.0-r1 : it worked.
Comment 12 foser (RETIRED) gentoo-dev 2003-05-01 08:19:47 UTC
nothing a recompile can't fix it seems.

closing as nonreproducable