Closed
Bug 114550
Opened 24 years ago
Closed 24 years ago
Mac Installer incorrectly calculates disk space
Categories
(SeaMonkey :: Installer, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla0.9.8
People
(Reporter: stuart, Assigned: ccarlen)
References
Details
Attachments
(1 file)
1.45 KB,
patch
|
samir_bugzilla
:
review+
dveditz
:
superreview+
|
Details | Diff | Splinter Review |
The installer for the current full install (MacMozillaFullInstall.sea.bin
) from 12/10/2001 incorrectly calculates the available space on the disk. The
result is a large negative number that won't allow the install to proceed.
![]() |
||
Comment 1•24 years ago
|
||
Sounds like 64-bit issues... How big is the disk?
![]() |
||
Comment 2•24 years ago
|
||
*** Bug 114626 has been marked as a duplicate of this bug. ***
![]() |
||
Updated•24 years ago
|
The last build which did not have this problem was 2001-12-10-08.
Comment 4•24 years ago
|
||
The only change in the mac installer recently has been the conversion to CW7 --
could the new CodeWarrior process math differently?
http://bonsai.mozilla.org/cvsquery.cgi?treeid=default&module=all&branch=HEAD&branchtype=match&dir=mozilla%2Fxpinstall%2Fwizard%2Fmac&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=month&mindate=&maxdate=&cvsroot=%2Fcvsroot
Assignee | ||
Comment 5•24 years ago
|
||
The compiler options were not changed WRT long long support. They need to be but
weren't. That is worth a look. See bug 77205.
Are these instructions:
http://www.mozilla.org/projects/xpinstall/wizard/mac/debugging.html
the ones to use in order to test this?
Updated•24 years ago
|
QA Contact: bugzilla → ktrina
Reporter | ||
Comment 6•24 years ago
|
||
It's a 6GB disk and I saw it with this friday's build 12/14.
Comment 7•24 years ago
|
||
I think this is a blocker.
1213, 1214, and 1217 builds all show this problem.
Strange no body has noticed it in smoketests.
Severity: major → blocker
Assignee | ||
Comment 8•24 years ago
|
||
Using the latest from sweetlou, it reports a negative amount of space available.
However, using that build and running this installer test, I get the right result:
-------------------------------------------------------------------------------
http://jimbob/jars/a_fileop_filegetdiskspacea.xpi -- 12/18/2001 08:00:42
-------------------------------------------------------------------------------
Acceptance: a_fileop_diskspaceavail
-----------------------------------
** File.diskSpaceAvailable returns = 10203365376
Install completed successfully
Finished Installation 12/18/2001 08:00:42
That at least tells us where the problem is not. Can I build the installer in a
Carbon tree?
Comment 9•24 years ago
|
||
Conrad,
I'm not aware of any work to Carbonize the installer. Doesn't mean it's not
been done though.
Assignee | ||
Comment 10•24 years ago
|
||
Patch fixes it. The old code was probably getting overflow on the mult before
the divide. This keeps the value 64 bits wide until after the divide by 1024.
Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.8
Updated•24 years ago
|
Attachment #62124 -
Flags: superreview+
Comment 12•24 years ago
|
||
Comment on attachment 62124 [details] [diff] [review]
patch to avoid overflow
sr=dveditz
Comment 13•24 years ago
|
||
Comment on attachment 62124 [details] [diff] [review]
patch to avoid overflow
r=sgehani
Attachment #62124 -
Flags: review+
Assignee | ||
Comment 14•24 years ago
|
||
Fix checked in.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Comment 15•24 years ago
|
||
*** Bug 116141 has been marked as a duplicate of this bug. ***
Comment 16•24 years ago
|
||
Has the fix been checked in on the 0.9.7 branch as well? I filed bug 116141
after experiencing the problem on the branch build.
Assignee | ||
Comment 17•24 years ago
|
||
No - but thanks for bringing this up. I just asked to get it into 0.9.7.
Comment 18•24 years ago
|
||
a=asa (on behalf of drivers) for checkin to 0.9.7
Blocks: 114455
Keywords: mozilla0.9.7 → mozilla0.9.7+
Comment 20•24 years ago
|
||
Verified on build 2001-12-26-08-trunk, but I still need to verify it on a 0.9.7
branch build (the installer keeps defaulting to pause even if I continue to hit
resume using the last branch build from 12/21).
Comment 21•24 years ago
|
||
I had no problem installing 0.9.7 itself on OS 9.2.2
Updated•21 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•