Closed Bug 139148 Opened 23 years ago Closed 21 years ago

Crash when saving page as "Web page, complete"

Categories

(Core :: XUL, defect)

x86
Windows 2000
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: mosgalin, Assigned: ben_seamonkey)

References

()

Details

(Keywords: crash)

Attachments

(1 file)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0rc1) Gecko/20020417 BuildID: 2002041711 Mozilla crashes when trying to save this page as "complete". Saving as "HTML only" works OK. Reproducible: Always Steps to Reproduce: 1. File->Save Page As...->Web Page, complete 2. 3. Talback ID:TB5465994G Theme used: Modern
WFM Linux trunk
Stack Signature ntdll.dll + 0x4b1cf (0x77fcb1cf) 3a2d7b93 Email Address mosgalin@rain.ifmo.ru Product ID Mozilla1.0 Build ID 2002041717 Trigger Time 2002-04-22 01:31:29 Platform Win32 Operating System Windows NT 5.0 build 2195 Module ntdll.dll URL visited http://ontil.ihep.su/~vsl/100/100.html User Comments I just tried to save this page as "Web page, complete". I reproduced this bug some times on different computers. Trigger Reason Access violation Source File Name Trigger Line No. Stack Trace ntdll.dll + 0x4b1cf (0x77fcb1cf) MSVCRT.DLL + 0x1426 (0x78001426) MSVCRT.DLL + 0x13c3 (0x780013c3) nsXULElement::CloneNode [d:\builds\seamonkey\mozilla\content\xul\content\src\nsXULElement.cpp, line 1183] nsXULElement::CloneNode [d:\builds\seamonkey\mozilla\content\xul\content\src\nsXULElement.cpp, line 1242] nsGenericContainerElement::CopyInnerTo [d:\builds\seamonkey\mozilla\content\base\src\nsGenericElement.cpp, line 2828] nsXMLElement::CloneNode [d:\builds\seamonkey\mozilla\content\xml\content\src\nsXMLElement.cpp, line 598] nsXBLBinding::GenerateAnonymousContent [d:\builds\seamonkey\mozilla\content\xbl\src\nsXBLBinding.cpp, line 688] nsXBLService::LoadBindings [d:\builds\seamonkey\mozilla\content\xbl\src\nsXBLService.cpp, line 702] nsCSSFrameConstructor::ConstructFrameInternal [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 7105] nsCSSFrameConstructor::ConstructFrame [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 7063] nsCSSFrameConstructor::ProcessChildren [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 11999] nsCSSFrameConstructor::ConstructXULFrame [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 5668] nsCSSFrameConstructor::ConstructFrameInternal [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 7179] nsCSSFrameConstructor::ConstructFrameInternal [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 7131] nsCSSFrameConstructor::ConstructFrame [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 7063] nsCSSFrameConstructor::ProcessChildren [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 11999] nsCSSFrameConstructor::ConstructXULFrame [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 5668] nsCSSFrameConstructor::ConstructFrameInternal [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 7179] nsCSSFrameConstructor::ConstructFrame [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 7063] nsCSSFrameConstructor::ProcessChildren [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 11999] nsCSSFrameConstructor::ConstructXULFrame [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 5668] nsCSSFrameConstructor::ConstructFrameInternal [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 7179] nsCSSFrameConstructor::ConstructFrame [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 7063] nsCSSFrameConstructor::ProcessChildren [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 11999] nsCSSFrameConstructor::ConstructXULFrame [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 5668] nsCSSFrameConstructor::ConstructFrameInternal [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 7179] nsCSSFrameConstructor::ConstructFrame [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 7063] nsCSSFrameConstructor::ProcessChildren [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 11999] nsCSSFrameConstructor::ConstructDocElementFrame [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 3326] nsCSSFrameConstructor::ContentInserted [d:\builds\seamonkey\mozilla\layout\html\style\src\nsCSSFrameConstructor.cpp, line 8558] StyleSetImpl::ContentInserted [d:\builds\seamonkey\mozilla\content\base\src\nsStyleSet.cpp, line 1510] PresShell::InitialReflow [d:\builds\seamonkey\mozilla\layout\html\base\src\nsPresShell.cpp, line 2637] nsXULDocument::StartLayout [d:\builds\seamonkey\mozilla\content\xul\document\src\nsXULDocument.cpp, line 4396] nsXULDocument::ResumeWalk [d:\builds\seamonkey\mozilla\content\xul\document\src\nsXULDocument.cpp, line 5937] nsXULDocument::CachedChromeStreamListener::OnStopRequest [d:\builds\seamonkey\mozilla\content\xul\document\src\nsXULDocument.cpp, line 7188] nsDocumentOpenInfo::OnStopRequest [d:\builds\seamonkey\mozilla\uriloader\base\nsURILoader.cpp, line 255] nsCachedChromeChannel::HandleStopLoadEvent [d:\builds\seamonkey\mozilla\rdf\chrome\src\nsChromeProtocolHandler.cpp, line 473] PL_HandleEvent [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 597] PL_ProcessPendingEvents [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 530] _md_EventReceiverProc [d:\builds\seamonkey\mozilla\xpcom\threads\plevent.c, line 1078] nsAppShellService::Run [d:\builds\seamonkey\mozilla\xpfe\appshell\src\nsAppShellService.cpp, line 309] main1 [d:\builds\seamonkey\mozilla\xpfe\bootstrap\nsAppRunner.cpp, line 1431] main [d:\builds\seamonkey\mozilla\xpfe\bootstrap\nsAppRunner.cpp, line 1766] WinMain [d:\builds\seamonkey\mozilla\xpfe\bootstrap\nsAppRunner.cpp, line 1784] WinMainCRTStartup() KERNEL32.DLL + 0x17d08 (0x77e97d08)
To XUL.
Assignee: law → hyatt
Status: UNCONFIRMED → NEW
Component: File Handling → XP Toolkit/Widgets: XUL
Ever confirmed: true
Keywords: crash
QA Contact: sairuh → shrir
I actually get a different stack in the msvc debugger with an optimized trunk build. At any rate, the issue is that that file contains images like this: <IMG SRC="file:/home/vsl/priv/vol2/lib/latex2html/icons/nx_grp_g.png" ...> Note the "file:/..." url. If I remove those elements from the original URL, then it does not crash. The simple testcase attached will crash and the contents of it are: <HTML> <BODY > <IMG WIDTH="81" HEIGHT="24" SRC="file:/home/vsl/priv/vol2/lib/latex2html/icons/nx_grp_g.png"> <H1><A NAME="SECTION00010000000000000000">100 F.A.Q.</A></H1> <H2><A NAME="SECTION00011000000000000000">blah blah blah</A></H2> <P>whatever </BODY> </HTML> -> ben, since he owns the front-end feature, but adamlock or brade might want to look at the backend code in nsWebBrowserPersist
Assignee: hyatt → ben
Reporter: Can you repeat the crash after you delete the "XUL.mfl" file in your profile directory?
Well, it worked strange. First time, it doesn't crash, but doesn't worked too - mozilla only created empty 100_files dir, and no main html. Second time, it crashes - i tested it several times, the behavior is always the same. One of talkbacks is TB6739883M.
Another site: http://www.pcalmeglio.com/upgrade/upgrade4b.htm Select Save Page As..., click on save in the filepicker and boom! Moz 1.4a 2003040105, Win 2K. A nice pal on #mozillazine had the same outcome with 2003-04-26-08, Win2k Pro.
Mass reassign of my non-Firefox bugs to ben_seamonkey@hotmail.com
Assignee: bugs → ben_seamonkey
WFM Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7b) Gecko/20040316
(In reply to comment #4) > Created an attachment (id=80498) > simple test; html with <img src="file:/foobar...">; will crash when you do > 'save page as..' web-page-complete > (In reply to comment #8) > Another site: http://www.pcalmeglio.com/upgrade/upgrade4b.htm > Select Save Page As..., click on save in the filepicker and boom! > Moz 1.4a 2003040105, Win 2K. > A nice pal on #mozillazine had the same outcome with 2003-04-26-08, Win2k Pro. Both WFM... Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7b) Gecko/20040330 Microsoft Windows 2000 Pro 5.00.2195 SP4
worksforme with windows Mozilla 1.7 beta
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: shrir → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: