This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: 1.7.5: cygwin programs throw STATUS_ACCESS_VIOLATION exceptions

On 18/04/2010 23:09, Yuval Emek wrote:

> The context of the file xterm.exe.stackdump is:
> Exception: STATUS_ACCESS_VIOLATION at eip=610202F7
> eax=00CE00F8 ebx=61229E44 ecx=7530783F edx=002D20F0 esi=00000000 edi=0022FA14
> ebp=61020A10 esp=0022C7E4 program=C:\cygwin\bin\xterm.exe, pid 4640, thread main
> cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023
> Stack trace:
> Frame     Function  Args
> End of stack trace

$ addr2line --exe cygwin-1.7.5-1/winsup/cygwin/cygwin1.dbg

    71  /* Initialize an individual DLL */
    72  int
    73  dll::init ()
    74  {
    75    int ret = 1;
    77    /* Why didn't we just import this variable? */
    78    *(p.envptr) = __cygwin_environ;

  Ah.  Hmm.  That certainly does look like it's nothing to do with the DEP or
anything else; either we're missing a null pointer check here, or there's some
reason why that pointer's never supposed to be null at this point in the code
but somehow it is.


Problem reports:
Unsubscribe info:

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