Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252808 - www-client/mozilla-firefox-bin-3.0.5 doesn't work with glibc-2.9_p20081201-r1
Summary: www-client/mozilla-firefox-bin-3.0.5 doesn't work with glibc-2.9_p20081201-r1
Status: RESOLVED DUPLICATE of bug 252302
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-28 12:30 UTC by Henrique Dias
Modified: 2008-12-29 20:36 UTC (History)
4 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 Henrique Dias 2008-12-28 12:30:35 UTC
After upgrade the www-client/mozilla-firefox-bin to 3.0.5 version, the firefox crash and die.
The previous versions not work any more.



Reproducible: Always

Steps to Reproduce:
1. run firefox

Actual Results:  
$ /usr/bin/firefox
/usr/opt/firefox/crashreporter: error while loading shared libraries: libgconf-2.so.4:
 cannot open shared object file: No such file or directory
 /opt/firefox/run-mozilla.sh: line 131: 13595 Segmentation fault      "$prog" ${1+"$@"}

# sudo tail -f /var/log/syslog
Dec 28 12:07:22 patolino kernel: firefox-bin[13613]: segfault at 9b00000 ip
 00000000f7f62b62 sp 00000000f40fe358 error 4 in libjemalloc.so[f7f5e000+8000]


Expected Results:  
no crash

$ emerge --info
Portage 2.1.4.5 (default/linux/amd64/2008.0, gcc-4.2.4, glibc-2.9_p20081201-r1, 2.6.27-gentoo-r7 x86_64)
=================================================================
System uname: 2.6.27-gentoo-r7 x86_64 Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz
Timestamp of tree: Sun, 28 Dec 2008 10:10:01 +0000
app-shells/bash:     3.2_p33
dev-lang/python:     2.4.4-r13, 2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.8
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.28
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo 		http://mirror.gentoo.no 		http://gentoo.tiscali.nl/gentoo"
LANG="C"
LDFLAGS="-Wl,-O1"
LINGUAS="en pt"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
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"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl alsa amd64 berkdb bzip2 cli cracklib crypt cups db dbus dri gdbm gif gnome gpm gtk hal iconv isdnlog jpeg midi mmx mng mudflap multilib ncurses nls nptl nptlonly openmp pam pcre pdf perl png pppd python readline reflection session spl sse sse2 ssl svg sysfs tcpd unicode xorg zlib" ALSA_CARDS="hda-intel" 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 synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pt" USERLAND="GNU" VIDEO_CARDS="nvidia%"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Thomas Sachau gentoo-dev 2008-12-28 12:45:58 UTC
Please give us the output of "emerge -pv mozilla-firefox" and "emerge -pv gconf"
Comment 2 Henrique Dias 2008-12-28 13:24:43 UTC
(In reply to comment #1)
> Please give us the output of "emerge -pv mozilla-firefox" and "emerge -pv
> gconf"
> 

# emerge -pv www-client/mozilla-firefox-bin

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  R    ] www-client/mozilla-firefox-bin-3.0.5  USE="-restrict-javascript" LINGUAS="en pt -af -ar -be -bg -bn -bn_IN -ca -cs -cy -da -de -el -en_GB -en_US -eo -es -es_AR -es_ES -et -eu -fi -fr -fy -fy_NL -ga -ga_IE -gl -gu -gu_IN -he -hi -hi_IN -hu -id -is -it -ja -ka -kn -ko -ku -lt -lv -mk -mn -mr -nb -nb_NO -nl -nn -nn_NO -oc -pa -pa_IN -pl -pt_BR -pt_PT -ro -ru -si -sk -sl -sq -sr -sv -sv_SE -te -th -tr -uk -zh -zh_CN -zh_TW" 0 kB 

Total: 1 package (1 reinstall), Size of downloads: 0 kB

# emerge -pv gconf

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] gnome-base/gconf-2.24.0  USE="-debug -doc -ldap" 0 kB 

Total: 1 package (1 reinstall), Size of downloads: 0 kB
Comment 3 Henrique Dias 2008-12-28 13:32:50 UTC
I installed the opera client to send these messages.
Comment 4 Henrique Dias 2008-12-28 15:04:44 UTC
I downgrade to version mozilla-firefox-bin-2.0.0.19 and with this version I don't have problems, the firefox 2 don't crash.
Don't forget my system is 64bits multilib and the firefox is 32bits.
Comment 5 Marius Stoica 2008-12-28 16:11:44 UTC
I have the same problem. I'm pretty sure the update that broke firefox-bin is this:

1230412849:  >>> emerge (1 of 7) sys-kernel/linux-headers-2.6.28 to /
1230412905:  >>> emerge (2 of 7) app-admin/eselect-ruby-20081227 to /
1230412911:  >>> emerge (3 of 7) app-arch/tar-1.21 to /
30412963:  >>> emerge (4 of 7) dev-libs/libtasn1-1.7 to /
1230412986:  >>> emerge (5 of 7) sys-apps/busybox-1.13.1 to /
1230413034:  >>> emerge (6 of 7) net-ftp/vsftpd-2.0.7-r1 to /
1230413046:  >>> emerge (7 of 7) sys-libs/glibc-2.9_p20081201-r1 to /

I think something was wrong with the glibc update.
Comment 6 Thomas Sachau gentoo-dev 2008-12-28 16:22:04 UTC
Why do you both use unstable glibc???
Comment 7 Marius Stoica 2008-12-28 16:44:52 UTC
I use the unstable branch because i find it stable enough and i like having the lastest packages.And i can help with testing:) 

letto@local ~ $ cat /etc/make.conf | grep -i keyword
ACCEPT_KEYWORDS="~amd64" 
:D
Comment 8 Thomas Sachau gentoo-dev 2008-12-28 17:02:39 UTC
You are sure you are using firefox-bin? What is the output of "ldd /usr/bin/firefox"?

Additionally, could you downgrade glibc to the previous version (glibc-2.9_p20081201, with an backup first) and test it with firefox-bin?
Comment 9 Marius Stoica 2008-12-28 17:44:20 UTC
letto@local ~ $ ldd /usr/bin/firefox
        not a dynamic executable
letto@local ~ $ ldd /usr/bin/firefox-bin
        not a dynamic executable
letto@local ~ $ ls -l  /usr/bin/firefox
lrwxrwxrwx 1 root root 11 Aug 29 12:42 /usr/bin/firefox -> firefox-bin

mozilla-firefox is not installed, only the bin package is installed.

I tried to downgrade glibc but it won't let me, it said "Downgrading glibc is not supported and a sure way to destruction". Can you tell me how to force portage to do this and what should i backup anyway ? 
Comment 10 Henrique Dias 2008-12-28 20:20:13 UTC
I download the binary firefox from the mozilla site and this binary have the some problem.

# tail -f /var/log/syslog
Dec 28 20:16:49 patolino kernel: firefox-bin[12891]: segfault at 9600000 ip 00000000f7f24b62 sp 00000000ee5fd358 error 4 in libjemalloc.so[f7f20000+8000]

I think the problem is this lib: libjemalloc.so

The xulrunner use this lib:
ls -la /usr/lib/xulrunner-1.9/libjemalloc.so 
-rwxr-xr-x 1 root root 34984 Dec 28 11:26 /usr/lib/xulrunner-1.9/libjemalloc.so
Comment 11 Andreas Arens 2008-12-28 21:31:39 UTC
Just for your info:
I also use ~amd64, but have blocked >=sys-libs/glibc-2.9_p20081201 in package.mask
(it's always a good thing to block unstable glibc updates for while until rough edges settle, a thing I learned the hard way).

With that setup mozilla-firefox-bin works fine.
Btw: I've manually installed flash9 from adobe site, flash10 crashes both firefox (64 bit) and firefox-bin (32-bit) for me. I'm currently on sys-libs/glibc-2.8_p20080602-r1 for your info.
Comment 12 Henrique Dias 2008-12-28 23:01:26 UTC
It is possible that the upgrade to sys-libs/glibc-2.9_p20081201-r1 break the firefox?
How can I dowgrade to sys-libs/glibc-2.9_p20081201.
With the sys-libs/glibc-2.9_p20081201 the firefox work fine, because I only have this problem after upgrade the firefox to 3.0.5 and the glibc to 2.9_p20081201-r1.

When I try downgrade a get the following message:
 * Messages for package sys-libs/glibc-2.9_p20081201:

 * Sanity check to keep you from breaking your system:
 *  Downgrading glibc is not supported and a sure way to destruction
 * 
 * ERROR: sys-libs/glibc-2.9_p20081201 failed.
Comment 13 Thomas Sachau gentoo-dev 2008-12-29 02:57:55 UTC
(In reply to comment #12)
> It is possible that the upgrade to sys-libs/glibc-2.9_p20081201-r1 break the
> firefox?
> How can I dowgrade to sys-libs/glibc-2.9_p20081201.
> With the sys-libs/glibc-2.9_p20081201 the firefox work fine, because I only
> have this problem after upgrade the firefox to 3.0.5 and the glibc to
> 2.9_p20081201-r1.
> 
> When I try downgrade a get the following message:
>  * Messages for package sys-libs/glibc-2.9_p20081201:
> 
>  * Sanity check to keep you from breaking your system:
>  *  Downgrading glibc is not supported and a sure way to destruction
>  * 
>  * ERROR: sys-libs/glibc-2.9_p20081201 failed.
> 

Did you make a backup? if not, run this:
quickpkg glibc

After that, you can go into /usr/portage/sys-libs/glibc and edit glibc-2.9_p20081201.ebuild and comment the following lines out:

    if [[ ${ROOT} == "/" ]] && [[ ${CBUILD} == ${CHOST} ]] && [[ ${CHOST} == ${CTARGET} ]] ; then
        if has_version '>'${CATEGORY}/${PF} ; then
            eerror "Sanity check to keep you from breaking your system:"
            eerror " Downgrading glibc is not supported and a sure way to destruction"
            die "aborting to save your system"
        fi
    fi

After that, run "emerge --digest -av =sys-libs/glibc-2.9_p20081201"

That should get you the previous working version for now.
Please report back after this change.
Comment 14 Henrique Dias 2008-12-29 10:55:56 UTC
Thanks,

now firefox work fine with sys-libs/glibc-2.9_p20081201.
The sys-libs/glibc-2.9_p20081201-r1 package crash the firefox.

After the downgrade I don't have any problem.

The downgrade of sys-libs/glibc-2.9_p20081201-r1 to sys-libs/glibc-2.9_p20081201 not break the system.
Comment 15 SpanKY gentoo-dev 2008-12-29 20:36:17 UTC

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