If you rebuild firefox with GTK+ 2.8 (and -mozsvg as you will probably have an updated cairo at this point...), then launch it and attempt to press OK in any dialog box (for instance, profile selection dialog, or Save As right click dialog), firefox will segfault. Have rebuilt with minial CFLAGS, and a similar result was obtained. Reproducible: Always Steps to Reproduce: 1. Launch firefox 2. right-click on an image, select Save Image As 3. Press OK/Save or equivalent button Actual Results: Segfault, file is NOT saved Portage 2.0.51.22-r2 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r6 i686) ================================================================= System uname: 2.6.12-gentoo-r6 i686 Intel(R) Xeon(TM) CPU 2.80GHz Gentoo Base System version 1.12.0_pre5 dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=pentium4 -pipe -mfpmath=sse -mmmx -msse -msse2" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -march=pentium4 -pipe -mfpmath=sse -mmmx -msse -msse2" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.ccccom.com http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo http://gentoo.oregonstate.edu/" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1,--sort-common,--enable-new-dtags" MAKEOPTS="-j5" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X Xaw3D a52 aac aalib acl acpi afs aim alsa apm artworkextra audiofile avi berkdb bidi bitmap-fonts bl bzlib cairo calendar canna caps cdparanoia cdr cjk crypt cscope ctype cups curl dga divx4linux dpms dts dv dvd eds emboss encode epiphany esd exif fam fftw flac fortran ftp gd gdbm ggi gif glitz gmp gnome gnutls gphoto2 gstreamer gtk gtk2 guile hal howl iconv icq icu imagemagick imap imlib ipv6 jabber jack java javamail javascript jikes jpeg junit kerberos krb4 lcms ldap libcaca libg++ libwww live lzo mad matroska mcal mikmod mime mmap mmx mmxext mng motif mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg mpi msn ncurses network nls nntp nowebdav nptl nptlonly nvidia offensive ogg oggvorbis openal opengl oscar pam pdflib perl png pnp posix python qt quicktime readline real rtc ruby samba sdl session slang sox speex spell sqlite sse sse2 ssl subversion svg tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs wmf xanim xface xine xinerama xml2 xosd xpm xprint xsl xv xvid yahoo zeroconf zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LINGUAS
After applying the "merged patchset" in #98828 and recompiling firefox with +mozsvg, it works to right-click->save as... Some of the versions I use here: [ebuild R ] x11-libs/cairo-1.0.0-r2 +X -doc +glitz +png -static 0 kB [ebuild R ] x11-libs/gtk+-2.8.3-r1 -debug -doc +jpeg -static +tiff 0 kB [ebuild R ] www-client/mozilla-firefox-1.0.6-r7 -debug +gnome +ipv6 +java -mozcalendar +mozdevelop -moznoxft +mozsvg +truetype -xinerama +xprint 0 kB [1] [ebuild U ] www-client/mozilla-1.7.11-r3 [1.7.11-r1] +crypt -debug +gnome +ipv6 +java +ldap -mozcalendar +mozdevelop +moznocompose +moznoirc +moznomail -moznoxft +mozsvg +postgres +ssl +truetype -xinerama +xprint 0 kB [1]
[ebuild R ] x11-libs/gtk+-2.8.19 USE="X doc jpeg tiff -debug -xinerama" 0 kB [ebuild R ] www-client/mozilla-firefox-1.5.0.7 USE="ipv6 java mozdevelop xprint -debug -gnome -xinerama" LINGUAS="en_GB -ar -bg -ca -cs -da -de -el -es -es_AR -es_ES -eu -fi -fr -fy_NL -ga -ga_IE -gu_IN -he -hu -it -ja -ko -lt -mk -nb -nb_NO -nl -pa_IN -pl -pt_BR -ro -ru -sk -sl -sv -sv_SE -tr -zh_CN -zh_TW" 0 kB ^^ Seems to work here. About the only thing that's different is the fact that I have USE="-gnome" (I'm a KDE user). Can you try the later releases of Firefox and report back? Thanks.
This sounds similar to an issue I'm having. Alexander, can you clarify: with the 'Save As' dialog, does the dialog come up and you have to click 'OK', or does the segfault occur as soon as you click on the context-menu. In my case, it's as soon as I click the "Save Link As..." or "Save Image As..." in the context menu. Howeer I'm *not* getting crashes from any 'OK' buttons. Just to add, I also have the mozilla.org firefox installed, and it doesn't have this problem. Versions: [ebuild R ] x11-libs/cairo-1.2.4 USE="X png svg -directfb -doc -glitz -pdf" 2,815 kB [ebuild R ] x11-libs/gtk+-2.8.20-r1 USE="X jpeg tiff xinerama -debug -doc" 11,960 kB [ebuild R ] www-client/mozilla-firefox-1.5.0.7 USE="java mozdevelop xinerama xprint -debug -gnome -ipv6" LINGUAS="en_GB -ar -bg -ca -cs -da -de -el -es -es_AR -es_ES -eu -fi -fr -ga -ga_IE -gu_IN -he -hu -it -ja -ko -lt -mk -nb -nb_NO -nl -pa_IN -pl -pt_BR -ro -ru -sk -sl -sv -sv_SE -tr -zh_CN -zh_TW" 0 kB emerge --info: Portage 2.1.2_pre2-r9 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo i686) ================================================================= System uname: 2.6.18-gentoo i686 Intel(R) Celeron(R) CPU 2.60GHz Gentoo Base System version 1.12.5 Last Sync: Thu, 12 Oct 2006 18:50:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 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.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -w" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/wine" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /usr/share/wine/fonts" CXXFLAGS="-O2 -march=pentium4 -mmmx -msse -msse2 -fomit-frame-pointer -pipe -w" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer nodoc sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.blueyonder.co.uk/" LINGUAS="en_GB" 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://brazil/gentoo-portage" USE="x86 X a52 aac acpi alsa apache2 arts asf avi berkdb bitmap-fonts bluetooth bzip2 cairo cdparanoia cdr cli crypt cups dbus dio dlloader dri dvd dvdr dvdread eds elibc_glibc emboss encode esd fam ffmpeg firefox flac flash foomaticdb fortran gdbm gif gimp gpm gstreamer gtk2 hal i8x0 ieee1394 imagemagick innodb input_devices_keyboard input_devices_mouse input_devices_synaptics isdnlog java javascript jpeg kde kernel_linux ldap libg++ libwww linguas_en_GB mad matroska mikmod mmx mp3 mpeg msn mysql mysqli ncurses nls nptl nptlonly nsplugin odbc ogg opengl oss pam pcmcia pcntl pcre perl php png posix ppds pppd python qt qt3 qt4 quicktime readline reflection samba scanner sdl session sharedmem soap sockets spell spl sse sse2 ssl svg tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU utf8 vcd vhosts video_cards_fbdev video_cards_i810 video_cards_vesa vorbis wifi win32codecs xcomposite xine xinerama xml xmlrpc xmms xorg xsl xv xvid xvmc zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I backtraced the incident with "Save Link as..." and it went back to /usr/lib/libfam.so.0 Re-emerged app-admin/fam and the problem goes away. (Don't know if this will help your bug as I wasn't getting the dialog-box crashes...)
User response needed here wrt Comment #2.