From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 79100 invoked by alias); 24 May 2017 02:53:35 -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 79084 invoked by uid 89); 24 May 2017 02:53:34 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=stellar, Hx-languages-length:1625 X-HELO: smtp-out-so.shaw.ca Received: from smtp-out-so.shaw.ca (HELO smtp-out-so.shaw.ca) (64.59.136.137) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 24 May 2017 02:53:33 +0000 Received: from [192.168.1.100] ([174.0.238.184]) by shaw.ca with SMTP id DMQXdSaTfeQWUDMQZderWp; Tue, 23 May 2017 20:53:35 -0600 X-Authority-Analysis: v=2.2 cv=UpATD64B c=1 sm=1 tr=0 a=WqCeCkldcEjBO3QZneQsCg==:117 a=WqCeCkldcEjBO3QZneQsCg==:17 a=IkcTkHD0fZMA:10 a=fGO4tVQLAAAA:8 a=MNe3xBCyQCmR_teJZTwA:9 a=QEXdDO2ut3YA:10 Reply-To: Brian.Inglis@SystematicSw.ab.ca Subject: Re: too many environment variables on self-compiled xar archiver To: cygwin@cygwin.com References: From: Brian Inglis Message-ID: <55609c2e-6bc5-1819-8342-815a0d79e51d@SystematicSw.ab.ca> Date: Wed, 24 May 2017 03:34:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfO0GUuroMB3okhihMyKgJrgpA/DZROx61s8ns1WOzX9RFGDKboztjraxU857ImWfWnPhCa9kllbYiCpQJXqT4bIMHuCOLy3kLVXkfd8ViW2wV3MXxFQ4 lzaoc2xXZVlBfnkhQuh3WotgSnlkwH5jMi6+xN0IUW7T3fUzBruTsCrxbEomrwoNKDJamnr5cjIfSQ== X-IsSubscribed: yes X-SW-Source: 2017-05/txt/msg00371.txt.bz2 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