Closed Bug 173342 Opened 23 years ago Closed 23 years ago

Installer core dumps/errors out when installing to a directory other than default

Categories

(SeaMonkey :: Installer, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 144331

People

(Reporter: alther, Assigned: dveditz)

Details

(Keywords: crash, hang)

(This was for Moz 1.1 install) List of actions: * As root ('su -' from normal user), ran ./mozilla-installer. Graphical installer appeared. * Next at Readme screen. * Accepted license. * Choose custom installation. * Changed destination directory to /usr/local/mozilla_1.1 * Click Next * Prompted to create destination directory. Clicked Yes. * Unchecked Chatzilla. Next. * Clicked Install * At this point it errors out in either of 2 ways: * It either dumps core with the following error: ./mozilla-installer: line 52: 4275 Segmentation fault (core dumped) ./mozilla-installer-bin $@ The only files in the mozilla_1.1 directory are install.log and registry, both of which are 0 bytes. * Or sometimes it goes on and it displays 2 errors. The first one is hidden by the second and won't repaint so I can't see it. The second error is: Error [-621]: An installer module regus.xpi (.xpi) failed to install The install is also completely frozen at this point. The install log lists everything as installing successfully (the last entry is the DOM Inspector). * If I install into the default directory (/usr/local/mozilla), it installs just fine. --- My system specs: Intel PIII 866MHz 512 MB RAM Mandrake Linux 8.2 (with some 8.2 updates) Linux kernel 2.4.18 glibc 2.2.4
the behavior here is a bit different than what this normally does, but do you have the MOZILLA_FIVE_HOME environment variable set? If so you need to unset it before running the installer (you really shouldn't need to set it anyway, but...)
Severity: normal → critical
Keywords: crash, hang
Yes, I was upgrading from a 1.0 install, which resided in /usr/local/mozilla_1.0. I have a symlink setup: mozilla -> mozilla_1.0. MOZILLA_FIVE_HOME points to /usr/local/mozilla.
QA Contact: bugzilla → ktrina
ok, with 1.0, you needed to set MOZILLA_FIVE_HOME (so that the symlink worked) becuase of a buggy startup script. With later versions, you don't need to. did unsetting it fix it up? if so, this is a dupe of bug 144331
Unsetting MOZILLA_FIVE_HOME allowed the install to complete, but now there are other problems: * After unsetting MOZILLA_FIVE_HOME, I ran the install and got a warning saying MOZILLA_FIVE_HOME not set (which appeared after I clicked the Install button). * After the install completed, the Select User Profile dialog appeared instead of launching Navigator. It doesn't know I already have a profile. * I select the default profile and I receive a warning saying the profile is already in use, and to create another one. (this is still as root) * If I create a new profile, Moz starts up, but all of my settings (obviously) are gone. (as root) * Every time I run Mozilla as root, the select profile dialog appears. If I try to choose my initial profile (instead of the new one I had to create), it says I can't use it because the profile is in use. * Running it as a normal user seems to be fine. OK, final question: Is MOZILLA_FIVE_HOME obsolete? Does it no longer need to be set? Why does the install warn about it not being set if it's not used?
> After unsetting MOZILLA_FIVE_HOME, I ran the install and got a warning saying > MOZILLA_FIVE_HOME not set (which appeared after I clicked the Install button). bug 169615 > I select the default profile and I receive a warning saying the profile is > already in use, and to create another one. (this is still as root) you might have a corrupted profile. Anyway, why are you running as root? > OK, final question: Is MOZILLA_FIVE_HOME obsolete? Does it no longer need to > be set? Why does the install warn about it not being set if it's not used? It is not really obsolete, but the need for a user to set it manually is gone. The mozilla startup script sets it, but the installer can't because it actually has two "MOZILLA_FIVE_HOME"s (one for the installer and one for the Mozilla that it fires up when it's done) Anyway, the original report is a dupe, so marking as such. If you want to pursue the profile problems, please file a new bug. *** This bug has been marked as a duplicate of 144331 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
>> I select the default profile and I receive a warning saying the profile is >> already in use, and to create another one. (this is still as root) >You might have a corrupted profile. Anyway, why are you running as root? I'm running it as root because I installed it as root (for the system). It runs immediately after the install is finished. It also has to run once as root to do its necessary initial setup.
Verified as a dupe of bug 144331
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.