From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 69752 invoked by alias); 24 Aug 2017 16:02:28 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 69739 invoked by uid 89); 24 Aug 2017 16:02:27 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=offer X-HELO: mail-pg0-f42.google.com Received: from mail-pg0-f42.google.com (HELO mail-pg0-f42.google.com) (74.125.83.42) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 24 Aug 2017 16:02:26 +0000 Received: by mail-pg0-f42.google.com with SMTP id q2so6021402pgr.0 for ; Thu, 24 Aug 2017 09:02:26 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=OA999taM3K9J4Yd2mGPrcL9FWAMsUYc13k2Sy9ax/EM=; b=IcgnQuTjyE6cq1Jbm0AFvVEzgPhYp9e70rlE7rqZ7FGbvhSTMpSbqZYaU2PBs7ylF8 lf5cq8OFHXw5O+MSa5IbVfw/ov1usLu7muUnosfF0xUzDNibUroPkGF65ZxxPXLBlNGc aOJzUAUKV4up/fdSeWhiLK32uyKvHq6oRw/3E66WLztnlKIh7win0nUEhMazSoCIgWGD XYh5KVxkORWouope/2iqVIBCkvd4+T2Z+iEYWWlGMi4Zm4Cq19KB12PmNHP9i9P0I0K8 Is0xsAd/NIRIaCW6qd34UhZv0cN4ToTcSJ4ATnUoyObWxt5O48UHI/u6o69K40FwosaQ GxnQ== X-Gm-Message-State: AHYfb5gccnkznPnCQqix/SmxDggSIbPIv5BYEnbWEv/qT+0oLkayIa1Y RdFP5/BlV4wON0yP//VxmCRldSQHzA== X-Received: by 10.99.179.12 with SMTP id i12mr6673140pgf.329.1503590544149; Thu, 24 Aug 2017 09:02:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.100.163.99 with HTTP; Thu, 24 Aug 2017 09:02:23 -0700 (PDT) In-Reply-To: <35eff42d-9022-ddf8-27f6-9a1889544852@cornell.edu> References: <35eff42d-9022-ddf8-27f6-9a1889544852@cornell.edu> From: Keith Christian Date: Thu, 24 Aug 2017 16:02:00 -0000 Message-ID: Subject: Re: Presence of cygwin64 elements in an existing Cygwin 32 install after updating To: cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-08/txt/msg00224.txt.bz2 Thanks, Ken. Good to know that, I included all troubleshooting info and methods that I've gleaned from the mailing list over the years. Maybe the bind-utils maintainer can offer a fix. Keith On Thu, Aug 24, 2017 at 8:21 AM, Ken Brown wrote: > On 8/24/2017 9:36 AM, Keith Christian wrote: >> >> Some Cygwin programs are failing even after reboots, re-installing the >> faulty program, and the customary automatic rebasing (e.g. 'dig', Line >> 1 below) after a recent update: >> >> Some cygwin64 packages were installed (see line 17 below (even though >> I am running *32* bit cygwin, installed using setup-*x86*.exe: >> >> After the existing setup warned me that there was a newer one, I >> downloaded this one before continuing with the update. >> >> 08/23/2017 04:10 PM 871,955 setup-x86.exe >> >> 9afd6a83bbb7dbb55805ab113e1e618e *setup-x86.exe >> >> Lines 1 - 9: After the update I noticed that 'dig' wasn't working >> properly (even after a reboot, and a reinstall of the bind-utils >> package, and the automatic rebase invoked by 'setup'.) >> >> Lines 12 - 17: cygcheck showed the following note about a missing (64 >> bit?) cygwin DLL. >> >> Line 17 especially, why is there an 'x86_64' reference on a cygwin 32 >> bit install? >> >> Lines 20 - 29 show a number of cygwin64 references, 108 to be exact on >> Line 29: >> >> Line 33 is additional evidence that this is the 32 bit setup program: >> >> Lines 36 - 44 show more info about the setup.ini file. >> >> >> 1 dig +short -x 127.0.0.1 >> 2 0 [main] dig (4552) C:\cygwin\bin\dig.exe: *** fatal >> error - cygheap base mismatch detected - 0x612E8408/0xBA8408. >> 3 This problem is probably due to using incompatible versions >> of the cygwin DLL. >> 4 Search for cygwin1.dll using the Windows Start->Find/Search >> facility >> 5 and delete all but the most recent version. The most recent >> version *should* >> 6 reside in x:\cygwin\bin, where 'x' is the drive on which you >> have >> 7 installed the cygwin distribution. Rebooting is also suggested >> if you >> 8 are unable to find another cygwin DLL. >> 9 Segmentation fault >> 10 >> 11 >> 12 grep "cygwin1\.dll" >> /var/kchristian/cygcheck/cygcheck_s_r_v_20170823_165156 >> 13 3373k 2017/07/12 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 >> sys=4.0 >> 14 "cygwin1.dll" v0.0 ts=2017-07-12 09:53 >> 15 3373k 2017/07/12 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 >> sys=4.0 >> 16 "cygwin1.dll" v0.0 ts=2017-07-12 09:53 >> 17 Missing file: >> /usr/x86_64-pc-cygwin/sys-root/usr/bin/cygwin1.dll from package >> cygwin64 >> 18 >> 19 >> 20 grep -n cygwin64 /etc/setup/installed.db >> 21 543:cygwin64 cygwin64-2.6.0-1.tar.bz2 1 >> 22 544:cygwin64-binutils cygwin64-binutils-2.25-1.tar.bz2 0 >> 23 545:cygwin64-binutils-debuginfo >> cygwin64-binutils-debuginfo-2.25-1.tar.bz2 1 >> 24 546:cygwin64-bzip2 cygwin64-bzip2-1.0.6-2.tar.bz2 0 >> 25 547:cygwin64-catgets cygwin64-catgets-1.1-2.tar.bz2 1 >> 26 >> 27 >> 28 grep -cw cygwin64 >> "http%3a%2f%2fcygwin.mirror.constant.com%2f/x86/setup.ini" >> 29 108 >> 30 >> 31 >> 32 ls -l >> "http%3a%2f%2fcygwin.mirror.constant.com%2f/x86/setup.ini" >> 33 -rwx------+ 1 keith Domain Users 10666707 Aug 23 16:10 >> http%3a%2f%2fcygwin.mirror.constant.com%2f/x86/setup.ini >> 34 >> 35 >> 36 head "http%3a%2f%2fcygwin.mirror.constant.com%2f/x86/setup.ini" >> 37 # This file was automatically generated at 2017-08-22 00:14:06 >> UTC. >> 38 # >> 39 # If you edit it, your edits will be discarded next time the >> file is >> 40 # generated. See http://cygwin.com/setup.html for details. >> 41 release: cygwin >> 42 arch: x86 >> 43 setup-timestamp: 1503360846 >> 44 setup-version: 2.881 >> >> >> Interested in how to remove the cygwin64 components from this cygwin >> 32 bit system so that failing Cygwin programs work properly. > > > The packages whose names start with "cygwin64" are x86 packages intended for > cross-building 64-bit programs on 32-bit Cygwin. If you don't want them, > you can uninstall them in the usual way by running setup-x86.exe. I don't > think they have anything to do with your problem. > > Ken > > > -- > 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 > -- 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