delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/11/05/17:05:02

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Date: Mon, 05 Nov 2001 17:04:02 EST
To: cygwin-apps <cygwin-apps AT cygwin DOT com>
Subject: Setup.exe - snapshot runs but compiled from cvs get application error.
X-Mailer: Virtual Access by Atlantic Coast PLC, http://www.atlantic-coast.com/va
Message-Id: <VA.0000099c.00f73c38@thesoftwaresource.com>
From: Brian Keener <bkeener AT thesoftwaresource DOT com>
Reply-To: bkeener AT thesoftwaresource DOT com

I downloaded snapshot 6 for setup (setup-2001-11-02-6.exe) from cygwin.com and 
like what I see - great job Robert and Chris.  Now my problem - I actually 
tried first to build the HEAD from cvs as well as the -rcategories and was 
getting an error in both cases.  I downloaded the snapshot and it works like a 
champ.  I then made sure I had all the current package updates and reconfigured 
and rebuilt my cvs version and I still get the error.

Now for the details.  When I try to run my built version (current cvs) it works 
fine when I select install from internet or install from local directory but 
when I select download from internet - setup crashes as soon as I select the 
next button and I get the following error:
>>
setupcurr.exe - Application Error
The instruction at "0x0040f7cd" referenced memory at "0x00000001".  The memory 
could not be "read".

Click OK to terminate the program 
Click CANCEL to debug the program 
<<

I also tried this with the version from -rcategories and get the same results 
but the snapshot works as it should.  I ran the program through gdb and traced 
the error to mount.cc - max_len seems to end up as a -1 in the following lines:

char *native;
if (max_len == strlen (path))
  native = strdup (match->native);
else
  native = concat (match->native, "/", path + max_len, NULL);

it fails on the else portion of this routine.

Anyone got any suggestions how I can get my version compiling again - I know 
I'm a pain.  This is on a Win2000 laptop.


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019