Closed Bug 51835 Opened 24 years ago Closed 24 years ago

Visiting this one line CSS file causes a crash

Categories

(Core :: Layout, defect, P1)

x86
Windows 2000
defect

Tracking

()

VERIFIED DUPLICATE of bug 52172

People

(Reporter: ian, Assigned: clayton)

References

()

Details

(Keywords: crash, regression)

STEPS TO REPRODUCE:
   1. Paste the following URL into the Location bar and hit enter.
       http://bugzilla.mozilla.org/showattachment.cgi?attach_id=7907

ACTUAL RESULTS:
   1. CRASH.

The file is a single line stylesheet. I believe the MIME type is text/css (this
has not been checked).

Before this can be reassigned to the correct componenent, someone will have to
work out what the bug actually is. Is it because it is text/css? Is it a 
problem with Layout of the text document? Is it a problem with that URI? etc...
Priority: P3 → P1
Windows 2000 Commercial Build 2000090708, BTW.
I sent a talkback report, but again got no report as to what id it had.  Email
was doronr@naboonline.com. Asa, could you try to get it or send in one yourself?
hixie - what is the actualy code? I can't get it using 4.74. 
Stack:

#0  0x41888230 in nsXMLContentSink::WillBuildModel (this=0x880c850)
    at
/home/david/mozilla/src/mozilla/layout/xml/document/src/nsXMLContentSink.cpp:260
#1  0x40ac3ae2 in CViewSourceHTML::WillBuildModel (this=0x868c710, 
    aParserContext=@0x880d898, aSink=0x880c850)
    at /home/david/mozilla/src/mozilla/htmlparser/src/nsViewSourceHTML.cpp:463
#2  0x40ab23a6 in nsParser::WillBuildModel (this=0x8aaa4d0, 
    aFilename=@0x880d704)
    at /home/david/mozilla/src/mozilla/htmlparser/src/nsParser.cpp:1367
#3  0x40ab3213 in nsParser::ResumeParse (this=0x8aaa4d0, allowIteration=1, 
    aIsFinalChunk=0)
    at /home/david/mozilla/src/mozilla/htmlparser/src/nsParser.cpp:1838
#4  0x40ab406f in nsParser::OnDataAvailable (this=0x8aaa4d0, 
    channel=0x8aa5ef0, aContext=0x0, pIStream=0x8812574, sourceOffset=0, 
    aLength=80)
    at /home/david/mozilla/src/mozilla/htmlparser/src/nsParser.cpp:2309
#5  0x40bbc950 in nsDocumentOpenInfo::OnDataAvailable (this=0x8aa3ed8, 
    aChannel=0x8aa5ef0, aCtxt=0x0, inStr=0x8812574, sourceOffset=0, count=80)
    at /home/david/mozilla/src/mozilla/uriloader/base/nsURILoader.cpp:251
#6  0x409d9a43 in nsHTTPFinalListener::OnDataAvailable (this=0x8aa6120, 
    aChannel=0x8aa5ef0, aContext=0x0, aStream=0x8812574, aSourceOffset=0, 
    aCount=80)
    at /home/david/mozilla/src/mozilla/netwerk/protocol/http/src/nsHTTPResponseL
istener.cpp:1190
#7  0x409a6cdd in InterceptStreamListener::OnDataAvailable (this=0x8812570, 
    channel=0x8aa5ef0, ctxt=0x0, inStr=0x8604348, sourceOffset=0, count=80)
    at
/home/david/mozilla/src/mozilla/netwerk/cache/mgr/nsCachedNetData.cpp:1209
#8  0x4099ddf4 in nsHTTPChunkConv::OnDataAvailable (this=0x8a078b8, 
    aChannel=0x8aa5ef0, aContext=0x0, iStr=0x8696c08, aSourceOffset=0, 
    aCount=87)
    at
/home/david/mozilla/src/mozilla/netwerk/streamconv/converters/nsHTTPChunkConv.cpp:211
#9  0x409d80e1 in nsHTTPServerListener::OnDataAvailable (this=0x8807940, 
    channel=0x88630cc, context=0x8aa5ef0, i_pStream=0x8696c08, 
    i_SourceOffset=29530, i_Length=87)
    at
/home/david/mozilla/src/mozilla/netwerk/protocol/http/src/nsHTTPResponseListener.cpp:554
#10 0x4096e52f in nsOnDataAvailableEvent::HandleEvent (this=0x8a809f0)
    at
/home/david/mozilla/src/mozilla/netwerk/base/src/nsAsyncStreamListener.cpp:416
#11 0x4096d7a7 in nsStreamListenerEvent::HandlePLEvent (aEvent=0x88078d0)
    at
/home/david/mozilla/src/mozilla/netwerk/base/src/nsAsyncStreamListener.cpp:101
#12 0x4012212e in PL_HandleEvent (self=0x88078d0)
    at /home/david/mozilla/src/mozilla/xpcom/threads/plevent.c:589
...
over to Layout.
Assignee: asa → clayton
Component: Browser-General → Layout
QA Contact: doronr → petersen
From #0 to #5 the stack is the same of bug 51283: "Crash when loading any
text/css resources in nsXMLContentSink::WillBuildModel". Dupe?
Yes, but bug 51283 has been marked dup of bug 52172. Doing the same to this one.

*** This bug has been marked as a duplicate of 52172 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Verified dupe of bug 52172: "Attempting to view contents of css file results in
a crash"
Status: RESOLVED → VERIFIED
Keywords: qawanted
You need to log in before you can comment on or make changes to this bug.