Closed Bug 286989 Opened 21 years ago Closed 18 years ago

0[344708]: ###!!! ASSERTION: failed to open cookies.txt for writing: 'Error', file r:/mozilla/netwerk/cookie/src/nsCookieService.cpp, line 1043

Categories

(Core :: Networking: Cookies, defect)

x86
Windows XP
defect
Not set
major

Tracking

()

RESOLVED WONTFIX

People

(Reporter: timeless, Unassigned)

Details

(Keywords: assertion, dataloss, helpwanted)

preface: user = test os = wxp fs = ntfs5 quotas = enabled for user test on volume c:, limit: 1mb if you need access to a quotable account running on w2k, it can be arranged (rdc/mstsc/rdesktop to raistlin) > necko.dll!nsCookieService::DoLazyWrite(nsITimer * aTimer=0x084137e8, void * aClosure=0x06ffb0a8) Line 731 C++ service->Write(); nsCookieService::Write returned 2152857616 unsigned int so, you're also ignoring the write failure. xpcom_core.dll!nsDebug::Assertion(const char * aStr=0x00f6cbb8, const char * aExpr=0x00f6cbb0, const char * aFile=0x00f6cb7c, int aLine=1043) Line 109 C++ > necko.dll!nsCookieService::Write() Line 1043 + 0x1a C++ necko.dll!nsCookieService::DoLazyWrite(nsITimer * aTimer=0x084137e8, void * aClosure=0x06ffb0a8) Line 731 C++ xpcom_core.dll!nsTimerImpl::Fire() Line 383 + 0x11 C++ xpcom_core.dll!nsTimerManager::FireNextIdleTimer() Line 617 C++ gkwidget.dll!nsAppShell::Run() Line 142 C++ appcomps.dll!nsAppStartup::Run() Line 208 C++ mozilla.exe!main1(int argc=1, char * * argv=0x00347930, nsISupports * nativeApp=0x00c06230) Line 1325 + 0x20 C++ mozilla.exe!main(int argc=1, char * * argv=0x00347930) Line 1831 + 0x25 C++ mozilla.exe!mainCRTStartup() Line 398 + 0x11 C kernel32.dll!_BaseProcessStart@4() + 0x23
There isn't much you can do about this. The disk is full, something goes wrong. too bad.
but, perhaps it is wrong that we are hitting an assertion. the code should gracefully handle low disk space conditions without throwing asserts, since are supposed to only indicate programming errors.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P5
-> default owner
Assignee: darin → nobody
valid bug, but -> wontfix since we're now using the storage backend in cookies (and i doubt this is worth fixing on branch)
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.