Closed
Bug 512567
Opened 15 years ago
Closed 15 years ago
knotlowfarm stylesheet crashes both Firefox and Gnome
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: tmp, Unassigned)
References
()
Details
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.1.2) Gecko/20090730 SUSE/3.5.2-2.1 Firefox/3.5.2
Build Identifier: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.1.2) Gecko/20090730 SUSE/3.5.2-2.1 Firefox/3.5.2
The follow html extracted from the URL reported above will crash firefox (both 3.5.1 and 3.5.2) on my Suse Linux 10.3 platform. The problem does not seem to
occur with Windows version. For interest if the same psuedo page is view with an
Eclipse internal browser the problem can also be reproduced. This suggests a linux library problem. Not sure what. I am not a web developer and don't know
much about Firefox interals either. At the time of writing the website behind
the URL mentioned above seems to be under a subtle attach with strange links
being embedded. However, I don't think that this is related to this problem
because I can reproduce it with the html below.
Here are the lines I put into a file called index.html.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" >
<head>
<base href="http://www.knotlowfarm.co.uk/" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/templates/js_jamba/css/style1.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
</body>
Reproducible: Always
Steps to Reproduce:
1. Take the html above.
2. Copy into /home/user/index.html
3. Open file:/home/user/index.html
Where user is your userid.
Actual Results:
Firefox hangs for a few seconds. Then crashes. Then gnome crashes and offers login prompt again.
Expected Results:
Display a blank page.
Needs all three lines in the head section.
Normally reproducible in safe mode.
Comment 1•15 years ago
|
||
Can't reproduce on Ubuntu 9.04 Jaunty -- Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.3a1pre) Gecko/20090823 Minefield/3.7a1pre
Comment 2•15 years ago
|
||
Works for me, Kubuntu 9.04 (x86-64) -- Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2a2pre) Gecko/20090825 Namoroka/3.6a2pre
Comment 3•15 years ago
|
||
If it brings down Gnome, it's probably a Gnome bug or X bug rather than a Firefox bug. But it would still be nice to know what triggers it.
This isn't really a reduced testcase, since it refers to http://www.knotlowfarm.co.uk/templates/js_jamba/css/style1.css. Can you make a reduced testcase, by replacing the <link> with a <style>...</style> that contains the contents of that CSS file?
I will work on reducing the test case further. Sorry I missed that. I am not much of a web programmer.
I have attempted to reproduce this serving the stylesheet from a local apache2
server and failed. I can still reproduce using the style sheet from the website.
Here is the HTML I used. With the code from http://www.knotlowfarm.co.uk/templates/js_jamba/css/style1.css cut an saved into ~tmp/public_html/templates/js_jamba/css/style1.css.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en-gb" >
<head>
<base href="http://localhost/~tmp/" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="templates/js_jamba/css/style1.css" rel="stylesheet" type="text/css" media="screen" />
</head>
<body>
</body>
Comment 6•15 years ago
|
||
If you load http://localhost/~tmp/templates/js_jamba/css/style1.css do you get the stylesheet? If so, it's really weird that you hit the bug with the stylesheet on knotlowfarm but not on your own server.
I guess you could try using Firefox's crash reporting (about:crashes). You might need to switch from SUSE-provided Firefox builds to mozilla.com Firefox builds for this to work. And since it's bringing down your window manager, you'll need a trunk build of Firefox for some fixes to make delayed crash reporting work. https://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/
Or you could try reporting the bug to Gnome. Or SUSE. I really doubt this is a Firefox bug.
Updated•15 years ago
|
Whiteboard: [sg:needinfo] SUSE only?
Yes. I agree it is strange, but, only when the style sheet is pulled of the server
does the problem occur. I have verified that the URL to the style sheet is
correct as Jesse Ruderman suggested.
Comment 8•15 years ago
|
||
It's probably best if you report this to SUSE. They should be equipped to create a non-Firefox testcase for the X bug and/or determine whether the X bug is already fixed in a newer version. We can't even reproduce the bug.
Group: core-security
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → INVALID
Summary: Ten lines of html can crash both firefox and Gnome → knotlowfarm stylesheet crashes both Firefox and Gnome
Whiteboard: [sg:needinfo] SUSE only?
Comment 9•15 years ago
|
||
Btw, the stylesheet contains:
background: #adc387 url(../images/style1/background.jpg) repeat 0px 152px;
http://www.knotlowfarm.co.uk/templates/js_jamba/images/style1/background.jpg is 1280x1536
I tried on Ubuntu 9.10 and nothing bad happened.
You need to log in
before you can comment on or make changes to this bug.
Description
•