Closed Bug 284594 Opened 21 years ago Closed 13 years ago

###!!! ASSERTION: file descriptor not closed: '!mFD', file r:/mozilla/netwerk/cache/src/nsDiskCacheStreams.cpp, line 346

Categories

(Core :: Networking: Cache, defect)

x86
All
defect
Not set
major

Tracking

()

RESOLVED WORKSFORME
Tracking Status
blocking2.0 --- -

People

(Reporter: timeless, Unassigned)

References

(Blocks 1 open bug, )

Details

(Keywords: assertion, intermittent-failure)

###!!! ASSERTION: file descriptor not closed: '!mFD', file r:/mozilla/netwerk/cache/src/nsDiskCacheStreams.cpp, line 346 Break: at file r:/mozilla/netwerk/cache/src/nsDiskCacheStreams.cpp, line 346 xpcom_core.dll!nsDebug::Assertion(const char * aStr=0x00f59c54, const char * aExpr=0x00f59c4c, const char * aFile=0x00f59c18, int aLine=0x0000015a) Line 109 C++ necko.dll!nsDiskCacheStreamIO::Close() Line 346 + 0x23 C++ necko.dll!nsDiskCacheStreamIO::~nsDiskCacheStreamIO() Line 332 C++ necko.dll!nsDiskCacheStreamIO::`scalar deleting destructor'() + 0xf C++ necko.dll!nsDiskCacheStreamIO::Release() Line 299 + 0x91 C++ necko.dll!nsDiskCacheBinding::~nsDiskCacheBinding() Line 144 + 0x12 C++ necko.dll!nsDiskCacheBinding::`scalar deleting destructor'() + 0xf C++ necko.dll!nsDiskCacheBinding::Release() Line 122 + 0x8e C++ xpcom_core.dll!nsCOMPtr_base::~nsCOMPtr_base() Line 82 C++ necko.dll!nsCOMPtr<nsISupports>::~nsCOMPtr<nsISupports>() + 0x10 C++ necko.dll!nsCacheEntry::~nsCacheEntry() Line 92 + 0x16 C++ necko.dll!nsCacheEntry::`scalar deleting destructor'() + 0xf C++ necko.dll!nsDiskCacheDevice::DeactivateEntry(nsCacheEntry * entry=0x06fda150) Line 500 + 0x1c C++ necko.dll!nsCacheService::DeactivateEntry(nsCacheEntry * entry=0x06fda150) Line 1513 + 0xf C++ necko.dll!nsCacheService::CloseDescriptor(nsCacheEntryDescriptor * descriptor=0x070afb60) Line 1395 C++ necko.dll!nsCacheEntryDescriptor::Close() Line 413 + 0x9 C++ necko.dll!nsCacheEntryDescriptor::~nsCacheEntryDescriptor() Line 68 C++ necko.dll!nsCacheEntryDescriptor::`scalar deleting destructor'() + 0xf C++ necko.dll!nsCacheEntryDescriptor::Release() Line 53 + 0x8e C++ necko.dll!nsCOMPtr<nsICacheEntryDescriptor>::assign_assuming_AddRef(nsICacheEntryDescriptor * newPtr=0x00000000) Line 569 C++ necko.dll!nsCOMPtr<nsICacheEntryDescriptor>::assign_with_AddRef(nsISupports * rawPtr=0x00000000) Line 1225 C++ necko.dll!nsCOMPtr<nsICacheEntryDescriptor>::operator=(nsICacheEntryDescriptor * rhs=0x00000000) Line 714 C++ > necko.dll!nsHttpChannel::CloseCacheEntry(unsigned int status=0x80540006) Line 1600 C++ necko.dll!nsHttpChannel::OnStopRequest(nsIRequest * request=0x03c07040, nsISupports * ctxt=0x00000000, unsigned int status=0x80540006) Line 3836 C++ necko.dll!nsInputStreamPump::OnStateStop() Line 507 C++ necko.dll!nsInputStreamPump::OnInputStreamReady(nsIAsyncInputStream * stream=0x075bac18) Line 343 + 0xb C++ xpcom_core.dll!nsInputStreamReadyEvent::EventHandler(PLEvent * plevent=0x08da9654) Line 119 C++ xpcom_core.dll!PL_HandleEvent(PLEvent * self=0x08da9654) Line 698 + 0xa C xpcom_core.dll!PL_ProcessPendingEvents(PLEventQueue * self=0x00bce008) Line 633 + 0x9 C xpcom_core.dll!_md_TimerProc(HWND__ * hwnd=0x001205ac, unsigned int uMsg=0x00000113, unsigned int idEvent=0x00000000, unsigned long dwTime=0x1d460d4b) Line 1034 + 0x9 C user32.dll!_InternalCallWinProc@20() + 0x28 user32.dll!_UserCallWinProc@24() + 0xa1 user32.dll!_DispatchMessageWorker@8() + 0xcc6 user32.dll!_DispatchMessageW@4() + 0xf gkwidget.dll!nsAppShell::Run() Line 135 C++ appcomps.dll!nsAppStartup::Run() Line 207 C++ mozilla.exe!main1(int argc=0x00000001, char * * argv=0x00347a98, nsISupports * nativeApp=0x00bbbfb8) Line 1324 + 0x20 C++ mozilla.exe!main(int argc=0x00000001, char * * argv=0x00347a98) Line 1825 + 0x25 C++ mozilla.exe!mainCRTStartup() Line 398 + 0x11 C kernel32.dll!_BaseProcessStart@4() + 0x23 status 0x80540006 unsigned int ???????? Name: NS_IMAGELIB_ERROR_NO_DECODER mCanceled 0x00000001 unsigned int - entry 0x06fda150 {mKey=0x09cc8f70 mFetchCount=0x00000003 mLastFetched=0x4226f444 ...} nsCacheEntry * mFlags 0x00005f00 unsigned int - binding 0x0b95c4a0 {mRefCnt={mValue=0x00000001 } _mOwningThread={mThread=0x003448f0 } mCacheEntry=0x06fda150 {mKey=0x09cc8f70 mFetchCount=0x00000003 mLastFetched=0x4226f444 ...} ...} nsDiskCacheBinding * mDoomed 0x00000001 int
I got this assertion from http://online.wsj.com/public/us (but I don't get it on the provided above. Current Linux debug build).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P5
-> default owner
Assignee: darin → nobody
Dup of bug 187034?
Depends on: 187034
Depends on: 405407
Another Steps to reproduce it on Linux: 1. load http://www.double.co.nz/video_test/test1.html 2. Reload
OS: Windows XP → All
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1269611984.1269617552.14031.gz&fulltext=1 WINNT 5.2 comm-central-trunk leak test build on 2010/03/26 06:59:44 { [... Maybe some of the previous warnings/errors are related??] ###!!! ASSERTION: file descriptor not closed: '!mFD', file e:/builds/slave/comm-central-trunk-win32-debug/build/mozilla/netwerk/cache/src/nsDiskCacheStreams.cpp, line 344 necko!nsDiskCacheStreamIO::~nsDiskCacheStreamIO+0x000000000000001A (e:\builds\slave\comm-central-trunk-win32-debug\build\mozilla\netwerk\cache\src\nsdiskcachestreams.cpp, line 330) necko!nsDiskCacheStreamIO::`scalar deleting destructor'+0x000000000000000F necko!nsDiskCacheStreamIO::Release+0x0000000000000095 (e:\builds\slave\comm-central-trunk-win32-debug\build\mozilla\netwerk\cache\src\nsdiskcachestreams.cpp, line 297) necko!nsDiskCacheBinding::~nsDiskCacheBinding+0x00000000000000C4 (e:\builds\slave\comm-central-trunk-win32-debug\build\mozilla\netwerk\cache\src\nsdiskcachebinding.cpp, line 137) [...] }
Whiteboard: [orange]
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1269632289.1269640463.14832.gz WINNT 5.2 comm-central-trunk leak test build on 2010/03/26 12:38:09
Severity: normal → major
blocking2.0: --- → ?
http://tinderbox.mozilla.org/showlog.cgi?log=SeaMonkey/1269949156.1269954611.9257.gz&fulltext=1 WINNT 5.2 comm-central-trunk leak test build on 2010/03/30 04:39:16 s: cn-sea-qm-win2k3-01
Not blocking.
blocking2.0: ? → -
Mass marking whiteboard:[orange] bugs WFM (to clean up TBPL bug suggestions) that: * Haven't changed in > 6months * Whose whiteboard contains none of the strings: {disabled,marked,random,fuzzy,todo,fails,failing,annotated,leave open,time-bomb} * Passed a (quick) manual inspection of bug summary/whiteboard to ensure they weren't a false positive. I've also gone through and searched for cases where the whiteboard wasn't labelled correctly after test disabling, by using attachment description & basic comment searches. However if the test for which this bug was about has in fact been disabled/annotated/..., please accept my apologies & reopen/mark the whiteboard appropriately so this doesn't get re-closed in the future (and please ping me via IRC or email so I can try to tweak the saved searches to avoid more edge cases). Sorry for the spam! Filter on: #FFA500
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
Whiteboard: [orange]
You need to log in before you can comment on or make changes to this bug.