Closed Bug 271461 Opened 20 years ago Closed 13 years ago

[@ PresShell::GetViewToScroll]

Categories

(Core :: Layout, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: timeless, Unassigned)

References

()

Details

(Keywords: crash)

Crash Data

Incident ID: 2138044
Stack Signature	PresShell::GetViewToScroll 162af7a0
Product ID	MozillaTrunk
Build ID	2004111805
Trigger Time	2004-11-23 12:24:18.0
Platform	Win32
Operating System	Windows NT 5.1 build 2600
Module	gklayout.dll + (0000b3e4)
URL visited	http://bonsai.mozilla.org/cvsquery.cgi?who=timeless%25mozdev.org
User Comments	going back to this page and then trying to scroll down
Since Last Crash	431734 sec
Total Uptime	431931 sec
Trigger Reason	Access violation
Source File, Line No.
c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/html/base/src/nsPresShell.cpp,
line 3690
Stack Trace 	
PresShell::GetViewToScroll 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/html/base/src/nsPresShell.cpp,
line 3690]
PresShell::CompleteScroll 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/html/base/src/nsPresShell.cpp,
line 3205]
nsSelectMoveScrollCommand::DoCommandBrowseWithCaretOff 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/dom/src/base/nsGlobalWindowCommands.cpp,
line 322]
nsSelectMoveScrollCommand::DoSelectCommand 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/dom/src/base/nsGlobalWindowCommands.cpp,
line 269]
nsSelectionCommandsBase::DoCommand 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/dom/src/base/nsGlobalWindowCommands.cpp,
line 189]
nsControllerCommandTable::DoCommand 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/embedding/components/commandhandler/src/nsControllerCommandTable.cpp,
line 192]
nsBaseCommandController::DoCommand 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/embedding/components/commandhandler/src/nsBaseCommandController.cpp,
line 132]
nsXBLPrototypeHandler::ExecuteHandler 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/content/xbl/src/nsXBLPrototypeHandler.cpp,
line 353]
nsXBLWindowHandler::WalkHandlersInternal 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/content/xbl/src/nsXBLWindowHandler.cpp,
line 302]
nsXBLWindowKeyHandler::WalkHandlers 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/content/xbl/src/nsXBLWindowKeyHandler.cpp,
line 197]
nsXBLWindowKeyHandler::KeyPress 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/content/xbl/src/nsXBLWindowKeyHandler.cpp,
line 250]
DispatchToInterface 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/content/events/src/nsEventListenerManager.cpp,
line 129]
nsEventListenerManager::HandleEvent 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/content/events/src/nsEventListenerManager.cpp,
line 1601]
nsWindowRoot::HandleChromeEvent 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/dom/src/base/nsWindowRoot.cpp,
line 227]
GlobalWindowImpl::HandleDOMEvent 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/dom/src/base/nsGlobalWindow.cpp,
line 935]
nsXULDocument::HandleDOMEvent 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/content/xul/document/src/nsXULDocument.cpp,
line 1248]
nsXULElement::HandleDOMEvent 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/content/xul/content/src/nsXULElement.cpp,
line 2847]
nsXULElement::HandleDOMEvent 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/content/xul/content/src/nsXULElement.cpp,
line 2839]
nsXULElement::HandleDOMEvent 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/content/xul/content/src/nsXULElement.cpp,
line 2839]
nsXULElement::HandleDOMEvent 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/content/xul/content/src/nsXULElement.cpp,
line 2839]
nsXULElement::HandleDOMEvent 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/content/xul/content/src/nsXULElement.cpp,
line 2839]
nsXULElement::HandleDOMEvent 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/content/xul/content/src/nsXULElement.cpp,
line 2839]
nsXULElement::HandleDOMEvent 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/content/xul/content/src/nsXULElement.cpp,
line 2839]
PresShell::HandleEventInternal 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/html/base/src/nsPresShell.cpp,
line 5986]
PresShell::HandleEvent 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/layout/html/base/src/nsPresShell.cpp,
line 5846]
nsViewManager::HandleEvent 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/view/src/nsViewManager.cpp,
line 2356]
nsViewManager::DispatchEvent 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/view/src/nsViewManager.cpp,
line 2133]
HandleEvent 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/view/src/nsView.cpp,
line 166]
nsWindow::DispatchEvent 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/widget/src/windows/nsWindow.cpp,
line 1078]
nsWindow::DispatchWindowEvent 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/widget/src/windows/nsWindow.cpp,
line 1095]
nsWindow::DispatchKeyEvent 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/widget/src/windows/nsWindow.cpp,
line 3004]
nsWindow::OnKeyDown 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/widget/src/windows/nsWindow.cpp,
line 3129]
nsWindow::ProcessMessage 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/widget/src/windows/nsWindow.cpp,
line 3969]
nsWindow::WindowProc 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/widget/src/windows/nsWindow.cpp,
line 1356]
USER32.dll + 0x8709 (0x77d48709)
USER32.dll + 0x87eb (0x77d487eb)
USER32.dll + 0x89a5 (0x77d489a5)
USER32.dll + 0x89e8 (0x77d489e8)
nsAppShell::Run 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/widget/src/windows/nsAppShell.cpp,
line 159]
nsAppStartup::Run 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/xpfe/components/startup/src/nsAppStartup.cpp,
line 216]
main1 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/xpfe/bootstrap/nsAppRunner.cpp,
line 1331]
main 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/xpfe/bootstrap/nsAppRunner.cpp,
line 1802]
WinMain 
[c:/builds/tinderbox/MozillaTrunk/WINNT_5.0_Clobber/mozilla/xpfe/bootstrap/nsAppRunner.cpp,
line 1828]
WinMainCRTStartup()
kernel32.dll + 0x16d4f (0x7c816d4f)
timeless, what I see in crash-stats to match top frame is rare (~2 crashes/month), and rest of crash stack does not match comment 0

PresShell::GetViewToScroll(nsLayoutUtils::Direction)
bp-a9966dca-cd9a-4265-a624-fd0892110115
0	xul.dll	PresShell::GetViewToScroll	layout/base/nsPresShell.cpp:3593
1	xul.dll	PresShell::ScrollPage	layout/base/nsPresShell.cpp:3074
2	xul.dll	nsIFrame::BuildDisplayListForChild	layout/generic/nsFrame.cpp:1566
3	xul.dll	nsDisplayWrapList::GetBounds	layout/base/nsDisplayList.cpp:972
4	xul.dll	nsDisplayWrapList::GetBounds	layout/base/nsDisplayList.cpp:972
5	xul.dll	nsDisplayWrapList::GetBounds	layout/base/nsDisplayList.cpp:972
6	firefox.exe	firefox.exe@0xb88c9	
7	xul.dll	nsDisplayClip::GetBounds	layout/base/nsDisplayList.cpp:1188
8	xul.dll	nsDisplayList::ComputeVisibility	layout/base/nsDisplayList.cpp:331
9	xul.dll	nsLayoutUtils::PaintFrame	layout/base/nsLayoutUtils.cpp:1152
10	xul.dll	PresShell::Paint	layout/base/nsPresShell.cpp:5844
11	xul.dll	nsViewManager::RenderViews	view/src/nsViewManager.cpp:533 


nsCOMPtr_base::assign_assuming_AddRef(nsISupports*) | nsCOMPtr_base::assign_from_qi(nsQueryInterface, nsID const&) | nsCOMPtr<nsIContent>::operator=(nsQueryInterface) | PresShell::GetViewToScroll(nsLayoutUtils::Direction)
bp-1af8164f-52be-4e5a-bb3a-5901a2110111
EXCEPTION_ACCESS_VIOLATION_READ
0xffffffff80004001
0	xul.dll	nsCOMPtr_base::assign_assuming_AddRef	obj-firefox/dist/include/nsCOMPtr.h:451
1	xul.dll	nsCOMPtr_base::assign_from_qi	obj-firefox/xpcom/build/nsCOMPtr.cpp:98
2	xul.dll	nsCOMPtr<nsIContent>::operator=	obj-firefox/dist/include/nsCOMPtr.h:658
3	xul.dll	PresShell::GetViewToScroll	layout/base/nsPresShell.cpp:3598
4	xul.dll	PresShell::ScrollPage	layout/base/nsPresShell.cpp:3074
5	xul.dll	nsSelectMoveScrollCommand::DoCommandBrowseWithCaretOff	dom/base/nsGlobalWindowCommands.cpp:320
6	xul.dll	nsSelectMoveScrollCommand::DoSelectCommand	dom/base/nsGlobalWindowCommands.cpp:250
7	xul.dll	nsSelectionCommandsBase::DoCommand	dom/base/nsGlobalWindowCommands.cpp:190
8	xul.dll	nsControllerCommandTable::DoCommand	embedding/components/commandhandler/src/nsControllerCommandTable.cpp:191
9	xul.dll	nsBaseCommandController::DoCommand	embedding/components/commandhandler/src/nsBaseCommandController.cpp:169
you can close such things if you can't find them.
Crash Signature: [@ PresShell::GetViewToScroll]
There are no reported crashes for this signature in the past 4 weeks.
The method doesn't exist in mozilla-central anymore so I suppose that's why.
It was first renamed to PresShell::GetFrameToScroll
http://hg.mozilla.org/mozilla-central/diff/176699b95417/layout/base/nsPresShell.cpp
then nsIPresShell::GetFrameToScrollAsScrollable
http://hg.mozilla.org/mozilla-central/diff/9da3f465942d/layout/base/nsPresShell.cpp

There are no reported crashes for those signatures either, in the past 4 weeks.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
Component: Layout: Misc Code → Layout
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.