Closed
Bug 74503
Opened 23 years ago
Closed 23 years ago
Crash in ImageCache.cpp when cache disabled
Categories
(Core :: Graphics: ImageLib, defect, P4)
Tracking
()
VERIFIED
FIXED
mozilla0.9
People
(Reporter: jag+mozbugs, Assigned: pavlov)
Details
(Keywords: crash)
Attachments
(3 files)
1.64 KB,
patch
|
Details | Diff | Splinter Review | |
1.46 KB,
patch
|
Details | Diff | Splinter Review | |
1.52 KB,
patch
|
Details | Diff | Splinter Review |
To prefs.js add: user_pref("browser.cache.enable", false); (Additionally, have: user_pref("browser.enable.cache", false); user_pref("browser.cache.disk.enable", false); not sure if it's needed but I'm too tired/lazy to figure out right now) start mozilla. See it crash. The problem is that an assumption is made about the cache always being available, which is wrong (GetCacheSession(...)). I'll attach my quick hack which "fixed" this for me.
Reporter | ||
Comment 1•23 years ago
|
||
+ //NS_ASSERTION(gSession, "Unable to create a cache session"); doesn't make much sense, either add a line that outputs a warning or don't put anything back.
Reporter | ||
Comment 3•23 years ago
|
||
Sorry timeless, next time I'll more explicitely say "this is _not_ supposed to be checked in as is, it is merely an indication of what I did to work around / fix this bug" to save you the trouble of reviewing the code :-)
Assignee | ||
Comment 4•23 years ago
|
||
Assignee | ||
Updated•23 years ago
|
Reporter | ||
Comment 5•23 years ago
|
||
r=jag
Assignee | ||
Comment 6•23 years ago
|
||
Assignee | ||
Comment 7•23 years ago
|
||
this patch actually compiles and doesn't crash :-)
Reporter | ||
Comment 8•23 years ago
|
||
Erh, duh. r=jag
Comment 9•23 years ago
|
||
sr=blizzard
Assignee | ||
Comment 10•23 years ago
|
||
fixed
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•