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:subject:reply-to:references:to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=JjGnKjs/GxknkGr/ lqqg7L8CGURTRF/e0os0Ku+SWg5+xCGLu2PBM5N9WKcYryhmgkCz9jFRSlBEvsof B6pSHWYlbIlR2AZqZnsU14zGPhNxFhVnyBDDXlEYiLuxDfg4UwJnI6Ne54acRdKu EVPUdI5pcBMcfzbmHZyH1TrtFLE= 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:subject:reply-to:references:to:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=V0wy3KzLGta7imrxBQMewP FZqyQ=; b=dRwUFkrmgefg2WPiI2JKy53Xnpfwm4tgfFoULkQAXaoq3FZEi5ts7C FSRY58p2TaDZxY7YASPeqkoHhS8848yf7vAn0MQxyTvEZ64qbW38h9z/NHeACcTx DOn+W70hfdWC6xr57AU1H4wMS2dhnTxpVmPeEpr7t8ES+nNl4uRfs= 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=-1.5 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=dumped, aborted, Aborted, codespunk X-HELO: mail-pf0-f178.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:reply-to:references:to:from:message-id :date:user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=/VSZeip/O3BtQEg0Yk+xghkc1suzZUH+C83iZNAKTOc=; b=F0f3sPEyNVb4YVJ2YAt4/bYApqqz8hanTdRq5GaDrPGLBN1CEQUPUdEq0ID/EZfUg5 LFEy4VsW1KVVcChA8Pp0psW5esI5QhR1YZ8wkfCL8+u65Gli8M4HVfIe9CR+9SsHGLOX pHomJbqTxCz8x0ByfL7u32LlxYAvXQhX5tNPkB5FnwzPiWPrPCf392xXfUgwalFJMwAF kIJ3L5GXxRnxU8Oq41ba/9NBkeOmiuFkJauHH/asjIgs/JyMB8JPIC5IRYEaWdAVKiQk 5WSA45LKACoKIG1U1FpTEse9WHPgDLl5U1vCa1QSTH63I03GgXHfjfS8lOQBw0rN/jGq 09eg== X-Gm-Message-State: AIkVDXI/7x6jM+9+MKk7mtqevLpOFQE5Z5L1WXRVJtXUYI/QzSKQbIOD5B936rRMvskdgw== X-Received: by 10.98.93.152 with SMTP id n24mr24443530pfj.107.1484338539232; Fri, 13 Jan 2017 12:15:39 -0800 (PST) Subject: Re: Bash declare built-in regression loses array quotations Reply-To: codespunk+cygwin AT gmail DOT com References: <587931C1 DOT 5060509 AT gmail DOT com> To: cygwin AT cygwin DOT com From: "Matt D." Message-ID: <5879356A.9070506@codespunk.com> Date: Fri, 13 Jan 2017 15:15:38 -0500 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <587931C1.5060509@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit While my simple test passed, I am now experiencing runtime assertions with Cygwin. These assertions occur on 2.6.1-1 and the alternatively available 2.6.0-1: assertion "(s - envblock) <= tl" failed: file "/home/corinna/src/cygwin/cygwin-2.6.1/cygwin-2.6.1-1.i686/src/newlib-cygwin/winsup/cygwin/environ.cc", line 1242, function: char** build_env(const char* const*, WCHAR*&, int&, bool, HANDLE) /c/data/workspaces/remote/plugins/shared/scripts/plugin.sh: line 64: 8448 Aborted (core dumped) /usr/local/lib/codespunk/scra.exp --p "$p" "bin/$plugin.jar" "$user@$host:$path/other/plugins/$plugin.jar" assertion "(s - envblock) <= tl" failed: file "/home/corinna/src/cygwin/cygwin-2.6.1/cygwin-2.6.1-1.i686/src/newlib-cygwin/winsup/cygwin/environ.cc", line 1242, function: char** build_env(const char* const*, WCHAR*&, int&, bool, HANDLE) /c/data/workspaces/remote/plugins/shared/scripts/plugin.sh: line 64: 13920 Aborted (core dumped) /usr/local/lib/codespunk/scrb.exp $h --u "$u" --p "$p" "chmod 660 $path/other/plugins/$plugin.jar" This bug is SEVERE and I can no longer perform any builds with these assertions. The Cygwin installer does not appear to provide a working version for me to roll back to. Please advise. I cannot get any work done with in this state. Matt D. On 1/13/2017 3:00 PM, Matt D. wrote: > I updated yesterday to the latest Cygwin x86 release which included an > updated Bash 4.4.5(1). This release changes the default behavior of the > built-in 'declare' command which is causing scripts which relied on this > functionality to break. > > The following test will illustrate the change: > declare -A list > list[a]=1 > list[b]=2 > list[c]=3 > declare -p | grep list= > > On Bash 4.4.5(1) the output is: > declare -A list=([a]="1" [b]="2" [c]="3" ) > > Previously the result was: > declare -A list='([a]="1" [b]="2" [c]="3" )' > > I can confirm that this has always been the expected output when running > this command on Cygwin and Linux. I run CentOS which does not track the > latest Bash release and I don't know the procedure to check whether this > is an upstream regression or not. > > I have rolled back to Bash 4.3.48-8 which has restored the previous > functionality. > > Please advise. > > Matt D. -- 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