Closed Bug 463183 Opened 16 years ago Closed 15 years ago

test_privatebrowsing.js asserts when run in a debug build

Categories

(Toolkit :: Downloads API, defect)

defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: Waldo, Assigned: ehsan.akhgari)

References

Details

(Keywords: assertion)

Output from |make check| follows:

TEST-UNEXPECTED-FAIL | ../../../../_tests/xpcshell-simple/test_dm/unit/test_privatebrowsing.js | test failed, see log
../../../../_tests/xpcshell-simple/test_dm/unit/test_privatebrowsing.js.log:
>>>>>>>
*** Throwing trying to get CurProcD
*** Throwing trying to get MozBinD
*** test pending
*** Throwing trying to get ProfDS
*** Throwing trying to get ProfLDS
*** Throwing trying to get ProfLD
*** test pending
*** Throwing trying to get TmpD
*** Throwing trying to get UHist
*** test pending
*** test finished
*** running event loop
*** test finished
pldhash: for the table at address 0x3840a0, the given entrySize of 80 definitely favors chaining over double hashing.
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /Users/jwalden/moz/2/toolkit/components/downloads/src/nsDownloadManager.cpp, line 1551
*** test pending
*** test finished
*** test pending
*** Throwing trying to get cachePDir
*** Throwing trying to get ProfLD
*** Throwing trying to get cachePDir
*** Throwing trying to get ProfLD
*** Throwing trying to get UMimTyp
*** Throwing trying to get UMimTyp
WARNING: Preventing load of VerifiedDownloadPlugin.plugin (see bug 436575): file /Users/jwalden/moz/2/modules/plugin/base/src/nsPluginsDirDarwin.cpp, line 163
[loaded plugin /Library/Internet Plug-Ins/QuickTime Plugin.plugin]
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /Users/jwalden/moz/2/toolkit/components/downloads/src/nsDownloadManager.cpp, line 1551
*** Throwing trying to get UMimTyp
*** test finished
*** test finished
*** exiting
*** PASS ***
###!!! ASSERTION: ### mem cache leaking entries?
: 'mEntryCount == 0', file /Users/jwalden/moz/2/netwerk/cache/src/nsMemoryCacheDevice.cpp, line 130
NSGetModule+0x00070599 [/Users/jwalden/moz/2/obj-i386-apple-darwin8.11.1/dist/bin/components/libnecko.dylib +0x00075009]
NSGetModule+0x000705D9 [/Users/jwalden/moz/2/obj-i386-apple-darwin8.11.1/dist/bin/components/libnecko.dylib +0x00075049]
NSGetModule+0x0006D86F [/Users/jwalden/moz/2/obj-i386-apple-darwin8.11.1/dist/bin/components/libnecko.dylib +0x000722DF]
NSGetModule+0x0006EB16 [/Users/jwalden/moz/2/obj-i386-apple-darwin8.11.1/dist/bin/components/libnecko.dylib +0x00073586]
nsSupportsHashtable::Reset()+0x00001131 [../../../../dist/bin/libxpcom_core.dylib +0x0001F697]
nsSupportsHashtable::Reset()+0x000017DB [../../../../dist/bin/libxpcom_core.dylib +0x0001FD41]
NS_ShutdownXPCOM_P+0x000001BB [../../../../dist/bin/libxpcom_core.dylib +0x0001649D]
NS_ShutdownXPCOM+0x00000011 [../../../../dist/bin/libxpcom.dylib +0x00001A45]
tart+0x000037BF [/Users/jwalden/moz/2/obj-i386-apple-darwin8.11.1/toolkit/components/downloads/test/../../../../dist/bin/xpcshell +0x00004CE7]
tart+0x00000102 [/Users/jwalden/moz/2/obj-i386-apple-darwin8.11.1/toolkit/components/downloads/test/../../../../dist/bin/xpcshell +0x0000162A]
tart+0x00000029 [/Users/jwalden/moz/2/obj-i386-apple-darwin8.11.1/toolkit/components/downloads/test/../../../../dist/bin/xpcshell +0x00001551]

<<<<<<<
Assignee: nobody → ehsan.akhgari
Status: NEW → ASSIGNED
Version: unspecified → Trunk
TEST-UNEXPECTED-FAIL | ../../../../_tests/xpcshell-simple/test_dm/unit/test_privatebrowsing.js | test failed, see log
../../../../_tests/xpcshell-simple/test_dm/unit/test_privatebrowsing.js.log:
>>>>>>>
*** Throwing trying to get CurProcD
*** Throwing trying to get MozBinD
*** test pending
*** Throwing trying to get ProfDS
*** Throwing trying to get ProfLDS
*** Throwing trying to get ProfLD
*** test pending
*** Throwing trying to get TmpD
*** Throwing trying to get UHist
*** test pending
*** test finished
*** running event loop
*** test finished
pldhash: for the table at address 0x3840a0, the given entrySize of 80 definitely favors chaining over double hashing.
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /Users/jwalden/moz/2/toolkit/components/downloads/src/nsDownloadManager.cpp, line 1551
*** test pending
*** test finished
*** test pending
*** Throwing trying to get cachePDir
*** Throwing trying to get ProfLD
*** Throwing trying to get cachePDir
*** Throwing trying to get ProfLD
*** Throwing trying to get UMimTyp
*** Throwing trying to get UMimTyp
WARNING: Preventing load of VerifiedDownloadPlugin.plugin (see bug 436575): file /Users/jwalden/moz/2/modules/plugin/base/src/nsPluginsDirDarwin.cpp, line 163
[loaded plugin /Library/Internet Plug-Ins/QuickTime Plugin.plugin]
WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80040111: file /Users/jwalden/moz/2/toolkit/components/downloads/src/nsDownloadManager.cpp, line 1551
*** Throwing trying to get UMimTyp
*** test finished
*** test finished
*** exiting
*** PASS ***
###!!! ASSERTION: ### mem cache leaking entries?
: 'mEntryCount == 0', file /Users/jwalden/moz/2/netwerk/cache/src/nsMemoryCacheDevice.cpp, line 130
nsMemoryCacheDevice::Shutdown() (/Users/jwalden/moz/2/netwerk/cache/src/nsMemoryCacheDevice.cpp:130)
nsMemoryCacheDevice::~nsMemoryCacheDevice() (/Users/jwalden/moz/2/netwerk/cache/src/nsMemoryCacheDevice.cpp:81)
nsCacheService::Shutdown() (/Users/jwalden/moz/2/netwerk/cache/src/nsCacheService.cpp:723)
nsCacheProfilePrefObserver::Observe(nsISupports*, char const*, unsigned short const*) (/Users/jwalden/moz/2/netwerk/cache/src/nsCacheService.cpp:263)
nsObserverList::NotifyObservers(nsISupports*, char const*, unsigned short const*) (/Users/jwalden/moz/2/xpcom/ds/nsObserverList.cpp:128)
nsObserverService::NotifyObservers(nsISupports*, char const*, unsigned short const*) (/Users/jwalden/moz/2/xpcom/ds/nsObserverService.cpp:181)
NS_ShutdownXPCOM_P (/Users/jwalden/moz/2/xpcom/build/nsXPComInit.cpp:752)
NS_ShutdownXPCOM (/Users/jwalden/moz/2/xpcom/stub/nsXPComStub.cpp:175)
main (/Users/jwalden/moz/2/js/src/xpconnect/shell/xpcshell.cpp:1522)
_start (/Users/jwalden/moz/2/js/src/xpconnect/shell/xpcshell.cpp:208)
start (/Users/jwalden/moz/2/js/src/xpconnect/shell/xpcshell.cpp:208)

<<<<<<<
I could see this on Windows as well.  I can verify that this happens when the test tries Download-C, but I can't work around why this happens, and how to fix this.  I'll need some help here.  CCing biesi.
Keywords: helpwanted
OS: Mac OS X → All
Hardware: PC → All
Blocks: 372581
Biesi, can you give at least a short comment if possible?
Can anyone else reproduce this still?  It seems to be gone for me.
No I can't reproduce this now as well.  Resolving as WORKSFORME.  Please re-open if it happens again.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Keywords: helpwanted
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.