1.7.1 "Bad Address" when running cmd.exe on 64 bit windows server 2008

jenniferlee@nc.rr.com jenniferlee@nc.rr.com
Fri Jan 22 17:23:00 GMT 2010


Hi - I am trying to run various windows commands from an ssh session to my Windows 2008 64 bit server running Cygwin 1.7.1. 

Everything I run with 'cmd.exe' fails with "bad address" as shown below, note that I can run the command natively without cmd.exe in the last example so in general things work, its just this cmd.exe that is causing my program to fail;

Administrator@nc042046 ~
$ cmd.exe /c 'mkdir C:\WINDOWS\temp'
-bash: /cygdrive/c/Windows/system32/cmd.exe: Bad address

Administrator@nc042046 ~
$ cmd.exe /c hostname
-bash: /cygdrive/c/Windows/system32/cmd.exe: Bad address

Administrator@nc042046 ~
$ hostname
nc042046

I've looked in all the forums, and I cannot find anything. I do see the support statement for 64 bit states "as well as the WOW64 32 bit environment on released 64 bit versions of Windows (XP/2003/Vista/2008/7/2008 R2). As far as we know no one is working on a native 64 bit version of Cygwin." but I am not sure exactly how to run or check that I am using the WOW64 32 bit environment. I do suspect the problem is related to 64 bit as others have told me this is working fine on their 32 bit systems.

Any thoughts would be appreciated.

Thank You
Jennifer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 284562 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100122/31103a3b/attachment.obj>
-------------- next part --------------
--
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


More information about the Cygwin mailing list