delorie.com/archives/browse.cgi | search |
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:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type; q=dns; s=default; b=imGsI9 | |
Dsd082UlHHRM07RgLycwcnkN09qFO4TYPeg845ogLvHqJhNZgnbYpa1tUG2x3ATV | |
oVnKiwvxNTkxnoM6Qiw3DO1zwNxgPYiZ6JOeRKrh4QKb2v+XrNX88fEKkCu8ITJV | |
Y43/Fef1ea0OWqmIIHcRiaODn+vKxfGfirPrQ= | |
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:message-id:date:from:mime-version:to:subject | |
:references:in-reply-to:content-type; s=default; bh=T4YQJs3gj8Er | |
qQr3U4ebRwbdYwg=; b=FuEmfj647cQX7LJZdtqjDPe4p+j4uC5K3N8ujTVbQ8LW | |
4N3N3wsqsoQ/TTjCxrOVSgS8tHgNWssTR5bY4bueAP31H0DIHfaH5DduZY/hB1aA | |
d8UkaaanDmQ1ONkZurYcHNClaNtXzn8KjGoEdQh1cZ/uEBNGCZ3AIqVEn9htIh4= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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=-2.5 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 |
X-HELO: | mx1.redhat.com |
Message-ID: | <5429CF29.8030205@redhat.com> |
Date: | Mon, 29 Sep 2014 15:29:13 -0600 |
From: | Eric Blake <eblake AT redhat DOT com> |
User-Agent: | Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: [ANNOUNCEMENT] Updated: bash-4.1.13-6 |
References: | <announce DOT 54265593 DOT 3030307 AT byu DOT net> <6CF2FC1279D0844C9357664DC5A08BA20EC15E2A AT MLBXV06 DOT nih DOT gov> |
In-Reply-To: | <6CF2FC1279D0844C9357664DC5A08BA20EC15E2A@MLBXV06.nih.gov> |
OpenPGP: | url=http://people.redhat.com/eblake/eblake.gpg |
X-IsSubscribed: | yes |
--xTdI2a2UI88BWvTO6Fg5M08BV7oclxDpM Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/29/2014 03:23 PM, Buchbinder, Barry (NIH/NIAID) [E] wrote: > Eric Blake (cygwin) sent the following at Saturday, September 27, 2014 2:= 14 AM >=20 > Using the new version of bash, two scripts that I use have both started g= iving me > the following error message(s). >=20 > /usr/bin/bash: error importing function definition for `BASH_FUNC_make-lo= g' > /usr/bin/bash: error importing function definition for `BASH_FUNC_configu= re-log' > /usr/bin/bash: error importing function definition for `BASH_FUNC_prt-ali= as' These functions contain '-' in their name; that's a limitation of the downstream forked patch I applied early to get 4.1.13-6 out the door. Upstream solved it in a nicer manner, so you can once again have functions with '-' in the name. Please try again with the just-released 4.1.14-7. >=20 > I was able to get rid of this by commenting out the functions (make-log, > configure-log, and prt-alias) and removing them from the list of function= s being > set and exported in ~/.bashrc. I rarely use these functions and would be= unlikely > to use them in a subshell so that works as a solution. Having the function wasn't the problem, it was exporting it. You can still have the function even in 4.1.13-6, as long as you don't export it. >=20 > Another thing happening is that some scripts are now sometimes giving thi= s error > message, but only when the problem function exports are not being exporte= d. >=20 > Segmentation fault (core dumped) Umm, that's not good. Can you please come up with a minimal reproduction formula? Which program is dumping core? Bash, or something else? Is it due to trying to execute the function that was not imported? >=20 > Any hints about what I should look for to make export of my bash shell fu= nctions > reliable? Upgrading to the next version :) --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --xTdI2a2UI88BWvTO6Fg5M08BV7oclxDpM Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg iQEcBAEBCAAGBQJUKc8pAAoJEKeha0olJ0NqjtYH/2GCcVspPrg3au2xjQFd6gFH XkL8RkweNSulrjf5juznU8EZd95LEE1gto5nz2ktVBdQMulcK3hI54unftdQZIOX KUHBxuaU3RMuIgjZPGPvtVJbo0fYOzdVLMWxJiwGlY+tUKIRlMZYXk9esnq/geF8 VEVZp4Ui8QiQonMYaxhjLr6+wJq/aBLd86sypR83vDpFgpLm0ZQSR8jpFRmMlMOx SG8JdG36uucR7j2FS92A8y8+UiugZdzLluUXQ4VGd6Q2F2GTvQdftv/HNw3eV/z6 M4e//93MN41+Crjv1mroSVMZENKavJy0TT70cYuboiRIzUjpG3uTq/7JIa6me6I= =6zcV -----END PGP SIGNATURE----- --xTdI2a2UI88BWvTO6Fg5M08BV7oclxDpM--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |