This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: peflags and STATUS_ACCESS_VIOLATION
- From: Eric Blake <eblake at redhat dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 19 Oct 2010 12:24:25 -0600
- Subject: Re: peflags and STATUS_ACCESS_VIOLATION
- References: <SNT113-W136649A2D51152C72DEF1F935B0@phx.gbl> <SNT113-W59B391236EA63499385C95935B0@phx.gbl>
On 10/19/2010 12:16 PM, Hadi Hadizadeh wrote:
Dear All,
I compiled a program under the latest version of Cygwin (1.7.7). But when I run my executable file, I get a STATUS_ACCESS_VIOLATION exception.
Are you sure your code isn't buggy? That's usually the sign of a NULL
dereference or other bad code.
> I tried "peflags --tsaware=true myprogram.exe" and even "peflagsall"
(in ash) but none of them could solve the problem.
Which makes sense - they solve problems related to the ability to
execute a program, but not problems related to bugs in the program once
it is executed.
> Does anybody know how can I solve this problem? Thanks,
Run it under gdb, and figure out where your bad code is.
--
Eric Blake eblake@redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple