X-Recipient: archive-cygwin AT delorie DOT 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:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=m/KvcbX3AuomM8gS 6c/rspsxhVsGrEZjr7eRiWTFuFhz7B4sIgT4+16pPxaqMM9A5xa7ng+ZdsE/iJz8 ubdGZtddHje9BUBhrZttiYrtxqyC4iv5cGiPYx6k+H7I85gU+Ewp5GAMekNocKcD 7aXN4jhOX0monnE1H9n4oCXM4s8= 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:message-id:to:subject :in-reply-to:references:mime-version:content-type :content-transfer-encoding; s=default; bh=nFnSiAdvhw7HbWO1IyP09h aW/rY=; b=HvkWZ155MeG3cW5Z5XLLCwoJlIEXdH4FbCzeuM1pYw2mktrGTFAuxh f5rzLQXO5v+tYs+UtfexUXClpHrTKY+7RyIuY9RwCCYZecc3+1jruUiFOFIh/AyJ 9vuwE6ru+RKdsX7ks5pmEBuL0l6bZVj7GnMGD23HCPpiSg+cZG2ik= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=HAuthentication-Results:header.i, H*R:D*cygwin.com, H*RU:192.168.1.10, H*r:ip*192.168.1.10 X-HELO: forward5m.cmail.yandex.net Authentication-Results: smtp2p.mail.yandex.net; dkim=pass header.i=@yandex.ru X-Yandex-Suid-Status: 1 0,1 0 Date: Wed, 24 May 2017 13:01:32 +0300 From: Andrey Repin Reply-To: cygwin AT cygwin DOT com Message-ID: <1882880100.20170524130132@yandex.ru> To: Brian Inglis , cygwin AT cygwin DOT com Subject: Re: too many environment variables on self-compiled xar archiver In-Reply-To: <55609c2e-6bc5-1819-8342-815a0d79e51d@SystematicSw.ab.ca> References: <55609c2e-6bc5-1819-8342-815a0d79e51d AT SystematicSw DOT ab DOT ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Greetings, Brian Inglis! > 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 This is coming from CMD, and denotes current working directory on an indicated drive. > 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. -- With best regards, Andrey Repin Wednesday, May 24, 2017 12:59:39 Sorry for my terrible english... -- 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