delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/22/13:52:14

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <20100122185029.QIU74.246350.root@cdptpa-web20-z01>
Date: Fri, 22 Jan 2010 13:50:29 -0500
From: <jenniferlee AT nc DOT rr DOT com>
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
Sensitivity: Normal
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019