Closed Bug 844525 Opened 11 years ago Closed 9 years ago

Intermittent layout/base/crashtests/421432.html | assertion count 1 is more than expected 0 assertions, w/ "ASSERTION: cannot get ptop"

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dholbert, Unassigned)

References

Details

(Keywords: assertion, intermittent-failure)

https://tbpl.mozilla.org/php/getParsedLog.php?id=20031840&tree=Mozilla-Inbound
Rev3 WINNT 5.1 mozilla-inbound debug test crashtest on 2013-02-23 14:20:10 PST for push bb9e9d8b1d2f
slave: talos-r3-xp-015
{

14:31:17     INFO -  REFTEST TEST-PASS | file:///c:/talos-slave/test/build/tests/reftest/tests/layout/base/crashtests/421432.html | (LOAD ONLY)
14:31:17     INFO -  REFTEST INFO | Loading a blank page
14:31:17     INFO -  WARNING: NS_ENSURE_TRUE(txToRemove) failed: file e:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/docshell/shistory/src/nsSHistory.cpp, line 1322
14:31:17     INFO -  WARNING: NS_ENSURE_TRUE(mShell) failed: file e:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/layout/base/nsPresContext.cpp, line 1191
14:31:17     INFO -  ###!!! ASSERTION: cannot get ptop: 'ptop', file e:/builds/moz2_slave/m-in-w32-d-0000000000000000000/build/dom/base/nsGlobalWindow.cpp, line 7902
14:31:17     INFO -  --DOCSHELL 09AC22B0 == 3 [id = 139]
14:31:17     INFO -  ++DOMWINDOW == 73 (0D3B36E0) [serial = 2102] [outer = 094A0420]
14:31:17     INFO -  REFTEST TEST-UNEXPECTED-FAIL | file:///c:/talos-slave/test/build/tests/reftest/tests/layout/base/crashtests/421432.html | assertion count 1 is more than expected 0 assertions
}

Also failed in this WinXP run:
https://tbpl.mozilla.org/php/getParsedLog.php?id=20031430&tree=Mozilla-Inbound
Rev3 WINNT 5.1 mozilla-inbound debug test crashtest on 2013-02-23 13:50:17 PST for push 7aebc1dec8f1
slave: talos-r3-xp-061


This crashtest was just checked in earlier today.

Mats: Maybe this needs asserts(0-1) annotation?

See also bug 531589 for this assertion failing in another test.
https://tbpl.mozilla.org/php/getParsedLog.php?id=20025057&tree=Mozilla-Inbound
Rev4 MacOSX Snow Leopard 10.6 mozilla-inbound debug test crashtest on 2013-02-23 07:45:27 PST for push cd6d61e42762
slave: talos-r4-snow-063
{
07:51:01     INFO -  ###!!! ASSERTION: cannot get ptop: 'ptop', file ../../../dom/base/nsGlobalWindow.cpp, line 7902
07:51:01     INFO -  nsGlobalWindow::UpdateCommands(nsAString_internal const&) [dom/base/nsGlobalWindow.cpp:7601]
07:51:01     INFO -  _ZThn24_N14nsGlobalWindow14UpdateCommandsERK18nsAString_internal [dom/base/nsGlobalWindow.cpp:7619]
07:51:01     INFO -  nsFocusManager::Focus(nsPIDOMWindow*, nsIContent*, unsigned int, bool, bool, bool, bool) [obj-firefox/dist/include/nsTSubstring.h:85]
07:51:01     INFO -  nsFocusManager::WindowShown(nsIDOMWindow*, bool) [obj-firefox/dist/include/nsCOMPtr.h:492]
07:51:01     INFO -  nsGlobalWindow::SetReadyForFocus() [dom/base/nsGlobalWindow.cpp:8250]
07:51:01     INFO -  nsGlobalWindow::SetReadyForFocus() [dom/base/nsGlobalWindow.cpp:8234]
07:51:01     INFO -  PresShell::UnsuppressAndInvalidate() [layout/base/nsPresShell.cpp:3616]
07:51:01     INFO -  nsDocumentViewer::LoadComplete(tag_nsresult) [obj-firefox/dist/include/nsCOMPtr.h:764]
07:51:01     INFO -  nsDocShell::EndPageLoad(nsIWebProgress*, nsIChannel*, tag_nsresult) [docshell/base/nsDocShell.cpp:6644]
07:51:01     INFO -  nsDocShell::OnStateChange(nsIWebProgress*, nsIRequest*, unsigned int, tag_nsresult) [obj-firefox/dist/include/nsCOMPtr.h:492]
07:51:01     INFO -  _ZThn352_N10nsDocShell13OnStateChangeEP14nsIWebProgressP10nsIRequestj12tag_nsresult [docshell/base/nsDocShell.cpp:6478]
07:51:01     INFO -  nsDocLoader::DoFireOnStateChange(nsIWebProgress*, nsIRequest*, int&, tag_nsresult) [uriloader/base/nsDocLoader.cpp:1283]
07:51:01     INFO -  nsDocLoader::doStopDocumentLoad(nsIRequest*, tag_nsresult) [uriloader/base/nsDocLoader.cpp:878]
07:51:01     INFO -  nsDocLoader::DocLoaderIsEmpty(bool) [obj-firefox/dist/include/nsCOMArray.h:361]
07:51:01     INFO -  nsDocLoader::OnStopRequest(nsIRequest*, nsISupports*, tag_nsresult) [uriloader/base/nsDocLoader.cpp:653]
07:51:01     INFO -  _ZThn8_N11nsDocLoader13OnStopRequestEP10nsIRequestP11nsISupports12tag_nsresult [uriloader/base/nsDocLoader.cpp:657]
07:51:01     INFO -  nsLoadGroup::RemoveRequest(nsIRequest*, nsISupports*, tag_nsresult) [netwerk/base/src/nsLoadGroup.cpp:676]
07:51:01     INFO -  nsDocument::DoUnblockOnload() [obj-firefox/dist/include/nsCOMPtr.h:492]
07:51:01     INFO -  nsDocument::UnblockOnload(bool) [content/base/src/nsDocument.cpp:7551]
07:51:01     INFO -  nsDocument::DispatchContentLoadedEvents() [obj-firefox/dist/include/nsCOMPtr.h:492]
07:51:01     INFO -  nsRunnableMethodImpl<void (nsDocument::*)(), true>::Run() [obj-firefox/dist/include/nsThreadUtils.h:367]
07:51:01     INFO -  nsThread::ProcessNextEvent(bool, bool*) [xpcom/threads/nsThread.cpp:627]
07:51:01     INFO -  NS_ProcessPendingEvents_P(nsIThread*, unsigned int) [obj-firefox/xpcom/build/nsThreadUtils.cpp:188]
07:51:01     INFO -  nsBaseAppShell::NativeEventCallback() [widget/xpwidgets/nsBaseAppShell.cpp:98]
07:51:01     INFO -  nsAppShell::ProcessGeckoEvents(void*) [widget/cocoa/nsAppShell.mm:388]
07:51:01     INFO -  CoreFoundation + 0x4e401
07:51:01     INFO -  CoreFoundation + 0x4c5f9
07:51:01     INFO -  CoreFoundation + 0x4bdbf
07:51:01     INFO -  HIToolbox + 0x2e7ee
07:51:01     INFO -  HIToolbox + 0x2e551
07:51:01     INFO -  HIToolbox + 0x2e4ac
07:51:01     INFO -  AppKit + 0x43eb2
07:51:01     INFO -  -AppKit + 0x43801
07:51:01     INFO -  -[GeckoNSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] [widget/cocoa/nsAppShell.mm:164]
07:51:01     INFO -  -AppKit + 0x968f
07:51:01     INFO -  nsAppShell::Run() [widget/cocoa/nsAppShell.mm:741]
07:51:01     INFO -  nsAppStartup::Run() [toolkit/components/startup/nsAppStartup.cpp:288]
07:51:01     INFO -  XREMain::XRE_mainRun() [toolkit/xre/nsAppRunner.cpp:3885]
07:51:01     INFO -  XREMain::XRE_main(int, char**, nsXREAppData const*) [toolkit/xre/nsAppRunner.cpp:3952]
07:51:01     INFO -  XRE_main [toolkit/xre/nsAppRunner.cpp:4155]
07:51:01     INFO -  main [browser/app/nsBrowserApp.cpp:224]
07:51:01     INFO -  --DOCSHELL 0x14d0276c0 == 3 [id = 142]
07:51:01     INFO -  ++DOMWINDOW == 60 (0x12d497398) [serial = 2119] [outer = 0x10a6e5e88]
07:51:01     INFO -  REFTEST TEST-UNEXPECTED-FAIL | file:///Users/cltbld/talos-slave/test/build/tests/reftest/tests/layout/base/crashtests/421432.html | assertion count 1 is more than expected 0 assertions
}
OS: Windows XP → All
Hardware: x86 → All
> Mats: Maybe this needs asserts(0-1) annotation?

Added that:
https://hg.mozilla.org/integration/mozilla-inbound/rev/d5b07a03d038

Looking at the code it does seem worth investigating why this assertion occurs.
Component: Layout → DOM
Whiteboard: [leave open]
(Adding keyword intermittent-failure, since otherwise this won't appear in TBPL bug suggestions)
Summary: crashtest TEST-UNEXPECTED-FAIL | file:///c:/talos-slave/test/build/tests/reftest/tests/layout/base/crashtests/421432.html | assertion count 1 is more than expected 0 assertions, w/ "ASSERTION: cannot get ptop" → Intermittent layout/base/crashtests/421432.html | assertion count 1 is more than expected 0 assertions, w/ "ASSERTION: cannot get ptop"
Testcase no longer asserts on trunk.
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: in-testsuite+
Resolution: --- → WORKSFORME
Whiteboard: [leave open]
removing the b2g 2.5 flag since this commit has been reverted due to an incorrect merge, sorry for the confusion
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.