Closed Bug 1348604 Opened 7 years ago Closed 6 years ago

Nightly fails to start - libmozsandbox.so: cannot open shared object file: No such file or directory

Categories

(Toolkit :: Application Update, defect)

defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 1434666

People

(Reporter: andrew, Unassigned)

Details

Attachments

(5 files)

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/53.0.2785.143 Chrome/53.0.2785.143 Safari/537.36

Steps to reproduce:

Allowed Firefox nightly to update and restarted.


Actual results:

Firefox failed to restart.  Running in a terminal I see the error:

XPCOMGlueLoad error for file /home/gaul/bin/firefox/libmozsandbox.so:
/home/gaul/bin/firefox/libmozsandbox.so: cannot open shared object file: No such file or directory
Couldn't load XPCOM.


Expected results:

Firefox should start.
Subsequently, I downloaded the 2017-03-16 nightly served from mozilla.org then upgraded to 2017-03-18.  This version restarted correctly.
Severity: normal → critical
Component: Untriaged → Security: Process Sandboxing
Product: Firefox → Core
This looks like a bug in the updater (or an unrelated problem that caused the update to fail), not in the sandboxing layer. One of the Firefox libraries (which happens to be the sandbox one, which is loaded early) is missing or corrupted.
Component: Security: Process Sandboxing → Installer
Product: Core → Firefox
Component: Installer → Application Update
Product: Firefox → Toolkit
I still have the broken firefox directory.  Can I scrape information like the build date out of it even though I can't launch it?
Assuming this is on Linux, please navigate to the installation directory and then into the updates directory. Attach the last-update.log and if it exists the backup-update.log files to this bug. If there is an update.log file in the 0 subdirectory please attach that as well.
Flags: needinfo?(andrew)
Attached file last-update.log
Flags: needinfo?(andrew)
Attached file backup-update.log
Attached file update.log
update.log comes from firefox/updates, not firefox/updates/0.
Attachment #8850635 - Attachment mime type: text/x-log → text/plain
Attachment #8850633 - Attachment mime type: text/x-log → text/plain
Attachment #8850631 - Attachment mime type: text/x-log → text/plain
Could you check if libmozsandbox.so exists under /home/gaul/bin/firefox/updated ?

It also appears as if the updater isn't able to remove the updated directory. Is it possible that Firefox was run with su or the permissions could have been changed?
Attached file find.txt
libmozsandbox.so exists in /home/gaul/bin/firefox/updated.  I attached find output from the suspect directory.

Firefox was not run with su and I do not believe that the permissions changed.
and libmozsandbox.so does not exist in /home/gaul/bin/firefox/ ?
libmozsandbox.so does not exist in /home/gaul/bin/firefox/ .  In fact, no shared objects exist there.
Does the following directory exist?
/home/gaul/bin/firefox.bak/

Please open a command shell and provide the output from running ls -l from within the following directories
/home/gaul/bin/firefox/
/home/gaul/bin/firefox/updated/
$ ls -l firefox/
total 22812
-rw-r--r--  1 gaul gaul     1727 Mar 18 10:19 active-update.xml
-rw-r--r--  1 gaul gaul      703 Mar 17 16:20 application.ini
drwxr-xr-x  6 gaul gaul     4096 Mar 17 16:19 browser
-rw-r--r--  1 gaul gaul        0 Mar 17 16:20 chrome.manifest
-rwxr-xr-x  1 gaul gaul   368624 Mar 17 16:19 crashreporter
-rw-r--r--  1 gaul gaul     4003 Mar 17 16:19 crashreporter.ini
drwxr-xr-x  3 gaul gaul     4096 Mar 17 16:19 defaults
-rw-r--r--  1 gaul gaul      157 Mar 17 16:19 dependentlibs.list
drwxr-xr-x  2 gaul gaul     4096 Mar 17 16:19 dictionaries
-rwxr-xr-x  1 gaul gaul   202496 Mar 17 16:20 firefox
-rwxr-xr-x  1 gaul gaul   202504 Mar 17 16:20 firefox-bin
drwxr-xr-x  2 gaul gaul     4096 Mar 17 16:19 fonts
drwxr-xr-x  3 gaul gaul     4096 Mar 17 16:19 gmp-clearkey
drwxr-xr-x  2 gaul gaul     4096 Mar 17 16:19 gtk2
drwxr-xr-x  2 gaul gaul     4096 Mar 17 16:19 icons
-rw-r--r--  1 gaul gaul 10910640 Mar 17 16:19 icudt58l.dat
-rw-r--r--  1 gaul gaul      899 Mar 17 16:20 libfreeblpriv3.chk
-rw-r--r--  1 gaul gaul      899 Mar 17 16:20 libnssdbm3.chk
-rw-r--r--  1 gaul gaul      899 Mar 17 16:20 libsoftokn3.chk
-rwxr-xr-x  1 gaul gaul  1043288 Mar 17 16:19 minidump-analyzer
-rw-r--r--  1 gaul gaul  9814796 Mar 17 16:19 omni.ja
-rwxr-xr-x  1 gaul gaul    12192 Mar 17 16:19 pingsender
-rw-r--r--  1 gaul gaul      157 Mar 17 16:19 platform.ini
-rwxr-xr-x  1 gaul gaul   195832 Mar 17 16:19 plugin-container
-rw-r--r--  1 gaul gaul     2509 Mar 17 16:19 precomplete
-rw-r--r--  1 gaul gaul      707 Mar 17 16:19 removed-files
-rwxr-xr-x  1 gaul gaul     8915 Mar 17 16:19 run-mozilla.sh
-rw-r--r--  1 gaul gaul      825 Mar 17 16:19 Throbber-small.gif
drwxr-xr-x 10 gaul gaul    12288 Mar 18 10:19 updated
-rwxr-xr-x  1 gaul gaul   247512 Mar 17 16:19 updater
-rw-r--r--  1 gaul gaul      681 Mar 17 16:19 updater.ini
drwxr-xr-x  3 gaul gaul     4096 Mar 18 10:19 updates
-rw-r--r--  1 gaul gaul      131 Mar 17 16:19 update-settings.ini
-rw-r--r--  1 gaul gaul    31802 Mar 18 10:19 updates.xml

$ ls -l firefox/updated/
total 129256
-rw-r--r-- 1 gaul gaul      1727 Mar 18 10:19 active-update.xml
-rw-r--r-- 1 gaul gaul       703 Mar 18 10:19 application.ini
drwxr-xr-x 6 gaul gaul      4096 Mar 18 10:19 browser
-rw-r--r-- 1 gaul gaul         0 Mar 18 10:19 chrome.manifest
-rwxr-xr-x 1 gaul gaul    368624 Mar 18 10:19 crashreporter
-rw-r--r-- 1 gaul gaul      4003 Mar 18 10:19 crashreporter.ini
drwxr-xr-x 3 gaul gaul      4096 Mar 18 10:19 defaults
-rw-r--r-- 1 gaul gaul       157 Mar 18 10:19 dependentlibs.list
drwxr-xr-x 2 gaul gaul      4096 Mar 18 10:19 dictionaries
-rwxr-xr-x 1 gaul gaul    202416 Mar 18 10:19 firefox
-rwxr-xr-x 1 gaul gaul    202424 Mar 18 10:19 firefox-bin
drwxr-xr-x 2 gaul gaul      4096 Mar 18 10:19 fonts
drwxr-xr-x 3 gaul gaul      4096 Mar 18 10:19 gmp-clearkey
drwxr-xr-x 2 gaul gaul      4096 Mar 18 10:19 gtk2
drwxr-xr-x 2 gaul gaul      4096 Mar 18 10:19 icons
-rw-r--r-- 1 gaul gaul  10910640 Mar 18 10:19 icudt58l.dat
-rw-r--r-- 1 gaul gaul       899 Mar 18 10:19 libfreeblpriv3.chk
-rwxr-xr-x 1 gaul gaul    594048 Mar 18 10:19 libfreeblpriv3.so
-rwxr-xr-x 1 gaul gaul     78776 Mar 18 10:19 liblgpllibs.so
-rwxr-xr-x 1 gaul gaul   2525200 Mar 18 10:19 libmozavcodec.so
-rwxr-xr-x 1 gaul gaul    284048 Mar 18 10:19 libmozavutil.so
-rwxr-xr-x 1 gaul gaul      9432 Mar 18 10:19 libmozgtk.so
-rwxr-xr-x 1 gaul gaul    113232 Mar 18 10:19 libmozsandbox.so
-rwxr-xr-x 1 gaul gaul   1288176 Mar 18 10:19 libmozsqlite3.so
-rwxr-xr-x 1 gaul gaul    291216 Mar 18 10:19 libnspr4.so
-rwxr-xr-x 1 gaul gaul    779944 Mar 18 10:19 libnss3.so
-rwxr-xr-x 1 gaul gaul    643192 Mar 18 10:19 libnssckbi.so
-rw-r--r-- 1 gaul gaul       899 Mar 18 10:19 libnssdbm3.chk
-rwxr-xr-x 1 gaul gaul    180312 Mar 18 10:19 libnssdbm3.so
-rwxr-xr-x 1 gaul gaul    221776 Mar 18 10:19 libnssutil3.so
-rwxr-xr-x 1 gaul gaul     24832 Mar 18 10:19 libplc4.so
-rwxr-xr-x 1 gaul gaul     19464 Mar 18 10:19 libplds4.so
-rwxr-xr-x 1 gaul gaul    216360 Mar 18 10:19 libsmime3.so
-rw-r--r-- 1 gaul gaul       899 Mar 18 10:19 libsoftokn3.chk
-rwxr-xr-x 1 gaul gaul    303888 Mar 18 10:19 libsoftokn3.so
-rwxr-xr-x 1 gaul gaul    358368 Mar 18 10:19 libssl3.so
-rwxr-xr-x 1 gaul gaul 100878248 Mar 18 10:19 libxul.so
-rwxr-xr-x 1 gaul gaul   1043288 Mar 18 10:19 minidump-analyzer
-rw-r--r-- 1 gaul gaul   9814775 Mar 18 10:19 omni.ja
-rwxr-xr-x 1 gaul gaul     12192 Mar 18 10:19 pingsender
-rw-r--r-- 1 gaul gaul       157 Mar 18 10:19 platform.ini
-rwxr-xr-x 1 gaul gaul    195760 Mar 18 10:19 plugin-container
-rw-r--r-- 1 gaul gaul      2509 Mar 18 10:19 precomplete
-rw-r--r-- 1 gaul gaul       707 Mar 18 10:19 removed-files
-rwxr-xr-x 1 gaul gaul      8915 Mar 18 10:19 run-mozilla.sh
-rw-r--r-- 1 gaul gaul       825 Mar 18 10:19 Throbber-small.gif
-rwxr-xr-x 1 gaul gaul    247512 Mar 18 10:19 updater
-rw-r--r-- 1 gaul gaul       681 Mar 18 10:19 updater.ini
drwxr-xr-x 2 gaul gaul      4096 Mar 18 10:19 updates
-rw-r--r-- 1 gaul gaul       131 Mar 18 10:19 update-settings.ini
-rw-r--r-- 1 gaul gaul     31802 Mar 18 10:19 updates.xml
Attached file find-ls.txt
BTW I got this again updating from 60->61.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: