Closed Bug 230689 Opened 21 years ago Closed 21 years ago

If mozilla doesn't have the permissions to access the font it needs it will segfault

Categories

(SeaMonkey :: General, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 183729

People

(Reporter: brad_syd, Unassigned)

Details

(Keywords: crash)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031107 Debian/1.5-3 When running strace on mozilla it outputs this: open("/usr/X11R6/lib/X11/fonts/Type1/verdana.ttf", O_RDONLY) = -1 EACCES (Permission denied) --- SIGSEGV (Segmentation fault) @ 0 (0) --- After looking at the permissions on the font it was 600 explaining why root could use mozilla and a normal user couldnt. Reproducible: Always Steps to Reproduce: 1. Change one of the fonts that mozilla needs with the permissions so that a normal user cant read the font 2.Start mozilla as that user Actual Results: Mozilla segfaults Expected Results: mozilla should print an error message to stderr and exit gracefully I have tested this bug with firebird and thunderbird with the exact same results!
Severity: normal → critical
Keywords: crash
Summary: If mozilla doesnt have the permissions to access the font it needs it will segfault → If mozilla doesn't have the permissions to access the font it needs it will segfault
*** This bug has been marked as a duplicate of 183729 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
thanks for the very detailed bug report (strace, different clients), this really help pinpointing the issue, finding a duplicate is not always an easy task (tip: try to also search the resolved duplicate bug reports which have different summaries to describe the same bug)
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.