This is the mail archive of the
mailing list for the Cygwin project.
2.415-1 setup.exe is crashing on defected package
- From: "Viliam Batka" <viliam_batka at hotmail dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 08 Oct 2003 11:43:10 +1300
- Subject: 2.415-1 setup.exe is crashing on defected package
It happens to me that after updating ?setup.exe? (setup-2.415-1-src.tar.bz2)
I was not able to install Cygwin anymore. The setup.exe program has always
crashed during Installation progress.
After analysing the problem I have discovered following possible issues in
the setup program.
1) Missing ?RECTWrapper.h? file in the ?setup-2.415-1-src.tar.bz2? source
NOTE: I have managed download the missing file from Web CVS.
2) If instalation package is (deffected) bigger than current information in
the setup.ini file than the setup.exe is crashing. The problem occurs in
source code ?install.cc:657 ?:
Breakpoint 7, md5_one(packagesource const&) (source=@0xa158948)
654 if (source.md5.isSet())
656 // check the MD5 sum of the cached file here
657 ==> io_stream *thefile = io_stream::open (source.Cached (), "rb");
658 if (!thefile)
Because the ?source.Cached ()? returns NULL
One possible solution that has been working for me was introduce ?check
existence of cacded file name? as listed below ...
void md5_one (const packagesource& source)
//-Start --- check existence of cached file name -----
if (source.Cached() == NULL)
throw new Exception (TOSTRING(__LINE__) " " __FILE__, String (" Package
Error in ") + ((packagesource *)&(source))->Filename(), APPERR_IO_ERROR);
// check the MD5 sum of the cached file here
io_stream *thefile = io_stream::open (source.Cached (), "rb");
. . .
In my case the error has been caused by defected "lynx" package that I have
download. Where setup.ini hold following information version : 2.8.4-7
install: release/lynx/lynx-2.8.4-7.tar.bz2 1144623
Size of my downloaded package was : 1,145,141 bytes
I have created this mail in hope to help others with similar problem.
Surf the net and talk on the phone with Xtra Jetstream @
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html