This is the mail archive of the cygwin-apps 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: CVS setup.exe crashes on Windows 2003 Server x64


Thrall, Bryan wrote:
> ... And in fact, disabling DEP for setup.exe fixes the problem. So, it
> looks like setup.exe is trying to execute some memory that Windows
> thinks it shouldn't be (the invalid this pointer, probably, but why then
> is it invalid at that point and valid after the segfault?).

Setup.exe does contain some self-modifying code.  It is in the file
autoload.c, and deals with automatic loading of certain DLLs not present
 on all Windows versions.

Glancing at it, it looks very 32-bit specific. It seems fairly
miraculous that it works at all on LP64, actually, considering it casts
pointers to int.

Max.

Attachment: signature.asc
Description: OpenPGP digital signature


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