Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 280580

Summary: firefox 3.5.2 enters loop and stalls on startup
Product: Gentoo Linux Reporter: 7v5w7go9ub0o <7v5w7go9ub0o>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description 7v5w7go9ub0o 2009-08-06 18:15:51 UTC
Here's an extract from a strace:

rt_sigaction(SIGRT_1, {0x7923a1349720, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7923a1352a00}, NULL, 8) = 0
rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0
getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0
lstat("/usr", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/lib64", {st_mode=S_IFDIR|0755, st_size=57344, ...}) = 0
lstat("/usr/lib64/mozilla-firefox", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
lstat("/usr/lib64/mozilla-firefox/firefox", {st_mode=S_IFREG|0755, st_size=92240, ...}) = 0
stat("/usr/lib64/mozilla-firefox/firefox", {st_mode=S_IFREG|0755, st_size=92240, ...}) = 0
access("/usr/lib64/mozilla-firefox/xulrunner/libxpcom.so", R_OK) = -1 ENOENT (No such file or directory)
open("/proc/cpuinfo", O_RDONLY)         = 3
read(3, "processor\t: 0\nvendor_id\t: Genuine"..., 1024) = 1024
read(3, "\t: 2\ninitial apicid\t: 2\nfpu\t\t: ye"..., 1024) = 1024
read(3, " arch_perfmon pebs bts rep_good x"..., 1024) = 1024
read(3, "ts physical, 48 bits virtual\npowe"..., 1024) = 1024
read(3, "\nsiblings\t: 8\ncore id\t\t: 1\ncpu co"..., 1024) = 1024
read(3, "2 ss ht tm pbe syscall nx rdtscp "..., 1024) = 1024
read(3, "\t: 64\ncache_alignment\t: 64\naddres"..., 1024) = 96
read(3, ""..., 1024)                    = 0
close(3)                                = 0
readlink("/etc/malloc.conf", 0x7f018d5ad0d0, 4096) = -1 ENOENT (No such file or directory)
mmap(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7923a165c000
mmap(NULL, 2097152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x79239ff4a000
munmap(0x79239ff4a000, 2097152)         = 0
mmap(0x7923a0100000, 2097152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x79239ff4a000
munmap(0x79239ff4a000, 2097152)         = 0
mmap(NULL, 3145728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x79239fe4a000
munmap(0x79239fe4a000, 3145728)         = 0
mmap(0x79239ff00000, 2097152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x79239ff4a000
munmap(0x79239ff4a000, 2097152)         = 0
mmap(NULL, 3145728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x79239fe4a000
munmap(0x79239fe4a000, 3145728)         = 0
mmap(0x79239ff00000, 2097152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x79239ff4a000
munmap(0x79239ff4a000, 2097152)         = 0
mmap(NULL, 3145728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x79239fe4a000
munmap(0x79239fe4a000, 3145728)         = 0
mmap(0x79239ff00000, 2097152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x79239ff4a000
munmap(0x79239ff4a000, 2097152)         = 0
mmap(NULL, 3145728, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x79239fe4a000
munmap(0x79239fe4a000, 3145728)         = 0
mmap(0x79239ff00000, 2097152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x79239ff4a000
munmap(0x79239ff4a000, 2097152)         = 0
                               
etc.     etc.





I (attempted) to fix the xulrunner link problem

access("/usr/lib64/mozilla-firefox/xulrunner/libxpcom.so", R_OK) = -1 ENOENT (No such file or directory)

with a soft link  "ln -s /usr/lib64/xulrunner-1.9.1.2 xulrunner" (within /usr/lib64/mozilla-firefox)

This fixed the access, but the browser still looped/hung up

stat("/usr/lib64/mozilla-firefox/firefox", {st_mode=S_IFREG|0755, st_size=92240, ...}) = 0
access("/usr/lib64/mozilla-firefox/xulrunner/libxpcom.so", R_OK) = 0
open("/proc/cpuinfo", O_RDONLY)         = 3
read(3, "processor\t: 0\nvendor_id\t: Genuine"..., 1024) = 1024
read(3, "\t: 2\ninitial apicid\t: 2\nfpu\t\t: ye"..., 1024) = 1024
read(3, " arch_perfmon pebs bts rep_good x"..., 1024) = 1024



FF/xulrunner each compiled successfully; I recompiled nss and ran revdep-rebuild. This failure also occured with the plain-jane version of gcc.

here's my stuff:

# emerge --info
Portage 2.1.6.13 (hardened/linux/amd64/2008.0, gcc-4.3.3, glibc-2.9_p20081201-r2, 2.6.28-hardened-r9 x86_64)
=================================================================
System uname: Linux-2.6.28-hardened-r9-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.1
Timestamp of tree: Thu, 06 Aug 2009 17:15:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.5.4-r3, 2.6.2-r1
dev-util/cmake:      2.6.4
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -msse4 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS=""
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo /usr/local/toolchain-overlay/distfiles"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--warn-once,--hash-style=gnu"
MAKEOPTS="-j9"
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"
PORTDIR_OVERLAY="/usr/local/toolchain-overlay"
SYNC="rsync://gentoo.llarian.net/gentoo-portage"
USE="X acl alsa amd64 berkdb bzip2 chroot cli cracklib crypt cups cupsddk dbus dri dynamicplugin enigmail escreen extensions gdbm geoip gif gpm gtk gtk+ hardened hddtemp iconv idn ipv6 isdnlog jpeg justify keyscrub ldap lm_sensors loop-aes mmx mpe mudflap multilib ncurses nptl nptlonly nsplugin nvidia pam passwordsave pcre perl pic pppd python qt-static qt3support qt4 readline reflection session spl sse sse2 ssl svg sysfs tcpd toolbar truetype unicode urandom vim-with-x xorg xscreensave xulrunner zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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="mouse keyboard synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nividia vesa intel i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS



Reproducible: Always
Comment 1 Denis Dupeyron (RETIRED) gentoo-dev 2009-08-07 04:28:27 UTC

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