Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 326839 - www-client/mozilla-firefox-3.6.4 crashes immediately after starting (librsvg related)
Summary: www-client/mozilla-firefox-3.6.4 crashes immediately after starting (librsvg ...
Status: RESOLVED DUPLICATE of bug 239992
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-04 09:27 UTC by Dieter
Modified: 2010-07-19 10:14 UTC (History)
2 users (show)

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


Attachments
gdb backtrace (backtrace.log,18.08 KB, text/plain)
2010-07-04 09:29 UTC, Dieter
Details
Output of gdb when Segmentation fault occurs (gdb-out.log,1.68 KB, text/plain)
2010-07-04 09:30 UTC, Dieter
Details
produced with "strace -o fx-strace.log firefox" (fx-strace.log,369.76 KB, text/plain)
2010-07-11 10:15 UTC, Nikita S. Kipriyanov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dieter 2010-07-04 09:27:23 UTC
boot computer, login using my regular user.
Then starting firefox, then for 1/100 s a window appears, and then it is gone again.



Reproducible: Always

Steps to Reproduce:
1. start firefox
2.
3.

Actual Results:  
no firefox

Expected Results:  
started firefox

I deleted firefox' config-directory, it's still crashing. 

Added another user to test, but logged in as the test-user, the problem still exists.


Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11.1-r0, 2.6.32-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.32-gentoo-r7-i686-Intel-R-_Pentium-R-_4_CPU_3.20GHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 04 Jul 2010 07:45:03 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.10
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.7.9-r2, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4, 4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=prescott -ggdb -march=prescott -mmmx -msse -msse2 -msse3 -mfpmath=sse -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -mtune=prescott -ggdb -march=prescott -mmmx -msse -msse2 -msse3 -mfpmath=sse -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/ http://gentoo.tiscali.nl/ http://gentoo.mirror.pw.edu.pl/"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="de en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa audiofile berkdb branding bzip2 cairo cdr clamav cli consolekit cracklib crypt cups cxx dbus dlloader dri dts dvd dvdr dvdread emboss encode exif fam ffmpeg firefox flac fortran gdbm gdu gif gnome gpm gtk hal iconv icq imap java javascript jpeg jpeg2k lcms ldap libedit libnotify libwww lm_sensors mad mmap mmx mng modules mp3 mp4 mpeg mplayer mudflap musepack ncurses nls nptl nptlonly offensive ogg openexr opengl openmp oscar pam pango pcre pdf perl png policykit ppds pppd python qt3support qt4 quicktime readline reflection sdl session smp sndfile spell spl sse sse2 sse3 ssl startup-notification svg sysfs szip tcpd threads tiff truetype unicode usb vcd vorbis win32codecs wmf wxwindows x264 x86 xcb xine xml xorg xpm xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Dieter 2010-07-04 09:29:22 UTC
Created attachment 237423 [details]
gdb backtrace
Comment 2 Dieter 2010-07-04 09:30:55 UTC
Created attachment 237425 [details]
Output of gdb when Segmentation fault occurs
Comment 3 Wormo (RETIRED) gentoo-dev 2010-07-05 22:14:34 UTC
What version of librsvg do you have installed? Have you already tried re-emerging it?
Comment 4 Dieter 2010-07-06 18:00:45 UTC
(In reply to comment #3)
> What version of librsvg do you have installed? Have you already tried
> re-emerging it?
> 

I have version 2.26.2 installed, and i have already tried re-emerging.

I also tried version 2.26.0 and version 2.26.3, but they don't work either... 
Comment 5 Nikita S. Kipriyanov 2010-07-08 17:23:03 UTC
I have this bug too, and the system is almost the same (the one and only difference is that CPU freq is 2.4 GHz).

Also Thunderbird 3.0.5 is crashing the same way.

I even rebuilt the whole world (emerge -e), and nothing changes.
Comment 6 Jory A. Pratt gentoo-dev 2010-07-10 23:48:35 UTC
CFLAGS are way to aggressive for us to trouble shoot a bug that only a few can produce. Use safer cflags settings and reopen if you can reproduce.
Comment 7 Nikita S. Kipriyanov 2010-07-11 10:14:52 UTC
(In reply to comment #6)
> Use safer cflags settings and reopen if you can reproduce.
> 
I've rebuilt xulrunner and firefox with lower CFLAGS and CXXFLAGS by using "CFLAGS=... CXXFLAGS=... emerge xulrunner mozilla-firefox". (Is this a correct way?)

fathers ~ # cat /var/db/pkg/net-libs/xulrunner-1.9.2.4/CFLAGS 
-pipe -Wno-return-type -w
fathers ~ # cat /var/db/pkg/net-libs/xulrunner-1.9.2.4/CXXFLAGS
-pipe -Wno-return-type -w
fathers ~ # cat /var/db/pkg/www-client/mozilla-firefox-3.6.4/CFLAGS
-pipe -Wno-return-type -w
fathers ~ # cat /var/db/pkg/www-client/mozilla-firefox-3.6.4/CXXFLAGS
-pipe -Wno-return-type -w

Firefox continues silently segfalting.
Comment 8 Nikita S. Kipriyanov 2010-07-11 10:15:07 UTC
Created attachment 238289 [details]
produced with "strace -o fx-strace.log firefox"

I've emerged strace and tried to run Fx under strace.
Comment 9 Nirbheek Chauhan (RETIRED) gentoo-dev 2010-07-11 10:31:16 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > Use safer cflags settings and reopen if you can reproduce.
> > 
> I've rebuilt xulrunner and firefox with lower CFLAGS and CXXFLAGS by using
> "CFLAGS=... CXXFLAGS=... emerge xulrunner mozilla-firefox". (Is this a correct
> way?)
> 

You need to rebuild every library that xulrunner & firefox use with safer cflags as well. Any of them could be showing strange behaviour when used by xulrunner/firefox.
Comment 10 Jory A. Pratt gentoo-dev 2010-07-11 14:06:52 UTC
(In reply to comment #9)
> (In reply to comment #7)
> > (In reply to comment #6)
> > > Use safer cflags settings and reopen if you can reproduce.
> > > 
> > I've rebuilt xulrunner and firefox with lower CFLAGS and CXXFLAGS by using
> > "CFLAGS=... CXXFLAGS=... emerge xulrunner mozilla-firefox". (Is this a correct
> > way?)
> > 
> 
> You need to rebuild every library that xulrunner & firefox use with safer
> cflags as well. Any of them could be showing strange behaviour when used by
> xulrunner/firefox.
> 

You will need to do same for entire system, zlib all the way up.
Comment 11 Nikita S. Kipriyanov 2010-07-15 16:37:51 UTC
I've remerged the system with -O2, everything is fine now. Thank you.
Comment 12 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-07-19 10:14:18 UTC
this is actually a duplicate
Comment 13 Gilles Dartiguelongue (RETIRED) gentoo-dev 2010-07-19 10:14:23 UTC

*** This bug has been marked as a duplicate of bug 239992 ***