Closed Bug 186715 Opened 22 years ago Closed 22 years ago

save as webpage complete causes ASSERTION: uninitialized: 'mHost.mLen >= 0' in nsStandardURL::SetUserPass

Categories

(Core Graveyard :: Embedding: APIs, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 131237

People

(Reporter: timeless, Assigned: timeless)

Details

cvs build from sunday afternoon, no changes to embedding or necko i loaded www.netscape.de, there was an assert which i wanted to testcase, so i tried file>save as, web page complete. Document http://www.netscape.de/ loaded successfully spec=/Netscape.de WARNING: malformed url: no scheme, file i:/build/mozilla/netwerk/base/src/nsStandardURL.cpp, line 699 spec=/Netscape.de WARNING: malformed url: no scheme, file i:/build/mozilla/netwerk/base/src/nsStandardURL.cpp, line 699 Parse Time (this=11055D88): Real time 0:0:1.322, CP time 0.391 DTD Time: Real time 0:0:0.0, CP time 0.000 Tokenize Time: Real time 0:0:1.322, CP time 0.391 WEBSHELL+ = 6 WARNING: Cannot tell if file:///F:/Documents%20and%20Settings/Administrator.RAISTLIN/Desktop/netscape.de/index.html is a directory or file, file i:/build/mozilla/netwerk/base/src/nsURLHelperWin.cpp, line 88 ... ###!!! ASSERTION: uninitialized: 'mHost.mLen >= 0', file i:/build/mozilla/netwerk/base/src/nsStandardURL.cpp, line 1092 Break: at file i:/build/mozilla/netwerk/base/src/nsStandardURL.cpp, line 1092 nsDebug::Assertion(const char * 0x03f134ac, const char * 0x03f1349c, const char * 0x03f13468, int 1092) line 280 + 13 bytes nsStandardURL::SetUserPass(nsStandardURL * const 0x111868c8, const nsACString & {...}) line 1092 + 35 bytes nsWebBrowserPersist::FixupURI(nsAString & {...}) line 2829 + 52 bytes nsWebBrowserPersist::FixupNodeAttribute(nsIDOMNode * 0x11180eb0, const char * 0x03de777c) line 2885 + 12 bytes nsWebBrowserPersist::CloneNodeWithFixedUpURIAttributes(nsIDOMNode * 0x108ff980, nsIDOMNode * * 0x0012f0cc) line 2681 + 22 bytes nsEncoderNodeFixup::FixupNode(nsEncoderNodeFixup * const 0x1117c1c8, nsIDOMNode * 0x108ff980, nsIDOMNode * * 0x0012f0cc) line 3423 + 19 bytes nsDocumentEncoder::SerializeNodeStart(nsIDOMNode * 0x108ff980, int 0, int -1, nsAString & {...}) line 298 + 66 bytes nsDocumentEncoder::SerializeToStringRecursive(nsIDOMNode * 0x108ff980, nsAString & {...}) line 379 + 20 bytes nsDocumentEncoder::SerializeToStringRecursive(nsIDOMNode * 0x10e7f7cc, nsAString & {...}) line 400 + 21 bytes nsDocumentEncoder::SerializeToStringRecursive(nsIDOMNode * 0x10e7f63c, nsAString & {...}) line 400 + 21 bytes nsDocumentEncoder::SerializeToStringRecursive(nsIDOMNode * 0x108d8dbc, nsAString & {...}) line 400 + 21 bytes nsDocumentEncoder::EncodeToString(nsDocumentEncoder * const 0x1117ed18, nsAString & {...}) line 952 + 21 bytes nsDocumentEncoder::EncodeToStream(nsDocumentEncoder * const 0x1117ed18, nsIOutputStream * 0x11186610) line 992 + 19 bytes nsWebBrowserPersist::SaveDocumentWithFixup(nsIDocument * 0x108d8db8, nsIDocumentEncoderNodeFixup * 0x1117c1c8, nsIURI * 0x110bc460, int 1, const nsACString & {...}, const nsString & {...}, unsigned int 0) line 3084 + 44 bytes nsWebBrowserPersist::SaveDocuments() line 1511 + 81 bytes nsWebBrowserPersist::OnStopRequest(nsWebBrowserPersist * const 0x1104ed90, nsIRequest * 0x11184418, nsISupports * 0x00000000, unsigned int 0) line 672 + 11 bytes nsHttpChannel::OnStopRequest(nsHttpChannel * const 0x1118441c, nsIRequest * 0x1118531c, nsISupports * 0x00000000, unsigned int 0) line 3020
This is in the upload part of the persist code.
dupe *** This bug has been marked as a duplicate of 131237 ***
Status: NEW → RESOLVED
Closed: 22 years ago
OS: Windows 2000 → All
Hardware: PC → All
Resolution: --- → DUPLICATE
vrfy dupe
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.