Closed Bug 553999 Opened 14 years ago Closed 12 years ago

A simple file that containts 1023 Unix LF chars kills Firefox, but it works on IE, Chrome, Opera, Safari. Tested on Firefox 3.6 and on 3.5.4 as well.

Categories

(Core :: DOM: HTML Parser, defect)

1.9.2 Branch
x86
Windows Vista
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: ade, Unassigned)

References

()

Details

(Keywords: hang, Whiteboard: [fixed by the html5 parser])

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.0; hu; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.0; hu; rv:1.9.2) Gecko/20100115 Firefox/3.6 (.NET CLR 3.5.30729)

A simple file that containts 1023 Unix LF chars kills Firefox, but it works on IE, Chrome, Opera, Safari. Tested on Firefox 3.6 and on 3.5.4 as well.
You can try it here: http://ade.web.elte.hu/_1023LF.txt

Reproducible: Always

Steps to Reproduce:
1. Create a simple text file with 1023 LF. Maybe less is enough, I've tested with 1023.
2. Open it with Firefox
3. Now you can restart your Firefox...
Actual Results:  
Firefox crashes
Testing on Minefield latest nightly build produces a hang, no crash.
Attached file Stack of main thread
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.2) Gecko/20100316 Firefox/3.6.2

Fx hangs [@ xul!nsScannerIterator::advance] with 100% cpu usage on the main thread. I haven't been able to figure out what the unloaded modules are but hopefully it's not important.
Status: UNCONFIRMED → NEW
Component: General → HTML: Parser
Ever confirmed: true
Keywords: hang
Product: Firefox → Core
QA Contact: general → parser
Version: unspecified → 1.9.2 Branch
Bug 479959 will fix this eventually.
Depends on: 479959
Firefox 3.6.12 on Ubuntu just hangs.
It works good in Firefox 10.0, Windows XP.  Maybe Someone Fixed it?
Fixed by fixing bug 479959.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [fixed by the html5 parser]
Flags: needinfo?(wilsonchong8806222)
blocking-b2g: --- → 2.2?
blocking-b2g: 2.2? → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: