From: "Matt D." <matt@codespunk.com>
To: cygwin@cygwin.com
Subject: Re: Bash declare built-in regression loses array quotations
Date: Fri, 13 Jan 2017 20:15:00 -0000 [thread overview]
Message-ID: <5879356A.9070506@codespunk.com> (raw)
In-Reply-To: <587931C1.5060509@gmail.com>
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
prev parent reply other threads:[~2017-01-13 20:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-01-13 20:00 Matt D.
2017-01-13 20:11 ` Eric Blake
2017-01-13 20:56 ` Matt D.
2017-01-13 20:15 ` Matt D. [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=5879356A.9070506@codespunk.com \
--to=matt@codespunk.com \
--cc=codespunk+cygwin@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).