[Top][All Lists]

[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: Fri, 29 May 2020 14:40:46 -0400
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:68.0) Gecko/20100101 Thunderbird/68.8.1

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
> 20:20:34 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
> Machine Type: x86_64-pc-linux-gnu
> Bash Version: 5.0
> Patch Level: 16
> Release Status: release
> Description:
> bash crashes with a segmentation fault on the command:
>     echo ~nosuchuser
> (This assumes there is no user named "nosuchuser".  If there
> is, pick a different name).
> It's likely this isn't a bug in bash itself, but I haven't
> been able to figure out what's going on.
> 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.  I haven't verified how far
> back this goes.

Can you try this with the current devel branch head from savannah? I
have a suspicion about what's going on.


``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]