Closed Bug 187034 Opened 22 years ago Closed 11 years ago

ASSERTION: file descriptor not closed: '!mFD'

Categories

(Core :: Networking: Cache, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: timeless, Unassigned)

References

Details

(Keywords: assertion)

WARNING: cacheMap->DeleteStorage() failed., file
i:/build/mozilla/netwerk/cache/src/nsDiskCacheStreams.cpp, line 552
###!!! ASSERTION: Flush() failed: 'NS_SUCCEEDED(rv)', file
i:/build/mozilla/netwerk/cache/src/nsDiskCacheStreams.cpp, line 508
(this was caused by bug 187031)
###!!! ASSERTION: file descriptor not closed: '!mFD', file
i:/build/mozilla/netwerk/cache/src/nsDiskCacheStreams.cpp, line 365
Break: at file i:/build/mozilla/netwerk/cache/src/nsDiskCacheStreams.cpp, line 365

nsDebug::Assertion(const char * 0x044d5e68, const char * 0x044d5e60, const char
* 0x044d5e24, int 365) line 280 + 13 bytes
nsDiskCacheStreamIO::Close(nsDiskCacheStreamIO * const 0x1490d388, unsigned int
0) line 365 + 35 bytes
nsDiskCacheStreamIO::~nsDiskCacheStreamIO() line 344
nsDiskCacheStreamIO::`scalar deleting destructor'(unsigned int 1) + 15 bytes
nsDiskCacheStreamIO::Release(nsDiskCacheStreamIO * const 0x1490d388) line 310 +
147 bytes
nsCOMPtr<nsIStreamIO>::~nsCOMPtr<nsIStreamIO>() line 491
nsFileTransport::~nsFileTransport() line 306 + 78 bytes
nsFileTransport::`scalar deleting destructor'(unsigned int 1) + 15 bytes
nsFileTransport::Release(nsFileTransport * const 0x1490d410) line 312 + 147 bytes
nsCOMPtr<nsITransport>::~nsCOMPtr<nsITransport>() line 491
nsCacheEntryDescriptor::nsTransportWrapper::~nsTransportWrapper() line 82 + 38 bytes
nsCacheEntryDescriptor::~nsCacheEntryDescriptor() line 54 + 11 bytes
nsCacheEntryDescriptor::`scalar deleting destructor'(unsigned int 1) + 15 bytes
nsCacheEntryDescriptor::Release(nsCacheEntryDescriptor * const 0x14a600b8) line
36 + 144 bytes
nsCOMPtr<nsICacheEntryDescriptor>::assign_assuming_AddRef(nsICacheEntryDescriptor
* 0x00000000) line 473
nsCOMPtr<nsICacheEntryDescriptor>::assign_with_AddRef(nsISupports * 0x00000000)
line 915
nsCOMPtr<nsICacheEntryDescriptor>::operator=(nsICacheEntryDescriptor *
0x00000000) line 585
nsHttpChannel::CloseCacheEntry(unsigned int 0) line 1364
nsHttpChannel::OnStopRequest(nsHttpChannel * const 0x10c50da4, nsIRequest *
0x1495f044, nsISupports * 0x00000000, unsigned int 0) line 3042
nsOnStopRequestEvent::HandleEvent() line 213
nsARequestObserverEvent::HandlePLEvent(PLEvent * 0x149e0dd4) line 116
PL_HandleEvent(PLEvent * 0x149e0dd4) line 663 + 10 bytes
PL_ProcessPendingEvents(PLEventQueue * 0x00f1bfd0) line 593 + 9 bytes
_md_TimerProc(HWND__ * 0x00d40272, unsigned int 275, unsigned int 0, unsigned
long 3862866668) line 958 + 9 bytes
USER32! 77e13eb0()
USER32! 77e14092()
USER32! 77e13f0f()
nsAppShellService::Run(nsAppShellService * const 0x02c6bd48) line 472
main1(int 3, char * * 0x002e44c0, nsISupports * 0x002d6f08) line 1543 + 32 bytes
main(int 3, char * * 0x002e44c0) line 1904 + 37 bytes
mainCRTStartup() line 338 + 17 bytes
KERNEL32! 77e87903()

-	mFD	0x104a7878
|+	methods	0x30034378 _pr_fileMethods
|	secret	0x104a78d0
|+	lower	0x00000000
|+	higher	0x00000000
|	dtor	0x00000000
\	identity	0

fwiw, this is what secret looked like, i don't speak nspr private.
104A78D0  AA AA AA AA 00 00 00 00  кккк....
104A78D8  00 00 00 00 00 00 00 00  ........
104A78E0  00 00 00 00 00 00 00 00  ........
104A78E8  C4 02 00 00 FD FD FD FD  ─...¤¤¤¤
104A78F0  AB AB AB AB AB AB AB AB  лллллллл
104A78F8  00 00 00 00 00 00 00 00  ........
i see this happening when loading
http://webperso.easyconnect.fr/danielglazman/weblog/index.php/ on cvs trunk
debug build on win2k
updated error message:
###!!! ASSERTION: file descriptor not closed: '!mFD', file e:/mozilla/tree6/mozi
lla/netwerk/cache/src/nsDiskCacheStreams.cpp, line 330
Assignee: gordon → darin
QA Contact: tever → cacheqa
-> default owner
Assignee: darin → nobody
Blocks: 284594
Depends on: 405407
Fixed by bug 405407, bug 8184010 and others in the nsDiskCacheStream.cpp code.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.