X-Recipient: archive-cygwin@delorie.com
X-SWARE-Spam-Status: No, hits=0.3 required=5.0 	tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <20100122185044.S088B.246358.root@cdptpa-web20-z01>
Date: Fri, 22 Jan 2010 18:50:44 +0000
From: <jenniferlee@nc.rr.com>
To: cygwin@cygwin.com
Subject: Re: 1.7.1 "Bad Address" when running cmd.exe on 64 bit windows  server  2008
In-Reply-To: <20100122165804.9HFPU.244379.root@cdptpa-web20-z01>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Sensitivity: Normal
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
Precedence: bulk
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Hi - I found that this error occurs on a 32 bit windows system, so its not 64 bit related as I initially thought. The problem is only occurring in Cygwin 1.7.1, not 1.5.24 so I will use the older version of cygwin until there is a fix for this.

Thanks

---- jenniferlee@nc.rr.com wrote: 
> 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


--
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

