Closed Bug 376193 Opened 18 years ago Closed 14 years ago

Print Preview crashes Firefox [@ nsIFrame::GetView]

Categories

(Core :: Print Preview, defect)

1.8 Branch
x86
All
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: walgie, Unassigned)

Details

(Keywords: crash)

Crash Data

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070309 Firefox/2.0.0.3 If I click File/Print Preview, Firefox abends on any URL. Version 2.0.0.3. was obtained from an automatic update. Downloaded 2.0.0.3. from web site and re-installed, but did not fix problem. Reproducible: Always Steps to Reproduce: 1. Navigate to web site. 2. Click on File/Print Preview 3. Actual Results: Firefox crashes Expected Results: Display Print Preview screen If I have to re-install and configure all of the 11 extensions and 20 themes that I have, I'd prefer not to uninstall and install Firefox in order to see if that will fix the problem.
Assignee: nobody → printing
Component: File Handling → Print Preview
Product: Firefox → Core
QA Contact: file.handling
Version: unspecified → 1.8 Branch
Does it work if you start Firefox in Safe Mode? (it temporarily disables add-ons and themes, this test will help us narrow down the cause of the problem) -- See http://kb.mozillazine.org/Safe_Mode You don't need to re-install or configure your add-ons to do this test.
Ran in Safe Mode and Print Preview worked. I have gone through the following scenarios to try and isolate the cause of this problem. Started Firefox in normal mode, changed theme from "Metal for Firefox 2.4.3" to Firefox Default 2.0. restarted and Print Preview worked. Changed theme to "Bricks for Firefox 1.7.08", restarted and Print Preview crashed. Restarted Firefox, clicked on Tools/Add-ons and all the themes now have "Requires additional items, disabled for your protection". Picked Firefox Default theme, restarted, Print Preview worked and the "Requires additional items" is gone from all themes. Disabled all extensions, closed and restarted, selected theme "Bricks for Firefox", restarted and Print Preview crashed. Enabled all extensions, restarted, selected "Walnut" theme, restarted and Print Preview worked. Choose Unofficial Tango theme, restarted, Print Preview worked, but all themes again had the "Requires additional items, disabled for your protection." Selected Metal theme, restarted and Print Preview crashed. At this point, it appears that the Metal and/or Bricks themes are causing the Print Preview crash, but I'll leave that conclusion up to you. Let me know if you want me to do any additional testing.
I installed the Bricks theme (on an otherwise clean installation) from here: https://addons.mozilla.org/en-US/firefox/addon/989 STEPS TO REPRODUCE 0. install Bricks theme, select it and restart 1. click on "Getting Started" (loads http://en-us.www.mozilla.com/en-US/firefox/central/) 2. File->Print Preview => crash TB30813445G TB30813491Q
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: crash
OS: Windows XP → All
nsIFrame::GetView() [mozilla/layout/generic/nsFrame.cpp, line 817] nsCSSRendering::PaintBackgroundWithSC() [mozilla/layout/base/nsCSSRendering.cpp, line 56] nsCSSRendering::PaintBackground() [mozilla/layout/base/nsCSSRendering.cpp, line 2762] nsFrame::PaintSelf() [mozilla/layout/generic/nsFrame.cpp, line 932] nsBoxFrame::Paint() [mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 1423] PresShell::Paint() [mozilla/layout/base/nsPresShell.cpp, line 5863] nsView::Paint() [mozilla/view/src/nsView.cpp, line 848] nsViewManager::RenderDisplayListElement() [mozilla/view/src/nsViewManager.cpp, line 1460] nsViewManager::RenderViews() [mozilla/view/src/nsViewManager.cpp, line 1375] nsViewManager::Refresh() [mozilla/view/src/nsViewManager.cpp, line 930] nsViewManager::DispatchEvent() [mozilla/view/src/nsViewManager.cpp, line 842] HandleEvent() [mozilla/view/src/nsView.cpp, line 251] nsCommonWidget::DispatchEvent() [mozilla/widget/src/gtk2/nsCommonWidget.cpp, line 219] nsWindow::OnExposeEvent() [mozilla/widget/src/gtk2/nsWindow.cpp, line 842] expose_event_cb() [mozilla/widget/src/gtk2/nsWindow.cpp, line 3799] libgtk-x11-2.0.so.0 + 0x120610 (0xf7ba0610) ...
The test in comment 3 was with Firefox 2.0.0.3 on Linux with the theme "Bricks for Firefox 1.7.08". The crash is 100% reproducible.
You might try the test with Metal for Firefox 1.7.08 also, or are these themes from the same developer (same version #'s 1.7.08). Is the developer of these themes responsible for a fix and issuance of updated themes? What now?
I fixed a similar crash that will be in 2.0.0.4 (bug 376155), with some luck it fixed this bug too, please test again when 2.0.0.4 is released, or if you want to try RC1 now: http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2.0.0.4-candidates/rc1/
William, do you still crash with 2.0.0.4?
Yes. Metal for Firefox 1.7.09 and Bricks 1.7.09 still crash Firefox 2.0.0.4. from Print Preview. I also sent feedback.
TB32750388
Incident ID: 32750388 Stack Signature nsIFrame::GetView 5797e043 Product ID Firefox2 Build ID 2007051502 Trigger Time 2007-06-01 15:42:17.0 Platform Win32 Operating System Windows NT 5.1 build 2600 Module firefox.exe + (00183c6b) URL visited User Comments Using Firefox 2.0.0.4. Activated theme Metal for Firefox 1.7.09. Restarted Firefox Clicked File/Print Preview from My.Yahoo page Firefox Crashed Since Last Crash 75297 sec Total Uptime 75297 sec Trigger Reason Access violation Source File, Line No. c:/builds/tinderbox/Fx-Mozilla1.8-release/WINNT_5.2_Depend/mozilla/layout/generic/nsFrame.cpp, line 2321 Stack Trace nsIFrame::GetView [mozilla/layout/generic/nsFrame.cpp, line 2321] nsCSSRendering::PaintBackgroundWithSC [mozilla/layout/base/nsCSSRendering.cpp, line 3024] nsCSSRendering::PaintBackground [mozilla/layout/base/nsCSSRendering.cpp, line 2761] nsFrame::PaintSelf [mozilla/layout/generic/nsFrame.cpp, line 935] nsBoxFrame::Paint [mozilla/layout/xul/base/src/nsBoxFrame.cpp, line 1426] PresShell::Paint [mozilla/layout/base/nsPresShell.cpp, line 5871] nsView::Paint [mozilla/view/src/nsView.cpp, line 316] nsViewManager::RenderDisplayListElement [mozilla/view/src/nsViewManager.cpp, line 1460] nsViewManager::RenderViews [mozilla/view/src/nsViewManager.cpp, line 1375] nsViewManager::Refresh [mozilla/view/src/nsViewManager.cpp, line 930] nsViewManager::DispatchEvent [mozilla/view/src/nsViewManager.cpp, line 2054] HandleEvent [mozilla/view/src/nsView.cpp, line 174] nsWindow::DispatchEvent [mozilla/widget/src/windows/nsWindow.cpp, line 1389] nsWindow::ProcessMessage [mozilla/widget/src/windows/nsWindow.cpp, line 4674] nsWindow::WindowProc [mozilla/widget/src/windows/nsWindow.cpp, line 1577] USER32.dll + 0x8734 (0x7e418734) USER32.dll + 0x8816 (0x7e418816) USER32.dll + 0xb4c0 (0x7e41b4c0) USER32.dll + 0xb50c (0x7e41b50c) ntdll.dll + 0xeae3 (0x7c90eae3) USER32.dll + 0x8a10 (0x7e418a10) nsAppShell::Run [mozilla/widget/src/windows/nsAppShell.cpp, line 159] nsAppStartup::Run [mozilla/toolkit/components/startup/src/nsAppStartup.cpp, line 152] main [mozilla/browser/app/nsBrowserApp.cpp, line 61] kernel32.dll + 0x16fd7 (0x7c816fd7)
Summary: Print Preview crashes Firefox → Print Preview crashes Firefox [@ nsIFrame::GetView]
Assignee: printing → nobody
QA Contact: printing
Hrmm, these themes are not available for Firefox 3.5, only 3.0 and below.
WFM xref 531952 Frame Poisoned Crash [@nsIFrame::GetView()
Severity: major → critical
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WORKSFORME
Crash Signature: [@ nsIFrame::GetView]
You need to log in before you can comment on or make changes to this bug.