Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325951 - www-client/mozilla-firefox-3.6.4 : firefox hangs/stalls/gets stuck at launch
Summary: www-client/mozilla-firefox-3.6.4 : firefox hangs/stalls/gets stuck at launch
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-28 08:42 UTC by aabugher
Modified: 2010-12-30 03:38 UTC (History)
3 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 aabugher 2010-06-28 08:42:28 UTC
When entering 'firefox' at the command prompt (xterm), nothing happens.  No errors are generated, no browser window is spawn, CPU usage does not noticeably spike (it usually does on my system), and the command does not return.

Reproducible: Always

Steps to Reproduce:
1.  run firefox

Actual Results:  
Nothing but a newline and a blinking cursor.

Expected Results:  
Firefox opens.

Portage 2.1.8.3 (selinux/2007.0/x86/hardened, gcc-4.3.4, glibc-2.11.2-r0, 2.6.34_2010.06.17 i686)
=================================================================
System uname: Linux-2.6.34_2010.06.17-i686-Intel-R-_Pentium-R-_M_processor_1500MHz-with-gentoo-1.12.13
Timestamp of tree: Sun, 27 Jun 2010 18:45:01 +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.10.2, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.3.4
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="* -@EULA dlj-1.1 AdobeFlash-10.1"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -O2 -pipe -fforce-addr -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc/DIR_COLORS /etc/acpi/ /etc/fstab /etc/fuse.conf /etc/group /etc/hosts /etc/make.conf /etc/nessus/ /etc/openvas/ /etc/passwd /etc/privoxy/config /etc/profile /etc/rc.conf /etc/resolv.conf /etc/resolv.conf.head /etc/ssh /etc/sudoers /etc/tor/torrc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=pentium-m -O2 -pipe -fforce-addr -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages gpg loadpolicy news parallel-fetch protect-owned sandbox selinux sesandbox severe sfperms strict suidctl unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://distro.ibiblio.org/pub/linux/distributions/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/ ftp://ftp.gtlib.gatech.edu/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo ftp://mirror.iawnet.sandia.gov/pub/gentoo/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.cites.uiuc.edu/pub/gentoo/ ftp://gentoo.cites.uiuc.edu/pub/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://adelie.polymtl.ca/ ftp://gentoo.chem.wisc.edu/gentoo/ "
LANG="en_US"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
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.namerica.gentoo.org/gentoo-portage"
USE="X aac acpi alsa bash-completion berkdb bzip2 cleartype cli cracklib crypt cups cxx dbus dri encode exif fortran gif gnutls gtk hardened iconv jpeg midi mmx modules mp3 mudflap ncurses nethack nsplugin offensive opengl openmp pam pcre perl pic png pppd python readline reflection sdl selinux session spell spl sse sse2 ssl tcpd truetype type1 vorbis x86 xorg xulrunner xv 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="keyboard mouse evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel 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, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

selinux is in permissive mode.
Comment 1 Jory A. Pratt gentoo-dev 2010-06-28 13:21:57 UTC
go into .mozilla/firefox/${profile}/ and delete compreg.dat and restart firefox.
Comment 2 aabugher 2010-06-28 19:36:15 UTC
I should have mentioned that I previously tried removing .mozilla all together.  Just for fun, I tried removing just compreg.dat, just now.  The situation remains unchanged.
Comment 3 aabugher 2010-06-28 19:46:32 UTC
Sorry, left out some detail.  I tried removing .mozilla with 3.6.4.  When that had no effect, I restored the directory.

Later, I upgraded to firefox 3.6.6 and xulrunner 1.9.2.6 (both ~x86).  The situation remained the same.  Just now, with the newer versions in place, I tried removing compreg.dat, which also had no effect.
Comment 4 Octavian 2010-06-29 18:00:42 UTC
I have the same issue.

Tried with --debug but I could not see anything relevant.

Moved the .mozilla directory into .mozilla_OK, no effect

tried to start as root, no effect.
Comment 5 Octavian 2010-06-29 18:26:19 UTC
lately updated to... glibc-2.11.2
Comment 6 aabugher 2010-06-30 01:10:27 UTC
(In reply to comment #5)
> lately updated to... glibc-2.11.2
> 

I also recently updated to this glibc, but the problem started before that by at least a day or so.
Comment 7 Michael Weber (RETIRED) gentoo-dev 2010-07-01 18:39:20 UTC
Have you run `revdep-rebuild --ignore`?
Comment 8 Octavian 2010-07-01 20:23:49 UTC
yes. the output is shown below.
========================================
pc67247005 ~ # revdep-rebuild -i
 * Configuring search environment for revdep-rebuild

 * Checking reverse dependencies
 * Packages containing binaries and libraries broken by a package update
 * will be emerged.

 * Collecting system binaries and libraries
 * Generated new 1_files.rr
 * Collecting complete LD_LIBRARY_PATH
 * Generated new 2_ldpath.rr
 * Checking dynamic linking consistency
[ 100% ]                 

 * Dynamic linking on your system is consistent... All done. 
========================================





Furthermore I did start firefox with --debug option. The output is also shown untill it did not move anymore, just stuck

joe@moon ~ $ firefox --debug
/opt/firefox/run-mozilla.sh -g /opt/firefox/firefox-bin
MOZILLA_FIVE_HOME=/opt/firefox
  LD_LIBRARY_PATH=/opt/firefox:/opt/firefox/plugins:/opt/firefox
DISPLAY=:0.0
DYLD_LIBRARY_PATH=/opt/firefox:/opt/firefox
     LIBRARY_PATH=/opt/firefox:/opt/firefox/components:/opt/firefox
       SHLIB_PATH=/opt/firefox:/opt/firefox
          LIBPATH=/opt/firefox:/opt/firefox
       ADDON_PATH=/opt/firefox
      MOZ_PROGRAM=/opt/firefox/firefox-bin
      MOZ_TOOLKIT=
        moz_debug=1
     moz_debugger=
/opt/firefox/run-mozilla.sh: line 118: type: ddd: not found
/usr/bin/gdb /opt/firefox/firefox-bin -x /tmp/mozargs.NULopg
GNU gdb 6.8
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)
(gdb) run
Starting program: /opt/firefox/firefox-bin 
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[New Thread 0xb6570720 (LWP 797)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
---Type <return> to continue, or q <return> to quit---
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)


===============
I am having an intel graphic card with 2.12 driver and latest xorg server 1.8.1.902
Comment 9 aabugher 2010-07-01 20:35:22 UTC
I had not run revdep-rebuild --ignore, but I just did.  It gives the all clear without updating anything.

I also have an intel card.  xf86-video-intel-2.10.0-r1 and xorg-server-1.7.6, in case that's relevant.
Comment 10 Octavian 2010-07-05 12:35:12 UTC
In my case Firefox starts again.

I have updated to sys-libs/glibc 2.11.2 
Comment 11 aabugher 2010-07-06 08:48:28 UTC
Octavian, isn't that the same glibc you said you had before?
Comment 12 aabugher 2010-07-06 11:36:34 UTC
I ran strace on firefox.  It seems to hang at a futex call.  I tried to upload the output as an attachment, but the bugtracker threw an error.  I'd report that properly, but I normally use webmail, and my browser is broken ... anyway, output of strace follows:

execve("/usr/bin/firefox", ["firefox"], [/* 40 vars */]) = 0
brk(0)                                  = 0xb9128000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb785f000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=68960, ...}) = 0
mmap2(NULL, 68960, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb784e000
close(3)                                = 0
open("/lib/libpthread.so.0", O_RDONLY)  = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 J\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=120452, ...}) = 0
mmap2(NULL, 98540, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7835000
mmap2(0xb784a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15) = 0xb784a000
mmap2(0xb784c000, 4332, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb784c000
close(3)                                = 0
open("/usr/lib/libasound.so.2", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\371\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=779588, ...}) = 0
mmap2(NULL, 782600, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7775000
mmap2(0xb7830000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xba) = 0xb7830000
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\n\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=9488, ...}) = 0
mmap2(NULL, 12344, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7771000
mmap2(0xb7773000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7773000
close(3)                                = 0
open("/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libstdc++.so.6", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200A\4\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=947896, ...}) = 0
mmap2(NULL, 974732, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7683000
mmap2(0xb7766000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe2) = 0xb7766000
mmap2(0xb776c000, 20364, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb776c000
close(3)                                = 0
open("/lib/libm.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@4\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=149176, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7682000
mmap2(NULL, 151632, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb765c000
mmap2(0xb7680000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23) = 0xb7680000
close(3)                                = 0
open("/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/libgcc_s.so.1", O_RDONLY) = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@\34\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0644, st_size=50368, ...}) = 0
mmap2(NULL, 53608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb764e000
mmap2(0xb765a000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0xb765a000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000m\1\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1384652, ...}) = 0
mmap2(NULL, 1391752, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb74fa000
mmap2(0xb7648000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14e) = 0xb7648000
mmap2(0xb764b000, 11400, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb764b000
close(3)                                = 0
open("/lib/librt.so.1", O_RDONLY)       = 3
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\31\0\0004\0\0\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=34340, ...}) = 0
mmap2(NULL, 33136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb74f1000
mmap2(0xb74f8000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7) = 0xb74f8000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb74f0000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb74ef000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb74ef6d0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb74f8000, 4096, PROT_READ)   = 0
mprotect(0xb7648000, 8192, PROT_READ)   = 0
mprotect(0xb765a000, 4096, PROT_READ)   = 0
mprotect(0xb7680000, 4096, PROT_READ)   = 0
mprotect(0xb7766000, 20480, PROT_READ)  = 0
mprotect(0xb7773000, 4096, PROT_READ)   = 0
mprotect(0xb7830000, 16384, PROT_READ)  = 0
mprotect(0xb784a000, 4096, PROT_READ)   = 0
mprotect(0xb7895000, 4096, PROT_READ)   = 0
mprotect(0xb787f000, 4096, PROT_READ)   = 0
munmap(0xb784e000, 68960)               = 0
set_tid_address(0xb74ef738)             = 15129
set_robust_list(0xb74ef740, 0xc)        = 0
futex(0xbfc5cb20, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0xbfc5cb20, FUTEX_WAIT_BITSET_PRIVATE|FUTEX_CLOCK_REALTIME, 1, NULL, bfc5cb30) = -1 EAGAIN (Resource temporarily unavailable)
rt_sigaction(SIGRTMIN, {0xb78393c0, [], SA_SIGINFO}, NULL, 8) = 0
rt_sigaction(SIGRT_1, {0xb78398e0, [], SA_RESTART|SA_SIGINFO}, 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
uname({sys="Linux", node="localhost", ...}) = 0
getcwd("/home/weakling", 4096)          = 15
lstat64("/home/weakling/firefox", 0xbfc578d8) = -1 ENOENT (No such file or directory)
open("/proc/cpuinfo", O_RDONLY)         = 3
read(3, "processor\t: 0\nvendor_id\t: Genuin"..., 1024) = 528
read(3, "", 1024)                       = 0
close(3)                                = 0
readlink("/etc/malloc.conf", 0xbfc564cf, 4096) = -1 ENOENT (No such file or directory)
mmap2(NULL, 1048576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb73ef000
futex(0xb73ef040, FUTEX_WAIT_PRIVATE, 2, NULL <unfinished ...>
Comment 13 aabugher 2010-07-06 20:01:43 UTC
I found something relevant looking here:  http://bugzilla.mozilla.org/show_bug.cgi?id=435683

Using 'LD_PRELOAD=/lib/libc.so.6 firefox' still results in:

futex(0xb7403040, FUTEX_WAIT_PRIVATE, 2, NULL
Comment 14 Octavian 2010-07-07 15:22:08 UTC
glibc was indeed 2.11.2 before (not-working) and after(working). However I see an update to dev-libs/glib-2.24.1
Comment 15 Anders Hellgren gentoo-dev 2010-07-07 16:58:17 UTC
For me, building firefox with previously stable binutils-2.18-r3 makes it work. Firefox-3.6.3 also fails in the same way as comment #12 if built with binutils-2.20.1-r1.

This is also on a hardend box in case it makes any difference.
Comment 16 aabugher 2010-07-08 07:46:12 UTC
I just blacklisted binutils-2.20.1-r1 and downgraded to 2.18-r3, rebuild nspr, xulrunner, and firefox, and it's working.  (Posting from Firefox.)

So do we know what's wrong with binutils?
Comment 17 Octavian 2010-07-08 15:27:34 UTC
I have 2.20.1-r1 (nls) and it works in my case.

[I] sys-devel/binutils
..
     Installed versions:  2.20.1-r1(04:37:56 PM 06/28/2010)(nls -multislot -multitarget -test -vanilla)
     Homepage:            http://sources.redhat.com/binutils/
     Description:         Tools necessary to build programs
Comment 18 Anders Hellgren gentoo-dev 2010-07-09 18:07:23 UTC
As suggested by Zorry et al. in #gentoo-hardened, it all works with the hardened stable candidate gcc-4.4.3-r3 + binutils-2.20.1-r1.
Comment 19 Anthony Basile gentoo-dev 2010-07-09 19:02:13 UTC
(In reply to comment #18)
> As suggested by Zorry et al. in #gentoo-hardened, it all works with the
> hardened stable candidate gcc-4.4.3-r3 + binutils-2.20.1-r1.
> 

I've used 4.4.3-r3 or 4.4.4-r1 + binutils-2.20.1-r1 + glibc-2.11.2 on x86 and amd64 and never hit this one.

We also tested an idea that maybe it was due to a compiler built -fno-PIE trying to build a PIE binary.  That made no difference.
Comment 20 Jory A. Pratt gentoo-dev 2010-12-30 03:38:39 UTC
4+ months with no activity feel free to reopen and provide a backtrace if needed.