Re: Crash on completion

2010-05-05 Thread Chet Ramey
On 3/9/10 7:52 AM, Knirch wrote: > Fix for above bug, would seem that the while loop has fallen out of > the globword: I posted a patch for this a while ago. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa, vita brevis'' - Hippocrates Chet Ramey,

Re: Crash on completion

2010-05-05 Thread Knirch
Fix for above bug, would seem that the while loop has fallen out of the globword: sections if (state == 0).. since I'm unsure what'll happen with my reply formatting etc the patch below is without whitespace changes, someone else can do a proper formatting of it :) kni...@traktor:/tmp/bash-4.1$ di

Re: Crash on completion

2010-03-09 Thread Jan Schampera
Chet Ramey schrieb: > This was reported about five weeks ago, and there's a patch in the pipeline. > I've attached a version for the curious; try it out and let me know. Ah, I had a feeling I alredy read about it somwhere, but I didn't find it quickly, so I thought I was wrong. Thanks, Jan

Re: [bash-bug] Crash on completion

2010-03-09 Thread Dr. Werner Fink
On Tue, Mar 09, 2010 at 02:51:18PM +0100, Roman Rakus wrote: > > The bash segfaults on the line `while (val = > glob_matches[local_index++])', because glob_matches is pointer to > NULL. I have add the check for this null. But this is most likely > not the right patch. > RR > diff -up bash-4.1/bash

Re: Crash on completion

2010-03-09 Thread Roman Rakus
On 03/09/2010 01:41 PM, Roman Rakus wrote: On 03/09/2010 09:13 AM, Jan Schampera wrote: Hello list, hello Chet. Bug reported on freenode's IRC #bash by: Satgi There is a crash somewhere in completion (the last commandline is completed using TAB): echo $BASH_VERSION 4.1.2(1)-release m

Re: Crash on completion

2010-03-09 Thread Roman Rakus
On 03/09/2010 09:13 AM, Jan Schampera wrote: Hello list, hello Chet. Bug reported on freenode's IRC #bash by: Satgi There is a crash somewhere in completion (the last commandline is completed using TAB): echo $BASH_VERSION 4.1.2(1)-release mkdir -p the/?/directory ./the/\?/Segmenta

Re: Crash on completion

2010-03-09 Thread Chet Ramey
> Hello list, > hello Chet. > > Bug reported on freenode's IRC #bash by: Satgi > > There is a crash somewhere in completion (the last commandline is > completed using TAB): > > echo $BASH_VERSION > 4.1.2(1)-release > mkdir -p the/?/directory > ./the/\?/Segmentation fault (core dumped) T

Crash on completion

2010-03-09 Thread Jan Schampera
Hello list, hello Chet. Bug reported on freenode's IRC #bash by: Satgi There is a crash somewhere in completion (the last commandline is completed using TAB): echo $BASH_VERSION 4.1.2(1)-release mkdir -p the/?/directory ./the/\?/Segmentation fault (core dumped) These completions DO NOT

Re: Bash 4.0.0 crash on completion

2009-03-30 Thread Richard Leeden
programmed completion > (i.e. not a simple file name or variable name expansion), Bash > crashes. > Apply the patches (ftp://ftp.gnu.org/pub/gnu/bash/bash-4.0-patches/ ). I believe this was fixed by patch 002. -- View this message in context: http://www.nabble.com/Bash-4.0.0-crash-on-c

Re: Bash 4.0.0 crash on completion

2009-03-30 Thread Roman Rakus
André Johansen wrote: Configuration Information [Automatically generated, do not change]: Machine: sparc OS: solaris2.10 Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='sparc' -DCONF_OSTYPE='solaris2.10' -DCONF_MACHTYPE='sparc-sun-solaris2.10' -DCONF_VENDOR='sun' -DLOCALEDIR=

Bash 4.0.0 crash on completion

2009-03-30 Thread André Johansen
Configuration Information [Automatically generated, do not change]: Machine: sparc OS: solaris2.10 Compiler: gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='sparc' -DCONF_OSTYPE='solaris2.10' -DCONF_MACHTYPE='sparc-sun-solaris2.10' -DCONF_VENDOR='sun' -DLOCALEDIR='/usr/site/bash-4.0/shar