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


Groups > gnu.bash.bug > #16345

Re: Seg fault on "echo ~nosuchuser"

From Keith Thompson <Keith.S.Thompson@gmail.com>
Newsgroups gnu.bash.bug
Subject Re: Seg fault on "echo ~nosuchuser"
Date 2020-06-01 12:51 -0700
Message-ID <mailman.947.1591041114.2541.bug-bash@gnu.org> (permalink)
References (2 earlier) <CAAHpriN1QYMAHOqAKHr=yOJF-0tiiKDnzqawXh+DYxP7=wrDiA@mail.gmail.com> <81924c39-6cde-617b-c5a7-5e3605e0c3b8@case.edu> <CAAHpriP=25drsYLtrOti2-fYEFjNpm76sAVskiVxUdthEB0vjw@mail.gmail.com> <6e7b8282-c41a-15b8-0dbf-9f811f6c3eee@case.edu> <CAAHpriPWhfoQknRMLLfk3k-ZS5y2DBOfy8o1g4C_HNYdT2stmA@mail.gmail.com>

Show all headers | View raw


On Mon, Jun 1, 2020 at 12:12 PM Chet Ramey <chet.ramey@case.edu> wrote:
>
> On 6/1/20 3:04 PM, Keith Thompson wrote:
>
> >     OK, that's half of it.
> >
> >     If you have a chance, can you verify that the problem exists with the
> >     bash-20200520 push?
> >
> >     http://git.savannah.gnu.org/cgit/bash.git/snapshot/bash-ce1a3c07c4e17ed176edccd75892dfcf8242de60.tar.gz
> >
> >
> > Confirmed, the problem does exist with that version.
>
> I finally found a case where 16-byte alignment for memory returned by
> malloc() is required. But it's only on Linux systems that use systemd.
> I bet it's trying to marshal arguments for IPC and uses instructions
> that require 16-byte alignment.
>
> Thanks for your help verifying this.
>
> Chet

You probably already know this, but I tested this with the last few
versions on the devel branch.

The problem occurs on versions up to and including commit
ce1a3c07c4e17ed176edccd75892dfcf8242de60 "bash-20200520 snapshot".
The problem does not occur on commit
37adc8b99d4c15dcb9e6582aa19a2ef61afb592f "bash-20200527 snapshot".

Yes, my system uses systemd.

Glad I could help.

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


Thread

Re: Seg fault on "echo ~nosuchuser" Keith Thompson <Keith.S.Thompson@gmail.com> - 2020-06-01 12:51 -0700

csiph-web