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.
+ //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.
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 :-)
Status: NEW → ASSIGNED
Keywords: crash, patch
Priority: -- → P4
Target Milestone: --- → mozilla0.9
this patch actually compiles and doesn't crash :-)
Erh, duh. r=jag
Status: ASSIGNED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.