Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 160763 - www-client/mozilla-firefox{,-bin} crashes on loading a special svg
Summary: www-client/mozilla-firefox{,-bin} crashes on loading a special svg
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL: http://upload.wikimedia.org/wikipedia...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-07 20:21 UTC by Martin Walch
Modified: 2007-01-14 00:15 UTC (History)
1 user (show)

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


Attachments
screenshot showing display errors of big svg in firefox using cairo-1.3.10 (firefox-svg.png,114.37 KB, image/png)
2007-01-14 00:15 UTC, Martin Walch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Walch 2007-01-07 20:21:54 UTC
Firefox is crashing when opening the file
http://upload.wikimedia.org/wikipedia/commons/b/be/Gletscherspuren.svg

On command line there is only an unspecific error message:

-----------
The application 'firefox-bin' lost its connection to the display :0.0;
most likely the X server was shut down or you killed/destroyed
the application.
firefox-bin exited with non-zero status (1)
-----------

I tried both, www-client/mozilla-firefox and www-client/mozilla-firefox-bin. Error is reproducible in both.

Other scalable vector graphics work fine.

Reproducible: Always

Steps to Reproduce:
1. go to http://de.wikipedia.org/wiki/Bild:Gletscherspuren.svg
2. click on the image to open the link to http://upload.wikimedia.org/wikipedia/commons/b/be/Gletscherspuren.svg

Actual Results:  
when loading this svg firefox will crash


emerge --info

Portage 2.1.1-r2 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-gentoo-r3 i686)
=================================================================
System uname: 2.6.18-gentoo-r3 i686 Intel(R) Celeron(R) CPU 2.00GHz
Gentoo Base System version 1.12.6
Last Sync: Sun, 07 Jan 2007 01:20:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5-r2, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://gentoo.mirror.intouch.nl/gentoo/ http://darkstar.ist.utl.pt/gentoo/ http://ftp.caliu.info/pub/gentoo/ http://mirror.switch.ch/mirror/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,-z,now"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 X aac aalib alsa alsa_cards_intel8x0 alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2 arts audiofile bidi bindist bitmap-fonts bl branding browserplugin bzip2 cairo ccache cdb cdio cdparanoia cdr cdrom cli cpudetection cracklib cups curl dbus dga dlloader dri dts dv dvd dvdr dvdread elibc_glibc encode esd fam fftw firefox flac fmod gcj gdbm ggi glibc-omitfp glx gmp gpm gtk gtk2 gzip hal iconv icq input_devices_keyboard input_devices_mouse isdnlog jack java jikes jpeg kde kdeenablefinal kernel_linux libcaca linguas_de live logrotate lzo mad mmx mmxext mng mod mp3 mpeg mpeg2 mpeg4 musepack nas ncurses nls nodrm nptl nptlonly nsplugin nvidia offensive ogg openal openexr opengl openssh oss pam pcre pdf png ppds pppd python qt3 qt4 quicktime readline real reflection reiserfs rtc sasl scsh sdl session snmp speex spl sse sse2 ssl svga tcltk tga theora truetype truetype-fonts type1-fonts udev unicode userland_GNU v4l v4l2 video_cards_nv video_cards_nvidia vorbis win32codecs x264 xanim xcomposite xml xorg xscreensaver xv xvid xvmc zero-penalty-hit zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-01-07 20:56:06 UTC
Works just fine here

www-client/mozilla-firefox-2.0.0.1  USE="-debug filepicker -gnome ipv6 java mozbranding -mozdevelop moznopango -restrict-javascript xforms xinerama -xprint" 
Comment 2 Jory A. Pratt 2007-01-07 23:35:09 UTC
You did not test with a clean profile, I have just test it here as well and all is fine.
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2007-01-07 23:53:51 UTC
Feel free to reopen if you can reproduce this with a fresh profile and FF-2.0.0.1; we can't.
Comment 4 Martin Walch 2007-01-08 02:30:07 UTC
Oh, I forgot: I _am using_ Firefox 2.0.0.1

I deleted the whole ~/.mozilla path and started firefox, but it still crashes. (I also tried it with a new profile with firefox -p)

I am sorry. I would like to give more useful information, but I even do not know where to look for.

Maybe I should compile Firefox with USE="debug" and look for further information?
Comment 5 Jory A. Pratt 2007-01-08 04:09:44 UTC
(In reply to comment #4)
> Oh, I forgot: I _am using_ Firefox 2.0.0.1
> 
> I deleted the whole ~/.mozilla path and started firefox, but it still crashes.
> (I also tried it with a new profile with firefox -p)
> 
> I am sorry. I would like to give more useful information, but I even do not
> know where to look for.
> 
> Maybe I should compile Firefox with USE="debug" and look for further
> information?
> 

LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,-z,now" start by removing the -z,now ... that there is enough to close bug invalid.
Comment 6 Martin Walch 2007-01-08 04:50:32 UTC
(In reply to comment #5)
 
> LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,-z,now" start by removing the -z,now ...
> that there is enough to close bug invalid.


O-k ... I had this in my LDFLAGS for years now because kdelibs told me to use it. But I can remove it, if this does not give any problems with kde.
Comment 7 Martin Walch 2007-01-09 19:47:45 UTC
I have removed now -Wl,-z,now from my LDFLAGS. Afterwards I made these steps:

emerge world -uDN
emerge --depclean
revdep-rebuild
emerge -e www-client/mozilla-firefox

I deleted ~/.mozilla once again. But still Firefox crashes when opening the file.
Comment 8 Christian Marie (RETIRED) gentoo-dev 2007-01-10 09:41:53 UTC
I can reproduce this in www-client/mozilla-firefox-bin-2.0.0.1.
Reguardless, please report upstream bugs upstream: http://bugs.mozilla.org . Please reopen if you're sure it's a problem we created.
Comment 9 Martin Walch 2007-01-10 11:39:15 UTC
Ok, I reported this bug here first, because I could not reproduce it on other systems, yet. But I just found this error also on Ubuntu.
I wanted to make sure not to report upstream a potentially Gentoo related bug. (There is this stereotype ...)
Comment 10 Martin Walch 2007-01-13 16:00:29 UTC
Seems to be a problem with cairo.
there is a bug report on the mozilla bugzilla:
https://bugzilla.mozilla.org/show_bug.cgi?id=307254

see also:
https://bugs.freedesktop.org/show_bug.cgi?id=4135
Comment 11 Jory A. Pratt 2007-01-13 18:25:06 UTC
(In reply to comment #10)
> Seems to be a problem with cairo.
> there is a bug report on the mozilla bugzilla:
> https://bugzilla.mozilla.org/show_bug.cgi?id=307254
> 
> see also:
> https://bugs.freedesktop.org/show_bug.cgi?id=4135
> 

That is possible I do suppose, If you want to confirm it test the latest cairo in the tree which is currently in arch testing x11-libs/cairo-1.3.10
Comment 12 Martin Walch 2007-01-14 00:13:46 UTC
(In reply to comment #11)
> 
> That is possible I do suppose, If you want to confirm it test the latest cairo
> in the tree which is currently in arch testing x11-libs/cairo-1.3.10

I just emerged cairo-1.3.10 and it works much better now. No more crashes. But there are some slight display errors now. I will attach a screenshot that shows what is wrong.
Comment 13 Martin Walch 2007-01-14 00:15:54 UTC
Created attachment 106871 [details]
screenshot showing display errors of big svg in firefox using cairo-1.3.10

~116 KB