Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
Message-ID: <006a01bf8ca6$3bc1ce40$0201a8c0@jayk_home4nt>
From: "Jay Krell" <jay.krell@cornell.edu>
To: "Greg Sarsons" <gsarsons@home.com>
Cc: <cygwin@sourceware.cygnus.com>
Subject: Re: STATUS_ACCESS_VIOLATION
Date: Sun, 12 Mar 2000 20:40:16 -0800
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.72.3612.1700
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3612.1700

Greg, There is a fairly obvious bug in your code.
See how far you get in the program before it crashes (based on how much is
printed) for a clue as to what it is.
Since this is homework...

I found that building this with Visual C++ 6.0 and using the JIT debugger
upon the crash highlighted the bug pretty well.. Using Visual C++ 5.0 was
just as forgiving as Linux for you and didn't crash.

 - Jay

-----Original Message-----
From: Greg Sarsons <gsarsons@home.com>
To: Jay Krell <jay.krell@cornell.edu>
Date: Sunday, March 12, 2000 7:58 PM
Subject: Re: STATUS_ACCESS_VIOLATION


>here you go nothing earth shattering about it ... just a little program
>for school
>
>If you need anything else let me know
>
>Greg
>
>Jay Krell wrote:
>>
>> Please make "test.cpp" available.
>>
>>  - Jay
>>
>> -----Original Message-----
>> From: Greg Sarsons <gsarsons@home.com>
>> To: cygwin@sourceware.cygnus.com <cygwin@sourceware.cygnus.com>
>> Date: Sunday, March 12, 2000 8:32 AM
>> Subject: STATUS_ACCESS_VIOLATION
>>
>> >Program compiles and works great in Linux and even compiles with
>> >
>> >g++ test.cpp
>> >
>> >using B20
>> >
>> >However, I end up with STATUS_ACCESS_VIOLATIONS when it is run.  Looked
>> >at the messages archieves but didn't pick up on a solution.  Can someone
>> >point me in the correct direction?


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

