X-Recipient: archive-cygwin AT delorie DOT 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: To: cygwin AT cygwin DOT 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 AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 AT nc DOT rr DOT 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 AT nc042046 ~ > $ cmd.exe /c 'mkdir C:\WINDOWS\temp' > -bash: /cygdrive/c/Windows/system32/cmd.exe: Bad address > > Administrator AT nc042046 ~ > $ cmd.exe /c hostname > -bash: /cygdrive/c/Windows/system32/cmd.exe: Bad address > > Administrator AT 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