Closed Bug 79896 Opened 24 years ago Closed 21 years ago

assertions when running data url (with encoded image) twice.

Categories

(Core :: Networking, defect)

x86
Other
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.1beta

People

(Reporter: sspitzer, Assigned: pavlov)

References

()

Details

(Keywords: assertion)

assertions when running data url (with encoded image) twice. run the URL twice. you'll assert the second time. NTDLL! 77f7629c() nsDebug::Assertion(const char * 0x019f62dc, const char * 0x100dd294, const char * 0x019f6298, int 255) line 290 + 13 bytes nsDebug::NotReached(const char * 0x019f62dc, const char * 0x019f6298, int 255) line 452 + 22 bytes nsDataChannel::Cancel(nsDataChannel * const 0x054e3580, unsigned int 2152398850) line 255 + 21 bytes imgLoader::LoadImageWithChannel(imgLoader * const 0x02d868d0, nsIChannel * 0x054e3580, imgIDecoderObserver * 0x00000000, nsISupports * 0x00000000, nsIStreamListener * * 0x054e5640, imgIRequest * * 0x054e49f4) line 236 ImageListener::OnStartRequest(ImageListener * const 0x054e5630, nsIRequest * 0x054e3580, nsISupports * 0x00000000) line 160 + 96 bytes nsDocumentOpenInfo::OnStartRequest(nsDocumentOpenInfo * const 0x054e30d0, nsIRequest * 0x054e3580, nsISupports * 0x00000000) line 242 + 34 bytes nsOnStartRequestEvent0::HandleEvent(nsOnStartRequestEvent0 * const 0x054e3a50) line 209 + 26 bytes nsStreamListenerEvent0::HandlePLEvent(PLEvent * 0x054e3a60) line 98 + 12 bytes PL_HandleEvent(PLEvent * 0x054e3a60) line 588 + 10 bytes PL_ProcessPendingEvents(PLEventQueue * 0x00a16520) line 518 + 9 bytes _md_EventReceiverProc(HWND__ * 0x008d035c, unsigned int 49320, unsigned int 0, long 10577184) line 1069 + 9 bytes USER32! 77e71820() 00a16520()
Target Milestone: --- → mozilla1.0
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1 (you can query for this string to delete spam or retrieve the list of bugs I've moved)
Target Milestone: mozilla1.0 → mozilla1.0.1
Blocks: 115101
Keywords: assertion
Target Milestone: mozilla1.0.1 → mozilla1.1beta
Blocks: 144766
OK, at the time this bug was filed, nsDataChannel::Cancel looked like this: 250 NS_IMETHODIMP 251 nsDataChannel::Cancel(nsresult status) 252 valeski 1.1 { 253 warren 1.23 NS_ASSERTION(NS_FAILED(status), "shouldn't cancel with a success code"); 254 warren 1.22 NS_NOTREACHED("nsDataChannel::Cancel"); 255 valeski 1.1 return NS_ERROR_NOT_IMPLEMENTED; 256 } In Dec 2001, rpotts implemented ::Cancel, as part of bug 102779 (rev. 1.46 of this file). so, this is fixed now.
Status: NEW → RESOLVED
Closed: 21 years ago
Component: ImageLib → Networking
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.