Closed Bug 46410 Opened 24 years ago Closed 24 years ago

Assertion failure when clicking before the page finishes loading

Categories

(Core :: Networking, defect, P3)

x86
FreeBSD
defect

Tracking

()

VERIFIED DUPLICATE of bug 26295
Future

People

(Reporter: jesup, Assigned: rpotts)

References

()

Details

(This may be overkill, but here's how I did it:) Go to this page (http://www.geocities.com/NapaValley/Cellar/3517/recipes.html). Let it load. Click on a recipe (I used "Janet's Double D Ambrosia Cups"). Hit back. Then before everything (images) loads click on the link to a recipe again. Observe assertions. ###!!! ASSERTION: Channel list is not empty.: 'count == 0', file nsLoadGroup.cpp, line 238 ###!!! Break: at file nsLoadGroup.cpp, line 238 ###!!! ASSERTION: Foreground URLs are active.: 'mForegroundCount == 0', file nsLoadGroup.cpp, line 239 ###!!! Break: at file nsLoadGroup.cpp, line 239 The count (and mForegroundCount) is 1. My guess is that there's a race condition where items are being added to the mChannels container while nsLoadGroup::Cancel is running (deleting items). I wonder if the OnStopNotification could be involved? I notice there's a comment about it. Just a WAG (wild-assed-guess). Easily repeatable.
setting bug status to New
Status: UNCONFIRMED → NEW
Ever confirmed: true
AFAIK this is not a harmful assestion but to rpotts for comments.
Assignee: gagan → rpotts
Target Milestone: --- → Future
*** This bug has been marked as a duplicate of 26295 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
VERIFIED/dupe
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.