Re: Seg fault on "echo ~nosuchuser"

2020-06-02 Thread Chet Ramey
On 6/1/20 7:58 PM, Ángel wrote: > On 2020-06-01 at 15:12 -0400, Chet Ramey wrote: >> 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 instruction

Re: Seg fault on "echo ~nosuchuser"

2020-06-01 Thread Ángel
On 2020-06-01 at 15:12 -0400, Chet Ramey wrote: > 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. >

Re: Seg fault on "echo ~nosuchuser"

2020-06-01 Thread Keith Thompson
On Mon, Jun 1, 2020 at 12:12 PM Chet Ramey 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/s

Re: Seg fault on "echo ~nosuchuser"

2020-06-01 Thread Chet Ramey
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 > > >

Re: Seg fault on "echo ~nosuchuser"

2020-06-01 Thread Keith Thompson
On Mon, Jun 1, 2020 at 6:05 AM Chet Ramey wrote: > On 5/29/20 2:50 PM, Keith Thompson wrote: > > >> Can you try this with the current devel branch head from savannah? I > >> have a suspicion about what's going on. > >> > >> http://git.savannah.gnu.org/cgit/bash.git/snapshot/bash-devel.tar.gz > >

Re: Seg fault on "echo ~nosuchuser"

2020-06-01 Thread Chet Ramey
On 5/29/20 2:50 PM, Keith Thompson wrote: >> Can you try this with the current devel branch head from savannah? I >> have a suspicion about what's going on. >> >> http://git.savannah.gnu.org/cgit/bash.git/snapshot/bash-devel.tar.gz > > This did not reproduce the bug. > > $ ./bash --version > GNU

Re: Seg fault on "echo ~nosuchuser"

2020-05-29 Thread Keith Thompson
On Fri, May 29, 2020 at 11:40 AM Chet Ramey wrote: > > On 5/28/20 6:12 PM, Keith Thompson wrote: > > Configuration Information [Automatically generated, do not change]: > > Machine: x86_64 > > OS: linux-gnu > > Compiler: gcc > > Compilation CFLAGS: -g -Wno-parentheses -Wno-format-security > > unam

Re: Seg fault on "echo ~nosuchuser"

2020-05-29 Thread Chet Ramey
On 5/28/20 6:12 PM, Keith Thompson wrote: > Configuration Information [Automatically generated, do not change]: > Machine: x86_64 > OS: linux-gnu > Compiler: gcc > Compilation CFLAGS: -g -Wno-parentheses -Wno-format-security > uname output: Linux bomb20 5.4.0-31-generic #35-Ubuntu SMP Thu May 7 > 2

Re: Seg fault on "echo ~nosuchuser"

2020-05-29 Thread Robert Elz
Date:Thu, 28 May 2020 15:12:47 -0700 From:Keith Thompson Message-ID: | Program received signal SIGSEGV, Segmentation fault. | 0x7777eddb in ?? () from /lib/x86_64-linux-gnu/libnss_systemd.so.2 | (gdb) where | #0 0x7777eddb in ?? () from /l

Re: Seg fault on "echo ~nosuchuser"

2020-05-28 Thread Eric Pruitt
On Thu, May 28, 2020 at 03:12:47PM -0700, Keith Thompson wrote: > I see this problem on copies of bash 5.0.16 and 5.0.17 built from > sourced on Ubuntu 20.04 LTS. It does *not* occur with the /bin/bash > GNU bash, version 5.0.16(1)-release (x86_64-pc-linux-gnu) > provided by the distribution.

Seg fault on "echo ~nosuchuser"

2020-05-28 Thread Keith Thompson
Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -Wno-parentheses -Wno-format-security uname output: Linux bomb20 5.4.0-31-generic #35-Ubuntu SMP Thu May 7 20:20:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux Machine