[Top][All Lists]

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

compgen -W "$(ls $HOME)" -> malloc error

From: Doug Kearns
Subject: compgen -W "$(ls $HOME)" -> malloc error
Date: Mon, 6 May 2002 18:18:37 GMT

Configuration Information [Automatically generated, do not change]:
Machine: i686
OS: linux-gnu
Compiler: gcc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i686' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i686-pc-linux-gnu' 
-I./lib -O2 -march=i386 -mcpu=i686
uname output: Linux localhost.localdomain 2.4.7-10 #1 Thu Sep 6 17:27:27 EDT 
2001 i686 unknown
Machine Type: i686-pc-linux-gnu

Bash Version: 2.05a
Patch Level: 0
Release Status: release

        I recently upgraded from 2.05 to 2.05a and noticed a large number of my
        completion functions running off with the CPU. Sending them a SIGINT
        gives something like:

        malloc: variables.c:1886: assertion botched
        free: underflow detected; mh_nbytes out of range
        last command: grep -i 'assertion botched' *
        Stopping myself...
        compgen -W "$(ls $HOME)"
        compgen -W "$(echo -e "a\nb")"
        Not known. Sorry, I don't have time to investigate further at the 

        Use single quotes to quote the argument to compgen -W where possible.
        eg. compgen -W '$(ls $HOME)'

reply via email to

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