Closed Bug 37701 Opened 24 years ago Closed 24 years ago

Can't create first profile or use existing profile

Categories

(SeaMonkey :: Startup & Profiles, defect, P1)

PowerPC
All
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 37776

People

(Reporter: pierre, Assigned: bugs)

References

Details

(Whiteboard: [dogfood+])

Tested with tonight's debug build on the Mac.
- Trash the Users50 folder (in the Documents folder)
- Trash the Mozilla Registry file (in the Preferences folder)
- Launch Mozilla, you are asked to create a new profile
- Enter a name, click Finish
==> Nothing happens. No profile is created, you can't launch the app.

The debug window shows the following messages:
-------------------------------------------------------------------------------
nsNativeComponentLoader: autoregistering begins.
nsNativeComponentLoader: autoregistering succeeded
nNCL: registering deferred (0)
initialized appshell
Profile Manager : Profile Wizard and Manager activites : Begin
Profile Manager : Command Line Options : Begin
DEBUG BUILDS ONLY:  we are forcing you to use the profile manager to help smoke 
test it.
Profile Manager : Command Line Options : End
WEBSHELL+ = 1
•••WARNING: trying to append to a bad nsFileSpec, file nsFileSpecMac.cpp, line 
932
WARNING: trying to append to a bad nsFileSpec, file nsFileSpecMac.cpp, line 932
•••WARNING: trying to append to a bad nsFileSpec, file nsFileSpecMac.cpp, line 
932
WARNING: trying to append to a bad nsFileSpec, file nsFileSpecMac.cpp, line 932
Note: verifyreflow is disabled
Note: styleverifytree is disabled
Note: frameverifytree is disabled
Move window by 511.5,373.5
warning: property script.31 already exists
WEBSHELL+ = 2
•••WARNING: trying to append to a bad nsFileSpec, file nsFileSpecMac.cpp, line 
932
WARNING: trying to append to a bad nsFileSpec, file nsFileSpecMac.cpp, line 932
###!!! ASSERTION: null widget ptr: 'nsnull != aWidget', file nsView.cpp, line 191
•••WARNING: trying to append to a bad nsFileSpec, file nsFileSpecMac.cpp, line 
932
WARNING: trying to append to a bad nsFileSpec, file nsFileSpecMac.cpp, line 932
WEBSHELL+ = 3
•••WARNING: trying to append to a bad nsFileSpec, file nsFileSpecMac.cpp, line 
932
WARNING: trying to append to a bad nsFileSpec, file nsFileSpecMac.cpp, line 932
calling loadpage...
startPage:: newProfile1_1
got a request
Move window by 237,67
screen x 274screen y 226
•••WARNING: trying to append to a bad nsFileSpec, file nsFileSpecMac.cpp, line 
932
WARNING: trying to append to a bad nsFileSpec, file nsFileSpecMac.cpp, line 932
###!!! ASSERTION: Couldn't get to the globalObject: 'globalObject', file 
nsDOMWindowList.cpp, line 153
JavaScript error: 
chrome://global/content/wizardHandlerSet.js line 155: 
window.frames[this.content_frame.name] has no properties

got a request
->>>>>>>>>>>>>> Write Clipboard to memory
•••WARNING: trying to append to a bad nsFileSpec, file nsFileSpecMac.cpp, line 
932
WARNING: trying to append to a bad nsFileSpec, file nsFileSpecMac.cpp, line 932
###!!! ASSERTION: Couldn't get to the globalObject: 'globalObject', file 
nsDOMWindowList.cpp, line 153
JavaScript error: 
chrome://global/content/wizardHandlerSet.js line 155: 
window.frames[this.content_frame.name] has no properties

*** IN ONFINISH
JavaScript error: 
chrome://global/content/widgetStateManager.js line 313: url has no properties

->>>>>>>>>>>>>> Write Clipboard to memory
->>>>>>>>>>>>>> Write Clipboard to memory
WEBSHELL- = 2
WEBSHELL- = 1
->>>>>>>>>>>>>> Write Clipboard to memory
-----------------------------------------------------------------------------

When clicking Finish, you get the error in widgetStateManager.js line 313 (url 
has no properties).
Marked P1/blocker.
Severity: normal → blocker
Priority: P3 → P1
The bug did not exist in a debug build from Friday morning.
change to All OS 

5AM 5/1/00 cvs pull fails on  Linux
Fresh pull from midnight last night.  Crashed on startup trying to create new 
profile.  Also crashes trying to use existing profile.  Stack traces are shown 
below:

I. Creating New Profile

nsSelection::GetFrameForNodeOffset(nsSelection * const 0x0276c2d0, nsIContent * 
0x0277c230, int 6, nsIFrame * * 0x0012d7b8, int * 0x0012d7ac) line 1795 + 42 
bytes
nsSelection::ConstrainFrameAndPointToAnchorSubtree(nsIPresContext * 0x0276e7b0, 
nsIFrame * 0x00f3760c, nsPoint & {...}, nsIFrame * * 0x0012d808, nsPoint & 
{...}) line 1074 + 39 bytes
nsSelection::HandleDrag(nsSelection * const 0x0276c2d0, nsIPresContext * 
0x0276e7b0, nsIFrame * 0x00f3760c, nsPoint & {...}) line 1533 + 28 bytes
nsFrame::HandleDrag(nsFrame * const 0x00f3760c, nsIPresContext * 0x0276e7b0, 
nsGUIEvent * 0x0012db94, nsEventStatus * 0x0012da84) line 1092
nsFrame::HandleEvent(nsFrame * const 0x00f3760c, nsIPresContext * 0x0276e7b0, 
nsGUIEvent * 0x0012db94, nsEventStatus * 0x0012da84) line 779
nsButtonBoxFrame::HandleEvent(nsButtonBoxFrame * const 0x00f3760c, 
nsIPresContext * 0x0276e7b0, nsGUIEvent * 0x0012db94, nsEventStatus * 
0x0012da84) line 97
PresShell::HandleEventInternal(nsEvent * 0x0012db94, nsIView * 0x0276b240, 
nsEventStatus * 0x0012da84) line 3418 + 38 bytes
PresShell::HandleEvent(PresShell * const 0x0276c364, nsIView * 0x0276b240, 
nsGUIEvent * 0x0012db94, nsEventStatus * 0x0012da84, int & 1) line 3338 + 23 
bytes
nsView::HandleEvent(nsView * const 0x0276b240, nsGUIEvent * 0x0012db94, unsigned 
int 28, nsEventStatus * 0x0012da84, int & 1) line 774
nsViewManager2::DispatchEvent(nsViewManager2 * const 0x0276b420, nsGUIEvent * 
0x0012db94, nsEventStatus * 0x0012da84) line 1372
HandleEvent(nsGUIEvent * 0x0012db94) line 69
nsWindow::DispatchEvent(nsWindow * const 0x0276c774, nsGUIEvent * 0x0012db94, 
nsEventStatus & nsEventStatus_eIgnore) line 527 + 10 bytes
nsWindow::DispatchWindowEvent(nsGUIEvent * 0x0012db94) line 548
nsWindow::DispatchMouseEvent(unsigned int 300, nsPoint * 0x00000000) line 3357 + 
21 bytes
ChildWindow::DispatchMouseEvent(unsigned int 300, nsPoint * 0x00000000) line 
3564
nsWindow::ProcessMessage(unsigned int 512, unsigned int 1, long 16974250, long * 
0x0012def8) line 2455 + 24 bytes
nsWindow::WindowProc(HWND__ * 0x02fd0ae8, unsigned int 512, unsigned int 1, long 
16974250) line 780 + 27 bytes
USER32! 77e71268()
010301aa()

II. Using Existing Profile

nsSelection::GetFrameForNodeOffset(nsSelection * const 0x03750cf0, nsIContent * 
0x0371c618, int 0, nsIFrame * * 0x0012929c, int * 0x001292a4) line 1795 + 42 
bytes
nsCaret::SetupDrawingFrameAndOffset() line 468 + 53 bytes
nsCaret::DrawCaret() line 687 + 8 bytes
nsCaret::StartBlinking() line 384
nsCaret::SetCaretVisible(nsCaret * const 0x037506e0, int 1) line 168 + 8 bytes
PresShell::SetCaretEnabled(PresShell * const 0x03750d90, int 1) line 1778 + 31 
bytes
nsTextEditorFocusListener::Focus(nsIDOMEvent * 0x03770d64) line 1080
nsEventListenerManager::HandleEvent(nsIPresContext * 0x0371c0b0, nsEvent * 
0x00129758, nsIDOMEvent * * 0x001294e8, unsigned int 7, nsEventStatus * 
0x00129754) line 1081 + 17 bytes
nsDocument::HandleDOMEvent(nsDocument * const 0x0371c9b0, nsIPresContext * 
0x0371c0b0, nsEvent * 0x00129758, nsIDOMEvent * * 0x001294e8, unsigned int 1, 
nsEventStatus * 0x00129754) line 2624
nsEventStateManager::PreHandleEvent(nsEventStateManager * const 0x03762cf0, 
nsIPresContext * 0x0371c0b0, nsEvent * 0x00129998, nsIFrame * 0x030ca318, 
nsEventStatus * 0x00129900, nsIView * 0x0374f420) line 344
PresShell::HandleEventInternal(nsEvent * 0x00129998, nsIView * 0x0374f420, 
nsEventStatus * 0x00129900) line 3397 + 43 bytes
PresShell::HandleEvent(PresShell * const 0x03750d84, nsIView * 0x0374f420, 
nsGUIEvent * 0x00129998, nsEventStatus * 0x00129900, int & 0) line 3338 + 23 
bytes
nsView::HandleEvent(nsView * const 0x0374f420, nsGUIEvent * 0x00129998, unsigned 
int 28, nsEventStatus * 0x00129900, int & 0) line 774
nsViewManager2::DispatchEvent(nsViewManager2 * const 0x0374f600, nsGUIEvent * 
0x00129998, nsEventStatus * 0x00129900) line 1372
HandleEvent(nsGUIEvent * 0x00129998) line 69
nsWindow::DispatchEvent(nsWindow * const 0x0376aa34, nsGUIEvent * 0x00129998, 
nsEventStatus & nsEventStatus_eIgnore) line 527 + 10 bytes
nsWindow::DispatchWindowEvent(nsGUIEvent * 0x00129998) line 548
nsWindow::DispatchFocus(unsigned int 105) line 3503 + 15 bytes
nsWindow::ProcessMessage(unsigned int 7, unsigned int 19729366, long 0, long * 
0x00129cc4) line 2563 + 19 bytes
nsWindow::WindowProc(HWND__ * 0x01c80c96, unsigned int 7, unsigned int 19729366, 
long 0) line 780 + 27 bytes
USER32! 77e7131f()
USER32! 77e71a3d()
NTDLL! 77f7637b()
nsGfxTextControlFrame::SetFocus(int 1, int 1) line 1842 + 23 bytes
nsHTMLInputElement::SetFocus(nsHTMLInputElement * const 0x036774fc, 
nsIPresContext * 0x03014f00) line 622
nsEventStateManager::PreHandleEvent(nsEventStateManager * const 0x036502f0, 
nsIPresContext * 0x03014f00, nsEvent * 0x0012a338, nsIFrame * 0x00ef6d40, 
nsEventStatus * 0x0012a2a0, nsIView * 0x03011990) line 438
PresShell::HandleEventInternal(nsEvent * 0x0012a338, nsIView * 0x03011990, 
nsEventStatus * 0x0012a2a0) line 3397 + 43 bytes
PresShell::HandleEvent(PresShell * const 0x030113a4, nsIView * 0x03011990, 
nsGUIEvent * 0x0012a338, nsEventStatus * 0x0012a2a0, int & 0) line 3338 + 23 
bytes
nsView::HandleEvent(nsView * const 0x03011990, nsGUIEvent * 0x0012a338, unsigned 
int 28, nsEventStatus * 0x0012a2a0, int & 0) line 774
nsViewManager2::DispatchEvent(nsViewManager2 * const 0x030126f0, nsGUIEvent * 
0x0012a338, nsEventStatus * 0x0012a2a0) line 1372
HandleEvent(nsGUIEvent * 0x0012a338) line 69
nsWindow::DispatchEvent(nsWindow * const 0x03011864, nsGUIEvent * 0x0012a338, 
nsEventStatus & nsEventStatus_eIgnore) line 527 + 10 bytes
nsWindow::DispatchWindowEvent(nsGUIEvent * 0x0012a338) line 548
nsWindow::DispatchFocus(unsigned int 107) line 3503 + 15 bytes
nsWindow::ProcessMessage(unsigned int 7, unsigned int 133434124, long 0, long * 
0x0012a664) line 2566 + 19 bytes
nsWindow::WindowProc(HWND__ * 0x012d0bd6, unsigned int 7, unsigned int 
133434124, long 0) line 780 + 27 bytes
USER32! 77e7131f()
USER32! 77e71a3d()
NTDLL! 77f7637b()
GlobalWindowImpl::Focus(GlobalWindowImpl * const 0x02bc5954) line 1214 + 23 
bytes
nsWebShellWindow::HandleEvent(nsGUIEvent * 0x0012a8e0) line 538
nsWindow::DispatchEvent(nsWindow * const 0x02bb84d4, nsGUIEvent * 0x0012a8e0, 
nsEventStatus & nsEventStatus_eIgnore) line 527 + 10 bytes
nsWindow::DispatchWindowEvent(nsGUIEvent * 0x0012a8e0) line 548
nsWindow::DispatchFocus(unsigned int 105) line 3503 + 15 bytes
nsWindow::ProcessMessage(unsigned int 7, unsigned int 0, long 0, long * 
0x0012ac0c) line 2563 + 19 bytes
nsWindow::WindowProc(HWND__ * 0x07f40b0c, unsigned int 7, unsigned int 0, long 
0) line 780 + 27 bytes
USER32! 77e7131f()
USER32! 77e71a3d()
NTDLL! 77f7637b()
USER32! 77e7136c()
nsWindow::DefaultWindowProc(HWND__ * 0x07f40b0c, unsigned int 6, unsigned int 1, 
long 0) line 807
USER32! 77e72ba5()
USER32! 77e72b78()
nsWindow::WindowProc(HWND__ * 0x07f40b0c, unsigned int 6, unsigned int 1, long 
0) line 787 + 31 bytes
USER32! 77e7131f()
USER32! 77e71a3d()
NTDLL! 77f7637b()
nsGfxTextControlFrame::SetFocus(int 1, int 0) line 1842 + 23 bytes
nsGfxTextControlFrame::InstallEditor(nsGfxTextControlFrame * const 0x00f1693c) 
line 3047
EnderTempObserver::OnEndDocumentLoad(EnderTempObserver * const 0x0371b920, 
nsIDocumentLoader * 0x0371cd10, nsIChannel * 0x03751fa0, unsigned int 0) line 
4825
nsWebShell::OnEndDocumentLoad(nsWebShell * const 0x0371b230, nsIDocumentLoader * 
0x0371cd10, nsIChannel * 0x03751fa0, unsigned int 0) line 1192
nsWebShell::SetDocument(nsWebShell * const 0x0371b110, nsIDOMDocument * 
0x0371c9b4, nsIDOMElement * 0x0371c6e0) line 1731 + 45 bytes
nsGfxTextControlFrame::CreateSubDoc(nsRect * 0x00000000) line 1399 + 59 bytes
nsGfxTextControlFrame::EnsureEditor(nsGfxTextControlFrame * const 0x00f1693c) 
line 765 + 16 bytes
nsGfxTextControlFrame::SetFocus(int 1, int 1) line 1805 + 19 bytes
nsHTMLInputElement::SetFocus(nsHTMLInputElement * const 0x036774fc, 
nsIPresContext * 0x03014f00) line 622
nsHTMLInputElement::Focus(nsHTMLInputElement * const 0x036774f0) line 595 + 28 
bytes
HTMLInputElementFocus(JSContext * 0x02bc5450, JSObject * 0x030c54f8, unsigned 
int 0, long * 0x00f2df60, long * 0x0012bc78) line 804 + 15 bytes
js_Invoke(JSContext * 0x02bc5450, unsigned int 0, unsigned int 0) line 686 + 23 
bytes
js_Interpret(JSContext * 0x02bc5450, long * 0x0012c5a0) line 2483 + 15 bytes
js_Invoke(JSContext * 0x02bc5450, unsigned int 1, unsigned int 2) line 702 + 13 
bytes
js_InternalInvoke(JSContext * 0x02bc5450, JSObject * 0x00f46000, long 16015320, 
unsigned int 0, unsigned int 1, long * 0x0012c738, long * 0x0012c6d8) line 775 + 
19 bytes
JS_CallFunctionValue(JSContext * 0x02bc5450, JSObject * 0x00f46000, long 
16015320, unsigned int 1, long * 0x0012c738, long * 0x0012c6d8) line 2794 + 31 
bytes
nsJSContext::CallEventHandler(nsJSContext * const 0x02bc11b0, void * 0x00f46000, 
void * 0x00f45fd8, unsigned int 1, void * 0x0012c738, int * 0x0012c734, int 0) 
line 787 + 33 bytes
nsJSEventListener::HandleEvent(nsIDOMEvent * 0x036692f4) line 154 + 64 bytes
nsEventListenerManager::HandleEventSubType(nsListenerStruct * 0x0366c730, 
nsIDOMEvent * 0x036692f4, unsigned int 1, unsigned int 2) line 703 + 19 bytes
nsEventListenerManager::HandleEvent(nsIPresContext * 0x03014f00, nsEvent * 
0x0012cf38, nsIDOMEvent * * 0x0012cda0, unsigned int 2, nsEventStatus * 
0x0012cf5c) line 1111 + 29 bytes
nsXULElement::HandleDOMEvent(nsXULElement * const 0x03448600, nsIPresContext * 
0x03014f00, nsEvent * 0x0012cf38, nsIDOMEvent * * 0x0012cda0, unsigned int 2, 
nsEventStatus * 0x0012cf5c) line 3294
nsXULElement::HandleDOMEvent(nsXULElement * const 0x03677700, nsIPresContext * 
0x03014f00, nsEvent * 0x0012cf38, nsIDOMEvent * * 0x0012cda0, unsigned int 2, 
nsEventStatus * 0x0012cf5c) line 3317 + 39 bytes
nsGenericElement::HandleDOMEvent(nsIPresContext * 0x03014f00, nsEvent * 
0x0012cf38, nsIDOMEvent * * 0x0012cda0, unsigned int 1, nsEventStatus * 
0x0012cf5c) line 1042 + 39 bytes
nsHTMLInputElement::HandleDOMEvent(nsHTMLInputElement * const 0x036774fc, 
nsIPresContext * 0x03014f00, nsEvent * 0x0012cf38, nsIDOMEvent * * 0x00000000, 
unsigned int 1, nsEventStatus * 0x0012cf5c) line 730 + 31 bytes
nsEventStateManager::SendFocusBlur(nsEventStateManager * const 0x036502f0, 
nsIPresContext * 0x03014f00, nsIContent * 0x036774fc) line 2177
nsEventStateManager::SetContentState(nsEventStateManager * const 0x036502f0, 
nsIContent * 0x036774fc, int 2) line 1986
nsHTMLInputElement::SetFocus(nsHTMLInputElement * const 0x036774fc, 
nsIPresContext * 0x03014f00) line 617
nsHTMLInputElement::Focus(nsHTMLInputElement * const 0x036774f0) line 595 + 28 
bytes
HTMLInputElementFocus(JSContext * 0x02bc5450, JSObject * 0x030c54f8, unsigned 
int 0, long * 0x00f2df34, long * 0x0012d22c) line 804 + 15 bytes
js_Invoke(JSContext * 0x02bc5450, unsigned int 0, unsigned int 0) line 686 + 23 
bytes
js_Interpret(JSContext * 0x02bc5450, long * 0x0012db54) line 2483 + 15 bytes
js_Invoke(JSContext * 0x02bc5450, unsigned int 1, unsigned int 2) line 702 + 13 
bytes
js_InternalInvoke(JSContext * 0x02bc5450, JSObject * 0x00f46000, long 16015320, 
unsigned int 0, unsigned int 1, long * 0x0012dcec, long * 0x0012dc8c) line 775 + 
19 bytes
JS_CallFunctionValue(JSContext * 0x02bc5450, JSObject * 0x00f46000, long 
16015320, unsigned int 1, long * 0x0012dcec, long * 0x0012dc8c) line 2794 + 31 
bytes
nsJSContext::CallEventHandler(nsJSContext * const 0x02bc11b0, void * 0x00f46000, 
void * 0x00f45fd8, unsigned int 1, void * 0x0012dcec, int * 0x0012dce8, int 0) 
line 787 + 33 bytes
nsJSEventListener::HandleEvent(nsIDOMEvent * 0x036b8ae4) line 154 + 64 bytes
nsEventListenerManager::HandleEventSubType(nsListenerStruct * 0x0366c730, 
nsIDOMEvent * 0x036b8ae4, unsigned int 1, unsigned int 7) line 703 + 19 bytes
nsEventListenerManager::HandleEvent(nsIPresContext * 0x03014f00, nsEvent * 
0x0012e324, nsIDOMEvent * * 0x0012e1e8, unsigned int 7, nsEventStatus * 
0x0012e348) line 1111 + 29 bytes
nsXULElement::HandleDOMEvent(nsXULElement * const 0x03448600, nsIPresContext * 
0x03014f00, nsEvent * 0x0012e324, nsIDOMEvent * * 0x0012e1e8, unsigned int 1, 
nsEventStatus * 0x0012e348) line 3294
nsEventStateManager::SendFocusBlur(nsEventStateManager * const 0x036502f0, 
nsIPresContext * 0x03014f00, nsIContent * 0x03448600) line 2177
nsEventStateManager::SetContentState(nsEventStateManager * const 0x036502f0, 
nsIContent * 0x03448600, int 2) line 1986
nsXULElement::SetFocus(nsXULElement * const 0x03448600, nsIPresContext * 
0x03014f00) line 4188
nsXULElement::Focus(nsXULElement * const 0x03448610) line 4112 + 28 bytes
XULElementFocus(JSContext * 0x02bc5450, JSObject * 0x00f46000, unsigned int 0, 
long * 0x00f2df04, long * 0x0012e664) line 451 + 15 bytes
js_Invoke(JSContext * 0x02bc5450, unsigned int 0, unsigned int 0) line 686 + 23 
bytes
js_Interpret(JSContext * 0x02bc5450, long * 0x0012ef8c) line 2483 + 15 bytes
js_Invoke(JSContext * 0x02bc5450, unsigned int 1, unsigned int 2) line 702 + 13 
bytes
js_InternalInvoke(JSContext * 0x02bc5450, JSObject * 0x00ea7078, long 15536272, 
unsigned int 0, unsigned int 1, long * 0x0012f124, long * 0x0012f0c4) line 775 + 
19 bytes
JS_CallFunctionValue(JSContext * 0x02bc5450, JSObject * 0x00ea7078, long 
15536272, unsigned int 1, long * 0x0012f124, long * 0x0012f0c4) line 2794 + 31 
bytes
nsJSContext::CallEventHandler(nsJSContext * const 0x02bc11b0, void * 0x00ea7078, 
void * 0x00ed1090, unsigned int 1, void * 0x0012f124, int * 0x0012f120, int 0) 
line 787 + 33 bytes
nsJSEventListener::HandleEvent(nsIDOMEvent * 0x03716254) line 154 + 64 bytes
nsEventListenerManager::HandleEventSubType(nsListenerStruct * 0x033f3a00, 
nsIDOMEvent * 0x03716254, unsigned int 1, unsigned int 7) line 703 + 19 bytes
nsEventListenerManager::HandleEvent(nsIPresContext * 0x03014f00, nsEvent * 
0x0012fbc0, nsIDOMEvent * * 0x0012f538, unsigned int 7, nsEventStatus * 
0x0012fc00) line 1269 + 35 bytes
GlobalWindowImpl::HandleDOMEvent(GlobalWindowImpl * const 0x02bc5950, 
nsIPresContext * 0x03014f00, nsEvent * 0x0012fbc0, nsIDOMEvent * * 0x0012f538, 
unsigned int 1, nsEventStatus * 0x0012fc00) line 386
nsWebShell::OnEndDocumentLoad(nsWebShell * const 0x02bc6630, nsIDocumentLoader * 
0x02bc66e0, nsIChannel * 0x032b0960, unsigned int 0) line 1162 + 56 bytes
nsDocLoaderImpl::FireOnEndDocumentLoad(nsDocLoaderImpl * 0x02bc66e0, nsIChannel 
* 0x032b0960, unsigned int 0) line 689
nsDocLoaderImpl::DocLoaderIsEmpty(unsigned int 0) line 519
nsDocLoaderImpl::OnStopRequest(nsDocLoaderImpl * const 0x02bc66e4, nsIChannel * 
0x036b7f80, nsISupports * 0x00000000, unsigned int 0, const unsigned short * 
0x00000000) line 462
nsLoadGroup::RemoveChannel(nsLoadGroup * const 0x02bc2050, nsIChannel * 
0x036b7f80, nsISupports * 0x00000000, unsigned int 0, const unsigned short * 
0x00000000) line 544 + 39 bytes
nsFileChannel::OnStopRequest(nsFileChannel * const 0x036b7f84, nsIChannel * 
0x036b7c50, nsISupports * 0x00000000, unsigned int 0, const unsigned short * 
0x00000000) line 634
nsOnStopRequestEvent::HandleEvent(nsOnStopRequestEvent * const 0x036f1530) line 
307
nsStreamListenerEvent::HandlePLEvent(PLEvent * 0x036f14e0) line 97 + 12 bytes
PL_HandleEvent(PLEvent * 0x036f14e0) line 575 + 10 bytes
PL_ProcessPendingEvents(PLEventQueue * 0x025504d0) line 520 + 9 bytes
_md_EventReceiverProc(HWND__ * 0x068c0b16, unsigned int 49471, unsigned int 0, 
long 39126224) line 1030 + 9 bytes
USER32! 77e71268()
025504d0()
These crashes did not exist on a debug build from Sunday morning.
Keywords: dogfood
Here's a patch that fixed creating new profiles on Win32 - looks like it would 
fix that problem on all platforms:

Index: nsSelection.cpp
===================================================================
RCS file: /cvsroot/mozilla/layout/base/src/nsSelection.cpp,v
retrieving revision 3.19
diff -r3.19 nsSelection.cpp
1795c1795,1799
<     result = theNode->ChildAt(childIndex, *getter_AddRefs(theNode));
---
>  nsIContent * newNode = nsnull;
> 
>     result = theNode->ChildAt(childIndex, newNode);
> 
>  theNode = newNode;
1799c1803
< 
---
> 
changing platform to all
Linux build 2000-05-01-09 and Win 2000-04-30-16

error in console on Linux run - pressing FINISH button in Create Profile Wizard
*** IN ONFINISH
Javascript error:
chrome://global/content/widgetStateManager.js line 313: url has no properties
OS: Mac System 8.5 → All
This comes (assuming the patch above fixes it) from one of my leak fixes last
night.

If that fixes the problem, then could somebody check it in (should this go in
before the tree reopens?), but with the comment in the code that it's an
intentional leak because you will crash without it.

I don't see the crash, but I'm updating to the very tip now to see if there's
another change from Sunday that this conflicts with.
Putting on dogfood+ radar
Whiteboard: [dogfood+]
You know, I was actually thinking when I wrote that that the construct used
there might not be completely safe, and for some reason I left it that way. 
Does the following patch fix it too?  (I think it might be that construction,
rather than the leak.)  (Note:  patch written by hand.)

Index: nsSelection.cpp
===================================================================
RCS file: /cvsroot/mozilla/layout/base/src/nsSelection.cpp,v
retrieving revision 3.19
diff -r3.19 nsSelection.cpp
1795c1795,1797
<     result = theNode->ChildAt(childIndex, *getter_AddRefs(theNode));
---
>     nsIContent * newNode = nsnull;
>     result = theNode->ChildAt(childIndex, newNode);
>     theNode = dont_AddRef(newNode);
Summary: Can't create first profile → Can't create first profile or use existing profile
*** Bug 37728 has been marked as a duplicate of this bug. ***
This is more general that profile manager.  Updating.
Assignee: ben → mjudge
Component: Profile Manager FrontEnd → Browser-General
*** Bug 37740 has been marked as a duplicate of this bug. ***
Blocks: 37731
Reassign to kin@netscape.com.
Assignee: mjudge → kin
Checked fix into:

    mozilla/layout/base/src/nsSelection.cpp   revision 3.20

r=mjudge@netscape.com, a=leaf@netscape.com
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Target Milestone: --- → M16
I am still seeing this bug, running this afternoons pull with 3.20 version of 
nsSelection.cpp on HPUX - there has been no change all day for me.
I am also still seeing this bug, on Linux.  Reopening.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
This bug was really tracking two different problems.  I assume you're seeing the
originally described problem, rather than the crash, right?
Same thing here on the Mac. I did not experience any crash before or after 

updating nsSelection.cpp and the problem as originally described still exists.

Changing back to Profile Manager, and reassigning.
Assignee: kin → ben
Status: REOPENED → NEW
Component: Browser-General → Profile Manager FrontEnd
Yes, I'm seeing the javascript error when I click "Finish".

*** This bug has been marked as a duplicate of 37776 ***
Status: NEW → RESOLVED
Closed: 24 years ago24 years ago
Resolution: --- → DUPLICATE
and bug 37776 is fixed
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.