Closed Bug 41253 Opened 25 years ago Closed 25 years ago

Can't use lxr with mozilla: bad cache entry

Categories

(Core :: Networking: Cache, defect, P3)

x86
Linux
defect

Tracking

()

VERIFIED WORKSFORME

People

(Reporter: akkzilla, Assigned: neeti)

References

()

Details

(Whiteboard: [dogfood+])

With the 2000060108 mozilla build, I can't use lxr. If I go directly to the url, it doesn't load, and I see on stdout: Error loading URL http://lxr.mozilla.org/seamonkey/ If I go to http://lxr.mozilla.org first, it loads fine, but when I click on seamonkey, it still doesn't load. This page loads fine with 4.7, and this isn't sporadic (so, not likely a network problem with mozilla.org) -- I've tried this several times throughout the day and it always works in 4.7 and fails in mozilla.
lxr is one of our main tools, so this should be dogfood (I keep having to start up 4.7 to do lxr queries).
I also see the error loading URL message in 60108 in winME and the URL failed to load the first time, but after closing and reopening the browser, it seems to work now (though the error message still appears in the console).
Putting on [dogfood+] radar.
Whiteboard: [dogfood+]
http://lxr.mozilla.org/seamonkey/ works fine for me with the current linux build from 06-02-2000, however http://lxr.mozilla.org/seamonkey (without the slash) does not work and reports an error loading the URL.
Doesn't work for me either with or without the slash, on yesterday's optimized or today's debug build.
It even works for me without the slash now (debug build), I see the error only when the page is already loaded, when it is not, it redirects just fine to http://lxr.mozilla.org/seamonkey/ and loads the page. Strange ...
Turns out this is a cache problem. I had the line: user_pref("browser.cache.directory", "/tmp/mozcache"); in my prefs. I deleted the directory /tmp/mozcache, and deleted that line from my prefs, and now I can load the url both with and without the slash. I should have thought to save the old cache in case it might be useful for debugging, but I didn't. Sorry. Does shift-reload work yet to "really reload", bypassing the cache? Otherwise users might get stuck in a state where they may never again be able to access their favorite page.
Assignee: gagan → gordon
Component: Networking → Networking: Cache
Summary: Can't use lxr with mozilla → Can't use lxr with mozilla: bad cache entry
Assignee: gordon → neeti
I can reproduce the problem on windows too. Reassigning to myself. Neeti
With today's linux build 06/06/2000, both http://lxr.mozilla.org/seamonkey and http://lxr.mozilla.org/seamonkey load fine. But my console window shows the error message "Error loading URL http://lxr.mozilla.org/seamonkey" even though the page has loaded. Neeti
I am marking this bug WORKSFORME for now, since we are unable to reproduce the problem and have lost the corrupted cache. Neeti
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
See also the recent comments in bug 39812, which may be related.
works for me too. Verified 2000-07-20-08 : Linux
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.