Using systemd-249's libnss_systemd.so.2 triggers a crash in bash-5.1's malloc.c

2021-10-03 Thread Julien Moutinho
Bash Version: 5.1 Patch Level: 8 Release Status: release Architecture: x86_64-linux Description: bash-5.1 reaches crashing code paths when launched by systemd-249 or valgrind. I cannot get such crashes when bash is built using: ./configure --without-bash-malloc Repeat-By: Here's a Nix recipe

Re: Misleading error when attempting to run foreign executable

2021-10-03 Thread Alex fxmbsw7 Ratchev
it is trying to execute its ld.so parser which linux doesnt have of hurd ( or so ) , thats why u get no file On Mon, Oct 4, 2021, 02:20 Andrea Monaco wrote: > > Hello, > > > I'm using bash 5.0.3 on GNU/Linux. When I mount a GNU/Hurd filesystem and > try to run an executable found there, I get

Misleading error when attempting to run foreign executable

2021-10-03 Thread Andrea Monaco
Hello, I'm using bash 5.0.3 on GNU/Linux. When I mount a GNU/Hurd filesystem and try to run an executable found there, I get for example: bash: ./ext2fs: No such file or directory This seems a misleading error to me. The file is there and is executable, I guess it can't be run on my system

Re: Request change to output of declare -f funcname

2021-10-03 Thread Chet Ramey
On 10/2/21 1:02 PM, Léa Gris wrote: Le 02/10/2021 à 18:45, Greg Wooledge écrivait : On Sat, Oct 02, 2021 at 06:06:32PM +0200, Léa Gris wrote: Better illustrated how newlines are discarded: $ sudo bash -c 'echo hello echo world' hello world $ sudo -i bash -c 'echo hello echo world'

Re: issue compiling bash.git with new sw on phone

2021-10-03 Thread Alex fxmbsw7 Ratchev
besides i still dont understand, i cannot simple it it must be some beta sw update, .. earlier some month ago i compiled bash.git.devel without problems On Sun, Oct 3, 2021, 21:18 Chet Ramey wrote: > On 10/2/21 7:40 AM, Alex fxmbsw7 Ratchev wrote: > > > malloc: make_cmd.c:656: assertion botched

Re: issue compiling bash.git with new sw on phone

2021-10-03 Thread Chet Ramey
On 10/2/21 7:40 AM, Alex fxmbsw7 Ratchev wrote: malloc: make_cmd.c:656: assertion botched malloc: 0x3000220af0: allocated: last allocated from make_cmd.c:656 realloc: underflow detected; mh_nbytes out of range Aborting/configure: line 8975: 11907 Aborted CC="$CC" GCC="$GCC"