Closed Bug 14614 Opened 25 years ago Closed 25 years ago

Crash after ProfileManager created a new profile

Categories

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

x86
Linux
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 14407

People

(Reporter: andreas.otte, Assigned: selmer)

Details

[clobber build of 09-22-99 after tree closed for M11] I deleted my .mozilla directory to force a new profile. Calling apprunner, the ProfileManager comes up, I click Next, The next page comes up, but the text fields are unresponsive (grey). I click finish, the ProfileManager vanishes and apprunner crashes with the following stacktrace: #0 0x40f9371b in nsPresContext::PreferenceChanged (this=0x82ddb18, aPrefName=0x87ab398 "browser.startup.homepage") at nsPresContext.cpp:252 #1 0x40f92a67 in PrefChangedCallback ( aPrefName=0x87ab398 "browser.startup.homepage", instance_data=0x82ddb18) at nsPresContext.cpp:53 #2 0x408d07ec in pref_DoCallback ( changed_pref=0x87ab398 "browser.startup.homepage") at prefapi.c:2294 #3 0x408cf86a in pref_HashPref (key=0x87ab398 "browser.startup.homepage", value={stringVal = 0x87ab3d0 "www.mozilla.org", intVal = 142259152, boolVal = 142259152}, type=PREF_STRING, action=PREF_SETDEFAULT) at prefapi.c:1865 #4 0x408cd2ca in PREF_SetDefaultCharPref ( pref_name=0x87ab398 "browser.startup.homepage", value=0x87ab3d0 "www.mozilla.org") at prefapi.c:799 #5 0x408d2c41 in nsPref::SetDefaultCharPref (this=0x8149818, pref=0x87ab398 "browser.startup.homepage", value=0x87ab3d0 "www.mozilla.org") at nsPref.cpp:691 #6 0x40180880 in XPTC_InvokeByIndex (that=0x8149818, methodIndex=38, paramCount=2, params=0xbfffd830) at xptcinvoke_unixish_x86.cpp:160 #7 0x403e34bd in nsXPCWrappedNativeClass::CallWrappedMethod (this=0x8683630, cx=0x82fd690, wrapper=0x87a8b40, desc=0x8594628, callMode=CALL_METHOD, argc=2, argv=0x8402610, vp=0xbfffd9a0) at xpcwrappednativeclass.cpp:751 #8 0x403e57f3 in WrappedNative_CallMethod (cx=0x82fd690, obj=0x8731e30, ... After that the .mozilla directory exists, but there is only a registry file of 376 bytes, nothing more. Starting apprunner again, leads to the same results. I'm not sure this is a Profile Manager problem but it seems to be related.
1. delete mozregistry.dat 2. launch apprunner, and profile manager comes up 3. click next 4. click finish 5. crash Windows stack trace: nsPresContext::PreferenceChanged(const char * 0x033a32e0) line 252 + 19 bytes PrefChangedCallback(const char * 0x033a32e0, void * 0x022421a0) line 55 pref_DoCallback(const char * 0x033a32e0) line 2294 + 17 bytes pref_HashPref(const char * 0x033a32e0, PrefValue {...}, int 32, int 0) line 1865 + 9 bytes PREF_SetDefaultCharPref(const char * 0x033a32e0, const char * 0x033a3260) line 799 + 17 bytes nsPref::SetDefaultCharPref(nsPref * const 0x00dfc5c0, const char * 0x033a32e0, const char * 0x033a3260) line 691 + 13 bytes XPTC_InvokeByIndex(nsISupports * 0x00dfc5c0, unsigned int 38, unsigned int 2, nsXPTCVariant * 0x0089e298) line 135 nsXPCWrappedNativeClass::CallWrappedMethod(JSContext * 0x02ffae10, nsXPCWrappedNative * 0x033a3590, const XPCNativeMemberDescriptor * 0x00b6426c, nsXPCWrappedNativeClass::CallMode CALL_METHOD, unsigned int 2, long * 0x00b4c828, long * 0x0089e438) line 751 + 44 bytes WrappedNative_CallMethod(JSContext * 0x02ffae10, JSObject * 0x02420338, unsigned int 2, long * 0x00b4c828, long * 0x0089e438) line 170 + 34 bytes js_Invoke(JSContext * 0x02ffae10, unsigned int 2, unsigned int 0) line 655 + 26 bytes js_Interpret(JSContext * 0x02ffae10, long * 0x0089ecb0) line 2232 + 15 bytes js_Invoke(JSContext * 0x02ffae10, unsigned int 0, unsigned int 0) line 671 + 13 bytes js_Interpret(JSContext * 0x02ffae10, long * 0x0089f4e4) line 2232 + 15 bytes js_Invoke(JSContext * 0x02ffae10, unsigned int 1, unsigned int 2) line 671 + 13 bytes js_InternalCall(JSContext * 0x02ffae10, JSObject * 0x00add420, long 37804952, unsigned int 1, long * 0x0089f664, long * 0x0089f61c) line 748 + 15 bytes JS_CallFunction(JSContext * 0x02ffae10, JSObject * 0x00add420, JSFunction * 0x030b8560, unsigned int 1, long * 0x0089f664, long * 0x0089f61c) line 2634 + 32 bytes nsJSContext::CallFunction(nsJSContext * const 0x02ffc030, void * 0x00add420, void * 0x030b8560, unsigned int 1, void * 0x0089f664, int * 0x0089f660) line 231 + 39 bytes nsJSEventListener::HandleEvent(nsIDOMEvent * 0x0339edb0) line 103 + 48 bytes nsEventListenerManager::HandleEvent(nsIPresContext & {...}, nsEvent * 0x0089f9cc, nsIDOMEvent * * 0x0089f868, unsigned int 7, nsEventStatus & nsEventStatus_eIgnore) line 1012 + 21 bytes GlobalWindowImpl::HandleDOMEvent(GlobalWindowImpl * const 0x02ffbe14, nsIPresContext & {...}, nsEvent * 0x0089f9cc, nsIDOMEvent * * 0x0089f868, unsigned int 1, nsEventStatus & nsEventStatus_eIgnore) line 2838 nsWebShell::OnEndDocumentLoad(nsWebShell * const 0x02ff6e24, nsIDocumentLoader * 0x02ff4940, nsIChannel * 0x030b4e30, unsigned int 0, nsIDocumentLoaderObserver * 0x02ff6e24) line 3331 + 34 bytes nsDocLoaderImpl::FireOnEndDocumentLoad(nsDocLoaderImpl * 0x02ff4940, unsigned int 0) line 874 nsDocLoaderImpl::OnStopRequest(nsDocLoaderImpl * const 0x02ff4944, nsIChannel * 0x03352230, nsISupports * 0x00000000, unsigned int 0, const unsigned short * 0x00000000) line 759 nsLoadGroup::RemoveChannel(nsLoadGroup * const 0x02ff4fb0, nsIChannel * 0x03352230, nsISupports * 0x00000000, unsigned int 0, const unsigned short * 0x00000000) line 597 + 39 bytes nsFileChannel::OnStopRequest(nsFileChannel * const 0x03352234, nsIChannel * 0x033523a0, nsISupports * 0x00000000, unsigned int 0, const unsigned short * 0x00000000) line 475 nsOnStopRequestEvent::HandleEvent(nsOnStopRequestEvent * const 0x033543c0) line 283 nsStreamListenerEvent::HandlePLEvent(PLEvent * 0x03354170) line 152 + 12 bytes PL_HandleEvent(PLEvent * 0x03354170) line 541 + 10 bytes PL_ProcessPendingEvents(PLEventQueue * 0x00dfccf0) line 500 + 9 bytes _md_EventReceiverProc(HWND__ * 0x0000042c, unsigned int 58817, unsigned int 0, long 14666992) line 970 + 9 bytes KERNEL32! bff7363b() KERNEL32! bff942e7() 00898bee()
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Stack trace is same as on Mac in bug 14407. *** This bug has been marked as a duplicate of 14407 ***
Status: RESOLVED → VERIFIED
Component: Profile Manager → Profile Manager BackEnd
Moving all Profile Manager bugs to new Profile Manager Backend component. Profile Manager component to be deleted.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.