Re: free: called with unallocated block argument

2009-02-25 Thread Roman Rakus

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.

Chet
  
It will be useful to have bash-4.0-patches available  as it was for past 
versions. When are you planning to do that? Thanks.

RR




Re: free: called with unallocated block argument

2009-02-25 Thread Chet Ramey
 It will be useful to have bash-4.0-patches available  as it was for past 
 versions. When are you planning to do that? Thanks.

I will release official bash-4.0 patches as I have a chance.  The posts
to the mailing list are to get fixes in peoples' hands quickly.

Chet

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer

Chet Ramey, ITS, CWRUc...@case.eduhttp://tiswww.tis.case.edu/~chet/




Re: free: called with unallocated block argument

2009-02-25 Thread Mike Frysinger
On Wednesday 25 February 2009 09:06:21 Roman Rakus wrote:
 It will be useful to have bash-4.0-patches available  as it was for past
 versions. When are you planning to do that? Thanks.

ive been adding them to Gentoo as Chet posts them ...
http://sources.gentoo.org/app-shells/bash/files/bash-4.0-*
(well, there might be one or two there that didnt come from Chet, so just read 
the patch header first :D)
-mike


signature.asc
Description: This is a digitally signed message part.


Re: free: called with unallocated block argument

2009-02-23 Thread Rainer Müller
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





Re: free: called with unallocated block argument

2009-02-22 Thread Chet Ramey
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, CWRUc...@case.eduhttp://cnswww.cns.cwru.edu/~chet/
*** ../bash-4.0/pcomplete.c 2009-02-01 17:12:31.0 -0500
--- pcomplete.c 2009-02-22 17:08:25.0 -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);


free: called with unallocated block argument

2009-02-21 Thread phil
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' 
-DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib   -g -O2
uname output: Linux Arcturus 2.6.27.15jpmr #20 SMP Sun Feb 8 12:51:35 CET 2009 
i686 GNU/Linux
Machine Type: i686-pc-linux-gnu

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.