Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #16569

Re: Segfault in Bash

Path csiph.com!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Ilkka Virta <itvirta@iki.fi>
Newsgroups gnu.bash.bug
Subject Re: Segfault in Bash
Date Tue, 14 Jul 2020 18:55:14 +0300
Lines 22
Approved bug-bash@gnu.org
Message-ID <mailman.202.1594742088.2306.bug-bash@gnu.org> (permalink)
References <CAH8yC8nB5fhvvdD1bCUsgNzNTni4ixkjDbfeKQLNVqZ71HpxBg@mail.gmail.com> <036bbb18-fba6-71e6-4731-7a3dc81c2752@iki.fi>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0
Content-Type text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding 7bit
X-Trace usenet.stanford.edu 1594742088 15649 209.51.188.17 (14 Jul 2020 15:54:48 GMT)
X-Complaints-To action@cs.stanford.edu
To noloader@gmail.com, bug-bash@gnu.org
Envelope-to bug-bash@gnu.org
User-Agent Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:68.0) Gecko/20100101 Thunderbird/68.10.0
In-Reply-To <CAH8yC8nB5fhvvdD1bCUsgNzNTni4ixkjDbfeKQLNVqZ71HpxBg@mail.gmail.com>
Content-Language en-US
X-SASI-RCODE 200
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=iki.fi; h=subject:to:references:from:message-id:date:mime-version:in-reply-to:content-type:content-transfer-encoding; s=smtp; bh=piRjBMHClEiLp35q+y7Gr0GnCLSfojs4CVxPu0aMQmU=; b=ww6QAUFCcnhrz2beZMlMdm5FpNP2YgK8f4uU8EoB6L2vU+PY+bRKj9u6qs9h0wq2f4+qXhay3hXbBidqPsjq/ao2zwm1Sdj1Kx0SbE859yoh3UBW1+Q2G7tZq/pdzCWv0nKGFuZE5Jc4CNtCLCI/RDP+TXhvjgWUpa3mcGTcCCf3WXcgjnL/lmCzCiHi8B0+PNMARgSMIl9XIVZ3RtzeOON5Ch0RiKpFN4RzML8w4Upt0bG0EP2o30Tm569DwOCkC3PL24QJDf3dwyjV/E7ZZQImumUzS55zGjE8y3NqJDEpAGgUOQr7CjMSdZm6/1VadgTsPS4fxv9UJpEt2wU9YQ==
Received-SPF neutral client-ip=157.24.2.104; envelope-from=itvirta@iki.fi; helo=smtp-in-2.cc.lut.fi
X-detected-operating-system by eggs.gnu.org: First seen = 2020/07/14 11:54:39
X-ACL-Warn Detected OS = FreeBSD 8.x
X-Spam_score_int -31
X-Spam_score -3.2
X-Spam_bar ---
X-Spam_report (-3.2 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779, URIBL_BLOCKED=0.001 autolearn=ham autolearn_force=no
X-Spam_action no action
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.23
Precedence list
List-Id Bug reports for the GNU Bourne Again SHell <bug-bash.gnu.org>
List-Unsubscribe <https://lists.gnu.org/mailman/options/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=unsubscribe>
List-Archive <https://lists.gnu.org/archive/html/bug-bash>
List-Post <mailto:bug-bash@gnu.org>
List-Help <mailto:bug-bash-request@gnu.org?subject=help>
List-Subscribe <https://lists.gnu.org/mailman/listinfo/bug-bash>, <mailto:bug-bash-request@gnu.org?subject=subscribe>
X-Mailman-Original-Message-ID <036bbb18-fba6-71e6-4731-7a3dc81c2752@iki.fi>
X-Mailman-Original-References <CAH8yC8nB5fhvvdD1bCUsgNzNTni4ixkjDbfeKQLNVqZ71HpxBg@mail.gmail.com>
Xref csiph.com gnu.bash.bug:16569

Show key headers only | View raw


On 14.7. 13:32, Jeffrey Walton wrote:
> Hi Everyone,
> 
> I'm working on a script to find all shared objects in a directory. A
> filename should match the RE '*.so$'. I thought I would pipe it to
> grep:

> IFS="" find "$dir" -name '*.so' -print | while read -r file
> do
>      if ! $(echo "$file" | grep -E "*.so$"); then continue; fi
>      echo "library: $file"
> 
> done

Are you trying to find the .so files, or run them for some tests? 
Because it looks to me that you're running whatever that command 
substitution outputs, and not all dynamic libraries are made for that.


-- 
Ilkka Virta / itvirta@iki.fi

Back to gnu.bash.bug | Previous | Next | Find similar


Thread

Re: Segfault in Bash Ilkka Virta <itvirta@iki.fi> - 2020-07-14 18:55 +0300

csiph-web