Closed Bug 210334 Opened 21 years ago Closed 21 years ago

Infinite loop hang loading ESPN.com [@nsWritingIterator<char>::write(char const*, unsigned)]

Categories

(Core :: Networking: HTTP, defect, P1)

x86
Linux
defect

Tracking

()

VERIFIED DUPLICATE of bug 210119
mozilla1.5alpha

People

(Reporter: caillon, Assigned: darin.moz)

References

()

Details

(Keywords: hang, regression)

Attachments

(2 files)

Current linux CVS trunk -

Steps to reproduce:
1. Load espn.com

Expected results:
- Finished loading the page, like a good browser.

Actual results:
- Hang.

This is a regression from bug 208845.  Backing that checkin out locally fixes
this for me.  I have a stack trace, and a copy of the web page complete which
causes this hang.  I will attach both of those in the bug.
Also note that there is an infinite loop of assertions.  Here is a bit of them
from the console:

CSS Error (http://ads.msn.com/ads/ :1.224): Unknown property 'filter'. 
Declaration dropped.
CSS Error (http://ads.msn.com/ads/ :1.116): Unknown property 'filter'. 
Declaration dropped.
###!!! ASSERTION: caller passing bogus length: 'aLength != PRUint32(-1)', file
../../../dist/include/string/nsDependentString.h, line 173
Break: at file ../../../dist/include/string/nsDependentString.h, line 173
###!!! ASSERTION: nsMemoryImpl::Alloc of 0: 'size', file
/usr/local/src/mozilla/trunk/mozilla/xpcom/base/nsMemoryImpl.cpp, line 322
Break: at file /usr/local/src/mozilla/trunk/mozilla/xpcom/base/nsMemoryImpl.cpp,
line 322
###!!! ASSERTION: You can't |write| into an |nsWritingIterator| with no space!:
'size_forward() > 0', file ../../dist/include/string/nsStringIterator.h, line 364
Break: at file ../../dist/include/string/nsStringIterator.h, line 364
###!!! ASSERTION: |copy_string| will never terminate: 'count_copied > 0', file
../../dist/include/string/nsAlgorithm.h, line 91
Break: at file ../../dist/include/string/nsAlgorithm.h, line 91
###!!! ASSERTION: You can't |write| into an |nsWritingIterator| with no space!:
'size_forward() > 0', file ../../dist/include/string/nsStringIterator.h, line 364
Break: at file ../../dist/include/string/nsStringIterator.h, line 364
###!!! ASSERTION: |copy_string| will never terminate: 'count_copied > 0', file
../../dist/include/string/nsAlgorithm.h, line 91
Break: at file ../../dist/include/string/nsAlgorithm.h, line 91
Summary: Hangs loading ESPN.com [@nsWritingIterator<char>::write(char const*, unsigned)] → Infinite loop hang loading ESPN.com [@nsWritingIterator<char>::write(char const*, unsigned)]
probably a duplicate of bug 210119.
Status: NEW → ASSIGNED
Depends on: 210119
Priority: -- → P1
Target Milestone: --- → mozilla1.5alpha
my patch for bug 210119 fixes this.

*** This bug has been marked as a duplicate of 210119 ***
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Verified.  The patch works.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: