bug-bash
[Top][All Lists]
Advanced

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

Bash crashes on wildcards


From: jwodder
Subject: Bash crashes on wildcards
Date: Tue, 3 Jun 2008 17:12:32 GMT

Configuration Information [Automatically generated, do not change]:
Machine: alpha
OS: netbsd
Compiler: cc
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='alpha' 
-DCONF_OSTYPE='netbsd' -DCONF_MACHTYPE='alpha--netbsd' -DCONF_VENDOR='' 
-DLOCALEDIR='/usr/pkg/share/locale' -DPACKAGE='bash' -DSHELL  -DHAVE_CONFIG_H   
-I.  -I. -I./include -I./lib  
-DDEFAULT_PATH_VALUE=/usr/bin:/bin:/usr/pkg/bin:/usr/local/bin -I/usr/include 
-O2 -mieee -I/usr/include
uname output: NetBSD faeroes 3.1.1_PATCH NetBSD 3.1.1_PATCH (sdf) #0: Mon Jul  
2 15:57:43 UTC 2007  root@faeroes:/var/netbsd/arch/alpha/compile/sdf alpha
Machine Type: alpha--netbsd

Bash Version: 3.2
Patch Level: 33
Release Status: release

Description:
        On newer versions of NetBSD (seemingly anything v.3 or above), attempts
to use any of the wildcards '*', '?', and '[' ... ']' (though not '{' ... '}')
result in bash suddenly terminating & creating a core image, having received
"signal 12."  This happens regardless of the number of matches and regardless
of whether there are any matches at all.  Interestingly, if the 'failglob'
option is set, bash prints a message about being unable to find any matches
(even if there were matches) before terminating.  This bug has only been
observed in the version of bash specified above.

Repeat-By:
        This bug can be observed simply by attemping to use one of the
wildcards in bash on a NetBSD system, v.3 or above.  In the specific cases in
which this was observed, it happenened only on the 'faeroes' server of the SDF
Public Access UNIX System (http://sdf.lonestar.org).  It is unknown whether
this problem is limited to NetBSD systems or even what exact versions it occurs
on.




reply via email to

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