Firefox 3.6 fails to launch

Bug #528139 reported by Ryan
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
firefox (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

Binary package hint: firefox

Did update-manager -d (upgrade from 9.10 to 10.04 alpha 3). Firefox (3.6) initially worked, but no longer does. Trying to launch via menu results in disk activity, then nothing. ps -ef |grep -i firefox shows no process. Trying to launch via cli - eg /usr/bin/firefox, or from inside /usr/lib/firefox-3.6/ results in getting a new prompt; except for ./firefox-bin which gives a libxul.so error - I tried a forced reinstall of the providing package, but the failure mode remains unchanged. no firefox/mozilla pids in /var/run/

ryan@lt:/usr/lib/firefox-3.6$ ./run-mozilla.sh

run-mozilla.sh: Cannot execute .

ryan@lt:/usr/lib/firefox-3.6$ ./firefox
ryan@lt:/usr/lib/firefox-3.6$ ./firefox-bin
./firefox-bin: error while loading shared libraries: libxul.so: cannot open shared object file: No such file or directory
ryan@lt:/usr/lib/firefox-3.6$ ./firefox.sh
ryan@lt:/usr/lib/firefox-3.6$

$ uname -a
Linux lt 2.6.32-14-generic #20-Ubuntu SMP Sat Feb 20 05:38:50 UTC 2010 i686 GNU/Linux

lsb_release -rd
Description: Ubuntu lucid (development branch)
Release: 10.04

$ dpkg-query -l firefox
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-========================-========================-================================================================
ii firefox 3.6+nobinonly-0ubuntu5 safe and easy web browser from Mozilla

$ locate libxul.so
/usr/lib/libxul.so.0d
/usr/lib/xulrunner/libxul.so
/usr/lib/xulrunner-1.9.1.8/libxul.so
ryan@lt:/var/run$ dpkg-query -S /usr/lib/libxul.so.0d
libxul0d: /usr/lib/libxul.so.0d
ryan@lt:/var/run$ dpkg-query -S /usr/lib/xulrunner/libxul.so
libxul0d: /usr/lib/xulrunner/libxul.so
ryan@lt:/var/run$ dpkg-query -S /usr/lib/xulrunner-1.9.1.8/libxul.so
xulrunner-1.9.1: /usr/lib/xulrunner-1.9.1.8/libxul.so

$ apt-cache policy firefox libxul0d xulrunner-1.9.1
firefox:
  Installed: 3.6+nobinonly-0ubuntu5
  Candidate: 3.6+nobinonly-0ubuntu5
  Version table:
 *** 3.6+nobinonly-0ubuntu5 0
        500 http://archive.ubuntu.com lucid/main Packages
        100 /var/lib/dpkg/status
libxul0d:
  Installed: 1.8.1.16+nobinonly-0ubuntu1
  Candidate: 1.8.1.16+nobinonly-0ubuntu1
  Version table:
 *** 1.8.1.16+nobinonly-0ubuntu1 0
        500 http://archive.ubuntu.com lucid/universe Packages
        100 /var/lib/dpkg/status
xulrunner-1.9.1:
  Installed: 1.9.1.8+build1+nobinonly-0ubuntu1
  Candidate: 1.9.1.8+build1+nobinonly-0ubuntu1
  Version table:
 *** 1.9.1.8+build1+nobinonly-0ubuntu1 0
        500 http://archive.ubuntu.com lucid/main Packages
        100 /var/lib/dpkg/status

$ strace firefox
execve("/usr/bin/firefox", ["firefox"], [/* 40 vars */]) = 0
brk(0) = 0x97a7000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb78d8000
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=86812, ...}) = 0
mmap2(NULL, 86812, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb78c2000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/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=1380932, ...}) = 0
mmap2(NULL, 1391016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x72f000
mprotect(0x87c000, 4096, PROT_NONE) = 0
mmap2(0x87d000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14d) = 0x87d000
mmap2(0x880000, 10664, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x880000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb78c1000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb78c18d0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0x87d000, 8192, PROT_READ) = 0
mprotect(0x805c000, 4096, PROT_READ) = 0
mprotect(0xc84000, 4096, PROT_READ) = 0
munmap(0xb78c2000, 86812) = 0
getpid() = 9417
rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
geteuid32() = 1000
brk(0) = 0x97a7000
brk(0x97c8000) = 0x97c8000
getppid() = 9416
stat64("/home/ryan", {st_mode=S_IFDIR|0711, st_size=12288, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0711, st_size=12288, ...}) = 0
open("/usr/bin/firefox", O_RDONLY) = 3
fcntl64(3, F_DUPFD, 10) = 10
close(3) = 0
fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x804f5fb, ~[RTMIN RT_1], 0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, ~[RTMIN RT_1], 0}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL, ~[RTMIN RT_1], 0}, NULL, 8) = 0
read(10, "#!/bin/sh\n\n# Firefox launcher co"..., 8192) = 4569
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb78c1938) = 9418
close(4) = 0
read(3, "/usr/bin/firefox\n", 128) = 17
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9418
--- SIGCHLD (Child exited) @ 0 (0) ---
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb78c1938) = 9419
close(4) = 0
read(3, "firefox\n", 128) = 8
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9419
--- SIGCHLD (Child exited) @ 0 (0) ---
stat64("/usr/lib/firefox-3.6/firefox", {st_mode=S_IFREG|0755, st_size=3931, ...}) = 0
stat64("/home/ryan/.mozilla/firefox", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0
stat64("/home/ryan/.mozilla/firefox-3.1", 0xbfe626f0) = -1 ENOENT (No such file or directory)
stat64("/home/ryan/.mozilla/firefox-3.5", 0xbfe626f0) = -1 ENOENT (No such file or directory)
stat64("/home/ryan/.mozilla/firefox-3.6", 0xbfe626f0) = -1 ENOENT (No such file or directory)
execve("/usr/lib/firefox-3.6/firefox", ["/usr/lib/firefox-3.6/firefox"], [/* 41 vars */]) = 0
brk(0) = 0x8335000
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb78d9000
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=86812, ...}) = 0
mmap2(NULL, 86812, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb78c3000
close(3) = 0
access("/etc/ld.so.nohwcap", F_OK) = -1 ENOENT (No such file or directory)
open("/lib/tls/i686/cmov/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=1380932, ...}) = 0
mmap2(NULL, 1391016, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x110000
mprotect(0x25d000, 4096, PROT_NONE) = 0
mmap2(0x25e000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14d) = 0x25e000
mmap2(0x261000, 10664, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x261000
close(3) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb78c2000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb78c28d0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0x25e000, 8192, PROT_READ) = 0
mprotect(0x805c000, 4096, PROT_READ) = 0
mprotect(0x3bf000, 4096, PROT_READ) = 0
munmap(0xb78c3000, 86812) = 0
getpid() = 9417
rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTART}, {SIG_DFL, [], 0}, 8) = 0
geteuid32() = 1000
brk(0) = 0x8335000
brk(0x8356000) = 0x8356000
getppid() = 9416
stat64("/home/ryan", {st_mode=S_IFDIR|0711, st_size=12288, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0711, st_size=12288, ...}) = 0
open("/usr/lib/firefox-3.6/firefox", O_RDONLY) = 3
fcntl64(3, F_DUPFD, 10) = 10
close(3) = 0
fcntl64(10, F_SETFD, FD_CLOEXEC) = 0
rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGINT, {0x804f5fb, ~[RTMIN RT_1], 0}, NULL, 8) = 0
rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL, ~[RTMIN RT_1], 0}, NULL, 8) = 0
rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL, ~[RTMIN RT_1], 0}, NULL, 8) = 0
read(10, "#!/bin/sh\n#\n# ***** BEGIN LICENS"..., 8192) = 3931
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb78c2938) = 9420
close(4) = 0
read(3, "/usr/lib/firefox-3.6\n", 128) = 21
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9420
--- SIGCHLD (Child exited) @ 0 (0) ---
pipe([3, 4]) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb78c2938) = 9421
close(4) = 0
read(3, "firefox\n", 128) = 8
read(3, "", 128) = 0
close(3) = 0
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, NULL) = 9421
--- SIGCHLD (Child exited) @ 0 (0) ---
stat64("/usr/lib/firefox-3.6/run-mozilla.sh", {st_mode=S_IFREG|0755, st_size=10469, ...}) = 0
geteuid32() = 1000
getgid32() = 1000
getegid32() = 1000
getgroups32(0, NULL) = 15
getgroups32(15, [4, 20, 24, 25, 29, 30, 40, 44, 46, 106, 108, 114, 120, 127, 1000]) = 15
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb78c2938) = 9422
wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 1}], 0, NULL) = 9422
--- SIGCHLD (Child exited) @ 0 (0) ---
exit_group(1) = ?
---
Architecture: i386
DistroRelease: Ubuntu 10.04
EcryptfsInUse: Yes
FirefoxPackages:
 firefox 3.6+nobinonly-0ubuntu5
 firefox-gnome-support N/A
 firefox-branding 3.6+nobinonly-0ubuntu5
 abroswer N/A
 abrowser-branding N/A
NonfreeKernelModules: nvidia
Package: firefox 3.6+nobinonly-0ubuntu5
PackageArchitecture: i386
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-14.20-generic
Tags: lucid
Uname: Linux 2.6.32-14-generic i686
UserGroups:

Revision history for this message
Ryan (ubuntu-draziw) wrote : Dependencies.txt

apport information

tags: added: apport-collected
description: updated
Revision history for this message
Ryan (ubuntu-draziw) wrote : ExtensionSummary.txt

apport information

Revision history for this message
Ryan (ubuntu-draziw) wrote : profile_default_pluginreg.dat.txt

apport information

Revision history for this message
Ryan (ubuntu-draziw) wrote : profiles.ini.txt

apport information

Revision history for this message
Micah Gersten (micahg) wrote :

Thank you for reporting this to Ubuntu. Could you please provide the output of:
COLUMNS=200 dpkg -l firefox\* xul\*

Changed in firefox (Ubuntu):
status: New → Incomplete
Revision history for this message
Ryan (ubuntu-draziw) wrote :
Download full text (5.1 KiB)

Hi Micah, output below. However - it looks like the breakage is due to profile issues.
firefox -ProfileManager, and creating a new profile worked. I was able to copy my old extensions directory to the new profile, and all the extensions worked on the new profile. Also tried removing XPC.mfasl, XUL.mfasl etc from my old profile dir. - no luck on having the old profile directory work. So I tried restoring my old profile directory from a backup; trying to launch produced this message: 'Malformed File: Firefox could no install this item because "install.rdf" (provided by the item) is not well-formed or does not exist. Please contact the author about this problem."; after clicking ok, it started with what looked like blank profile.

$ COLUMNS=200 dpkg -l firefox\* xul\*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-============================================-============================================-========================================================================================================
ii firefox 3.6+nobinonly-0ubuntu5 safe and easy web browser from Mozilla
un firefox-2 <none> (no description available)
un firefox-2-dom-inspector <none> (no description available)
un firefox-2-gnome-support <none> (no description available)
un firefox-2-libthai <none> (no description available)
un firefox-3.0 <none> (no description available)
un firefox-3.0-branding <none> (no description available)
un firefox-3.0-gnome-support <none> (no description available)
un firefox-3.1-gnome-support <none> (no description available)
rc firefox-3.5 3.6+nobinonly-0ubuntu5 dummy upgrade package for firefox-3.5 -> firefox
un firefox-3.5-branding <none> (no description available)
un firefox-3.5-gnome-support <none> (no description available)
un firefox-3.6 <none> (no description available)
un firefox-3.6-branding <none> (no description available)
un firefox-3.6-gnome-support <none> (no description available)
un firefox-adblock-plus <none> ...

Read more...

Revision history for this message
Micah Gersten (micahg) wrote :

Can you launch firefox --safe-mode and disable the extensions? Then try enabling one by one if that works. I noticed that you had 2 copies of adblock-plus installed, but I don't know if that would cause the issues you are having.

Revision history for this message
Ryan (ubuntu-draziw) wrote :

Micah - Thanks! That launched, kept prefs, bookmarks, etc. With the disabled extensions page, it showed "2 new add-ons have been installed."

-In the dpkg listing, the first adblock-plus listing is a dummy package.
$ dpkg-query -l adblock-plus xul-ext-adblock-plus
...
ii adblock-plus 1.1.3-1 transitional dummy package
ii xul-ext-adblock-plus 1.1.3-1 Advertisement blocking extension for web browsers
... (guess I'll remove the transition package)
I then restarted firefox again (now all extensions off thanks to safe-mode toggle), then enabled extensions; With all the ones I had running prior to 3.6 re-enabled, it's working fine. So I have no idea what/how the profile was corrupted/damaged (or ??) in the 3.6 update (assuming), but it's working now with restore = safe-mode to turn off extensions for first startup... Thanks for your help on getting my firefox running again.

Revision history for this message
Micah Gersten (micahg) wrote :

This bug report is being closed due to your last comment regarding this being fixed by tweaking your extensions. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status . Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in firefox (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Ryan (ubuntu-draziw) wrote :

Turns out it's not cleared up, and I don't think it's invalid - looks to be a firefox upgrade bug.
http://support.mozilla.com/nl/forum/1/562036?forumId=1
has some other descriptions and people have the issue on OSX, windows, and linux... Clicking restart in the extensions area works with any/all of the previously installed extensions, closing firefox and launching again does not. I suspect profile damage rather than extension incompatibility. For now I'm just running without extensions, but I'll probably create a new profile and see if I can get them to consistently run again.

Revision history for this message
Micah Gersten (micahg) wrote :

Ryan, can you try with disabling torbutton while in safemode and see if that helps when you leave safe mode?

Changed in firefox (Ubuntu):
status: Invalid → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.