bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Seg fault on "echo ~nosuchuser"


From: Chet Ramey
Subject: Re: Seg fault on "echo ~nosuchuser"
Date: Mon, 1 Jun 2020 15:12:08 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.8.1

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
-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU    chet@case.edu    http://tiswww.cwru.edu/~chet/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]