Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <001e01c2e2b8$fd510380$5a17f9c1@tbird1000> From: "Manu" To: "Max Bowsher" , References: <000801c2e1e3$9b64de60$03f90950 AT tbird1000> <02cb01c2e281$5c81bc60$78d96f83 AT pomello> <002e01c2e294$6cfc33a0$bb17f9c1 AT tbird1000> <013301c2e295$93db4320$78d96f83 AT pomello> Subject: Re: Cygwin setup crashes Date: Wed, 5 Mar 2003 02:41:50 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 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/