From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 93381 invoked by alias); 24 May 2017 09:27:19 -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 93361 invoked by uid 89); 24 May 2017 09:27:18 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.8 required=5.0 tests=AWL,BAYES_40,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_SORBS_SPAM,SPF_PASS autolearn=no version=3.3.2 spammy=D*ab.ca, ec, sk:briani, U*Brian.Inglis X-HELO: mail-oi0-f51.google.com Received: from mail-oi0-f51.google.com (HELO mail-oi0-f51.google.com) (209.85.218.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 24 May 2017 09:27:16 +0000 Received: by mail-oi0-f51.google.com with SMTP id l18so233951184oig.2 for ; Wed, 24 May 2017 02:27:20 -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=7vJlB2Q3zd9+jIZ2Wy3VpX+v2MekBmPB/vDrdVDl3hc=; b=qmH8fjq+IFhcF2hmEC8uB2tBxGpbft0jeHKXCXdITvb5j+9dVIBlhOBYIKfe3vxPyz smaR64XrzMO2oo4rsgVg56ebacbZK324SGwzO8r0KiqhD27Rt8uV2ZEHoqw3n1HaGyIY 1UVu5OCQ0Omfjojnz9vg3HnevOVo7up3pKCqw7J2gkmmSAohUUdVBXKFlkEreCL4qCr/ NZdQJ3yD8PZkcCwgJvM9qFDON7Up8XaASnF12yl/MiWpaD5wRGplz+4aHvshwhQuhS36 HygUcim1Lk2TSdN9Ag84KB80Lsy5PqZjPlwVJiWJvTjeqqSsUKJ+i4eBDcC2guV+LRxh KZQg== X-Gm-Message-State: AODbwcBkYNCuRtw7eiEHEbGkUCBnV5ajx11FkPlgfoF8gp0a/hdEHUF6 2KgDeeYKKeWdYqYazTc04ww6H6knbA== X-Received: by 10.202.87.203 with SMTP id l194mr15254908oib.148.1495618038879; Wed, 24 May 2017 02:27:18 -0700 (PDT) MIME-Version: 1.0 Received: by 10.74.97.12 with HTTP; Wed, 24 May 2017 02:27:18 -0700 (PDT) In-Reply-To: References: <55609c2e-6bc5-1819-8342-815a0d79e51d@SystematicSw.ab.ca> From: Michael Stellar Date: Wed, 24 May 2017 10:05:00 -0000 Message-ID: Subject: Re: too many environment variables on self-compiled xar archiver To: Brian.Inglis@systematicsw.ab.ca, cygwin@cygwin.com Content-Type: text/plain; charset="UTF-8" X-IsSubscribed: yes X-SW-Source: 2017-05/txt/msg00378.txt.bz2 Tried, on 1 different machine without vs 2015 and vs 2017 installed on it, pretty much minimum env variables, getting the same result, probably it's a bug in the cygwin runtime?, does anyone or cygwin developer have other clue?. On Wed, May 24, 2017 at 2:42 PM, Michael Stellar wrote: > Hello Brian, > > Appreciated the reply, tried to search "!C:" on registry or > searching for "!C:" in all files (*.*) content on c:\cygwin or using > tools like rapidee (to edit env variables), and the result is i could > not found it!. > Looks like it's being added by either the bash shell? itself or > something else?. The only i could found is "%{!S:%{!c:%e-c or -S > required for Ada}}" inside c++.exe, cpp.exe, g++.exe, gcc.exe. > > Btw my environment is latest cygwin x86, windows 10 x64 creator > update, visual studio 2015 and & 2017 installed, gcc and g++ mingw x86 > and x64 installed. Latest cygwin snapshot. > > > Cheers, > > > > On Wed, May 24, 2017 at 9:53 AM, Brian Inglis > wrote: >> On 2017-05-23 16:30, Michael Stellar wrote: >>> I am getting the following when running my self-compiled xar 1.6.1 archiver >>> gdb xar >>> Starting program: /usr/local/bin/xar >>> [New Thread 12044.0x1f54] >>> [New Thread 12044.0xfc8] >>> [New Thread 12044.0x2dcc] >>> [New Thread 12044.0x2cd8] >>> [New Thread 12044.0x2d58] >>> 1 [main] xar 12044 C:\cygwin\usr\local\bin\xar.exe: *** fatal >>> error - internal error reading the windows environment - too many >>> environment variables? >>> 739 [main] xar 12044 cygwin_exception::open_stackdumpfile: Dumping >>> stack trace to xar.exe.stackdump >>> [Thread 12044.0x2dcc exited with code 256] >>> [Thread 12044.0xfc8 exited with code 256] >>> [Thread 12044.0x2cd8 exited with code 256] >>> [Inferior 1 (process 12044) exited with code 0400] >>> >>> My env variables is here https://pastebin.com/NrWKuaSC , i have tried >>> to unset some of the long variables but the error still persist. >> >> Did you notice this entry and does anyone know where this comes from? >> !C:=C:\cygwin\bin >> >> Another poster found a problem with non-ascii accented initial letters >> in the environment variable name - perhaps this is the same problem? >> >> If Cygwin environment setup has a problem with an environment variable >> name or contents, it should either ignore it, copy it, or convert it to >> Cygwin format, but it seems to be stumbling, when it should just be >> ignoring it and skipping to the next variable. >> >> Try removing that environment variable, either from the Control Panel, >> or directly in regedit if necessary. >> >> -- >> Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada >> >> -- >> 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