errors starting chatzilla (no disk space available for user)

NEW
Assigned to

Status

Other Applications
ChatZilla
13 years ago
8 years ago

People

(Reporter: timeless, Assigned: Robert Ginda)

Tracking

({helpwanted})

Trunk
helpwanted

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

13 years ago
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)

[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE)
[nsILocalFile.create]"  nsresult: "0x80004005 (NS_ERROR_FAILURE)"  location: "JS
frame :: chrome://chatzilla/content/lib/js/file-utils.js :: mkdir :: line 249" 
data: no]
+ QueryInterface (function) [native code]
+ message (string) 'Component returned failure code: 0x80004005
(NS_ERROR_FAILURE) [nsILocalFile.create]'
+ result (number) 2147500037
+ name (string) 'NS_ERROR_FAILURE'
+ filename (string) 'chrome://chatzilla/content/lib/js/file-utils.js'
+ lineNumber (number) 249
+ columnNumber (number) 0
+ location (object)
+ inner (object) null
+ data (object) null
+ toString (function) [native code]
+ initialize (function) [native code]
*

after i dismiss the dialog, i get a fairly non functional chatzilla window. it
only has menus: tools, window, and help, and has no text input area.
(Reporter)

Comment 1

13 years ago
#0: function mkdir(localFile=XPComponent:{41}, perms=integer:484) in
<chrome://chatzilla/content/lib/js/file-utils.js> line 249
#1: function initPrefs() in <chrome://chatzilla/content/prefs.js> line 64
#2: function init() in <chrome://chatzilla/content/static.js> line 154
#3: function onLoad() in <chrome://chatzilla/content/handlers.js> line 91
#4: function onload(event=Event:{0}) in
<chrome://chatzilla/content/chatzilla.xul> line 0
(Reporter)

Comment 2

13 years ago
Created attachment 178093 [details]
hacks to get quotamonkey onto moznet/chatzilla

Exception ``[Exception... "Component returned failure code: 0x8052000f
(NS_ERROR_FILE_TOO_BIG) [nsIPrefService.savePrefFile]" nsresult: "0x8052000f
(NS_ERROR_FILE_TOO_BIG)" location: "JS frame ::
chrome://chatzilla/content/lib/js/pref-manager.js :: pm_arrayupdate :: line
256" data: no]'' thrown from function
pm_arrayupdate(prefName=string:"urls.list") in
<chrome://chatzilla/content/lib/js/pref-manager.js> line 256.
Stopped for thrown exception.
#0: function pm_arrayupdate(prefName=string:"urls.list") in
<chrome://chatzilla/content/lib/js/pref-manager.js> line 256
012: }
013: this.prefBranch.setCharPref(prefName,
this.arrayToString(record.realValue));
014: this.prefService.savePrefFile(null);
015: }

#0: function pm_arrayupdate(prefName=string:"urls.list") in
<chrome://chatzilla/content/lib/js/pref-manager.js> line 256
#1: function updateArrayPref() in
<chrome://chatzilla/content/lib/js/pref-manager.js> line 416
#2: function insertLink(matchText=string:"http://www.irchelp.org",
containerTag=HTMLSpanElement:{0}) in <chrome://chatzilla/content/static.js>
line 706
#3: function mng_munge(text=string:"For general IRC help and FAQs, please go to
<http://www.irchelp.org>, for information about ChatZilla go to
<http://www.mozilla.org/projects/rt-messaging/chatzilla/>.",
containerTag=HTMLSpanElement:{0}, data=Object:{8}) in
<chrome://chatzilla/content/lib/xul/munger.js> line 189
#4: function stringToMsg(message=string:"Welcome to ChatZilla...\nUse /attach
<network-name> to connect to a network, or click on one of the network names
below.\nFor general IRC help and FAQs, please go to <http://www.irchelp.org>,
for information about ChatZilla go to
<http://www.mozilla.org/projects/rt-messaging/chatzilla/>.", obj=Object:{89})
in <chrome://chatzilla/content/static.js> line 2230
#5: function __display(message=string:"Welcome to ChatZilla...\nUse /attach
<network-name> to connect to a network, or click on one of the network names
below.\nFor general IRC help and FAQs, please go to <http://www.irchelp.org>,
for information about ChatZilla go to
<http://www.mozilla.org/projects/rt-messaging/chatzilla/>.",
msgtype=string:"HELLO", sourceObj=void:void, destObj=void:void) in
<chrome://chatzilla/content/static.js> line 3545
#6: function init() in <chrome://chatzilla/content/static.js> line 168
#7: function onLoad() in <chrome://chatzilla/content/handlers.js> line 91
#8: function onload(event=Event:{0}) in
<chrome://chatzilla/content/chatzilla.xul> line 0

Exception ``[Exception... "Component returned failure code: 0x8052000f
(NS_ERROR_FILE_TOO_BIG) [nsIPrefService.savePrefFile]" nsresult: "0x8052000f
(NS_ERROR_FILE_TOO_BIG)" location: "JS frame ::
chrome://chatzilla/content/lib/js/pref-manager.js :: pm_setpref :: line 394"
data: no]'' thrown from function pm_setpref(prefName=string:"nickname",
value=string:"quotamonkey") in
<chrome://chatzilla/content/lib/js/pref-manager.js> line 394.
Stopped for thrown exception.
#0: function pm_setpref(prefName=string:"nickname", value=string:"quotamonkey")
in <chrome://chatzilla/content/lib/js/pref-manager.js> line 394
392: }
393:
394: this.prefService.savePrefFile(null);
395:
396: record.realValue = value;
#0: function pm_setpref(prefName=string:"nickname", value=string:"quotamonkey")
in <chrome://chatzilla/content/lib/js/pref-manager.js> line 394
#1: function prefSetter(value=string:"quotamonkey") in
<chrome://chatzilla/content/lib/js/pref-manager.js> line 418
#2: function cli_connect(networkOrName=Object:{20},
requireSecurity=boolean:false) in <chrome://chatzilla/content/static.js> line
2953
#3: function gotoIRCURL(url=Object:{13}) in
<chrome://chatzilla/content/static.js> line 1889
#4: function cmdGotoURL(e=Object:{5}) in
<chrome://chatzilla/content/commands.js> line 1907
#5: function dispatchCommand(command=Object:{14}, e=Object:{5},
flags=void:void) in <chrome://chatzilla/content/commands.js> line 647
#6: function dispatch(text=string:"goto-url", e=Object:{5},
isInteractive=boolean:false, flags=void:void) in
<chrome://chatzilla/content/commands.js> line 363
#7: function onMessageViewClick(e=MouseEvent:{0}) in
<chrome://chatzilla/content/handlers.js> line 191
#8: function onclick(event=MouseEvent:{0}) in
<chrome://chatzilla/content/chatzilla.xul> line 1
(Reporter)

Updated

13 years ago
Summary: error starting chatzilla → errors starting chatzilla (no disk space available for user)

Comment 3

13 years ago
I love NS_ERROR_FAILURE.

"You idiot, you have no disk space!"

I'm not sure can/should try to safe-guard every single place this could happen
(i.e. everywhere), but I will say that forcing a save of the pref file for every
pref change is hurting a lot and I've removed it in one of my patch trees here.

Updated

12 years ago
OS: Windows XP → All
Hardware: PC → All

Updated

12 years ago
Status: UNCONFIRMED → NEW
Ever confirmed: true
(In reply to comment #3)
> I love NS_ERROR_FAILURE.
> 
> "You idiot, you have no disk space!"
> 
> I'm not sure can/should try to safe-guard every single place this could happen
> (i.e. everywhere), but I will say that forcing a save of the pref file for every
> pref change is hurting a lot and I've removed it in one of my patch trees here.

We don't actually do this save forcing anymore, IIRC? Is this still a valid bug?
(Reporter)

Comment 5

10 years ago
*shrug*, I haven't tried playing w/ quotamonkey in recent memory. my current domain is an embedder which is more concerned w/ memory footprint and perf than low disk space, although technically we do have testers who occasionally complain about disk full.

however, we don't ship xul support, so chatzilla's preference behavior really isn't in my problem space.

raistlin is still available (although it's physically off), so if someone wants to play w/ quotamonkey and can't get their own quotas configured, I can setup raistlin as before.

Updated

8 years ago
QA Contact: samuel → chatzilla
You need to log in before you can comment on or make changes to this bug.