The dreaded STATUS_ACCESS_VIOLATION

848 views
Skip to first unread message

David

unread,
Jul 9, 2012, 3:44:51 PM7/9/12
to mintty
Hi all! I know that STATUS_ACCESS_VIOLATION is a common issue with
Cygwin, but I'm at the end of my rope. I only get this problem with
mintty on my bare-bones Cygwin 1.7.15-1 installation. I added another
terminal (rxvt) just to make sure it would run, and it does. I've
tried rebaseall, I've tried peflagsall. Mintty produces the following
stack dump:

---------------------------------------------------------------------------------------------
Exception: STATUS_ACCESS_VIOLATION at eip=61004D96
eax=0000029C ebx=61244000 ecx=00000000 edx=61245F0C esi=FFFFFFFF
edi=0000029C
ebp=00020000 esp=00B5ACF0 program=C:\cygwin\bin\mintty.exe, pid 12504,
thread unknown (0x2E48)
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame Function Args
00020000 61004D96 (00000000, 00000000, 00000000, 00002461)
16952 [unknown (0x2E48)] mintty 12504 exception::handle: Exception:
STATUS_ACCESS_VIOLATION
17408 [unknown (0x2E48)] mintty 12504 exception::handle: Error while
dumping state (probably corrupted stack)
---------------------------------------------------------------------------------------------

I'm running Windows 7 64-bit in a corporate environment. I've tried
shutting off DEP to no avail. Am I the only one having this issue?
Can anyone help me troubleshoot?

Andy Koppe

unread,
Jul 22, 2012, 9:07:14 AM7/22/12
to mintty
Apologies for the late reply.

Can you add some details about when this happens and whether it is
reliably reproducible? Which version of mintty are you using, and is
it the one that ships with Cygwin? Does the problem still happen with
Cygwin 1.7.16 released yesterday?

You could build a debug version of mintty by unpacking the sources and
building it like this:

make debug=1

Then, if you still get a stackdump, you can use the addr2line utility
to translate function addresses from the stackdump to source
locations, by running this and then pasting in addresses:

addr2line -e mintty.exe

Andy

bi...@yoder.org

unread,
Oct 30, 2012, 12:12:31 PM10/30/12
to mintty-...@googlegroups.com, david.f....@gmail.com
Any luck with this? I'm having the same issue in a similar setting. Windows 7 64-bit Cygwin 1.7. I tried adding mintty.exe to DEP, to no avail.

Thanks for any suggestions.
Reply all
Reply to author
Forward
0 new messages