Closed Bug 231462 Opened 21 years ago Closed 21 years ago

Crash when a page have a font that the user have on his system but he hasn't got permission

Categories

(SeaMonkey :: General, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 183729

People

(Reporter: david.pinelo, Unassigned)

References

()

Details

(Keywords: crash, stackwanted)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.5) Gecko/20031107 Debian/1.5-3
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.5) Gecko/20031107 Debian/1.5-3

Let your fonts on the directory /usr/share/fonts/truetype. Let's Mozilla 1.5 on
sarge debian distribution. Let a font, FooFont for example, that is on that
directory, but suppose the permissions are:
-rw-r-----    1 root     root         103K 1998-11-12 07:18 FooFont.ttf

If you try to get a page that use FooFont.ttf, then Mozilla Browser shut down
and doesn't give any log error. You can see the problem if you make an "strace
mozilla"; you can see that mozilla crash because it tries to open the font, but
it has no permission.


Reproducible: Always

Steps to Reproduce:
1. Give permission only to root (for example) to a font uses by a page.
2. Ask for the page. You can see how mozilla crashes
3. If you need information about where it crashes make an strace mozilla.

Actual Results:  
If you give permission to the font, the problem will be solve.

Expected Results:  
Maybe, Mozilla have to give a log error saying that you need a font and you
don't have permission to read it. Maybe it has to use a default font instead.
But, it will be important to see the error, and know what is the problem.
Thanks for the report & deep analysis, this is a duplicate of an existing bug
report.

*** This bug has been marked as a duplicate of 183729 ***
Severity: normal → critical
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Keywords: crash, stackwanted
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.