bug-bash
[Top][All Lists]
Advanced

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

Bash 4.2 crashes with "git gc" from git 1.7.5.3


From: pepo
Subject: Bash 4.2 crashes with "git gc" from git 1.7.5.3
Date: Sat, 28 May 2011 18:52:34 +0200 (CEST)

Configuration Information [Automatically generated, do not change]:
Machine: i586
OS: linux-gnu
Compiler: gcc -I/usr/src/packages/BUILD/bash-4.2 
-L/usr/src/packages/BUILD/bash-4.2/../readline-6.2
Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='i586' 
-DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i586-suse-linux-gnu' 
-DCONF_VENDOR='suse' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL 
-DHAVE_CONFIG_H   -I.  -I. -I./include -I./lib   -fomit-frame-pointer 
-fmessage-length=0 -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector 
-funwind-tables -fasynchronous-unwind-tables -g -D_LARGEFILE64_SOURCE 
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DRECYCLES_PIDS -Wall -g -std=gnu89 
-Wuninitialized -Wextra -Wno-unprototyped-calls -Wno-switch-enum 
-Wno-unused-variable -Wno-unused-parameter -ftree-loop-linear -pipe 
-fprofile-use
uname output: Linux duo 2.6.37.6-0.5-desktop #1 SMP PREEMPT 2011-04-25 21:48:33 
+0200 i686 i686 i386 GNU/Linux
Machine Type: i586-suse-linux-gnu

Bash Version: 4.2
Patch Level: 10
Release Status: release

Description:
        Invoking "git gc" causes bash to crash with the following error:

*** glibc detected *** /bin/sh: free(): invalid pointer: 0x080f7230 ***
======= Backtrace: =========
/lib/libc.so.6(+0x6de2b)[0xb753ce2b]
/lib/libc.so.6(cfree+0xd9)[0xb7541ad9]
/bin/sh[0x80baa7a]
/bin/sh(glob_vector+0x947)[0x80bb4a7]
/bin/sh(glob_filename+0xa6)[0x80bb676]
/bin/sh(shell_glob_filename+0x49)[0x8094d59]
/bin/sh[0x80900a3]
/bin/sh(execute_command_internal+0x3fa)[0x807101a]
/bin/sh(execute_command+0x61)[0x8074c81]
/bin/sh(reader_loop+0xcb)[0x8060aeb]
/bin/sh(main+0xc5f)[0x805f25f]
/lib/libc.so.6(__libc_start_main+0xfe)[0xb74e5c2e]
/bin/sh[0x805ff99]

Repeat-By:
        Install bash 4.2 and git 1.7.5.3 and run bash
        # Clone a very small test repository
        git clone 
git://anongit.kde.org/scratch/cfeck/containmentaction-favorites.git
        cd containmentaction-favorites
        git gc



reply via email to

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