aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/init.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/winsup/cygwin/init.cc b/winsup/cygwin/init.cc
index c6f0e3d..9dabf5f 100644
--- a/winsup/cygwin/init.cc
+++ b/winsup/cygwin/init.cc
@@ -57,6 +57,8 @@ munge_threadfunc ()
{
char *threadfunc = NULL;
+ /* This call to NtQueryInformationThread crashes under WOW64 on
+ 64 bit XP and Server 2003. */
if (wincap.wow64_has_secondary_stack ())
threadfunc = ebp[threadfunc_ix[0]];
else