Closed Bug 133980 Opened 23 years ago Closed 23 years ago

nsWebBrowserPersist::FixupNodeAttribute() triggers assertion in nsStandardURL::SetUserPass()

Categories

(Core Graveyard :: Embedding: APIs, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 131237

People

(Reporter: kinmoz, Assigned: Brade)

References

()

Details

On several pages I've tried to save locally, I keep hitting an assertion that gets thrown a lot. It's really annoying in a win32 debug build because I've had to dismiss 10 or more assertion dialogs before I just give up and restart my browser. To see an example of the problem, load the following URL into the browser, then try to save it locally: http://bugzilla.mozilla.org/attachment.cgi?id=76570&action=view The assertion that happens over and over again is: ###!!! ASSERTION: uninitialized: 'mHost.mLen >= 0', file X:\mozilla\netwerk\base \src\nsStandardURL.cpp, line 1107 ###!!! Break: at file X:\mozilla\netwerk\base\src\nsStandardURL.cpp, line 1107 Here's the stack: NTDLL! 77fa018c() nsDebug::Assertion(const char * 0x014cba40, const char * 0x014cba30, const char * 0x014cba00, int 1107) line 291 + 13 bytes nsStandardURL::SetUserPass(nsStandardURL * const 0x03987d40, const nsACString & {...}) line 1107 + 35 bytes nsWebBrowserPersist::FixupNodeAttribute(nsIDOMNode * 0x039fd704, const char * 0x01275c54) line 2178 + 55 bytes nsWebBrowserPersist::CloneNodeWithFixedUpURIAttributes(nsIDOMNode * 0x03a4e5d4, nsIDOMNode * * 0x0012f37c) line 2002 nsEncoderNodeFixup::FixupNode(nsEncoderNodeFixup * const 0x04570378, nsIDOMNode * 0x03a4e5d4, nsIDOMNode * * 0x0012f37c) line 2686 + 19 bytes nsDocumentEncoder::SerializeNodeStart(nsIDOMNode * 0x03a4e5d4, int 0, int -1, nsAString & {...}) line 299 + 63 bytes nsDocumentEncoder::SerializeToStringRecursive(nsIDOMNode * 0x03a4e5d4, nsAString & {...}) line 373 + 20 bytes nsDocumentEncoder::SerializeToStringRecursive(nsIDOMNode * 0x03a4e4ec, nsAString & {...}) line 394 + 21 bytes nsDocumentEncoder::SerializeToStringRecursive(nsIDOMNode * 0x03a4e408, nsAString & {...}) line 394 + 21 bytes nsDocumentEncoder::SerializeToStringRecursive(nsIDOMNode * 0x03a4e390, nsAString & {...}) line 394 + 21 bytes nsDocumentEncoder::SerializeToStringRecursive(nsIDOMNode * 0x03a4de88, nsAString & {...}) line 394 + 21 bytes nsDocumentEncoder::SerializeToStringRecursive(nsIDOMNode * 0x03a4db5c, nsAString & {...}) line 394 + 21 bytes nsDocumentEncoder::SerializeToStringRecursive(nsIDOMNode * 0x03a4d870, nsAString & {...}) line 394 + 21 bytes nsDocumentEncoder::SerializeToStringRecursive(nsIDOMNode * 0x03960dd0, nsAString & {...}) line 394 + 21 bytes nsDocumentEncoder::SerializeToStringRecursive(nsIDOMNode * 0x039e83a0, nsAString & {...}) line 394 + 21 bytes nsDocumentEncoder::SerializeToStringRecursive(nsIDOMNode * 0x036ab7d0, nsAString & {...}) line 394 + 21 bytes nsDocumentEncoder::SerializeToStringRecursive(nsIDOMNode * 0x03911a30, nsAString & {...}) line 394 + 21 bytes nsDocumentEncoder::SerializeToStringRecursive(nsIDOMNode * 0x038b22ec, nsAString & {...}) line 394 + 21 bytes nsDocumentEncoder::EncodeToString(nsDocumentEncoder * const 0x045462d8, nsAString & {...}) line 932 + 21 bytes nsDocumentEncoder::EncodeToStream(nsDocumentEncoder * const 0x045462d8, nsIOutputStream * 0x03933ae8) line 971 + 19 bytes nsWebBrowserPersist::SaveDocumentWithFixup(nsIDocument * 0x038b22e8, nsIDocumentEncoderNodeFixup * 0x04570378, nsIURI * 0x0437f940, int 1, const char * 0x0012fbe4, const nsString & {...}, unsigned int 0) line 2390 + 44 bytes nsWebBrowserPersist::SaveDocuments() line 1417 + 87 bytes nsWebBrowserPersist::OnStopRequest(nsWebBrowserPersist * const 0x03afb0e0, nsIRequest * 0x043f4e48, nsISupports * 0x00000000, unsigned int 0) line 585 + 11 bytes nsHttpChannel::OnStopRequest(nsHttpChannel * const 0x043f4e4c, nsIRequest * 0x044801dc, nsISupports * 0x00000000, unsigned int 0) line 2805 nsOnStopRequestEvent::HandleEvent() line 213 nsARequestObserverEvent::HandlePLEvent(PLEvent * 0x038b7ac4) line 116 PL_HandleEvent(PLEvent * 0x038b7ac4) line 596 + 10 bytes PL_ProcessPendingEvents(PLEventQueue * 0x00309c60) line 526 + 9 bytes _md_EventReceiverProc(HWND__ * 0x000402d8, unsigned int 49468, unsigned int 0, long 3185760) line 1077 + 9 bytes USER32! 77e12e98() USER32! 77e130e0() USER32! 77e15824() nsAppShellService::Run(nsAppShellService * const 0x0157e640) line 309 main1(int 1, char * * 0x00307380, nsISupports * 0x00000000) line 1350 + 32 bytes main(int 1, char * * 0x00307380) line 1698 + 37 bytes mainCRTStartup() line 338 + 17 bytes KERNEL32! 77e97d08()
CC Darin, myself -> Brade
Assignee: adamlock → brade
*** This bug has been marked as a duplicate of 131237 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
QA Contact: mdunn → depstein
verified
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.