This is the mail archive of the cygwin-apps@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Setup.exe - snapshot runs but compiled from cvs get application error.


Robert,
It sounds like this is the problem that I'd previously reported to you in
private email (for shame).

It was fixed by the patch which added a call to read the mount table earlier
in the setup.exe startup.

I think you said that you had a better fix for this, IIRC.

cgf

On Mon, Nov 05, 2001 at 05:04:02PM -0500, Brian Keener wrote:
>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.
>

-- 
cgf@redhat.com                        Red Hat, Inc.
http://sources.redhat.com/            http://www.redhat.com/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]