Chet Ramey wrote: > p...@arcturus.universe wrote: > >> Bash Version: 4.0 >> Patch Level: 0 >> Release Status: release >> >> Description: >> Problem with auto completion : >> ls[space][TAB] >> gives the follwing abort : >> malloc: /Users/chet/src/bash/src/parse.y:5561: assertion botched >> free: called with unallocated block argument >> last command: ls >> Aborting...Abandon >> >> If /etc/bash_completion is suppressed, problem disapears. >> My bash_completion is : >> $Id: bash_completion,v 1.872 2006/03/01 16:20:18 ianmacd Exp $ >> >> Repeat-By: >> ls[space] [TAB] >> or >> cd[space][TAB] >> and several other commands. > > My fault; I dropped a line from a submitted patch. The attached > patch corrects it for me; see if it works for you.
Had the same problem with bash 4.0 when using bash-completion, your attached patch fixed it. Thanks. Rainer