Closed
Bug 147977
Opened 23 years ago
Closed 23 years ago
erroneous message - "not enough space to migrate profile"
Categories
(Core Graveyard :: Profile: Migration, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: julien.pierre, Assigned: mkaply)
Details
Attachments
(2 files, 1 obsolete file)
|
1020 bytes,
text/plain
|
Details | |
|
7.50 KB,
patch
|
julien.pierre
:
review+
mkaply
:
superreview+
dbaron
:
approval+
|
Details | Diff | Splinter Review |
I have 4.2 GB free space on my D: drive where I just unpacked Mozilla rc3 for OS/2.
My existing Communicator 4.61 profile is about 500 MB.
When I run Mozilla the first time, I am offered the option to convert the profile.
But I get this message :
There is not enough space to migrate your profile.
You can free some space and retry, create a new empty profile or cancel.
I believe the problem is wraparound of the free disk space amount. Since it is
over4 GB, mozilla probably thinks it's negative.
| Assignee | ||
Comment 1•23 years ago
|
||
Doesn't happen for 10 gig. Know where I can get a utility to fill disk space?
| Assignee | ||
Comment 2•23 years ago
|
||
nsFileSpec was totally broke. It did the math into a 32 and cast it to a 64.
This is general cleanup.
I have no idea if this works - I don't have a drive with 4.2 gig free.
Julian, any chance you could build and test this?
| Reporter | ||
Comment 3•23 years ago
|
||
| Reporter | ||
Comment 4•23 years ago
|
||
Mike,
I attached the source for a tool I just wrote to fill up disk space. It will
only work up to 4 GB file size, I didn't find an API for larger than 4 GB file
support to do this. I was using a JFS FYI.
Note that my problem did not occur once the disk space went below 4 GB - I was
able to migrate the profile then. But it occurred with 4.2 GB. It may also be
helpful to note that my original Communicato rprofile was very large, 500 MB of
mail to migrate. That could have been a factor.
| Assignee | ||
Comment 6•23 years ago
|
||
First patch had the right idea, but was missing something key. When you
multiple three int32 values, the math is 32-bit math, so when you put it into
an int64, you've already lost everything.
The key is to do the math one at a time (or cast, but I think this is more
elegant)
I got the failure on my machine and verified that this fixed it.
Julian, would you care to r=?
Note the large removal of code is removing some XP_WIN code we had in
nsLocalFileOS2 unnecessarily.
Attachment #85620 -
Attachment is obsolete: true
| Reporter | ||
Updated•23 years ago
|
Attachment #86293 -
Flags: review+
| Reporter | ||
Comment 7•23 years ago
|
||
I couldn't reproduce the problem anymore on my system, but the patch looks good.
| Assignee | ||
Comment 8•23 years ago
|
||
Comment on attachment 86293 [details] [diff] [review]
Correct patch
sr=blizzard (platform specific code)
Attachment #86293 -
Flags: superreview+
| Assignee | ||
Comment 9•23 years ago
|
||
Patch checked into trunk
Comment on attachment 86293 [details] [diff] [review]
Correct patch
Please land this on the 1.0.1 branch. Once there, remove the
"mozilla1.0.1+" keyword, and add the "fixed1.0.1"
Attachment #86293 -
Flags: approval+
Keywords: mozilla1.0.1+
| Assignee | ||
Comment 11•23 years ago
|
||
fixed on branch
Status: NEW → RESOLVED
Closed: 23 years ago
Keywords: mozilla1.0.1+ → fixed1.0.1
Resolution: --- → FIXED
Comment 12•23 years ago
|
||
Changing this to Product Browser, since this is not specific to Mail News
portion of the migration bug it's whole Profile migration issue. Grace, note:
we don't have OS/2 systems in Mail/News to test this so we can't even help out
to see if this is a OS/2 specific case or if other OS's have the same type of
problem. If it's specific to OS/2 then maybe Julien can help test this on the
branch build.
Product: MailNews → Browser
QA Contact: esther → gbush
| Reporter | ||
Comment 13•23 years ago
|
||
Note that Mike's patches are in OS/2-specific files . I don't know if the same
bug might exist on other platforms.
Comment 14•23 years ago
|
||
The migrated profile is stored in c:\windows\application data\mozilla....or
a similar directory on other Win OS. I am not sure about OS/2. User can specify
drive d for profiles that are created but not for those that are migrated (there
is another old bug on this)
Re summary line- that may not be erroneous message- I can reproduce by filling
up my c: drive. That is 'as designed'.
Can OS/2 user verify this fix?
| Assignee | ||
Comment 15•23 years ago
|
||
I'll mark this. We reproduced it and verified it is fixed.
Status: RESOLVED → VERIFIED
Keywords: fixed1.0.1 → verified1.0.1
Comment 16•23 years ago
|
||
thanks
Updated•9 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•