This is the mail archive of the cygwin@sourceware.cygnus.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: STATUS_ACCESS_VIOLATION


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


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