Closed Bug 117973 Opened 24 years ago Closed 24 years ago

Crash if printing is started while page still loading

Categories

(Core :: Printing: Output, defect)

x86
Windows ME
defect
Not set
critical

Tracking

()

VERIFIED WORKSFORME
mozilla0.9.9

People

(Reporter: alex, Assigned: rods)

References

()

Details

(Keywords: crash, stackwanted)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:0.9.7) Gecko/20011221 BuildID: 20011221 On the mentioned site (see URL above) it is possible (soory, just for customers) to see the list of bills. Additionally, they offer a special print preview. Therefore an extra window is opened and a light layout version of the page is loaded for easier printing. If I press Ctrl-P and quickly [Enter] while the page is not yet fully loaded, I receive the error dialog described below and Mozilla crashes. All pages on the site are sent via SHHTP. Reproducible: Always Steps to Reproduce: 1. If you happen to be a Puretec customer :-) go to the URL http://config.puretec.de -> login -> go to the list of bills 2. For any of the listed bills, open this bill and then choose "print version" at the end of the page -> an extra window pops up 3. While the print version of the page is not yet fully loaded, press Ctrl-P and immediately after that press [enter] to start the printing process. 4. Mozilla will crash (details see below) Actual Results: Mozilla crashes. Expected Results: Mozilla should wait until the page is fully loaded and then start the printing process. All pages of the site montioned above are transported using SHHTP. The dialog which appears after the program crash says "Mozilla hat in GKCONTENT.DLL einen Fehler verursacht. Mozilla wird geschlossen. Falls weiterhin Probleme auftreten, starten Sie den Computer neu." I'll try to give a translated version :-) "Mozilla has caused an error in GKCONTENT.DLL. Mozilla will be closed. If these problems persist restart your computer." Additionally this dialog has a "Details" button. These details are as follows: "MOZILLA verursachte einen Fehler durch eine ungültige Seite in Modul GKCONTENT.DLL bei 0197:601e8375. Register: EAX=00000000 CS=0197 EIP=601e8375 EFLGS=00010246 EBX=00000000 SS=019f ESP=0068d504 EBP=0068d538 ECX=60330764 DS=019f ESI=02b14bb8 FS=5a27 EDX=0068d540 ES=019f EDI=00000000 GS=0000 Bytes bei CS:EIP: 8b 07 89 1f 3b c3 74 06 8b 08 50 ff 51 08 8b 45 Stapelwerte: 02b144f0 00000000 600d9900 60f96474 602daa28 00000000 0068d534 02b14bb0 02adb288 0187f8c0 02adb3a4 021e5620 00000000 0068d568 605e74a8 0187d7d0"
Reporter: Can you use a talkback enabled mozilla version ? (or install talkback) After talkback submitted the crash, run "c:\programme\mozilla.org\mozilla\components\talkback.exe" and add the talkback ID to this bug.
Confirming on Windows 98, 0.9.7, Build ID 2002011803. I am not a customer of this web site, but this problem is more generic than that web site, and I don't think it has anything to do with SHHTP or S-HTTP. I reproduced the problem by loading: http://clam.rutgers.edu/~ahagen/documents/Constitution.html and before it finished loading, I hit Ctrl-P and <enter> very fast. Mozilla crashed. I also tried a different web page and the same thing occurred. My Talkback ID's are: TB1900531K and TB1900557Y. Actual Behavior: Mozilla crashes when printing attempted before page finishes loading. Expected Behavior: If user tries to print before page finishes loading, Mozilla doesn't crash, and prints the page once it finishes downloading.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: stackwanted
DocumentViewerImpl::Print [d:\builds\seamonkey\mozilla\content\base\src\nsDocumentViewer.cpp, line 5292] GlobalWindowImpl::DoPrint [d:\builds\seamonkey\mozilla\dom\src\base\nsGlobalWindow.cpp, line 1998] GlobalWindowImpl::PrintWithSettings [d:\builds\seamonkey\mozilla\dom\src\base\nsGlobalWindow.cpp, line 2016] XPTC_InvokeByIndex [d:\builds\seamonkey\mozilla\xpcom\reflect\xptcall\src\md\win32\xptcinvoke.cpp, line 106] XPCWrappedNative::CallMethod [d:\builds\seamonkey\mozilla\js\src\xpconnect\src\xpcwrappednative.cpp, line 2000] XPC_WN_CallMethod [d:\builds\seamonkey\mozilla\js\src\xpconnect\src\xpcwrappednativejsops.cpp, line 1267] js_Invoke [d:\builds\seamonkey\mozilla\js\src\jsinterp.c, line 834] js_Interpret [d:\builds\seamonkey\mozilla\js\src\jsinterp.c, line 2799] js_Invoke [d:\builds\seamonkey\mozilla\js\src\jsinterp.c, line 850] js_InternalInvoke [d:\builds\seamonkey\mozilla\js\src\jsinterp.c, line 925] JS_CallFunctionValue [d:\builds\seamonkey\mozilla\js\src\jsapi.c, line 3407] nsJSContext::CallEventHandler [d:\builds\seamonkey\mozilla\dom\src\base\nsJSEnvironment.cpp, line 1014] nsJSEventListener::HandleEvent [d:\builds\seamonkey\mozilla\dom\src\events\nsJSEventListener.cpp, line 182] nsXBLPrototypeHandler::ExecuteHandler [d:\builds\seamonkey\mozilla\content\xbl\src\nsXBLPrototypeHandler.cpp, line 442] nsXBLWindowHandler::WalkHandlersInternal [d:\builds\seamonkey\mozilla\content\xbl\src\nsXBLWindowHandler.cpp, line 312] nsXBLWindowKeyHandler::WalkHandlers [d:\builds\seamonkey\mozilla\content\xbl\src\nsXBLWindowKeyHandler.cpp, line 183] nsXBLWindowKeyHandler::KeyPress [d:\builds\seamonkey\mozilla\content\xbl\src\nsXBLWindowKeyHandler.cpp, line 199] nsEventListenerManager::HandleEvent [d:\builds\seamonkey\mozilla\content\events\src\nsEventListenerManager.cpp, line 1642] nsXULDocument::HandleDOMEvent [d:\builds\seamonkey\mozilla\content\xul\document\src\nsXULDocument.cpp, line 2455] nsXULElement::HandleDOMEvent [d:\builds\seamonkey\mozilla\content\xul\content\src\nsXULElement.cpp, line 3386] nsXULElement::HandleDOMEvent [d:\builds\seamonkey\mozilla\content\xul\content\src\nsXULElement.cpp, line 3378] nsXULElement::HandleDOMEvent [d:\builds\seamonkey\mozilla\content\xul\content\src\nsXULElement.cpp, line 3378] nsXULElement::HandleDOMEvent [d:\builds\seamonkey\mozilla\content\xul\content\src\nsXULElement.cpp, line 3378] nsXULElement::HandleDOMEvent [d:\builds\seamonkey\mozilla\content\xul\content\src\nsXULElement.cpp, line 3378] nsXULElement::HandleDOMEvent [d:\builds\seamonkey\mozilla\content\xul\content\src\nsXULElement.cpp, line 3378] nsXULElement::HandleDOMEvent [d:\builds\seamonkey\mozilla\content\xul\content\src\nsXULElement.cpp, line 3378] nsXULElement::HandleDOMEvent [d:\builds\seamonkey\mozilla\content\xul\content\src\nsXULElement.cpp, line 3378] nsXULElement::HandleChromeEvent [d:\builds\seamonkey\mozilla\content\xul\content\src\nsXULElement.cpp, line 4568] GlobalWindowImpl::HandleDOMEvent [d:\builds\seamonkey\mozilla\dom\src\base\nsGlobalWindow.cpp, line 662] nsDocument::HandleDOMEvent [d:\builds\seamonkey\mozilla\content\base\src\nsDocument.cpp, line 3246] nsGenericElement::HandleDOMEvent [d:\builds\seamonkey\mozilla\content\base\src\nsGenericElement.cpp, line 1670] PresShell::HandleEventInternal [d:\builds\seamonkey\mozilla\layout\html\base\src\nsPresShell.cpp, line 5988] PresShell::HandleEvent [d:\builds\seamonkey\mozilla\layout\html\base\src\nsPresShell.cpp, line 5911] nsView::HandleEvent [d:\builds\seamonkey\mozilla\view\src\nsView.cpp, line 387] nsView::HandleEvent [d:\builds\seamonkey\mozilla\view\src\nsView.cpp, line 344] nsView::HandleEvent [d:\builds\seamonkey\mozilla\view\src\nsView.cpp, line 344] nsViewManager::DispatchEvent [d:\builds\seamonkey\mozilla\view\src\nsViewManager.cpp, line 1909] HandleEvent [d:\builds\seamonkey\mozilla\view\src\nsView.cpp, line 83] nsWindow::DispatchEvent [d:\builds\seamonkey\mozilla\widget\src\windows\nsWindow.cpp, line 854] nsWindow::DispatchWindowEvent [d:\builds\seamonkey\mozilla\widget\src\windows\nsWindow.cpp, line 871] nsWindow::DispatchKeyEvent [d:\builds\seamonkey\mozilla\widget\src\windows\nsWindow.cpp, line 2601] nsWindow::OnChar [d:\builds\seamonkey\mozilla\widget\src\windows\nsWindow.cpp, line 2733] nsWindow::ProcessMessage [d:\builds\seamonkey\mozilla\widget\src\windows\nsWindow.cpp, line 3299] nsWindow::WindowProc [d:\builds\seamonkey\mozilla\widget\src\windows\nsWindow.cpp, line 1116] KERNEL32.DLL + 0x363b (0xbff7363b) KERNEL32.DLL + 0x24407 (0xbff94407) 0x00648c16
I can not reproduce this, but I will try with my modem connected.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.9
This is a strange place to die. Please retest with a current build and reopen this if you can reproduce it.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
verified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.