bash auto complete malloc 'assertion botched' error

2010-10-09 Thread Fletcher Johnson
Configuration Information [Automatically generated, do not change]:
Machine: i486
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i486'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash'
-DSHELL -DHAVE_CONFIG_H   -I.
-I../bash -I../bash/include -I../bash/lib   -g -O2 -Wall
uname output: Linux kiwi 2.6.31-22-generic #65-Ubuntu SMP Thu Sep 16
15:48:58 UTC 2010 i686 GNU/Linux
Machine Type: i486-pc-linux-gnu

Bash Version: 4.0
Patch Level: 33
Release Status: release

Description:
Typing the following in the shell produces...

fletc...@kiwi:~$ cd '\
malloc: unknown:0: assertion botched
free: start and end chunk sizes differ
Aborting...

Repeat-By: typing cd '\ or ls "\ will reproduce the above bug



Re: bash auto complete malloc 'assertion botched' error

2010-10-09 Thread Gerard Seibert
On Fri, 8 Oct 2010 16:51:36 -0400
Fletcher Johnson  articulated:

> Configuration Information [Automatically generated, do not change]:
> Machine: i486
> OS: linux-gnu
> Compiler: gcc
> Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i486'
> -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu'
> -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash'
> -DSHELL -DHAVE_CONFIG_H   -I.
> -I../bash -I../bash/include -I../bash/lib   -g -O2 -Wall
> uname output: Linux kiwi 2.6.31-22-generic #65-Ubuntu SMP Thu Sep 16
> 15:48:58 UTC 2010 i686 GNU/Linux
> Machine Type: i486-pc-linux-gnu
> 
> Bash Version: 4.0
> Patch Level: 33
> Release Status: release
> 
> Description:
> Typing the following in the shell produces...
> 
> fletc...@kiwi:~$ cd '\
> malloc: unknown:0: assertion botched
> free: start and end chunk sizes differ
> Aborting...
> 
> Repeat-By: typing cd '\ or ls "\ will reproduce the above bug

Using: GNU bash, version 4.1.7(2)-release (amd64-portbld-freebsd8.1)
does not seem to produce that error.

-- 
Gerard ✌
ger...@seibercom.net

Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the Reply-To header.
__




Re: bash auto complete malloc 'assertion botched' error

2010-10-09 Thread Chris F.A. Johnson

On Sat, 9 Oct 2010, Gerard Seibert wrote:


On Fri, 8 Oct 2010 16:51:36 -0400
Fletcher Johnson  articulated:


Configuration Information [Automatically generated, do not change]:
Machine: i486
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i486'
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu'
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash'
-DSHELL -DHAVE_CONFIG_H   -I.
-I../bash -I../bash/include -I../bash/lib   -g -O2 -Wall
uname output: Linux kiwi 2.6.31-22-generic #65-Ubuntu SMP Thu Sep 16
15:48:58 UTC 2010 i686 GNU/Linux
Machine Type: i486-pc-linux-gnu

Bash Version: 4.0
Patch Level: 33
Release Status: release

Description:
Typing the following in the shell produces...

fletc...@kiwi:~$ cd '\
malloc: unknown:0: assertion botched
free: start and end chunk sizes differ
Aborting...

Repeat-By: typing cd '\ or ls "\ will reproduce the above bug


Using: GNU bash, version 4.1.7(2)-release (amd64-portbld-freebsd8.1)
does not seem to produce that error.


   Nor does 4.0.28(2)-release on Mandriva 2009.1.

--
   Chris F.A. Johnson, 
   Author:
   Pro Bash Programming: Scripting the GNU/Linux Shell (2009, Apress)
   Shell Scripting Recipes: A Problem-Solution Approach (2005, Apress)