Closed Bug 286992 Opened 20 years ago Closed 12 years ago

error does not mention lack of available disk space: Profile Creation failed: Profile couldn't be created. Probably the chosen folder isn't writable. (2/2)

Categories

(Core Graveyard :: Profile: BackEnd, defect, P5)

x86
Windows XP
defect

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: timeless, Unassigned)

References

Details

(Keywords: 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)

<title>Alert
<p>Mozilla cannot use the profile "User" because it is in use.

<p>Please choose another profile or create a new one."	const unsigned short *

<input type=submit value=ok>OK

it's a pretty dialog, unfortunately it's pretty wrong. the os refused to
allocate disk space for the user. there are no instances of mozilla running as
user test and the user test has *never* used the profile "User", only created it
in a successful attempt to run out of usable disk space (by reaching the disk
quota).

0 [native frame]
1 onStart() ["chrome://communicator/content/profile/profileSelection.js":264]
    profileList = [object XULElement @ 0x2db7560]
    selected = [object XULElement @ 0xb6d358]
    promptService = [xpconnect wrapped (nsISupports, hsIPromptService, nsIPrompt
Service) @ 0x17f50a0]
    profilename = "User"
    lString = undefined
    title = undefined
    profileDir = undefined
    errorMessage = undefined
    profileDirMissingTitle = undefined
    offlineState = [object XULElement @ 0x2e107f0]
    ioService = [xpconnect wrapped nsIIOService @ 0x2f2e1f0]
    autoSelectLastProfile = [object XULElement @ 0x2e21958]
    brandName = "Mozilla"
    message = "Mozilla cannot use the profile "User" because it is in use.

 Please choose another profile or create a new one."
    fatalError = false
    appStartup = undefined
    this = [object ChromeWindow @ 0x16c9ab0]
2 anonymous(event = [object Event @ 0x30227d8]) ["chrome://global/content/bindin
gs/dialog.xml":275]
    this = [object ChromeWindow @ 0x16c9ab0]
3 _fireButtonEvent(aDlgType = "accept") ["chrome://global/content/bindings/dialo
g.xml":276]
    event = [object Event @ 0x30227d8]
    noCancel = true
    handler = "return onStart();"
    fn = [function]
    returned = undefined
    this = [object XULElement @ 0x1810928]
4 _doButtonCommand(aDlgType = "accept") ["chrome://global/content/bindings/dialo
g.xml":250]
    button = [object XULElement @ 0x17e1b58]
    noCancel = undefined
    this = [object XULElement @ 0x1810928]
5 _handleButtonCommand(aEvent = [object MouseEvent @ 0x2eb4f28]) ["chrome://glob
al/content/bindings/dialog.xml":239]
    this = [object XULElement @ 0x17e1b58]
6 [native frame]

>	xpc3250.dll!XPCWrappedNative::CallMethod(XPCCallContext & ccx={...},
XPCWrappedNative::CallMode mode=CALL_METHOD)  Line 2068 + 0x1e	C++
 	xpc3250.dll!XPC_WN_CallMethod(JSContext * cx=0x01687460, JSObject *
obj=0x00c4f1b8, unsigned int argc=3, long * argv=0x02f5cce8, long *
vp=0x0012d0e8)  Line 1311 + 0xb	C++
 	js3250.dll!js_Invoke(JSContext * cx=0x01687460, unsigned int argc=3, unsigned
int flags=0)  Line 1293 + 0x20	C
 	js3250.dll!js_Interpret(JSContext * cx=0x01687460, unsigned char *
pc=0x017d57b4, long * result=0x0012dc5c)  Line 3566 + 0xf	C
 	js3250.dll!js_Invoke(JSContext * cx=0x01687460, unsigned int argc=1, unsigned
int flags=2)  Line 1313 + 0x13	C
 	xpc3250.dll!nsXPCWrappedJSClass::CallMethod(nsXPCWrappedJS *
wrapper=0x02e3f510, unsigned short methodIndex=3, const nsXPTMethodInfo *
info=0x016a9d60, nsXPTCMiniVariant * nativeParams=0x0012df70)  Line 1413 + 0x14	C++
 	xpc3250.dll!nsXPCWrappedJS::CallMethod(unsigned short methodIndex=3, const
nsXPTMethodInfo * info=0x016a9d60, nsXPTCMiniVariant * params=0x0012df70) 
Line 450	C++
 	xpcom_core.dll!PrepareAndDispatch(nsXPTCStubBase * self=0x02e3f510, unsigned
int methodIndex=3, unsigned int * args=0x0012e038, unsigned int *
stackBytesToPop=0x0012e028)  Line 117 + 0x1c	C++
 	xpcom_core.dll!SharedStub()  Line 147	C++
 	gklayout.dll!nsEventListenerManager::HandleEventSubType(nsListenerStruct *
aListenerStruct=0x02e3f718, nsIDOMEvent * aDOMEvent=0x02ed2e50,
nsIDOMEventTarget * aCurrentTarget=0x02f204f0, unsigned int aSubType=8, unsigned
int aPhaseFlags=7)  Line 1557 + 0x14	C++
 	gklayout.dll!nsEventListenerManager::HandleEvent(nsPresContext *
aPresContext=0x0170e888, nsEvent * aEvent=0x0012e5b0, nsIDOMEvent * *
aDOMEvent=0x0012e564, nsIDOMEventTarget * aCurrentTarget=0x02f204f0, unsigned
int aFlags=7, nsEventStatus * aEventStatus=0x0012e5ac)  Line 1656	C++
 	gklayout.dll!nsXULElement::HandleDOMEvent(nsPresContext *
aPresContext=0x0170e888, nsEvent * aEvent=0x0012e5b0, nsIDOMEvent * *
aDOMEvent=0x0012e564, unsigned int aFlags=7, nsEventStatus *
aEventStatus=0x0012e5ac)  Line 2046	C++
 	gklayout.dll!PresShell::HandleDOMEventWithTarget(nsIContent *
aTargetContent=0x017f9500, nsEvent * aEvent=0x0012e5b0, nsEventStatus *
aStatus=0x0012e5ac)  Line 6152	C++
 	gklayout.dll!nsButtonBoxFrame::MouseClicked(nsPresContext *
aPresContext=0x0170e888, nsGUIEvent * aEvent=0x0012e818)  Line 177	C++
 	gklayout.dll!nsButtonBoxFrame::HandleEvent(nsPresContext *
aPresContext=0x0170e888, nsGUIEvent * aEvent=0x0012e818, nsEventStatus *
aEventStatus=0x0012ecdc)  Line 149	C++
 	gklayout.dll!PresShell::HandleEventInternal(nsEvent * aEvent=0x0012e818,
nsIView * aView=0x00000000, unsigned int aFlags=1, nsEventStatus *
aStatus=0x0012ecdc)  Line 6115 + 0x27	C++
 	gklayout.dll!PresShell::HandleEventWithTarget(nsEvent * aEvent=0x0012e818,
nsIFrame * aFrame=0x02e0fe30, nsIContent * aContent=0x017f9500, unsigned int
aFlags=1, nsEventStatus * aStatus=0x0012ecdc)  Line 5961 + 0x16	C++
 	gklayout.dll!nsEventStateManager::CheckForAndDispatchClick(nsPresContext *
aPresContext=0x0170e888, nsMouseEvent * aEvent=0x0012ef34, nsEventStatus *
aStatus=0x0012ecdc)  Line 2960 + 0x42	C++
 	gklayout.dll!nsEventStateManager::PostHandleEvent(nsPresContext *
aPresContext=0x0170e888, nsEvent * aEvent=0x0012ef34, nsIFrame *
aTargetFrame=0x02e0fe30, nsEventStatus * aStatus=0x0012ecdc, nsIView *
aView=0x01713698)  Line 1946 + 0x17	C++
 	gklayout.dll!PresShell::HandleEventInternal(nsEvent * aEvent=0x0012ef34,
nsIView * aView=0x01713698, unsigned int aFlags=1, nsEventStatus *
aStatus=0x0012ecdc)  Line 6125 + 0x34	C++
 	gklayout.dll!PresShell::HandleEvent(nsIView * aView=0x01713698, nsGUIEvent *
aEvent=0x0012ef34, nsEventStatus * aEventStatus=0x0012ecdc, int aForceHandle=1,
int & aHandled=1)  Line 5900 + 0x19	C++
 	gklayout.dll!nsViewManager::HandleEvent(nsView * aView=0x01713698, nsGUIEvent
* aEvent=0x0012ef34, int aCaptured=1)  Line 2497	C++
 	gklayout.dll!nsViewManager::DispatchEvent(nsGUIEvent * aEvent=0x0012ef34,
nsEventStatus * aStatus=0x0012ee10)  Line 2217 + 0x14	C++
 	gklayout.dll!HandleEvent(nsGUIEvent * aEvent=0x0012ef34)  Line 174	C++
 	gkwidget.dll!nsWindow::DispatchEvent(nsGUIEvent * event=0x0012ef34,
nsEventStatus & aStatus=nsEventStatus_eIgnore)  Line 1150 + 0xa	C++
 	gkwidget.dll!nsWindow::DispatchWindowEvent(nsGUIEvent * event=0x0012ef34) 
Line 1171	C++
 	gkwidget.dll!nsWindow::DispatchMouseEvent(unsigned int aEventType=301,
unsigned int wParam=0, nsPoint * aPoint=0x00000000)  Line 5762 + 0x15	C++
 	gkwidget.dll!ChildWindow::DispatchMouseEvent(unsigned int aEventType=301,
unsigned int wParam=0, nsPoint * aPoint=0x00000000)  Line 6018	C++
 	gkwidget.dll!nsWindow::ProcessMessage(unsigned int msg=514, unsigned int
wParam=0, long lParam=17301843, long * aRetValue=0x0012f408)  Line 4419 + 0x1c	C++
 	gkwidget.dll!nsWindow::WindowProc(HWND__ * hWnd=0x00260bc8, unsigned int
msg=514, unsigned int wParam=0, long lParam=17301843)  Line 1442 + 0x1b	C++
 	user32.dll!_InternalCallWinProc@20()  + 0x28	
 	user32.dll!_UserCallWinProcCheckWow@32()  + 0xb7	
 	user32.dll!_DispatchMessageWorker@8()  + 0xdc	
 	user32.dll!_DispatchMessageW@4()  + 0xf	
 	gkwidget.dll!nsAppShell::DispatchNativeEvent(int aRealEvent=1, void *
aEvent=0x0246aa5c)  Line 221	C++
 	appshell.dll!nsXULWindow::ShowModal()  Line 401	C++
 	appshell.dll!nsContentTreeOwner::ShowAsModal()  Line 428	C++
 	embedcomponents.dll!nsWindowWatcher::OpenWindowJS(nsIDOMWindow *
aParent=0x00000000, const char * aUrl=0x01689428, const char * aName=0x0249d524,
const char * aFeatures=0x0249d128, int aDialog=1, unsigned int argc=1, long *
argv=0x00c4b630, nsIDOMWindow * * _retval=0x0012faa4)  Line 789	C++
 	embedcomponents.dll!nsWindowWatcher::OpenWindow(nsIDOMWindow *
aParent=0x00000000, const char * aUrl=0x01689428, const char * aName=0x0249d524,
const char * aFeatures=0x0249d128, nsISupports * aArguments=0x016894d0,
nsIDOMWindow * * _retval=0x0012faa4)  Line 465 + 0x30	C++
 	profile.dll!nsProfile::LoadDefaultProfileDir(nsCString & profileURLStr={...},
int canInteract=1)  Line 541 + 0x5a	C++
 	profile.dll!nsProfile::StartupWithArgs(nsICmdLineService *
cmdLineArgs=0x00b69b60, int canInteract=1)  Line 355 + 0x10	C++
 	appcomps.dll!nsAppStartup::DoProfileStartup(nsICmdLineService *
aCmdLineService=0x00b69b60, int canInteract=1)  Line 169 + 0x1f	C++
 	mozilla.exe!InitializeProfileService(nsICmdLineService *
cmdLineArgs=0x00b69b60)  Line 964 + 0x1f	C++
 	mozilla.exe!main1(int argc=1, char * * argv=0x00347930, nsISupports *
nativeApp=0x00c06230)  Line 1229 + 0xe	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	

expected results:
1. proper error reporting
2. let me use the profile anyway (readonly if necessary); at this point i can no
longer run mozilla, and because of 1 i have no idea how to rectify the situation.
Summary: error does not mention lack of available disk space: Profile Creation failed: Profile couldn't be created. Probably the chosen folder isn't writable. → error does not mention lack of available disk space: Profile Creation failed: Profile couldn't be created. Probably the chosen folder isn't writable. (2/2)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P5
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → INCOMPLETE
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.