public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* "Bad Address" response to many net tools after updating cygwin x86_64 1.7.29
@ 2014-04-19 10:18 repudi8or repu
  2014-04-19 11:33 ` Corinna Vinschen
  2014-04-20 11:25 ` repudi8or repu
  0 siblings, 2 replies; 3+ messages in thread
From: repudi8or repu @ 2014-04-19 10:18 UTC (permalink / raw)
  To: cygwin

I decided to update my cygwin x86_64 environment a few days back out
of concern about the openssh heartbleed bug.

Since that time most of my network tools no longer work as expected,
reporting "Bad address" as the failure reason

Here are some samples:-

rep@WinServer:~$ ping 192.168.1.1
-bash: /cygdrive/c/Windows/system32/ping: Bad address
rep@WinServer:~$ which ping
/cygdrive/c/Windows/system32/ping
rep@WinServer:~$ file /cygdrive/c/Windows/system32/ping
/cygdrive/c/Windows/system32/ping: PE32+ executable (console) x86-64,
for MS Windows

rep@WinServer:~$ netstat -na
-bash: /cygdrive/c/Windows/system32/netstat: Bad address
rep@WinServer:~$ which netstat
/cygdrive/c/Windows/system32/netstat
rep@WinServer:~$ file /cygdrive/c/Windows/system32/netstat
/cygdrive/c/Windows/system32/netstat: PE32+ executable (console)
x86-64, for MS Windows

rep@WinServer:~$ wget www.google.com
--2014-04-19 20:03:25--  http://www.google.com/
Resolving www.google.com (www.google.com)... failed: Bad address.
wget: unable to resolve host address ‘www.google.com’

and so on and so forth. Did some googling of the error, nothing recent
that seems immediately obvious. The same tools work ok from windows
command prompt.

rep@WinServer:~$ uname -a
CYGWIN_NT-6.1 WinServer 1.7.29(0.272/5/3) 2014-04-07 13:46 x86_64 Cygwin


Any suggestions how i can track down / fix whatever is going wrong here ?

Thanks

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: "Bad Address" response to many net tools after updating cygwin x86_64 1.7.29
  2014-04-19 10:18 "Bad Address" response to many net tools after updating cygwin x86_64 1.7.29 repudi8or repu
@ 2014-04-19 11:33 ` Corinna Vinschen
  2014-04-20 11:25 ` repudi8or repu
  1 sibling, 0 replies; 3+ messages in thread
From: Corinna Vinschen @ 2014-04-19 11:33 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 2310 bytes --]

On Apr 19 20:18, repudi8or repu wrote:
> I decided to update my cygwin x86_64 environment a few days back out
> of concern about the openssh heartbleed bug.
> 
> Since that time most of my network tools no longer work as expected,
> reporting "Bad address" as the failure reason
> 
> Here are some samples:-
> 
> rep@WinServer:~$ ping 192.168.1.1
> -bash: /cygdrive/c/Windows/system32/ping: Bad address
> rep@WinServer:~$ which ping
> /cygdrive/c/Windows/system32/ping
> rep@WinServer:~$ file /cygdrive/c/Windows/system32/ping
> /cygdrive/c/Windows/system32/ping: PE32+ executable (console) x86-64,
> for MS Windows
> 
> rep@WinServer:~$ netstat -na
> -bash: /cygdrive/c/Windows/system32/netstat: Bad address
> rep@WinServer:~$ which netstat
> /cygdrive/c/Windows/system32/netstat
> rep@WinServer:~$ file /cygdrive/c/Windows/system32/netstat
> /cygdrive/c/Windows/system32/netstat: PE32+ executable (console)
> x86-64, for MS Windows
> 
> rep@WinServer:~$ wget www.google.com
> --2014-04-19 20:03:25--  http://www.google.com/
> Resolving www.google.com (www.google.com)... failed: Bad address.
> wget: unable to resolve host address ‘www.google.com’
> 
> and so on and so forth. Did some googling of the error, nothing recent
> that seems immediately obvious. The same tools work ok from windows
> command prompt.
> 
> rep@WinServer:~$ uname -a
> CYGWIN_NT-6.1 WinServer 1.7.29(0.272/5/3) 2014-04-07 13:46 x86_64 Cygwin

All your examples work fine for me using the same DLL:

  $ uname -a
  CYGWIN_NT-6.3 vmbert8164 1.7.29(0.272/5/3) 2014-04-07 13:46 x86_64 Cygwin

> Any suggestions how i can track down / fix whatever is going wrong here ?

That looks certainly like a local problem, maybe a BLODA:
http://cygwin.com/faq/faq.html#faq.using.bloda.  Did you update more
than just Cygwin, by any chance?  Do the Windows event logs show
something?  Alternatively, maybe something broke during update.
Reinstalling Cygwin might fix this.  Or rebasing.  You could also try if
a recent snapshot of the Cygwin DLL helps since there was a change in
exception handling: http://cygwin.com/snapshots/


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: "Bad Address" response to many net tools after updating cygwin x86_64 1.7.29
  2014-04-19 10:18 "Bad Address" response to many net tools after updating cygwin x86_64 1.7.29 repudi8or repu
  2014-04-19 11:33 ` Corinna Vinschen
@ 2014-04-20 11:25 ` repudi8or repu
  1 sibling, 0 replies; 3+ messages in thread
From: repudi8or repu @ 2014-04-20 11:25 UTC (permalink / raw)
  To: cygwin

Thanks Corinna, your link helped me solve the issue. I had also
installed "emisoft anti-malware" as an additional precautionary
measure to scan my environment. This product was for some reason
blocking the cygwin binaries from running and causing the "Bad
address" response every time. I tried excluding the cygwin dir from
being blocked within emsisoft but couldnt get it to work. When I fully
removed the emsisoft product, cygwin was again fully functional.

Much appreciate the assistance.

Regards Rep

>"
>That looks certainly like a local problem, maybe a BLODA:
>http://cygwin.com/faq/faq.html#faq.using.bloda.  Did you update more
>than just Cygwin, by any chance?  Do the Windows event logs show
>something?  Alternatively, maybe something broke during update.
>Reinstalling Cygwin might fix this.  Or rebasing.  You could also try if
>a recent snapshot of the Cygwin DLL helps since there was a change in
>exception handling: http://cygwin.com/snapshots/
>
>
>Corinna
>"

On Sat, Apr 19, 2014 at 8:18 PM, repudi8or repu <repudi8or@gmail.com> wrote:
> I decided to update my cygwin x86_64 environment a few days back out
> of concern about the openssh heartbleed bug.
>
> Since that time most of my network tools no longer work as expected,
> reporting "Bad address" as the failure reason
>
> Here are some samples:-
>
> rep@WinServer:~$ ping 192.168.1.1
> -bash: /cygdrive/c/Windows/system32/ping: Bad address
> rep@WinServer:~$ which ping
> /cygdrive/c/Windows/system32/ping
> rep@WinServer:~$ file /cygdrive/c/Windows/system32/ping
> /cygdrive/c/Windows/system32/ping: PE32+ executable (console) x86-64,
> for MS Windows
>
> rep@WinServer:~$ netstat -na
> -bash: /cygdrive/c/Windows/system32/netstat: Bad address
> rep@WinServer:~$ which netstat
> /cygdrive/c/Windows/system32/netstat
> rep@WinServer:~$ file /cygdrive/c/Windows/system32/netstat
> /cygdrive/c/Windows/system32/netstat: PE32+ executable (console)
> x86-64, for MS Windows
>
> rep@WinServer:~$ wget www.google.com
> --2014-04-19 20:03:25--  http://www.google.com/
> Resolving www.google.com (www.google.com)... failed: Bad address.
> wget: unable to resolve host address ‘www.google.com’
>
> and so on and so forth. Did some googling of the error, nothing recent
> that seems immediately obvious. The same tools work ok from windows
> command prompt.
>
> rep@WinServer:~$ uname -a
> CYGWIN_NT-6.1 WinServer 1.7.29(0.272/5/3) 2014-04-07 13:46 x86_64 Cygwin
>
>
> Any suggestions how i can track down / fix whatever is going wrong here ?
>
> Thanks

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-20 11:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-19 10:18 "Bad Address" response to many net tools after updating cygwin x86_64 1.7.29 repudi8or repu
2014-04-19 11:33 ` Corinna Vinschen
2014-04-20 11:25 ` repudi8or repu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).