Closed Bug 37738 Opened 24 years ago Closed 24 years ago

multiple profiles: fail to migrate a profile when we click "Start Mozilla"

Categories

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

x86
Windows NT
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: sspitzer, Assigned: bugs)

References

Details

(Keywords: smoketest, Whiteboard: [dogfood+])

remove mozregistry.dat and Users50

run mozilla -installer, and migrate my 4.x profile

I get this assertion

NTDLL! 77f7629c()
nsDebug::Assertion(const char * 0x0111469c, const char * 0x01114688, const char 
* 0x0111464c, int 545) line 191 + 13 bytes
nsSpecialFileSpec::operator=(nsSpecialFileSpec::Type App_SearchFile50) line 545 
+ 39 bytes
nsFileLocator::GetFileLocation(nsFileLocator * const 0x0262ed00, unsigned int 
66636, nsIFileSpec * * 0x0012eee0) line 613
InternetSearchDataSource::GetCategoryList() line 1132 + 52 bytes
InternetSearchDataSource::DeferredInit(InternetSearchDataSource * const 
0x0358a830) line 840 + 8 bytes
InternetSearchDataSource::Init(InternetSearchDataSource * const 0x0358a830) line 
819
NS_NewInternetSearchService(nsISupports * 0x00000000, const nsID & {...}, void * 
* 0x0012f010) line 1974 + 9 bytes
nsGenericFactory::CreateInstance(nsGenericFactory * const 0x0358a900, 
nsISupports * 0x00000000, const nsID & {...}, void * * 0x0012f010) line 48
nsComponentManagerImpl::CreateInstance(nsComponentManagerImpl * const 
0x00c444f0, const nsID & {...}, nsISupports * 0x00000000, const nsID & {...}, 
void * * 0x0012f010) line 1158 + 24 bytes
nsComponentManager::CreateInstance(const nsID & {...}, nsISupports * 0x00000000, 
const nsID & {...}, void * * 0x0012f010) line 82
nsServiceManagerImpl::GetService(nsServiceManagerImpl * const 0x00c44860, const 
nsID & {...}, const nsID & {...}, nsISupports * * 0x0012f1a4, 
nsIShutdownListener * 0x00000000) line 293 + 19 bytes
nsServiceManagerImpl::GetService(nsServiceManagerImpl * const 0x00c44860, const 
char * 0x0012f244, const nsID & {...}, nsISupports * * 0x0012f1a4, 
nsIShutdownListener * 0x00000000) line 432
nsServiceManager::GetService(const char * 0x0012f244, const nsID & {...}, 
nsISupports * * 0x0012f1a4, nsIShutdownListener * 0x00000000) line 545
RDFServiceImpl::GetDataSource(RDFServiceImpl * const 0x026b66b0, const char * 
0x0012f488, nsIRDFDataSource * * 0x0012f560) line 1122 + 50 bytes
nsXULDocument::CheckTemplateBuilder(nsIContent * 0x0357f0a0) line 5468 + 61 
bytes
nsXULDocument::ResumeWalk() line 4727 + 14 bytes
nsXULDocument::OnStreamComplete(nsXULDocument * const 0x031eb224, 
nsIStreamLoader * 0x00000000, nsISupports * 0x00000000, unsigned int 0, unsigned 
int 22558, const char * 0x00f0edd0) line 5099 + 11 bytes
nsStreamLoader::OnStopRequest(nsStreamLoader * const 0x0356b084, nsIChannel * 
0x0356cd00, nsISupports * 0x00000000, unsigned int 0, const unsigned short * 
0x00000000) line 120 + 78 bytes
nsResChannel::EndRequest(unsigned int 0, const unsigned short * 0x00000000) line 
753 + 50 bytes
nsResChannel::OnStopRequest(nsResChannel * const 0x0356cd04, nsIChannel * 
0x0356c9a0, nsISupports * 0x00000000, unsigned int 0, const unsigned short * 
0x00000000) line 747
nsFileChannel::OnStopRequest(nsFileChannel * const 0x0356c9a4, nsIChannel * 
0x0356c8e0, nsISupports * 0x00000000, unsigned int 0, const unsigned short * 
0x00000000) line 625 + 45 bytes
nsOnStopRequestEvent::HandleEvent(nsOnStopRequestEvent * const 0x0356ab10) line 
307
nsStreamListenerEvent::HandlePLEvent(PLEvent * 0x0356ac20) line 97 + 12 bytes
PL_HandleEvent(PLEvent * 0x0356ac20) line 575 + 10 bytes
PL_ProcessPendingEvents(PLEventQueue * 0x026b5c90) line 520 + 9 bytes
_md_EventReceiverProc(HWND__ * 0x00f80272, unsigned int 49422, unsigned int 0, 
long 40590480) line 1030 + 9 bytes
USER32! 77e71820()
026b5c90()
hmm, this may not be a search problem, but a nsFileLocator problem.

my bookmarks aren't showing up, and my sidebar is blank.
yeah, I'm getting nsFileLocator weirdness all over.  (in mailnews, too.)
Blocks: 37731
*** Bug 37731 has been marked as a duplicate of this bug. ***
marking as a blocker.  if I can't migrate, I can't even smoketest.  I'm hosed.

since I don't think this is rjc's bug, re-assign to me while I debug.
Assignee: rjc → sspitzer
Severity: normal → blocker
Keywords: smoketest
Target Milestone: --- → M16
using build 2000-05-01-11 - automigration is successful (Win95- verified 
mail/bookmarks only)
On my machine with multiple profiles, migration does not take place (WinNT- no 
bookmarks, mail wizard pops up)
gbush:  thanks for the data.  I've got multiple profiles.

still debugging, we fail because after we migrate, the profile count is zero, 
which causes all sort of badness.

off the top of my head, I'd say when I click Start Mozilla, we aren't really 
migrating my selected 4.x profile.  still looking.

Status: NEW → ASSIGNED
Component: Search → Profile Manager BackEnd
re-assigning to ben.

ben, the problem is in profileSelection.js

if( selected.getAttribute("rowMigrate") == "no" ) {

fails when I've selected 4.x profile.  this used to work, probably broke with 
your changes over the weekend.
Assignee: sspitzer → ben
Status: ASSIGNED → NEW
Ben can you give us an ETA on this, it's the last known smoketest bug keeping
the tree closed.

Seth, thanks as always for the great detective work to figure out what was going
on and who the bug belonged to.
updating summary to reflect real bug.  the assertion the search code was just a
symptom.
Summary: assertion on migration: "failed to copy search.rdf" → multiple profiles: fail to migrate a profile when we click "Start Mozilla"
oh darn. 
Status: NEW → ASSIGNED
fix checked in. 
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Putting on [dogfood+] radar.
Whiteboard: [dogfood+]
switching qa to gbush
QA Contact: claudius → gbush
build 2000-05-02-15
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.