Closed
Bug 144331
Opened 23 years ago
Closed 22 years ago
Previous setting of MOZILLA_FIVE_HOME blocks Installer
Categories
(SeaMonkey :: Installer, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: mgm, Assigned: dveditz)
References
Details
(Keywords: crash)
Attachments
(1 file)
461 bytes,
patch
|
dveditz
:
review+
dveditz
:
superreview+
dbaron
:
approval1.3+
|
Details | Diff | Splinter Review |
I've used Mozilla 1.0 RC1 since its release, and for acessing it everywhere I
copied the "mozilla" script to my path and set MOZILLA_FIVE_HOME in my .profile
to the location where I've installed the other Mozilla files.
Everything was fine until today, when I tried to install the new RC2. The
installation went fine till the part where the modules were extracted, then it
simpled stopped with the error 620 and froze. It took me some time to find that
unsetting the MOZILLA_FIVE_HOME before made the installation finish normally.
After that it's fully functional again.
Updated•23 years ago
|
QA Contact: bugzilla → ktrina
Reporter | ||
Comment 1•23 years ago
|
||
I've just installed RC3 and the bug still exists. This time the installer simply
dumped core in the middle of the installation (during the unpacking step).
After unsetting the variable everything worked fine.
Comment 2•23 years ago
|
||
reporter (Marcelo Malheiros): can you reproduce this bug with a recent build of
mozilla (for example, 1.1beta)? if so, please comment again with details. if
not, please resolve this bug as WORKSFORME. thanks.
Comment 3•23 years ago
|
||
I'm seeing this too. I think most people don't see this because they don't set
the variable. To get the crash, you need to point it to a mozilla directory
that is sufficiently out of date (1.0). Pointing it at a recent nightly build
gives errors, but does not crash.
stracing the installer showed it reading a lot of the shared libs and .xpt files
in the MOZILLA_FIVE_HOME directory and even trying to write to some of them.
The reasonable solution here is to simply have the mozilla-installer script
unset the MOZILLA_FIVE_HOME variable. That fixes the crash.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Comment 4•23 years ago
|
||
unset MOZILLA_FIVE_HOME
Updated•23 years ago
|
I've been seeing this as well, and I have MOZILLA_FIVE_HOME=/usr/local/mozilla
where /usr/local/mozilla->/usr/local/mozilla-nightly which was always empty
prior to installation. Unsetting MOZILLA_FIVE_HOME fixed it for me.
Comment 6•23 years ago
|
||
*** Bug 164826 has been marked as a duplicate of this bug. ***
Comment 7•23 years ago
|
||
*** Bug 165210 has been marked as a duplicate of this bug. ***
Comment 8•22 years ago
|
||
dveditz, could you review the patch here?
Assignee | ||
Comment 9•22 years ago
|
||
Comment on attachment 93910 [details] [diff] [review]
patch
r=dveditz
Thanks for tracking this down!
Attachment #93910 -
Flags: review+
Comment 10•22 years ago
|
||
*** Bug 173342 has been marked as a duplicate of this bug. ***
Updated•22 years ago
|
Attachment #93910 -
Flags: superreview?(brendan)
Comment 11•22 years ago
|
||
*** Bug 184844 has been marked as a duplicate of this bug. ***
Comment 12•22 years ago
|
||
*** Bug 182568 has been marked as a duplicate of this bug. ***
Updated•22 years ago
|
Attachment #93910 -
Flags: superreview?(brendan) → superreview?(dveditz)
Assignee | ||
Comment 13•22 years ago
|
||
Comment on attachment 93910 [details] [diff] [review]
patch
r+sr=dveditz for this trivial install patch.
Attachment #93910 -
Flags: superreview?(dveditz) → superreview+
Assignee | ||
Comment 14•22 years ago
|
||
Comment on attachment 93910 [details] [diff] [review]
patch
r+sr=dveditz for this trivial install patch. Requesting 1.3 approval as this
issue causes us a bunch of grief each milestone.
Attachment #93910 -
Flags: approval1.3?
Attachment #93910 -
Flags: approval1.3? → approval1.3+
Assignee | ||
Comment 15•22 years ago
|
||
Fix checked in
Comment 18•22 years ago
|
||
I have a general question about this patch. Is there a reason why "export -n" is
used instead of "unset"? GNU bash is the only shell I'm aware of that supports
"export -n", and this change has made it where the mozilla-installer script now
fails on other UNIX platforms (tested on Solaris and AIX).
Solaris gives the following error message:
./mozilla-installer: -n: is not an identifier
AIX gives the followng error message:
./mozilla-installer[41]: export: bad option(s)
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•