Closed Bug 298258 Opened 20 years ago Closed 20 years ago

XUL file with error crashes while reporting error

Categories

(Core :: XML, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 291827

People

(Reporter: vlad, Unassigned)

Details

Attachments

(2 files)

In attempting to recreate some of the DHTML tests as standalone xulrunner tests,
I ran into this problem; stick the attached xul and js files somewhere, and
navigate to the xul file in the browser.  The backtrace:

#8  <signal handler called>
#9  0xb7360b09 in CreateSourceText (aColNumber=Variable "aColNumber" is not
available.
)
    at ../../../../mozilla-firefox/parser/htmlparser/src/nsExpatDriver.cpp:706
#10 0xb73611ac in nsExpatDriver::HandleError (this=0x888e808,
    aBuffer=0x882a770 "<", aLength=54, aIsFinal=0)
    at ../../../../mozilla-firefox/parser/htmlparser/src/nsExpatDriver.cpp:804
#11 0xb7361339 in nsExpatDriver::ParseBuffer (this=0x888e808,
    aBuffer=0x882a770 "<", aLength=54, aIsFinal=0)
    at ../../../../mozilla-firefox/parser/htmlparser/src/nsExpatDriver.cpp:829
#12 0xb736141b in nsExpatDriver::ConsumeToken (this=0x888e808,
    aScanner=@0x884cd98, aFlushTokens=@0xbf8bd844)
    at ../../../../mozilla-firefox/parser/htmlparser/src/nsExpatDriver.cpp:943
#13 0xb737712a in nsParser::Tokenize (this=0x87bcdf8, aIsFinalChunk=0)
    at ../../../../mozilla-firefox/parser/htmlparser/src/nsParser.cpp:2813
#14 0xb7379617 in nsParser::ResumeParse (this=0x87bcdf8, allowIteration=0,
    aIsFinalChunk=0, aCanInterrupt=0)
    at ../../../../mozilla-firefox/parser/htmlparser/src/nsParser.cpp:1982
...

The source line passed in is valid, but "aColNumber" is completely bogus
(somewhere in the 10k's, varies from run to run).
I'm marking this duplicate of bug 291827, though it'll probably be fixed by a
combination of the fixes for bug 291827 and bug 275564.

*** This bug has been marked as a duplicate of 291827 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: