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. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer Chet Ramey, ITS, CWRU c...@case.edu http://cnswww.cns.cwru.edu/~chet/
*** ../bash-4.0/pcomplete.c 2009-02-01 17:12:31.000000000 -0500 --- pcomplete.c 2009-02-22 17:08:25.000000000 -0500 *************** *** 1033,1036 **** --- 1033,1037 ---- pps = &ps; + save_parser_state (pps); begin_unwind_frame ("gen-shell-function-matches"); add_unwind_protect (restore_parser_state, (char *)pps);