Shiretoko crashes when starting if /proc/version can't be read

RESOLVED WORKSFORME

Status

()

--
critical
RESOLVED WORKSFORME
10 years ago
5 years ago

People

(Reporter: jgoguen, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

10 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b4pre) Gecko/20090313 Shiretoko/3.1b4pre
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b4pre) Gecko/20090313 Shiretoko/3.1b4pre

I've compiled Shiretoko beta4-pre since there are no x86_64 beta builds.  I use AppArmor to restrict access to files, and I've found that if I don't allow read access to /proc/version, Shiretoko will crash before it's fully started.  No UI ever appears, I need to run it from the command line to see this.  If I disallow read access to /proc/uptime or /proc/, it just emits warnings that /proc isn't mounted.

Reproducible: Always

Steps to Reproduce:
1. Deny Shiretoko read access to /proc/version
2. Run Shiretoko
Actual Results:  
Shiretoko crashes without displaying anything useful

Expected Results:  
Shiretoko starts as normal.
Joel, can you reproduce with 3.6 or trunk?  stack?
Keywords: stackwanted
Whiteboard: [closeme 2010-06-25]
(Reporter)

Comment 2

9 years ago
Hi Wayne,

I just tried Firefox 3.6.3 and used AppArmor to deny Firefox read access to /proc/version and everything works fine. I don't even see an attempt to read /proc/version anymore.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → WORKSFORME

Updated

5 years ago
Keywords: stackwanted
Whiteboard: [closeme 2010-06-25]
You need to log in before you can comment on or make changes to this bug.