| Summary: | www-client/mozilla-firefox-3.6.4 : firefox hangs/stalls/gets stuck at launch | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | aabugher |
| Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
| Status: | RESOLVED NEEDINFO | ||
| Severity: | major | CC: | kallamej, octavsly, xmw |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
aabugher
2010-06-28 08:42:28 UTC
go into .mozilla/firefox/${profile}/ and delete compreg.dat and restart firefox.
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. 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. 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. lately updated to... glibc-2.11.2 (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. Have you run `revdep-rebuild --ignore`? 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
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. In my case Firefox starts again. I have updated to sys-libs/glibc 2.11.2 Octavian, isn't that the same glibc you said you had before? 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 ...>
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 glibc was indeed 2.11.2 before (not-working) and after(working). However I see an update to dev-libs/glib-2.24.1 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. 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? 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
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. (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. 4+ months with no activity feel free to reopen and provide a backtrace if needed. |