Closed Bug 584447 Opened 16 years ago Closed 15 years ago

Crash in [@ nsGlobalWindow::SetDocShell ]

Categories

(Core :: DOM: Core & HTML, defect)

x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: marcia, Unassigned)

Details

(Keywords: crash, topcrash)

Crash Data

Harvested from crash-stats. Currently the #29 top crash in FF 4 b2. Affects Mac and Linux only, and is seen very sporadically on the trunk as well. http://tinyurl.com/29ml6b3 links to the crashes. Frame Module Signature [Expand] Source 0 XUL nsGlobalWindow::SetDocShell dom/base/nsGlobalWindow.cpp:2168 1 XUL nsDocShell::Destroy docshell/base/nsDocShell.cpp:4368 2 XUL nsFrameLoader::Finalize content/base/src/nsFrameLoader.cpp:460 3 XUL nsDocument::MaybeInitializeFinalizeFrameLoaders content/base/src/nsDocument.cpp:5154 4 XUL nsRunnableMethodImpl<void ,true>::Run nsThreadUtils.h:347 5 XUL nsContentUtils::RemoveScriptBlocker content/base/src/nsContentUtils.cpp:4643 6 XUL nsXBLBinding::ChangeDocument nsContentUtils.h:1838 7 XUL nsBindingManager::RemovedFromDocumentInternal content/xbl/src/nsBindingManager.cpp:648 8 XUL nsGenericElement::DestroyContent nsBindingManager.h:98 9 XUL nsGenericElement::DestroyContent content/base/src/nsGenericElement.cpp:3789 10 XUL nsGenericElement::DestroyContent content/base/src/nsGenericElement.cpp:3789 11 XUL nsGenericElement::DestroyContent content/base/src/nsGenericElement.cpp:3789 12 XUL nsDocument::Destroy content/base/src/nsDocument.cpp:6750 13 XUL DocumentViewerImpl::Destroy layout/base/nsDocumentViewer.cpp:1591 14 XUL nsDocShell::Destroy docshell/base/nsDocShell.cpp:4357 15 XUL nsXULWindow::Destroy xpfe/appshell/src/nsXULWindow.cpp:527 16 XUL nsWebShellWindow::Destroy xpfe/appshell/src/nsWebShellWindow.cpp:788 17 XUL nsWebShellWindow::HandleEvent xpfe/appshell/src/nsWebShellWindow.cpp:399 18 XUL nsCocoaWindow::DispatchEvent widget/src/cocoa/nsCocoaWindow.mm:1320 19 XUL -[WindowDelegate windowShouldClose:] widget/src/cocoa/nsCocoaWindow.mm:1790 20 AppKit -[NSWindow _document:shouldClose:contextInfo:] 21 AppKit -[NSWindow __close] 22 AppKit -[NSWindow _close:] 23 AppKit -[NSApplication sendAction:to:from:] 24 AppKit -[NSControl sendAction:to:] 25 AppKit -[NSCell _sendActionFrom:] 26 AppKit -[NSCell trackMouse:inRect:ofView:untilMouseUp:] 27 AppKit -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] 28 AppKit -[NSControl mouseDown:] 29 AppKit -[_NSThemeWidget mouseDown:] 30 AppKit -[NSWindow sendEvent:] 31 XUL -[ToolbarWindow sendEvent:] widget/src/cocoa/nsCocoaWindow.mm:2233 32 AppKit -[NSApplication sendEvent:] 33 AppKit -[NSApplication run] 34 XUL nsAppShell::Run widget/src/cocoa/nsAppShell.mm:747 35 XUL nsAppStartup::Run toolkit/components/startup/src/nsAppStartup.cpp:191 36 XUL XRE_main toolkit/xre/nsAppRunner.cpp:3630 37 firefox-bin main browser/app/nsBrowserApp.cpp:158 38 firefox-bin firefox-bin@0xbf5 39 @0x1 Some sites implicated in the comments include Horde webmail, Groupwise. User report "Closing image window on amazon.com caused the crash" and closing pop up windows is mentioned as well.
I wonder if this is the Mac/Linux version of Bug 579782.
yeah, it looks like it. This is the Mac *and* Linux form of the stack. It also looks like this is a significant volume regression in 4.0b2 awk -F\t '$1 ~ /nsGlobalWindow::SetDocShell/ {print $1,$8,$11} ' 20100802* | sort | uniq -c | sort -n | more count singature FirefoxVersion OS 1 _purecall | nsCOMPtr_base::assign_with_AddRef(nsISupports*) | nsCOMPtr<nsIContentViewer>::operator=(nsIContentViewer*) | nsGlobalWindow::SetDocShell(nsIDocShell*) 3.6 Windows NT 1 nsGlobalWindow::SetDocShell(nsIDocShell*) 3.6.3 Windows NT 1 nsGlobalWindow::SetDocShell(nsIDocShell*) 4.0b3pre Windows NT 4 nsGlobalWindow::SetDocShell(nsIDocShell*) 3.6.8 Windows NT 4 nsGlobalWindow::SetDocShell(nsIDocShell*) 4.0b2pre Windows NT 5 nsGlobalWindow::SetDocShell 4.0b2 Linux 47 nsGlobalWindow::SetDocShell 4.0b2 Mac OS X 296 nsGlobalWindow::SetDocShell(nsIDocShell*) 4.0b2 Windows NT
Resolving this one fixed as a UI search only found crashes dating back to B2.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Crash Signature: [@ nsGlobalWindow::SetDocShell ]
Marcia, this startup crash is at the #3 top spot on FF44.0a2 crash stats. I am not sure if this one is really gone away. Do you have any concerns if I reopen this?
Flags: needinfo?(mozillamarcia.knous)
(In reply to Ritu Kothari (:ritu) from comment #4) > Marcia, this startup crash is at the #3 top spot on FF44.0a2 crash stats. I > am not sure if this one is really gone away. Do you have any concerns if I > reopen this? Fine by me if the bug is reopened.
Flags: needinfo?(mozillamarcia.knous)
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.