Closed Bug 462410 Opened 16 years ago Closed 15 years ago

[MacOSX] _leak test build_: intermittent 6-8 kB leak, possibly to do with networking

Categories

(Testing :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INCOMPLETE

People

(Reporter: smichaud, Unassigned)

References

Details

(Keywords: intermittent-failure, memory-leak)

Over the last couple of days there've been a couple of apparently spurious failures (test oranges) on the "OS X 10.5.2 mozilla-central leak test" tinderbox. Both tests found the same number (7447) and kinds of new leaks. In neither case did the new leaks have any relation to the patch that had just landed (which got blamed for the leaks). And in both cases the new leaks disappeared in subsequent runs. Here are links to the logs for these test failures: http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1225388659.1225389034.30322.gz http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1225300610.1225300931.8834.gz Search on "new-leaks" in each log for more details.
--ALL-LEAKS-----------------------------------leaks------leaks%----------------------- TOTAL 7447 - nsSocketTransportService 1676 - nsUrlClassifierDBServiceWorker 632 - nsHttpChannel 424 - nsStringBuffer 384 - nsStandardURL 352 - nsHttpHandler 344 - nsSocketTransport 292 - mozStorageStatement 264 - mozStorageConnection 168 - nsPipe 152 - nsHttpTransaction 140 - nsCookieService 136 - nsCacheService 132 - nsCategoryObserver 120 - nsIOService 120 - nsUrlClassifierStreamUpdater 112 - nsLocalFile 112 - nsPermissionManager 92 - nsHashtable 88 - nsHttpConnection 88 - nsInputStreamPump 84 - nsWeakReference 80 - nsHttpConnectionInfo 80 - nsUrlClassifierDBService 76 - nsThread 72 - nsBaseAppShell 64 - nsDiskCacheStreamIO 64 - nsIDNService 64 - nsTimerImpl 60 - nsHostRecord 56 - nsPrefBranch 56 - nsTArray_base 52 - nsObserverService 48 - nsRecyclingAllocatorImpl 48 - nsVariant 48 - nsEffectiveTLDService 48 - nsHashPropertyBag 48 - nsDNSService 44 - nsVoidArray 40 - nsStringInputStream 36 - nsCacheEntryHashTable 36 - nsCookiePermission 32 - nsTransportEventSinkProxy 32 - nsDNSRecord 28 - nsInputStreamTee 28 - nsCacheEntryDescriptor 28 - nsOutputStreamReadyEvent 28 - nsCacheEntryDescriptor::nsOutputStreamWr 28 - nsNetworkLinkService 28 - nsInputStreamReadyEvent 28 - nsStreamListenerTee 24 - nsDiskCacheOutputStream 20 - mozStorageService 20 - nsInterfaceRequestorAgg 20 - nsStreamConverterService 16 - nsHttpConnectionMgr::nsConnectionHandle 16 - nsBaseURLParser 12 - nsUnicodeNormalizer 12 - nsRunnable 12 - StringAdopt 3 -
Please flag random orange bugs?
Blocks: 438871
Whiteboard: [orange]
Blocks: mlkTests
Keywords: mlk
Version: unspecified → Trunk
Could this be bug 102229?
Depends on: 102229
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1240996021.1241002790.9801.gz OS X 10.5.2 mozilla-central unit test on 2009/04/29 02:07:01 TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 6095 bytes during test execution TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of Connection with size 84 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of Service with size 20 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 3 instances of StringAdopt with size 1 bytes each (3 bytes total) TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 3 instances of mozStorageStatement with size 40 bytes each (120 bytes total) TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsBaseAppShell with size 60 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsBaseURLParser with size 8 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 2 instances of nsCategoryObserver with size 56 bytes each (112 bytes total) TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsCookiePermission with size 32 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsCookieService with size 132 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsDNSService with size 44 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsEffectiveTLDService with size 44 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsHashPropertyBag with size 44 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 2 instances of nsHashtable with size 44 bytes each (88 bytes total) TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsHttpChannel with size 420 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsHttpConnectionInfo with size 40 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsHttpHandler with size 344 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsHttpTransaction with size 136 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsIDNService with size 60 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsIOService with size 120 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsInterfaceRequestorAgg with size 16 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 2 instances of nsLocalFile with size 24 bytes each (48 bytes total) TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsNetworkLinkService with size 24 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsObserverService with size 44 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsOutputStreamReadyEvent with size 24 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsPermissionManager with size 88 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsPipe with size 148 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsPrefBranch with size 52 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsRecyclingAllocatorImpl with size 36 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsRunnable with size 8 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsSocketTransportService with size 1680 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 2 instances of nsStandardURL with size 172 bytes each (344 bytes total) TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsStreamConverterService with size 12 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 65 instances of nsStringBuffer with size 8 bytes each (520 bytes total) TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 17 instances of nsTArray_base with size 4 bytes each (68 bytes total) TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsThread with size 68 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsTimerImpl with size 48 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsTransportEventSinkProxy with size 28 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsUnicodeNormalizer with size 8 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsUrlClassifierDBService with size 72 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsUrlClassifierDBServiceWorker with size 628 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsUrlClassifierStreamUpdater with size 108 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 1 instance of nsVariant with size 44 bytes TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 2 instances of nsVoidArray with size 4 bytes each (8 bytes total) TEST-UNEXPECTED-FAIL | runtests-leaks | leaked 5 instances of nsWeakReference with size 12 bytes each (60 bytes total)
A similar leak happened on Windows: http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1242444255.1242451950.18340.gz WINNT 5.2 mozilla-central unit test on 2009/05/15 20:24:15 Not sure if it's the same bug or not though...
(In reply to comment #3) > http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1240677409.1240682601.8790.gz&fulltext=1 (In reply to comment #5) > http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1240996021.1241002790.9801.gz > OS X 10.5.2 mozilla-central unit test on 2009/04/29 02:07:01 (In reply to comment #6) > http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1242444255.1242451950.18340.gz > WINNT 5.2 mozilla-central unit test on 2009/05/15 20:24:15 These reports are Unit Test which is bug 486489, this bug is about Leak Test. Though, hopefully, they'll prove to be duplicates.
Summary: Intermittent leak test failures on OS X, possibly to do with networking → [MacOSX] _leak test build_: intermittent 6-8 kB leak, possibly to do with networking
http://tinderbox.mozilla.org/showlog.cgi?log=Firefox/1244730758.1244736342.866.gz WINNT 5.2 mozilla-central unit test on 2009/06/11 07:32:38 We should probably remove the Mac OS X designation on this bug, also it seems this is not limited to the leak test boxes.
OS: Mac OS X → All
Hardware: x86 → All
Summary: [MacOSX] _leak test build_: intermittent 6-8 kB leak, possibly to do with networking → intermittent 6-8 kB leak, possibly to do with networking
(In reply to comment #8) > We should probably remove the Mac OS X designation on this bug, also it seems > this is not limited to the leak test boxes. Reverting your changes: did you read comment 7?
OS: All → Mac OS X
Hardware: All → x86
Summary: intermittent 6-8 kB leak, possibly to do with networking → [MacOSX] _leak test build_: intermittent 6-8 kB leak, possibly to do with networking
I did read comment 7 and thought they were duplicates, I should have attempted to dupe instead of morphing this. Is there any reason why we're not duping?
(In reply to comment #10) > Is there any reason why we're not duping? Lack of confirmation: 1) This bug was never reported (here) again after comment 1, so we don't even know if it still happens: default would be to assume it does not. (This would be WorksForMe...) 2) If it still happens, we would need to confirm it's leaking the same 2 URLs. (This would be Incomplete...)
No longer blocks: 486489
Depends on: 486489
At this point this is either something that hasn't happened in over half a year, or it is a duplicate of bug 486489. In either case I don't think we are gaining anything by keeping this hanging around cluttering up the lists. We don't know enough so lets close it as incomplete, if this shows up again we can always reopen it.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → INCOMPLETE
V.Incomplete then
Status: RESOLVED → VERIFIED
No longer blocks: 472677
Whiteboard: [orange]
You need to log in before you can comment on or make changes to this bug.