Closed
Bug 254181
Opened 21 years ago
Closed 15 years ago
###!!! ASSERTION: PushBack: 'Not Reached', file /home/chb/mozilla/netwerk/protocol/http/src/nsHttpConnection.h, line 118
Categories
(Core :: Networking: HTTP, defect, P5)
Tracking
()
RESOLVED
DUPLICATE
of bug 629458
People
(Reporter: Biesinger, Unassigned)
References
()
Details
(Keywords: assertion)
Attachments
(1 file)
|
3.01 KB,
text/plain
|
Details |
###!!! ASSERTION: PushBack: 'Not Reached', file
/home/chb/mozilla/netwerk/protocol/http/src/nsHttpConnection.h, line 118
steps to reproduce: load http://movies.go.com/trailers/index.html in a debug build
Note: This may require having realplayer 10 + plugin installed
tested in a gtk2+xft build, current cvs
this assertion is reproducable.
Comment 1•21 years ago
|
||
do you have pipelining enabled?
Updated•21 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.8beta
| Reporter | ||
Comment 2•21 years ago
|
||
no... just http/1.1 + keep-alive.
Comment 4•21 years ago
|
||
stack trace on win2k:
nsHttpConnection::PushBack(const char * 0x0375ba45, unsigned int 2) line 118 +
30 bytes
nsHttpConnectionMgr::nsConnectionHandle::PushBack(const char * 0x0375ba45,
unsigned int 2) line 935
nsHttpTransaction::ProcessData(char * 0x0375ba44, unsigned int 3, unsigned int *
0x01bbfe34) line 900
...
looks like there are two bytes being passed to the PushBack function: 0xA, 0x20
it's not clear if these are simply extra garbage in the response or if they are
not being consumed properly by our code.
Comment 5•21 years ago
|
||
ok, so in this case the server is sending us some junk. an ethereal trace shows
the following response:
HTTP/1.1 200 OK\r\n
Cache-control: no-cache\r\n
Pragma: no-cache\r\n
Expires: 0\r\n
Content-Length: 1\r\n
Content-Type: application/x-javascript\r\n
\r\n
\r\n
\x20
and that's it. notice that the content-length header does not match the size of
the response body. there's 2 extra bytes: \n and \x20
the assertion in our code indicates that we are discarding the extra data, and
in this case that's probably the right thing to do. though it's not really good
to assert when things are "ok" ... hmm
| Reporter | ||
Comment 6•21 years ago
|
||
hm, same as bug 240076 it seems, but that's tech evang; we should probably not
assert just because untrusted input is bad...
Updated•20 years ago
|
Priority: -- → P5
Target Milestone: mozilla1.8beta1 → mozilla1.8beta2
Updated•20 years ago
|
Target Milestone: mozilla1.8beta2 → mozilla1.9alpha
Updated•19 years ago
|
Assignee: darin → nobody
Status: ASSIGNED → NEW
Target Milestone: mozilla1.9alpha → ---
Comment 7•18 years ago
|
||
http://movies.go.com/trailers/index.html is gone (perhaps replaced by http://movies.go.com/movie_trailers, which doesn't trigger the assertion).
Since it sounds like it's normal for bad server data to trigger this assertion, it should probably be removed or turned into a warning...
Comment 8•18 years ago
|
||
I hit this assertion once while loading http://bloodistruth.blogspot.com/, but can't reproduce at will. Here's my stack trace.
Updated•15 years ago
|
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•