X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:to:subject:message-id
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; q=dns; s=default; b=XqOvYw5EjFCkqwX7
	TDhtIBpt6x1zilD8P7RhFE7o3Ddf6vL0oCVmhMUHAogDivmaYvnXGMECA6eIuI8k
	0hmshjT4Cyq8/c9fnBIV9sGnGk0qsqI+2B/8LAP/YRZT+tkIkxafUywoVdWhEHli
	xHjWvtPRTAF5b3ZYEnZvuKwnG+Q=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:reply-to:to:subject:message-id
	:in-reply-to:references:mime-version:content-type
	:content-transfer-encoding; s=default; bh=JA1BGs+8uABLSqbrNYcqOv
	G0blw=; b=TQYd1Y4r3BOIlAeT39ceKiPM+Y/fPqun4jR5/syqM8DasUGaSXr0+P
	OxxcVsZ9wMReFi1bYoLAR5oWWeX/zcmWG17juaC6FERpECNGykSpVSwzLuJoweS+
	ghgzwh9MlALpMA87CAYiDHAbq+NucV/dyh/acwOHUEoW/tYl9dfqM=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.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
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=walker, forums, reinstall, H*r:PLAIN
X-HELO: ppsw-33.csi.cam.ac.uk
Date: Sun, 17 Sep 2017 11:06:54 +0100
From: Robin Walker <rdhw@cam.ac.uk>
Reply-To: Robin Walker <rdhw@cam.ac.uk>
To: Hanit Hakim <hanit.hakim@mail.huji.ac.il>, cygwin@cygwin.com
Subject: Re: 'bad image error' while trying to run cygwin terminal on my windows 10 laptop
Message-ID: <EE252477834F80D063A623D9@qjunbur2.queens.cam.ac.uk>
In-Reply-To: <CAK4LvstVCO4oBQiWD16Ei3_YBgu7z=dW=4SBjoPyQQeSSMK44g@mail.gmail.com>
References: <CAK4LvstVCO4oBQiWD16Ei3_YBgu7z=dW=4SBjoPyQQeSSMK44g@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
X-IsSubscribed: yes

--On 17 September 2017 09:29 +0300 Hanit Hakim wrote:

> i recently downloaded cygwin to my laptop. after it worked for a few
> hours, it suddenly threw a bad image error. the message i'm getting when
> trying to run the cygwin terminal, is: C:\cygwin64\bin\cygwin1.dll is
> either not designed to run on Windows or it contains an error...
> i already tried to reinstall it, but the error just came back.

In the past 4 weeks, I have seen this problem reported on other non-Cygwin 
forums about 4 or 5 times.  Upon investigation, in every case, one or more 
DLL files had been reduced to zero length files.

It was possible that the actual damage was caused during the previous use 
of the affected application, rather than at the time of the reported error.

In every case, the following additional circumstances were true:

- the anti-virus was McAfee;
- the operating system was Windows 10 version 1607;
- after the application of the August 2017 updates for Windows 10 version 
1607.

Do those circumstances apply in your case?

-- 
Robin Walker


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

