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. http://git.savannah.gnu.org/cgit/bash.git/snapshot/bash-devel.tar.gz Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/