Closed Bug 1208740 Opened 10 years ago Closed 10 years ago

nsContentUtils::SubjectPrincipal crash when zooming

Categories

(Core :: General, defect)

44 Branch
x86
Windows 8.1
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 1208622
Tracking Status
firefox44 --- affected

People

(Reporter: jkitch, Unassigned)

References

()

Details

(Keywords: crash, regression, reproducible)

When trying to zoom (ctrl-mouseup/down) the linked testcase, I hit this MOZ_CRASH https://hg.mozilla.org/mozilla-central/annotate/94c804ef40d890b93062826c911755831edb51e4/dom/base/nsContentUtils.cpp#l2713 This is a self built win32 enable-debug, disable-optimize build. Call stack: xul.dll!nsContentUtils::SubjectPrincipal() Line 2713 C++ xul.dll!nsContentUtils::IsCallerChrome() Line 2062 C++ xul.dll!nsGlobalWindow::GetContentInternal(mozilla::ErrorResult & aError) Line 3992 C++ xul.dll!nsGlobalWindow::GetContent(nsIDOMWindow * * aContent) Line 4033 C++ xul.dll!mozilla::EventStateManager::GetContentViewer(nsIContentViewer * * aCv) Line 1968 C++ xul.dll!mozilla::EventStateManager::ChangeFullZoom(int change) Line 2013 C++ xul.dll!mozilla::EventStateManager::DoScrollZoom(nsIFrame * aTargetFrame, int adjustment) Line 2061 C++ xul.dll!mozilla::EventStateManager::PostHandleEvent(nsPresContext * aPresContext, mozilla::WidgetEvent * aEvent, nsIFrame * aTargetFrame, nsEventStatus * aStatus) Line 3150 C++ xul.dll!PresShell::HandleEventInternal(mozilla::WidgetEvent * aEvent, nsEventStatus * aStatus) Line 7969 C++ xul.dll!PresShell::HandlePositionedEvent(nsIFrame * aTargetFrame, mozilla::WidgetGUIEvent * aEvent, nsEventStatus * aEventStatus) Line 7795 C++ xul.dll!PresShell::HandleEvent(nsIFrame * aFrame, mozilla::WidgetGUIEvent * aEvent, bool aDontRetargetEvents, nsEventStatus * aEventStatus, nsIContent * * aTargetContent) Line 7579 C++ xul.dll!nsViewManager::DispatchEvent(mozilla::WidgetGUIEvent * aEvent, nsView * aView, nsEventStatus * aStatus) Line 797 C++ xul.dll!nsView::HandleEvent(mozilla::WidgetGUIEvent * aEvent, bool aUseAttachedEvents) Line 1128 C++ xul.dll!nsWindow::DispatchEvent(mozilla::WidgetGUIEvent * event, nsEventStatus & aStatus) Line 3875 C++ xul.dll!nsBaseWidget::DispatchAPZAwareEvent(mozilla::WidgetInputEvent * aEvent) Line 1035 C++ xul.dll!nsWindow::DispatchWheelEvent(mozilla::WidgetWheelEvent * aEvent) Line 3913 C++ xul.dll!mozilla::widget::MouseScrollHandler::HandleMouseWheelMessage(nsWindowBase * aWidget, unsigned int aMessage, unsigned int aWParam, long aLParam) Line 635 C++ xul.dll!mozilla::widget::MouseScrollHandler::ProcessMessage(nsWindowBase * aWidget, unsigned int msg, unsigned int wParam, long lParam, mozilla::widget::MSGResult & aResult) Line 208 C++ xul.dll!nsWindow::ExternalHandlerProcessMessage(unsigned int aMessage, unsigned int & aWParam, long & aLParam, mozilla::widget::MSGResult & aResult) Line 4717 C++ xul.dll!nsWindow::ProcessMessage(unsigned int msg, unsigned int & wParam, long & lParam, long * aRetValue) Line 4743 C++ xul.dll!nsWindow::WindowProcInternal(HWND__ * hWnd, unsigned int msg, unsigned int wParam, long lParam) Line 4612 C++ xul.dll!CallWindowProcCrashProtected(long (HWND__ *, unsigned int, unsigned int, long) * aWndProc, HWND__ * aHWnd, unsigned int aMsg, unsigned int aWParam, long aLParam) Line 35 C++ xul.dll!nsWindow::WindowProc(HWND__ * hWnd, unsigned int msg, unsigned int wParam, long lParam) Line 4564 C++ [External Code] xul.dll!nsAppShell::ProcessNextNativeEvent(bool mayWait) Line 294 C++ xul.dll!nsBaseAppShell::DoProcessNextNativeEvent(bool mayWait) Line 138 C++ xul.dll!nsBaseAppShell::OnProcessNextEvent(nsIThreadInternal * thr, bool mayWait) Line 271 C++ xul.dll!nsThread::ProcessNextEvent(bool aMayWait, bool * aResult) Line 932 C++ xul.dll!NS_ProcessNextEvent(nsIThread * aThread, bool aMayWait) Line 277 C++ xul.dll!mozilla::ipc::MessagePump::Run(base::MessagePump::Delegate * aDelegate) Line 95 C++ xul.dll!MessageLoop::RunInternal() Line 235 C++ xul.dll!MessageLoop::RunHandler() Line 228 C++ xul.dll!MessageLoop::Run() Line 202 C++ xul.dll!nsBaseAppShell::Run() Line 158 C++ xul.dll!nsAppShell::Run() Line 178 C++ xul.dll!nsAppStartup::Run() Line 281 C++ xul.dll!XREMain::XRE_mainRun() Line 4298 C++ xul.dll!XREMain::XRE_main(int argc, char * * argv, const nsXREAppData * aAppData) Line 4391 C++ xul.dll!XRE_main(int argc, char * * argv, const nsXREAppData * aAppData, unsigned int aFlags) Line 4493 C++ firefox.exe!do_main(int argc, char * * argv, nsIFile * xreDirectory) Line 212 C++ firefox.exe!NS_internal_main(int argc, char * * argv) Line 399 C++ firefox.exe!wmain(int argc, wchar_t * * argv) Line 131 C++ [External Code]
This is a dupe of bug 1208622.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Moving from Core::Untriaged to Core::General https://bugzilla.mozilla.org/show_bug.cgi?id=1407598
Component: Untriaged → General
You need to log in before you can comment on or make changes to this bug.