The default bug view has changed. See this FAQ.

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.

RESOLVED FIXED

Status

()

Core
HTML: Parser
--
critical
RESOLVED FIXED
7 years ago
3 years ago

People

(Reporter: Adam Tarcsi, Unassigned)

Tracking

({hang})

1.9.2 Branch
x86
Windows Vista
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

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

Attachments

(1 attachment)

(Reporter)

Description

7 years ago
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

Comment 1

7 years ago
Testing on Minefield latest nightly build produces a hang, no crash.

Comment 2

7 years ago
https://developer.mozilla.org/en/How_to_get_a_stacktrace_with_WinDbg
Created attachment 434180 [details]
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.

Updated

7 years ago
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

Comment 5

7 years ago
Firefox 3.6.12 on Ubuntu just hangs.

Comment 6

5 years ago
It works good in Firefox 10.0, Windows XP.  Maybe Someone Fixed it?
Fixed by fixing bug 479959.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Whiteboard: [fixed by the html5 parser]
Comment hidden (spam)

Updated

3 years ago
Flags: needinfo?(wilsonchong8806222)

Updated

3 years ago
blocking-b2g: --- → 2.2?
blocking-b2g: 2.2? → ---
You need to log in before you can comment on or make changes to this bug.