Closed
Bug 113973
Opened 24 years ago
Closed 24 years ago
Format error in .xul file crashes Mozilla
Categories
(Core :: XUL, defect)
Tracking
()
RESOLVED
WORKSFORME
Future
People
(Reporter: cmessenger, Assigned: hyatt)
Details
Attachments
(2 files)
If you load the attached .xul file into Mozilla 0.9.6, it will crash the browser
with an invalid memory reference.
I'll work on isolating it -- right now, the file's pretty big -- 800+ lines.
The parse error is near the end of the file -- there's a missing </hbox> just
before the final </groupbox>.
Looks like I'll have to attach the file in a later operation...
| Reporter | ||
Comment 1•24 years ago
|
||
There's a syntax error in the file -- right near the bottom, just before the
last </groupbox>, there's a missing </hbox>.
| Reporter | ||
Comment 2•24 years ago
|
||
Comment 3•24 years ago
|
||
Okay, don't do that.
Seriously, this is one of many ways that malformed content can cause a crash.
We're assuming that if you're developing XUL, then you won't malform the
content. But patches welcome.
-> Future.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → Future
Comment 4•24 years ago
|
||
Yes, patches welcome -- adding helpwanted. Isn't there already such a bug on
file? Anyone (cc'ing some likely folks) know of helpers on irc #mozilla who
could hack the robustitude needed to avoid crashing?
/be
Keywords: helpwanted
Comment 5•24 years ago
|
||
Testing this with a linux cvs build (20020210), loading the file aborts due to
an XML parsing error, but no crash.
cmessenger@iname.com, do you still see this?
| Reporter | ||
Comment 6•24 years ago
|
||
I tested with 0.9.8, and it no longer crashes. It instead does the right thing
-- generating a sensible format error message.
Comment 7•24 years ago
|
||
Great! Closing.
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: jrgmorrison → xptoolkit.widgets
You need to log in
before you can comment on or make changes to this bug.
Description
•