Closed Bug 264732 Opened 20 years ago Closed 19 years ago

crashes on this page when attempt search by entering the string: "/conf" and hitting Enter

Categories

(SeaMonkey :: UI Design, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED EXPIRED

People

(Reporter: golux, Assigned: jag+mozilla)

References

()

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922

The page (see URL) looks fine, but appears to contain something that causes
Mozilla to crash.  The procedure described in the summary is one very reliable
way to get a crash, but there are other sequences that will lead to a crash also.

Reproducible: Always
Steps to Reproduce:
1.  go to the URL http://python.org/doc/2.3.4/lib/lib.html
2.  type the string "/conf"
3.  press Enter

Actual Results:  
The browser crashes without further ado.

Expected Results:  
Find the string "conf" in the page.
This is the page, but it doesn't trigger a crash without the style sheet, which
is the next attachment.
This is the stylesheet used with the previously attached HTML page.  Using the
HTML page together with the stylesheet is sufficient to reliably reproduce the
crash by following the procedure included in the bug description.
URL works for me: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8a5) Gecko/20041015

does it crash when you search for other things too, or only searching for "conf"?


steps to reproduce:
1. click into page to make sure it has focus
2. type / to init Find as you type mode
3. type conf to find conf
4. click enter to load the link:
http://python.org/doc/2.3.4/lib/module-site.html

So this is the page crashing your computer, can you test it?


The uploaded HTML page was saved via "File->Save Page as ... ->Webpage, complete"
so some links in it are relating to a local directory moz_test_case_files:

<link rel="STYLESHEET" href="moz_test_case_files/lib.css" type="text/css">

If you upload the CSS first, and then edit the HTML to use the uploaded CSS, and
the upload the HTML, the HTML can called directly.
Example: URL of CSS-attachment copied and inserted:

<link rel="STYLESHEET"
href="https://bugzilla.mozilla.org/attachment.cgi?id=162357&action=view"
type="text/css">

You can try it locally, but I won´t recommend fixing the HTML over here, there
are to much links to your local directory in it.

The CSS validates, the HTML gives some errors.
http://validator.w3.org/check?uri=http%3A%2F%2Fpython.org%2Fdoc%2F2.3.4%2Flib%2Flib.html

Doctype is HTML, but XML style end tags are used:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<link rel="STYLESHEET" href="lib.css" type='text/css' />
<link rel='up' href='../index.html' title='Python Documentation Index' />

Line 1255, column 6: duplicate specification of attribute "REL"
<td class='online-navigation'><a rel="parent" title="Python Documentation Index" 
  rel="parent" title="Python Documentation Index" 
  href="../index.html">

Seven more of these errors in lines 1256 through 1270.

if you want to fix these errors in your local copy, you can upload it to verify:
http://validator.w3.org/
Hermann Schwab writes:

> does it crash when you search for other things too,
> or only searching for "conf"?

Not that I have yet observed.

> steps to reproduce:
> 1. click into page to make sure it has focus
> 2. type / to init Find as you type mode
> 3. type conf to find conf
> 4. click enter to load the link:
> http://python.org/doc/2.3.4/lib/module-site.html

> So this is the page crashing your computer, can you test it?

No, that is not the page "crashing [my] computer" -- in the
first place (if you will read the bug report more carefully),
the procedure described crashes *Mozilla*, not my computer.
Secondly, Mozilla crashes before going to any matches of
the "conf" string, so I do not click on any links to cause
the crash.  (Incidentally, the page to which you refer
does not crash Mozilla.)

> ... if you want to fix these errors in your local copy, you can
> upload it to verify:  http://validator.w3.org/

I don't care about the correctness of the HTML or the stylesheet
(Besides the fact that I am not their author) the point is:
Mozilla should not crash when reading erroneous
HTML or stylesheets; otherwise, web-browsing will become a very
frustrating experience, given the amount of broken HTML and css
code there is out there!

I appreciate that you are trying to be helpful, Mr. Schwab, but
this is an issue that the Mozilla developers need to fix.

Mr. Waterbury, I cannot reproduce this crash following the steps in comment 0
with a current Linux trunk build.

Did talkback (also known as the "Quality Feedback Agent") come up when you
crashed?  If so, could you look up the incident ID by running the
"components/talkback/talkback" program in your Mozilla installation?
Product: Core → Mozilla Application Suite
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
This bug has been automatically resolved after a period of inactivity (see above
comment). If anyone thinks this is incorrect, they should feel free to reopen it.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → EXPIRED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: