Open Bug 1245453 Opened 8 years ago Updated 2 years ago

Firefox crash opening the following XML URL => http://epgforiptv.altervista.org/tvguide.xml

Categories

(Core :: XML, defect)

43 Branch
x86
Windows 7
defect

Tracking

()

People

(Reporter: RNicoletto, Unassigned)

References

(Depends on 1 open bug, )

Details

(Whiteboard: dom-triaged)

Looks like we're crashing in layout code. XML code could easily be the cause but wdyt, Jet?
Flags: needinfo?(bugs)
Whiteboard: dom-triaged
OOM crash on a big ( 28MB ) XML file. I couldn't repro the crash but can see how it can happen on low-memory machines. It looks like we're OOM crashing in arena-allocated memory so we're protected there (Mats: please confirm my assumption.)

The Firefox feature that shows the collapsible tree structure (unlike Chromium's plain text dump) uses up significantly more memory. Perhaps we should consider not displaying the tree structure for XML > big_size?
Flags: needinfo?(bugs) → needinfo?(mats)
Yeah, those crashes are safe OOM aborts.
I think this is basically a dupe of bug 231925 / bug 197956.

Displaying XML as plaintext sounds fine to me, with or without a threshold.
I'd rather do it unconditionally since it simpler, and we can then remove
the "pretty print" code since it appears unmaintained.
Flags: needinfo?(mats)
Depends on: 197956
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.