Closed
Bug 87658
Opened 23 years ago
Closed 23 years ago
Stub Installer fails
Categories
(SeaMonkey :: Installer, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
People
(Reporter: peterjez, Assigned: slogan)
References
()
Details
(Whiteboard: last 3 patches are in the NS branch, except minor fix to CRC checking, need sr=)
Attachments
(6 files)
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review | |
(deleted),
patch
|
Details | Diff | Splinter Review |
The Stub installer (see above link) fails after it asks for proxy settings.
Looks like it can't pull the xpi files.
Reporter | ||
Comment 1•23 years ago
|
||
added smoketest,blocker keywords
Also occurs on the 25-08 build.
The workaround is to use the full installer.
Keywords: smoketest
Reporter | ||
Comment 3•23 years ago
|
||
There are no error messages. The installer window just freezes. alt-open
apple-esc to force quit out.
Comment 4•23 years ago
|
||
This appears to be because xpcom.xpi is missing: Protocol log shows
Receive data (87 bytes).
>0000013C> 550 /pub/netscape6/english/6.1/mac/macos8.5/xpi/xpcom.xpi:
>00000177> No such file OR directory.
WTF doesn't the installer handle a missing file? I would have thought that was a
pretty essential error response to handle. And to have the installer just become
unresponsive, and require killing. Well....
I've found a workaround via the config.ini file. I'm looking as to the cause of
the problem.
Comment 6•23 years ago
|
||
Simon,
Because of URL failovers. So it is handling it implicitly. It shouldn't hang
though.
Comment 7•23 years ago
|
||
So, force-quitting the installer after that crashed my machine. Bug 87676 filed.
Comment 9•23 years ago
|
||
Works for me with debug but not a release build.
Comment 10•23 years ago
|
||
The regression was caused by changes that went into libxpnet last week. My
local opt build worked fine without those changes. Once I updated libxpnet,
rebuilt it, relinked it with the installer the Mac failovers stopped working.
Updated•23 years ago
|
QA Contact: gemal → gbush
Comment 11•23 years ago
|
||
When the file is not found (the retrieve command returns an E_CMD_FAIL) then we
tryt to close() the data socket. Previously we used to shutdown() the data
socket. This close() (of a valid socket descriptor) causes a hang.
I will attach a patch to tide us over and get the tree open. Then we can reduce
this from smoketest blocker to nsbeta1+.
Comment 12•23 years ago
|
||
Syd, Sean,
Moving from shutdown() -> close() caused this regression. Any advice/help would
be appreciated in combatting this regression. Syd, is this something you
wouldn't mind look at for the real fix? Thanks.
Comment 13•23 years ago
|
||
Comment 14•23 years ago
|
||
Regarding patch id=39961:
ssu, please r.
sfraser or syd, please sr.
jj, please give a.
Thanks.
Status: NEW → ASSIGNED
Comment 15•23 years ago
|
||
Will checkin to ns tree on both 092 branch and trunk.
Updated•23 years ago
|
Whiteboard: Have temp fix; seeking reviews
Comment 16•23 years ago
|
||
sr=sfraser
I think you should use bug 87676 for the real fix.
Comment 17•23 years ago
|
||
Have r=ssu
Comment 18•23 years ago
|
||
Fix checked in. Will continue tracking the close() problem in bug 87676.
Comment 19•23 years ago
|
||
Errr, marking FIXED even.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Comment 20•23 years ago
|
||
Catching up with this since I was not in the office yesterday.
I would just like to mention that I disabled the automation code that generates
an alternate Netscape installer stub (pointing to ftp.netscape.com instead of our
internal ftp server) since the failover URL feature got implemented.
Now that it's been disabled, I need to know if this feature will be back by RTM
or if I need to resurrect the "aternate stub" code in the release automation.
This will also affect the final push process which needs to know which stub to
grab.
Until failover URL is back, shouldn't bug 84122 be reopened?
btw, I see r= and sr= marks, but no a= :-/
Comment 21•23 years ago
|
||
Comment 23•23 years ago
|
||
samir - so does jj need to re-enable the external stub installer for 6.1 RTM or
are we going to fix failover URLs on the mac by then?
Comment 24•23 years ago
|
||
Jon,
That question should be directed to Syd. I will be going on sabbatical soon and
have committed to other tasks up until the time I leave.
Syd,
Are we planning to fix the regression created by shutdown() -> close() on the
mac? I think bug 87676 was dealing with that issue.
Assignee | ||
Comment 25•23 years ago
|
||
reopening -- have a patch that addresses the real issues
Assignee | ||
Comment 26•23 years ago
|
||
Comment 27•23 years ago
|
||
What's this:
+#if defined(macintosh) && 0
??
Comment 28•23 years ago
|
||
The workaround in place "works". Syd's patch is to fix the real bug so we can
disable the workaround.
Removing smoketest because this is currently not an issue.
Also reassigning to Syd.
Assignee | ||
Comment 29•23 years ago
|
||
The #ifdefine macintosh && 0 will be removed -- the point is we are not calling
shutdown, but instead close.
Assignee | ||
Comment 30•23 years ago
|
||
Comment 31•23 years ago
|
||
Comment 32•23 years ago
|
||
r=ssu for syd's patch, but his patch also needs my patch so it doesn't break
windows.
Comment 33•23 years ago
|
||
r=dveditz for patches in attachments 42169 and 42231
Assignee | ||
Comment 34•23 years ago
|
||
Ok, final step is to take my stuff, and seans windows patch, and make sure Linux
is ok. At that point, I'll go for a sr=
Comment 35•23 years ago
|
||
per email to PDT, marking this PDT+
Whiteboard: Have temp fix; seeking reviews → [PDT+] Have temp fix; seeking reviews
Comment 36•23 years ago
|
||
Syd, we discussed getting a version of this without the CRC dependencies onto
the branch. This PDT+ is for the minimal branch fix that makes failover work
again. Thanks!
Comment 37•23 years ago
|
||
Comment 38•23 years ago
|
||
the failover url is currently commented out in the default mac config.ini
it needs to be re-enabled too. hence patch
http://bugzilla.mozilla.org/showattachment.cgi?attach_id=42254
Assignee | ||
Comment 39•23 years ago
|
||
works ok on Linux.
Assignee | ||
Comment 40•23 years ago
|
||
Ok, the ftp part of the patch:
Index: wizard/libxpnet/src/nsFTPConn.cpp
===================================================================
RCS file: /cvsroot/mozilla/xpinstall/wizard/libxpnet/src/nsFTPConn.cpp,v
retrieving revision 1.10
diff -r1.10 nsFTPConn.cpp
202c202
< fileSize = atoi(&resp[4]);
---
> fileSize = atoi(&resp[4]); // else ???
266a267,272
> if ( err != OK && err != E_USER_CANCEL ) {
> sprintf(cmd, "QUIT\r\n");
> IssueCmd(cmd, resp, kRespBufSize, mCntlSock);
> FlushCntlSock(mCntlSock);
> }
>
combined with Sean's patch for windows is all we need for this to work on the
branch.
I really need an sr= so we can get a little bake time on this stuff.
Whiteboard: [PDT+] Have temp fix; seeking reviews → [PDT+] Have fix; seeking super duper review
Comment 41•23 years ago
|
||
Syd assures me that since I can sr= for the Netscape internal tree, then I can
do so for the Netscape branch. So sr=dveditz for ssu's patch, jj's patch, and
the latest version from syd.
This is not an sr= for the trunk, this is branch-only
Assignee | ||
Comment 42•23 years ago
|
||
changes landed on mozilla branch
Assignee | ||
Comment 43•23 years ago
|
||
Okay, now that I have a subset of this on the branch, we still need to fix the
trunk. The last 3 patches about are the ones that have an r= and need to go into
the trunk.
Status: NEW → ASSIGNED
Whiteboard: [PDT+] Have fix; seeking super duper review → last 3 patches are in the NS branch, except minor fix to CRC checking, need sr=
Comment 44•23 years ago
|
||
if syd would post -uw diffs of his patch, then I'll happily review this =). The
last 2 patches look fine.
Assignee | ||
Comment 45•23 years ago
|
||
Comment 46•23 years ago
|
||
syd, I didn't understand this part:
+ // myConn->type = TYPE_UNDEF;
+ // free( myConn->URL );
+ // myConn->URL = (char *) NULL;
why add new lines of commented out code? Can we just leave that out?
Assignee | ||
Comment 47•23 years ago
|
||
sure, will remove them
Comment 48•23 years ago
|
||
sr=mscott then
Assignee | ||
Comment 49•23 years ago
|
||
Closing this down. Patches on this bug have been applied. Bug 87793 is the
"error 13" bug and has a patch on it.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago → 23 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•