Closed Bug 15578 Opened 26 years ago Closed 26 years ago

Profile migration causes crash in 10/05/99 build.

Categories

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

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: kinmoz, Assigned: sspitzer)

Details

Got the following assertion when trying to run todays build with my old mozregistry.dat. I would hit this assert several times before the profile picker came up. NTDLL! 77f76148() nsDebug::Assertion(char * 0x01bacbf8, char * 0x01bacb04, char * 0x01bacadc, int 74) line 280 + 13 bytes mork_assertion_signal(char * 0x01bacbf8) line 74 + 31 bytes morkEnv::NewError(char * 0x0154ce30) line 365 + 19 bytes morkFile::NewFileErrnoError(morkEnv * 0x0154c960) line 268 morkStdioFile::new_stdio_file_fault(morkEnv * 0x0154c960) line 664 morkStdioFile::OpenStdio(morkEnv * 0x0154c960, char * 0x0154c2c8, char * 0x01bace44) line 735 morkStdioFile::morkStdioFile(morkEnv * 0x0154c960, const morkUsage & {...}, nsIMdbHeap * 0x0154c808, nsIMdbHeap * 0x0154c808, char * 0x0154c2c8, char * 0x01bace44) line 689 morkStdioFile::CreateNewStdioFile(morkEnv * 0x0154c960, nsIMdbHeap * 0x0154c808, char * 0x0154c2c8) line 389 + 61 bytes morkFile::CreateNewFile(morkEnv * 0x0154c960, nsIMdbHeap * 0x0154c808, char * 0x0154c2c8) line 187 + 17 bytes orkinFactory::CreateNewFile(nsIMdbEnv * 0x0154ca48, nsIMdbHeap * 0x0154c808, char * 0x0154c2c8, nsIMdbFile * * 0x0012f230) line 343 + 17 bytes nsGlobalHistory::OpenDB() line 1389 + 65 bytes nsGlobalHistory::Init() line 1280 + 8 bytes NS_NewGlobalHistory(nsISupports * 0x00000000, const nsID & {...}, void * * 0x0012f390) line 530 + 8 bytes nsGenericFactory::CreateInstance(nsGenericFactory * const 0x0150f220, nsISupports * 0x00000000, const nsID & {...}, void * * 0x0012f390) line 38 nsComponentManagerImpl::CreateInstance(nsComponentManagerImpl * const 0x01394490, const nsID & {...}, nsISupports * 0x00000000, const nsID & {...}, void * * 0x0012f390) line 1220 + 24 bytes nsComponentManager::CreateInstance(const nsID & {...}, nsISupports * 0x00000000, const nsID & {...}, void * * 0x0012f390) line 78 nsServiceManagerImpl::GetService(nsServiceManagerImpl * const 0x01394180, const nsID & {...}, const nsID & {...}, nsISupports * * 0x0012f644, nsIShutdownListener * 0x00000000) line 241 + 19 bytes nsServiceManager::GetService(const nsID & {...}, const nsID & {...}, nsISupports * * 0x0012f644, nsIShutdownListener * 0x00000000) line 449 nsService::nsService(char * 0x002cbd88, const nsID & {...}, unsigned int * 0x0012f648) line 302 + 23 bytes nsWebShell::DoLoadURL(nsIURI * 0x01543fc0, char * 0x002cbd80, nsIInputStream * 0x00000000, unsigned int 0, const unsigned int 0, unsigned short * 0x00000000) line 1969 + 23 bytes nsWebShell::LoadURI(nsWebShell * const 0x01510a70, nsIURI * 0x01543fc0, char * 0x002cbd80, nsIInputStream * 0x00000000, int 1, unsigned int 0, const unsigned int 0, nsISupports * 0x00000000, unsigned short * 0x00000000) line 2172 + 32 bytes nsWebShell::LoadURL(nsWebShell * const 0x01510a70, unsigned short * 0x0012fd28, char * 0x002cbd80, nsIInputStream * 0x00000000, int 1, unsigned int 0, const unsigned int 0, nsISupports * 0x00000000, unsigned short * 0x00000000) line 2323 + 52 bytes nsWebShell::LoadURL(nsWebShell * const 0x01510a70, unsigned short * 0x0012fd28, nsIInputStream * 0x00000000, int 1, unsigned int 0, const unsigned int 0, nsISupports * 0x00000000, unsigned short * 0x00000000) line 1911 nsWebShellWindow::Initialize(nsIWebShellWindow * 0x00000000, nsIAppShell * 0x01507f50, nsIURI * 0x0150eaa0, int 0, int 0, nsIXULWindowCallbacks * 0x00000000, int 100, int 100, nsWidgetInitData & {...}) line 438 + 52 bytes nsAppShellService::JustCreateTopWindow(nsAppShellService * const 0x014e47b0, nsIWebShellWindow * 0x00000000, nsIURI * 0x0150eaa0, int 0, int 0, unsigned int 4094, nsIXULWindowCallbacks * 0x00000000, int 100, int 100, nsIWebShellWindow * * 0x0012fe48) line 599 + 47 bytes nsAppShellService::CreateHiddenWindow() line 282 + 57 bytes nsAppShellService::Initialize(nsAppShellService * const 0x014e47b0, nsICmdLineService * 0x014e3b60) line 260 main1(int 1, char * * 0x01394120) line 534 + 16 bytes main(int 1, char * * 0x01394120) line 701 + 13 bytes mainCRTStartup() line 338 + 17 bytes KERNEL32! 77 After selecting my profile and pressing start, I got the following assertion, continuing past the assertion just brings up the profile dialog again. NTDLL! 77f76148() nsDebug::Error(char * 0x028994b0, char * 0x02899470, int 3191) line 305 + 13 bytes nsBookmarksService::ReadBookmarks(nsBookmarksService * const 0x026de4b0) line 3191 + 21 bytes nsBookmarksService::Init() line 1466 + 12 bytes NS_NewBookmarksService(nsISupports * 0x00000000, const nsID & {...}, void * * 0x0012df04) line 2234 + 8 bytes nsGenericFactory::CreateInstance(nsGenericFactory * const 0x02652a00, nsISupports * 0x00000000, const nsID & {...}, void * * 0x0012df04) line 38 nsComponentManagerImpl::CreateInstance(nsComponentManagerImpl * const 0x01394800, const nsID & {...}, nsISupports * 0x00000000, const nsID & {...}, void * * 0x0012df04) line 1220 + 24 bytes nsComponentManager::CreateInstance(const nsID & {...}, nsISupports * 0x00000000, const nsID & {...}, void * * 0x0012df04) line 78 nsServiceManagerImpl::GetService(nsServiceManagerImpl * const 0x013944f0, const nsID & {...}, const nsID & {...}, nsISupports * * 0x0012dfc0, nsIShutdownListener * 0x00000000) line 241 + 19 bytes nsServiceManager::GetService(const nsID & {...}, const nsID & {...}, nsISupports * * 0x0012dfc0, nsIShutdownListener * 0x00000000) line 449 nsService::nsService(const nsID & {...}, const nsID & {...}, unsigned int * 0x0012dfa8) line 292 + 23 bytes nsProfile::StartCommunicator(nsProfile * const 0x0183cca8, char * 0x026c2f50) line 1661 + 23 bytes XPTC_InvokeByIndex(nsISupports * 0x0183cca8, unsigned int 18, unsigned int 1, nsXPTCVariant * 0x0012e114) line 135 nsXPCWrappedNativeClass::CallWrappedMethod(JSContext * 0x015cede0, nsXPCWrappedNative * 0x01709230, const XPCNativeMemberDescriptor * 0x01811ee0, nsXPCWrappedNativeClass::CallMode CALL_METHOD, unsigned int 1, long * 0x017fe348, long * 0x0012e2b4) line 767 + 44 bytes WrappedNative_CallMethod(JSContext * 0x015cede0, JSObject * 0x0180f310, unsigned int 1, long * 0x017fe348, long * 0x0012e2b4) line 186 + 34 bytes js_Invoke(JSContext * 0x015cede0, unsigned int 1, unsigned int 0) line 671 + 26 bytes js_Interpret(JSContext * 0x015cede0, long * 0x0012eb2c) line 2249 + 15 bytes js_Invoke(JSContext * 0x015cede0, unsigned int 0, unsigned int 0) line 687 + 13 bytes js_Interpret(JSContext * 0x015cede0, long * 0x0012f360) line 2249 + 15 bytes js_Invoke(JSContext * 0x015cede0, unsigned int 1, unsigned int 2) line 687 + 13 bytes js_InternalCall(JSContext * 0x015cede0, JSObject * 0x0180f4f0, long 25228536, unsigned int 1, long * 0x0012f4e0, long * 0x0012f498) line 764 + 15 bytes JS_CallFunction(JSContext * 0x015cede0, JSObject * 0x0180f4f0, JSFunction * 0x01729120, unsigned int 1, long * 0x0012f4e0, long * 0x0012f498) line 2650 + 32 bytes nsJSContext::CallFunction(nsJSContext * const 0x016beef0, void * 0x0180f4f0, void * 0x01729120, unsigned int 1, void * 0x0012f4e0, int * 0x0012f4dc) line 231 + 39 bytes nsJSEventListener::HandleEvent(nsIDOMEvent * 0x026c2240) line 103 + 48 bytes nsEventListenerManager::HandleEvent(nsIPresContext & {...}, nsEvent * 0x0012f7d8, nsIDOMEvent * * 0x0012f7a0, unsigned int 7, nsEventStatus & nsEventStatus_eIgnore) line 646 + 21 bytes RDFElementImpl::HandleDOMEvent(RDFElementImpl * const 0x01728630, nsIPresContext & {...}, nsEvent * 0x0012f7d8, nsIDOMEvent * * 0x0012f7a0, unsigned int 1, nsEventStatus & nsEventStatus_eIgnore) line 2889 nsEventStateManager::CheckForAndDispatchClick(nsEventStateManager * const 0x0173b490, nsIPresContext & {...}, nsMouseEvent * 0x0012fb4c, nsEventStatus & nsEventStatus_eIgnore) line 1003 + 42 bytes nsEventStateManager::PostHandleEvent(nsEventStateManager * const 0x0173b490, nsIPresContext & {...}, nsGUIEvent * 0x0012fb4c, nsIFrame * 0x0173d120, nsEventStatus & nsEventStatus_eIgnore, nsIView * 0x016ec120) line 474 + 24 bytes PresShell::HandleEvent(PresShell * const 0x016eca54, nsIView * 0x016ec120, nsGUIEvent * 0x0012fb4c, nsEventStatus & nsEventStatus_eIgnore) line 2107 + 43 bytes nsView::HandleEvent(nsView * const 0x016ec120, nsGUIEvent * 0x0012fb4c, unsigned int 28, nsEventStatus & nsEventStatus_eIgnore, int & 0) line 834 nsViewManager::DispatchEvent(nsViewManager * const 0x016eb4e0, nsGUIEvent * 0x0012fb4c, nsEventStatus & nsEventStatus_eIgnore) line 1670 HandleEvent(nsGUIEvent * 0x0012fb4c) line 63 nsWindow::DispatchEvent(nsWindow * const 0x016ec1b4, nsGUIEvent * 0x0012fb4c, nsEventStatus & nsEventStatus_eIgnore) line 342 + 10 bytes nsWindow::DispatchWindowEvent(nsGUIEvent * 0x0012fb4c) line 363 nsWindow::DispatchMouseEvent(unsigned int 301, nsPoint * 0x00000000) line 3306 + 21 bytes ChildWindow::DispatchMouseEvent(unsigned int 301, nsPoint * 0x00000000) line 3524 nsWindow::ProcessMessage(unsigned int 514, unsigned int 0, long 29753626, long * 0x0012fd5c) line 2533 + 24 bytes nsWindow::WindowProc(void * 0x07b30904, unsigned int 514, unsigned int 0, long 29753626) line 520 + 27 bytes USER32! 77e71250() CSSParserImpl::ParseAzimuth(int &, nsCSSValue &) line 3040 + 18 bytes So to get passed this, I removed (actually renamed) my mozregistry.dat file and tried to migrate my communicator 4.x profile using apprunner -installer. The profile dialog starts up okay, I select my profile to migrate, press start, it spins for a bit, then the following assertion is thrown: NTDLL! 77f76148() nsDebug::Error(char * 0x028494b0, char * 0x02849470, int 3191) line 305 + 13 bytes nsBookmarksService::ReadBookmarks(nsBookmarksService * const 0x02605f60) line 3191 + 21 bytes nsProfile::StartCommunicator(nsProfile * const 0x0183d828, char * 0x02692a90) line 1663 + 12 bytes XPTC_InvokeByIndex(nsISupports * 0x0183d828, unsigned int 18, unsigned int 1, nsXPTCVariant * 0x0012e114) line 135 nsXPCWrappedNativeClass::CallWrappedMethod(JSContext * 0x016be120, nsXPCWrappedNative * 0x017067a0, const XPCNativeMemberDescriptor * 0x0181dd30, nsXPCWrappedNativeClass::CallMode CALL_METHOD, unsigned int 1, long * 0x018086f8, long * 0x0012e2b4) line 767 + 44 bytes WrappedNative_CallMethod(JSContext * 0x016be120, JSObject * 0x0181a600, unsigned int 1, long * 0x018086f8, long * 0x0012e2b4) line 186 + 34 bytes js_Invoke(JSContext * 0x016be120, unsigned int 1, unsigned int 0) line 671 + 26 bytes js_Interpret(JSContext * 0x016be120, long * 0x0012eb2c) line 2249 + 15 bytes js_Invoke(JSContext * 0x016be120, unsigned int 0, unsigned int 0) line 687 + 13 bytes js_Interpret(JSContext * 0x016be120, long * 0x0012f360) line 2249 + 15 bytes js_Invoke(JSContext * 0x016be120, unsigned int 1, unsigned int 2) line 687 + 13 bytes js_InternalCall(JSContext * 0x016be120, JSObject * 0x0181a7e0, long 25274344, unsigned int 1, long * 0x0012f4e0, long * 0x0012f498) line 764 + 15 bytes JS_CallFunction(JSContext * 0x016be120, JSObject * 0x0181a7e0, JSFunction * 0x01726b00, unsigned int 1, long * 0x0012f4e0, long * 0x0012f498) line 2650 + 32 bytes nsJSContext::CallFunction(nsJSContext * const 0x016bdef0, void * 0x0181a7e0, void * 0x01726b00, unsigned int 1, void * 0x0012f4e0, int * 0x0012f4dc) line 231 + 39 bytes nsJSEventListener::HandleEvent(nsIDOMEvent * 0x0268f7e0) line 103 + 48 bytes nsEventListenerManager::HandleEvent(nsIPresContext & {...}, nsEvent * 0x0012f7d8, nsIDOMEvent * * 0x0012f7a0, unsigned int 7, nsEventStatus & nsEventStatus_eIgnore) line 646 + 21 bytes RDFElementImpl::HandleDOMEvent(RDFElementImpl * const 0x017263a0, nsIPresContext & {...}, nsEvent * 0x0012f7d8, nsIDOMEvent * * 0x0012f7a0, unsigned int 1, nsEventStatus & nsEventStatus_eIgnore) line 2889 nsEventStateManager::CheckForAndDispatchClick(nsEventStateManager * const 0x0173af20, nsIPresContext & {...}, nsMouseEvent * 0x0012fb4c, nsEventStatus & nsEventStatus_eIgnore) line 1003 + 42 bytes nsEventStateManager::PostHandleEvent(nsEventStateManager * const 0x0173af20, nsIPresContext & {...}, nsGUIEvent * 0x0012fb4c, nsIFrame * 0x0173cca0, nsEventStatus & nsEventStatus_eIgnore, nsIView * 0x016ec8f0) line 474 + 24 bytes PresShell::HandleEvent(PresShell * const 0x016ecdb4, nsIView * 0x016ec8f0, nsGUIEvent * 0x0012fb4c, nsEventStatus & nsEventStatus_eIgnore) line 2107 + 43 bytes nsView::HandleEvent(nsView * const 0x016ec8f0, nsGUIEvent * 0x0012fb4c, unsigned int 28, nsEventStatus & nsEventStatus_eIgnore, int & 0) line 834 nsViewManager::DispatchEvent(nsViewManager * const 0x016ec6f0, nsGUIEvent * 0x0012fb4c, nsEventStatus & nsEventStatus_eIgnore) line 1670 HandleEvent(nsGUIEvent * 0x0012fb4c) line 63 nsWindow::DispatchEvent(nsWindow * const 0x016ec984, nsGUIEvent * 0x0012fb4c, nsEventStatus & nsEventStatus_eIgnore) line 342 + 10 bytes nsWindow::DispatchWindowEvent(nsGUIEvent * 0x0012fb4c) line 363 nsWindow::DispatchMouseEvent(unsigned int 301, nsPoint * 0x00000000) line 3306 + 21 bytes ChildWindow::DispatchMouseEvent(unsigned int 301, nsPoint * 0x00000000) line 3524 nsWindow::ProcessMessage(unsigned int 514, unsigned int 0, long 30015774, long * 0x0012fd5c) line 2533 + 24 bytes nsWindow::WindowProc(void * 0x03c40946, unsigned int 514, unsigned int 0, long 30015774) line 520 + 27 bytes USER32! 77e71250() nsEvent Continuing passed the assertion above, leaves the profile dialog up, pressing the start again causes a crash: nsPrefMigrationFactory::CreateInstance(nsPrefMigrationFactory * const 0x026a19d0, nsISupports * 0x00000000, const nsID & {...}, void * * 0x0012dfe8) line 104 + 17 bytes nsComponentManagerImpl::CreateInstance(nsComponentManagerImpl * const 0x013944a0, const nsID & {...}, nsISupports * 0x00000000, const nsID & {...}, void * * 0x0012dfe8) line 1220 + 24 bytes nsComponentManager::CreateInstance(const nsID & {...}, nsISupports * 0x00000000, const nsID & {...}, void * * 0x0012dfe8) line 78 nsProfile::MigrateProfile(nsProfile * const 0x0183d688, char * 0x02617790) line 1946 + 43 bytes XPTC_InvokeByIndex(nsISupports * 0x0183d688, unsigned int 19, unsigned int 1, nsXPTCVariant * 0x0012e114) line 135 nsXPCWrappedNativeClass::CallWrappedMethod(JSContext * 0x016bc120, nsXPCWrappedNative * 0x016bf6f0, const XPCNativeMemberDescriptor * 0x018152c4, nsXPCWrappedNativeClass::CallMode CALL_METHOD, unsigned int 1, long * 0x01808598, long * 0x0012e2b4) line 767 + 44 bytes WrappedNative_CallMethod(JSContext * 0x016bc120, JSObject * 0x01812690, unsigned int 1, long * 0x01808598, long * 0x0012e2b4) line 186 + 34 bytes js_Invoke(JSContext * 0x016bc120, unsigned int 1, unsigned int 0) line 671 + 26 bytes js_Interpret(JSContext * 0x016bc120, long * 0x0012eb2c) line 2249 + 15 bytes js_Invoke(JSContext * 0x016bc120, unsigned int 0, unsigned int 0) line 687 + 13 bytes js_Interpret(JSContext * 0x016bc120, long * 0x0012f360) line 2249 + 15 bytes js_Invoke(JSContext * 0x016bc120, unsigned int 1, unsigned int 2) line 687 + 13 bytes js_InternalCall(JSContext * 0x016bc120, JSObject * 0x01812870, long 25241720, unsigned int 1, long * 0x0012f4e0, long * 0x0012f498) line 764 + 15 bytes JS_CallFunction(JSContext * 0x016bc120, JSObject * 0x01812870, JSFunction * 0x01721ec0, unsigned int 1, long * 0x0012f4e0, long * 0x0012f498) line 2650 + 32 bytes nsJSContext::CallFunction(nsJSContext * const 0x016bbc20, void * 0x01812870, void * 0x01721ec0, unsigned int 1, void * 0x0012f4e0, int * 0x0012f4dc) line 231 + 39 bytes nsJSEventListener::HandleEvent(nsIDOMEvent * 0x02616cf0) line 103 + 48 bytes nsEventListenerManager::HandleEvent(nsIPresContext & {...}, nsEvent * 0x0012f7d8, nsIDOMEvent * * 0x0012f7a0, unsigned int 7, nsEventStatus & nsEventStatus_eIgnore) line 646 + 21 bytes RDFElementImpl::HandleDOMEvent(RDFElementImpl * const 0x0171ff20, nsIPresContext & {...}, nsEvent * 0x0012f7d8, nsIDOMEvent * * 0x0012f7a0, unsigned int 1, nsEventStatus & nsEventStatus_eIgnore) line 2889 nsEventStateManager::CheckForAndDispatchClick(nsEventStateManager * const 0x01738870, nsIPresContext & {...}, nsMouseEvent * 0x0012fb4c, nsEventStatus & nsEventStatus_eIgnore) line 1003 + 42 bytes nsEventStateManager::PostHandleEvent(nsEventStateManager * const 0x01738870, nsIPresContext & {...}, nsGUIEvent * 0x0012fb4c, nsIFrame * 0x0173a5e0, nsEventStatus & nsEventStatus_eIgnore, nsIView * 0x016eb120) line 474 + 24 bytes PresShell::HandleEvent(PresShell * const 0x016ebb24, nsIView * 0x016eb120, nsGUIEvent * 0x0012fb4c, nsEventStatus & nsEventStatus_eIgnore) line 2107 + 43 bytes nsView::HandleEvent(nsView * const 0x016eb120, nsGUIEvent * 0x0012fb4c, unsigned int 28, nsEventStatus & nsEventStatus_eIgnore, int & 0) line 834 nsViewManager::DispatchEvent(nsViewManager * const 0x016ea4e0, nsGUIEvent * 0x0012fb4c, nsEventStatus & nsEventStatus_eIgnore) line 1670 HandleEvent(nsGUIEvent * 0x0012fb4c) line 63 nsWindow::DispatchEvent(nsWindow * const 0x016eb1b4, nsGUIEvent * 0x0012fb4c, nsEventStatus & nsEventStatus_eIgnore) line 342 + 10 bytes nsWindow::DispatchWindowEvent(nsGUIEvent * 0x0012fb4c) line 363 nsWindow::DispatchMouseEvent(unsigned int 301, nsPoint * 0x00000000) line 3306 + 21 bytes ChildWindow::DispatchMouseEvent(unsigned int 301, nsPoint * 0x00000000) line 3524 nsWindow::ProcessMessage(unsigned int 514, unsigned int 0, long 29557004, long * 0x0012fd5c) line 2533 + 24 bytes nsWindow::WindowProc(void * 0x0386083e, unsigned int 514, unsigned int 0, long 29557004) line 520 + 27 bytes USER32! 77e71250() CSSDe
Seth, I'm cc'ing you on this since Don is on vacation this week. It may be duplicate of my 15570. Migration is working on Mac and Linux today.
Assignee: dbragg → sspitzer
fix in hand, seeking approval.
Status: NEW → ASSIGNED
fix checked in, but not for all these assertions / crashes. kin, try this: pull mozilla/profile/pref-migrator and mozilla/mailnews/base and rebuild. remove your mozregistry.dat and your Users50 directory run apprunner -installer again and migrate your 4.x account let me know if you still have these problems.
Picking up Seth's fixes makes things work much better now!
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
marking fixed, and my fix maked kin's problem go away.
Status: RESOLVED → VERIFIED
working on build 19991006
Target Milestone: M11
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.