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


Groups > gnu.bash.bug > #14374

Re: [1] 69728 segmentation fault bash

Path csiph.com!goblin2!goblin1!goblin.stu.neva.ru!usenet.stanford.edu!not-for-mail
From Clint Hepner <clint.hepner@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: [1] 69728 segmentation fault bash
Date Fri, 20 Jul 2018 12:18:28 -0400
Lines 37
Approved bug-bash@gnu.org
Message-ID <mailman.3908.1532103516.1292.bug-bash@gnu.org> (permalink)
References <CAJ=MUbJ6Qib_tyKmD1G2M1z8QP9SDF2tVx3m-SXB3Zv00CPhQw@mail.gmail.com> <5BF37503-E5B4-4695-9CF1-2BD390D1FF54@gmail.com> <CAJ=MUbL35-w51F1m86J-jzg0vy60S41EJed53E6tXbt-BhF1Dg@mail.gmail.com>
NNTP-Posting-Host lists.gnu.org
Mime-Version 1.0 (Mac OS X Mail 10.3 \(3273\))
Content-Type text/plain; charset=us-ascii
Content-Transfer-Encoding quoted-printable
X-Trace usenet.stanford.edu 1532103517 22225 208.118.235.17 (20 Jul 2018 16:18:37 GMT)
X-Complaints-To action@cs.stanford.edu
Cc bug-bash@gnu.org
To Mr Guiguilebreton <gmadec101@gmail.com>
Envelope-to bug-bash@gnu.org
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=cToQT62mYU9Tu6+TZ8yPMGhY9W1djGe2Lgkklf5LL4g=; b=F+kwR81lcdBzKd+NlnQ3lASdMAuEpdaBx+xPiPWmxJB2jo6T4Dmjjptp6BYf0mHCDZ e74hjfzUH6WrWCwDgSiqLZODb/RA3aqbXOmH880zDKbu5wOq7dXi4G21v8w/d+bmhgYz mWFxOr2BpEKelhR5ztDzaDecS3NBbBcf1ly3h9VyEv9Zu+A/2gnIrR5IJxfRp+caYvJt MHY1b/f13uQNHkvx8ldKKAafSkvhjkGrPkOZ5bZMZXi5t22aniuJSOSIPoisH5s5mvUu tUNiGP7OBtShrplakBnlpmVzXRK1CCmf463BzRasInA6k+NyhRyE3pxXDwe93CqsoB7c HPAQ==
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=cToQT62mYU9Tu6+TZ8yPMGhY9W1djGe2Lgkklf5LL4g=; b=bNtslfYVt6tMVoss285IOJiy6nrfjr0AJN1B/lK3HMEfcP62Lg8WzxpIlR7HxFhVIh 3d3jxpBApGt0kabTHnuYfO+kW/DCeZdKwRfKEF7Uvuw3e7/l+ZK/QeI+cMRxajyKwfd/ NMxka4prUBz1OfflIcfx5FPYyoHVGdl9HbYn51j1yORLBlSXcPDyg11Fuih4O8RVV5Va aoO2dDfVmmpXumtIoWoI8y/SxiZ1QrcqChNbgDs26pfSRERxy1VJnnQ0tITw2SImrvmN rsdZ5y14Do1PDcPhbJovUm3aqlIZnWn3hhvBPxJDo6kUtUeEUdClBzYp/nwPN8C1B4fY kwjQ==
X-Gm-Message-State AOUpUlE80Gx1fSDvO4q3Qin7rYDvEBMmZ14ALvPpnJ1EkPXGbpoEm+WH qjsoOzwk1s5B6BmbxpX+4do=
X-Google-Smtp-Source AAOMgpc7AyTjVtkCQYXW2zmNqZwSdUA6DGQfBMISgMaFIHrs4ryxB7c4brsTZQcfmqtTLTpZudk1kA==
X-Received by 2002:a0c:f685:: with SMTP id p5-v6mr2400138qvn.22.1532103510205; Fri, 20 Jul 2018 09:18:30 -0700 (PDT)
In-Reply-To <CAJ=MUbL35-w51F1m86J-jzg0vy60S41EJed53E6tXbt-BhF1Dg@mail.gmail.com>
X-Mailer Apple Mail (2.3273)
X-detected-operating-system by eggs.gnu.org: Genre and OS details not recognized.
X-Received-From 2607:f8b0:400d:c0d::232
X-BeenThere bug-bash@gnu.org
X-Mailman-Version 2.1.21
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 <http://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>
Xref csiph.com gnu.bash.bug:14374

Show key headers only | View raw


> On 2018 Jul 20 , at 10:40 a, Mr Guiguilebreton <gmadec101@gmail.com> wrote:
> 
> Yes, i now. I test the syntax and the parse error because I programming a command interpreter bash in C language and I report the Segmentation Fault for help you to debug. If you want I can help you free to solve the problem.

See https://lists.gnu.org/archive/html/bug-bash/2017-09/msg00048.html.

> 
> 
> freely,
> Guillaume Madec
> (+33)6 46 01 00 79
> 
> 2018-07-20 16:17 GMT+02:00 Clint Hepner <clint.hepner@gmail.com>:
> 
> > On 2018 Jul 20 , at 9:27 a, Mr Guiguilebreton <gmadec101@gmail.com> wrote:
> > 
> > Hello, check this command in GNU bash, version 3.2.57(1)-release
> > (x86_64-apple-darwin17):
> > 
> > ls () { ls -lG;}; ls
> 
> You wrote a recursive function with no base case. Don't do that.
> 
>     ls () { command ls -lG; }; ls
> 
> or use an alias for one of its few legitimate use cases
> 
>     alias ls='ls -lG'
> 

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


Thread

Re: [1] 69728 segmentation fault bash Clint Hepner <clint.hepner@gmail.com> - 2018-07-20 12:18 -0400

csiph-web