Cygwin setup crashes

Manu manubee@wanadoo.fr
Wed Mar 5 01:50:00 GMT 2003


Max Bowsher wrote:


[...]
> >> Also, could you send the output of 'find' run from your local package
> >> directory? (as an attachment)
> >
> > cf find.txt. (build.sh and compress.diff are not in CVS)
> 
> I meant the one with all the tarballs and setup.ini, but never mind, since
> the bug has gone away.

Yes, I'm now unable to reproduce the problem. Maybe it occurs only after
"Download from Internet" + "Install from local directory" as I've done
initially.

> > [...]
> >> Please try this patch (against current CVS):
> > [...]
> >
> > I've patched and rebuilt.
> > I have now: "Can't open (null) for reading: No such file"
> > This occurs in install.cc, line 173:
> >
> > ---
> > /* install one source at a given prefix. */
> > static int
> > install_one_source (packagemeta & pkgm, packagesource & source,
> >       String const &prefixURL, String const &prefixPath,
> > package_type_t type) {
> >   int errors = 0;
> >   Progress.SetText2 (source.Base ());
> >   if (!source.Cached () || !io_stream::exists (source.Cached ()))
> >     {
> >       note (NULL, IDS_ERR_OPEN_READ, source.Cached (), "No such
> >       file"); return 1;
> >     }
> > ---
> 
> Umm. This bug is known to exist, but we don't know how to reproduce it.

At first glance, it occurs with the patch you suggested, when uninstalling
packages. Apparently, it is reproducible.

> > Something strange, the original setup.exe no longer crashes, it seems
> > that the problem occurs when first installing Cygwin.

I'll try to download and install again to see if I can reproduce the segfault.

Manu.



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list