Closed Bug 233952 Opened 22 years ago Closed 18 years ago

DOM TS Console Logs and Asserts

Categories

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

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: bc, Unassigned)

References

()

Details

Attachments

(1 file, 2 obsolete files)

This bug is to track changes in the assertions and other errors which occur when running the DOM TS. These results are for iframe and mozilla xml implementations for each content type. Unique Asserts: ###!!! ASSERTION: Attempt to decrement focus controller's suppression when no suppression active! ###!!! ASSERTION: LocalStoreImpl not thread-safe: '_mOwningThread.GetThread() == PR_GetCurrentThread()', file c:/work/mozilla_source/trunk/mozilla/rdf/datasource/src/nsLocalStore.cpp, line 285 ###!!! ASSERTION: Main thread being held past XPCOM shutdown.: 'cnt == 0', file c:/work/mozilla_source/trunk/mozilla/xpcom/threads/nsThread.cpp, line 439 ###!!! ASSERTION: Null URI passed to ResetStylesheetsToURI: 'aURI', file c:/work/mozilla_source/trunk/mozilla/content/base/src/nsDocument.cpp, line 743 ###!!! ASSERTION: Null URI passed to ResetToURI: 'aURI', file c:/work/mozilla_source/trunk/mozilla/content/base/src/nsDocument.cpp, line 687 ###!!! ASSERTION: Potential deadlock between nsComponentManagerImplMonitor@2ef578 and Lock@2796ca8: 'Error', file c:/work/mozilla_source/trunk/mozilla/xpcom/threads/nsAutoLock.cpp, line 299 ###!!! ASSERTION: Potential deadlock between nsComponentManagerImplMonitor@2ef578 and Lock@2796e38: 'Error', file c:/work/mozilla_source/trunk/mozilla/xpcom/threads/nsAutoLock.cpp, line 299 ###!!! ASSERTION: Potential deadlock between nsComponentManagerImplMonitor@2ef578 and Lock@2796ec0: 'Error', file c:/work/mozilla_source/trunk/mozilla/xpcom/threads/nsAutoLock.cpp, line 299 ###!!! ASSERTION: Potential deadlock between nsComponentManagerImplMonitor@2ef578 and Lock@2796ff8: 'Error', file c:/work/mozilla_source/trunk/mozilla/xpcom/threads/nsAutoLock.cpp, line 299 ###!!! ASSERTION: Potential deadlock between nsComponentManagerImplMonitor@2ef578 and Lock@2797008: 'Error', file c:/work/mozilla_source/trunk/mozilla/xpcom/threads/nsAutoLock.cpp, line 299 ###!!! ASSERTION: Potential deadlock between nsComponentManagerImplMonitor@2ef578 and Lock@2797010: 'Error', file c:/work/mozilla_source/trunk/mozilla/xpcom/threads/nsAutoLock.cpp, line 299 ###!!! ASSERTION: Potential deadlock between nsComponentManagerImplMonitor@2ef578 and Lock@2797188: 'Error', file c:/work/mozilla_source/trunk/mozilla/xpcom/threads/nsAutoLock.cpp, line 299 ###!!! ASSERTION: Potential deadlock between nsComponentManagerImplMonitor@2ef578 and Lock@2797198: 'Error', file c:/work/mozilla_source/trunk/mozilla/xpcom/threads/nsAutoLock.cpp, line 299 ###!!! ASSERTION: Potential deadlock between nsComponentManagerImplMonitor@2ef578 and Lock@27971a0: 'Error', file c:/work/mozilla_source/trunk/mozilla/xpcom/threads/nsAutoLock.cpp, line 299 ###!!! ASSERTION: Potential deadlock between nsComponentManagerImplMonitor@2ef578 and Lock@2797210: 'Error', file c:/work/mozilla_source/trunk/mozilla/xpcom/threads/nsAutoLock.cpp, line 299 ###!!! ASSERTION: Potential deadlock between nsComponentManagerImplMonitor@2ef578 and Lock@2797248: 'Error', file c:/work/mozilla_source/trunk/mozilla/xpcom/threads/nsAutoLock.cpp, line 299 ###!!! ASSERTION: Potential deadlock between nsComponentManagerImplMonitor@2ef578 and Lock@2797288: 'Error', file c:/work/mozilla_source/trunk/mozilla/xpcom/threads/nsAutoLock.cpp, line 299 ###!!! ASSERTION: Potential deadlock between nsComponentManagerImplMonitor@2ef578 and Lock@2797290: 'Error', file c:/work/mozilla_source/trunk/mozilla/xpcom/threads/nsAutoLock.cpp, line 299 ###!!! ASSERTION: Potential deadlock between nsComponentManagerImplMonitor@2ef578 and Lock@2797378: 'Error', file c:/work/mozilla_source/trunk/mozilla/xpcom/threads/nsAutoLock.cpp, line 299 ###!!! ASSERTION: Potential deadlock between nsComponentManagerImplMonitor@2ef578 and Lock@2797500: 'Error', file c:/work/mozilla_source/trunk/mozilla/xpcom/threads/nsAutoLock.cpp, line 299 ###!!! ASSERTION: Potential deadlock between nsComponentManagerImplMonitor@2ef578 and Lock@2797598: 'Error', file c:/work/mozilla_source/trunk/mozilla/xpcom/threads/nsAutoLock.cpp, line 299 ###!!! ASSERTION: RDFXMLDataSourceImpl not thread-safe: '_mOwningThread.GetThread() == PR_GetCurrentThread()', file c:/work/mozilla_source/trunk/mozilla/rdf/base/src/nsRDFXMLDataSource.cpp, line 540 ###!!! ASSERTION: SpaceManager should be set in nsBlockReflowState: 'mSpaceManager', file c:/work/mozilla_source/trunk/mozilla/layout/html/base/src/nsBlockReflowState.cpp, line 91 ###!!! ASSERTION: URI mapped to two different specs?: 'uriMapEntry->mDocMapEntry == nsnull', file c:/work/mozilla_source/trunk/mozilla/xpcom/io/nsFastLoadFile.cpp, line 422 ###!!! ASSERTION: bad reflow state: 'aReflowState.frame == aKidFrame', file c:/work/mozilla_source/trunk/mozilla/layout/html/base/src/nsContainerFrame.cpp, line 909 ###!!! ASSERTION: cannot get parentTop: 'parentTop', file c:/work/mozilla_source/trunk/mozilla/dom/src/base/nsGlobalWindow.cpp, line 4337 ###!!! ASSERTION: expected a XUL document: 'xuldoc', file c:/work/mozilla_source/trunk/mozilla/content/xul/templates/src/nsXULContentBuilder.cpp, line 1468 ###!!! ASSERTION: failed to load URL: 'NS_SUCCEEDED(rv)', file c:/work/mozilla_source/trunk/mozilla/content/html/content/src/nsHTMLIFrameElement.cpp, line 318 ###!!! ASSERTION: invalid active window: 'Error', file c:/work/mozilla_source/trunk/mozilla/embedding/components/windowwatcher/src/nsWindowWatcher.cpp, line 876 ###!!! ASSERTION: not initialized: 'mTable != nsnull', file c:/work/mozilla_source/trunk/mozilla/xpfe/components/history/src/nsGlobalHistory.cpp, line 781 ###!!! ASSERTION: nsCacheSession not thread-safe: '_mOwningThread.GetThread() == PR_GetCurrentThread()', file c:/work/mozilla_source/trunk/mozilla/netwerk/cache/src/nsCacheSession.cpp, line 30 ###!!! ASSERTION: nsDocument::GetFeature(): 'NotYetImplemented', file c:/work/mozilla_source/trunk/mozilla/content/base/src/nsDocument.cpp, line 3357 ###!!! ASSERTION: nsFrameManager::GenerateStateKey didn't find content by type! See bug 139568: 'index > -1', file c:/work/mozilla_source/trunk/mozilla/content/base/src/nsContentUtils.cpp, line 1480 ###!!! ASSERTION: nsStandardURL not thread-safe: '_mOwningThread.GetThread() == PR_GetCurrentThread()', file c:/work/mozilla_source/trunk/mozilla/netwerk/base/src/nsStandardURL.cpp, line 782 ###!!! ASSERTION: null pointer: 'aSpaceManager', file c:/work/mozilla_source/trunk/mozilla/layout/html/base/src/nsBlockBandData.cpp, line 68 ###!!! ASSERTION: null ptr: 'aURL && aDocument', file c:/work/mozilla_source/trunk/mozilla/content/html/style/src/nsHTMLStyleSheet.cpp, line 956 ###!!! ASSERTION: write me!: 'NotYetImplemented', file c:/work/mozilla_source/trunk/mozilla/content/svg/content/src/nsSVGElement.cpp, line 498
Attached file mozilla-dom.zip (obsolete) —
full logs for each test/implementation.
Depends on: 233955
Depends on: 233956
Attached patch Fix for three of the asserts (obsolete) — Splinter Review
This changes nsXMLDocument::Load to reset to the new URI after we've constructed it. That said, it seems odd to me to reset before the security check; I would reset after....
Attachment #141212 - Flags: superreview?(jst)
Attachment #141212 - Flags: review?(jst)
Comment on attachment 141212 [details] [diff] [review] Fix for three of the asserts r+sr=jst
Attachment #141212 - Flags: superreview?(jst)
Attachment #141212 - Flags: superreview+
Attachment #141212 - Flags: review?(jst)
Attachment #141212 - Flags: review+
Comment on attachment 141212 [details] [diff] [review] Fix for three of the asserts Checked in.
Attachment #141212 - Attachment is obsolete: true
Attached file mozilla.log.zip
I have been working on the TS to allow better and fuller selection of the tests. I ran new version using a DEBUG build built today 2004-02-20 with all extensions (except xmlterm) enabled and the SVG GDI+ renderer. The new version of the TS is not yet available but will be in a few days. In the continuing effort to track assertions found when running the TS, mozilla.log.zip is the console from the run of all of the test suites for iframe and "mozillaxml" implementations for each content type. I did not stop the browser between runs unless a hang occured so there is new information regarding the cache problems. The following 36 assertions were found by grepping/sorting/uniqing the mozilla.log file. (some are new because more tests were run and the browser wasn't closed inbetween levels/features) ###!!! ASSERTION: Attempt to decrement focus controller's suppression when no suppression active! ###!!! ASSERTION: Error: no token allocator: '0 != mTokenAllocator', file c:/work/mozilla_source/trunk/mozilla/htmlparser/src/nsParserNode.h, line 300 ###!!! ASSERTION: Flush() failed: 'NS_SUCCEEDED(rv)', file c:/work/mozilla_source/trunk/mozilla/netwerk/cache/src/nsDiskCacheStreams.cpp, line 447 ###!!! ASSERTION: Item was successful, but node from collection was null!: 'node', file c:/work/mozilla_source/trunk/mozilla/layout/html/forms/src/nsListControlFrame.cpp, line 1980 ###!!! ASSERTION: LocalStoreImpl not thread-safe: '_mOwningThread.GetThread() == PR_GetCurrentThread()', file c:/work/mozilla_source/trunk/mozilla/rdf/datasource/src/nsLocalStore.cpp, line 285 ###!!! ASSERTION: Main thread being held past XPCOM shutdown.: 'cnt == 0', file c:/work/mozilla_source/trunk/mozilla/xpcom/threads/nsThread.cpp, line 439 ###!!! ASSERTION: Potential deadlock between nsComponentManagerImplMonitor@2ef4d0 and Lock@273f568: 'Error', file c:/work/mozilla_source/trunk/mozilla/xpcom/threads/nsAutoLock.cpp, line 299 ###!!! ASSERTION: Potential deadlock between nsComponentManagerImplMonitor@2ef4d0 and Lock@273f768: 'Error', file c:/work/mozilla_source/trunk/mozilla/xpcom/threads/nsAutoLock.cpp, line 299 ###!!! ASSERTION: Potential deadlock between nsComponentManagerImplMonitor@2ef4d0 and Lock@273f9d0: 'Error', file c:/work/mozilla_source/trunk/mozilla/xpcom/threads/nsAutoLock.cpp, line 299 ###!!! ASSERTION: RDFXMLDataSourceImpl not thread-safe: '_mOwningThread.GetThread() == PR_GetCurrentThread()', file c:/work/mozilla_source/trunk/mozilla/rdf/base/src/nsRDFXMLDataSource.cpp, line 540 ###!!! ASSERTION: SpaceManager should be set in nsBlockReflowState: 'mSpaceManager', file c:/work/mozilla_source/trunk/mozilla/layout/html/base/src/nsBlockReflowState.cpp, line 91 ###!!! ASSERTION: URI mapped to two different specs?: 'uriMapEntry->mDocMapEntry == nsnull', file c:/work/mozilla_source/trunk/mozilla/xpcom/io/nsFastLoadFile.cpp, line 422 ###!!! ASSERTION: bad reflow state: 'aReflowState.frame == aKidFrame', file c:/work/mozilla_source/trunk/mozilla/layout/html/base/src/nsContainerFrame.cpp, line 909 ###!!! ASSERTION: could not get option element by index!: 'optionElement != nsnull', file c:/work/mozilla_source/trunk/mozilla/layout/html/forms/src/nsListControlFrame.cpp, line 1921 ###!!! ASSERTION: deleting dirty buffer: 'mBufDirty == PR_FALSE', file c:/work/mozilla_source/trunk/mozilla/netwerk/cache/src/nsDiskCacheStreams.cpp, line 734 ###!!! ASSERTION: evictionRank out of sync: 'evictionRank == mapRecord->EvictionRank()', file c:/work/mozilla_source/trunk/mozilla/netwerk/cache/src/nsDiskCacheMap.cpp, line 435 ###!!! ASSERTION: expected a XUL document: 'xuldoc', file c:/work/mozilla_source/trunk/mozilla/content/xul/templates/src/nsXULContentBuilder.cpp, line 1468 ###!!! ASSERTION: failed to load URL: 'NS_SUCCEEDED(rv)', file c:/work/mozilla_source/trunk/mozilla/content/html/content/src/nsHTMLIFrameElement.cpp, line 318 ###!!! ASSERTION: nsCacheSession not thread-safe: '_mOwningThread.GetThread() == PR_GetCurrentThread()', file c:/work/mozilla_source/trunk/mozilla/netwerk/cache/src/nsCacheSession.cpp, line 30 ###!!! ASSERTION: nsDOMAttribute::IsDefaultNamespace(): 'NotYetImplemented', file c:/work/mozilla_source/trunk/mozilla/content/base/src/nsDOMAttribute.cpp, line 613 ###!!! ASSERTION: nsDocument::GetFeature(): 'NotYetImplemented', file c:/work/mozilla_source/trunk/mozilla/content/base/src/nsDocument.cpp, line 3363 ###!!! ASSERTION: nsDocument::GetUserData(): 'NotYetImplemented', file c:/work/mozilla_source/trunk/mozilla/content/base/src/nsDocument.cpp, line 3383 ###!!! ASSERTION: nsDocument::IsDefaultNamespace(): 'NotYetImplemented', file c:/work/mozilla_source/trunk/mozilla/content/base/src/nsDocument.cpp, line 3353 ###!!! ASSERTION: nsDocument::IsEqualNode(): 'NotYetImplemented', file c:/work/mozilla_source/trunk/mozilla/content/base/src/nsDOMAttribute.cpp, line 604 ###!!! ASSERTION: nsDocument::IsEqualNode(): 'NotYetImplemented', file c:/work/mozilla_source/trunk/mozilla/content/base/src/nsDocument.cpp, line 3344 ###!!! ASSERTION: nsDocument::SetUserData(): 'NotYetImplemented', file c:/work/mozilla_source/trunk/mozilla/content/base/src/nsDOMAttribute.cpp, line 647 ###!!! ASSERTION: nsDocument::SetUserData(): 'NotYetImplemented', file c:/work/mozilla_source/trunk/mozilla/content/base/src/nsDocument.cpp, line 3374 ###!!! ASSERTION: nsFrameManager::GenerateStateKey didn't find content by type! See bug 139568: 'index > -1', file c:/work/mozilla_source/trunk/mozilla/content/base/src/nsContentUtils.cpp, line 1480 ###!!! ASSERTION: nsNode3Tearoff::GetUserData(): 'NotYetImplemented', file c:/work/mozilla_source/trunk/mozilla/content/base/src/nsGenericElement.cpp, line 400 ###!!! ASSERTION: nsNode3Tearoff::IsDefaultNamespace(): 'NotYetImplemented', file c:/work/mozilla_source/trunk/mozilla/content/base/src/nsGenericElement.cpp, line 484 ###!!! ASSERTION: nsNode3Tearoff::IsEqualNode(): 'NotYetImplemented', file c:/work/mozilla_source/trunk/mozilla/content/base/src/nsGenericElement.cpp, line 370 ###!!! ASSERTION: nsNode3Tearoff::SetUserData(): 'NotYetImplemented', file c:/work/mozilla_source/trunk/mozilla/content/base/src/nsGenericElement.cpp, line 391 ###!!! ASSERTION: nsStandardURL not thread-safe: '_mOwningThread.GetThread() == PR_GetCurrentThread()', file c:/work/mozilla_source/trunk/mozilla/netwerk/base/src/nsStandardURL.cpp, line 782 ###!!! ASSERTION: null pointer: 'aSpaceManager', file c:/work/mozilla_source/trunk/mozilla/layout/html/base/src/nsBlockBandData.cpp, line 68 ###!!! ASSERTION: write me!: 'NotYetImplemented', file c:/work/mozilla_source/trunk/mozilla/content/svg/content/src/nsSVGElement.cpp, line 498 ###!!! ASSERTION: write me: 'NotYetImplemented', file c:/work/mozilla_source/trunk/mozilla/content/svg/content/src/nsSVGAttributes.cpp, line 1078
Attachment #141193 - Attachment is obsolete: true
Depends on: 78102
Depends on: 233077
Depends on: 139568
Depends on: 239546
The most recent results for all combinations of suites, loaders and mimetypes is: 186 ASSERTION: cannot call on a dirty frame not currently being reflowed: '!NS_SUBTREE_DIRTY(this) || (GetStateBits() & NS_FRAME_IN_REFLOW)', file /work/mozilla/builds/1.9.0/mozilla/layout/generic/nsFrame.cpp, line 556 48 ASSERTION: Should be in an update while destroying frames: 'mUpdateCount != 0', file /work/mozilla/builds/1.9.0/mozilla/layout/base/nsCSSFrameConstructor.cpp, line 9532 39 ASSERTION: nsSVGElement::IsSupported: 'NotYetImplemented', file /work/mozilla/builds/1.9.0/mozilla/content/svg/content/src/nsSVGElement.cpp, line 615 3 ASSERTION: aName should be lowercase, fix caller.: 'lcName.Equals(name)', file /work/mozilla/builds/1.9.0/mozilla/content/html/document/src/nsHTMLDocument.cpp, line 4743 2 ASSERTION: Uh, IsInModalState() called w/o a reachable top window?: 'Error', file /work/mozilla/builds/1.9.0/mozilla/dom/src/base/nsGlobalWindow.cpp, line 5245 1 ASSERTION: nsNSSComponent relies on profile manager to wait for synchronous shutdown of all network activity: 'mIsNetworkDown', file /work/mozilla/builds/1.9.0/mozilla/security/manager/ssl/src/nsNSSComponent.cpp, line 2343 These all have other bugs filed. -> WFM
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WORKSFORME
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: