Package: git Version: 1:1.8.3~rc3-1 Severity: serious Justification: build failure
Hi, A test failure story. "git grep" compiles a bunch of copies of a regex and then executes them in different threads. Git 1:1.8.3~rc3-1 failed to build on both 32-bit and 64-bit GNU/kFreeBSD. 1:1.8.3~rc2-1 built fine. The error, on the 32-bit system (finzi): Segmentation fault (core dumped) not ok 109 - grep from a subdirectory to search wider area (1) # # mkdir -p s && # ( # cd s && git grep "x x x" .. # ) # On the 64-bit system (fano): Segmentation fault (core dumped) not ok 104 - grep -p with userdiff # # git config diff.custom.funcname "^#" && # echo "hello.c diff=custom" >.gitattributes && # git grep -p return >actual && # test_cmp expected actual # [...] Segmentation fault (core dumped) not ok 109 - grep from a subdirectory to search wider area (1) # # mkdir -p s && # ( # cd s && git grep "x x x" .. # ) # Same story with 1:1.8.3-1. On 32-bit finzi: Segmentation fault not ok 79 - grep -C1 hunk mark between files # # git grep -C1 "^[yz]" >actual && # test_cmp expected actual # [...] Segmentation fault not ok 106 - grep -p -B5 # # git grep -p -B5 return >actual && # test_cmp expected actual # [...] Segmentation fault not ok 108 - grep -W with userdiff # # test_when_finished "rm -f .gitattributes" && # git config diff.custom.xfuncname "(printf.*|})$" && # echo "hello.c diff=custom" >.gitattributes && # git grep -W return >actual && # test_cmp expected actual # [...] ../x:x x xx x Segmentation fault not ok 109 - grep from a subdirectory to search wider area (1) # # mkdir -p s && # ( # cd s && git grep "x x x" .. # ) # [...] Segmentation fault --- expected 2013-05-31 04:16:24.000000000 +0000 +++ actual 2013-05-31 04:16:25.000000000 +0000 @@ -1,6 +1,3 @@ <BOLD;GREEN>hello.c<RESET> 2:int main(int argc, const <BLACK;BYELLOW>char<RESET> **argv) 6: /* <BLACK;BYELLOW>char<RESET> ?? */ - -<BOLD;GREEN>hello_world<RESET> -3:Hel<BLACK;BYELLOW>lo_w<RESET>orld not ok 150 - mimic ack-grep --group # # test_config color.grep.context normal && # test_config color.grep.filename "bold green" && # test_config color.grep.function normal && # test_config color.grep.linenumber normal && # test_config color.grep.match "black yellow" && # test_config color.grep.selected normal && # test_config color.grep.separator normal && # # git grep --break --heading -n --color \ # -e char -e lo_w hello.c hello_world | # test_decode_color >actual && # test_cmp expected actual # On 64-bit fasch: Segmentation fault test_must_fail: died by signal: git grep -n -w -e ^w not ok 6 - grep -w HEAD (w) # # : >expected && # test_must_fail git grep -n -w -e "^w" >actual && # test_cmp expected actual # [...] Segmentation fault not ok 34 - grep -w in working tree # # { # echo ${HC}file:1:foo mmap bar # echo ${HC}file:3:foo_mmap bar mmap # echo ${HC}file:4:foo mmap bar_mmap # echo ${HC}file:5:foo_mmap bar mmap baz # } >expected && # git -c grep.linenumber=false grep -n -w -e mmap $H >actual && # test_cmp expected actual # [...] Segmentation fault not ok 42 - grep in working tree (t-1) # # echo "${HC}t/t:1:test" >expected && # git grep -n -e test $H >actual && # test_cmp expected actual # [...] Segmentation fault not ok 48 - grep --max-depth 0 -- '*' in working tree # # { # echo ${HC}t/a/v:1:vvv # echo ${HC}t/v:1:vvv # echo ${HC}v:1:vvv # } >expected && # git grep --max-depth 0 -n -e vvv $H -- "*" >actual && # test_cmp expected actual # [...] Segmentation fault not ok 65 - grep -l -C # # git grep -l -C1 foo >actual && # test_cmp expected actual # [...] Segmentation fault not ok 67 - grep -L -C [...] Segmentation fault not ok 69 - grep ( -e A --or -e B ) --and -e B [...] Segmentation fault not ok 70 - grep -e A --and --not -e B [...] Segmentation fault not ok 75 - grep, multiple patterns [...] Segmentation fault not ok 78 - grep -q, silently report matches [...] Segmentation fault not ok 79 - grep -C1 hunk mark between files Likewise in 1:1.8.3.1-1, 1:1.8.3.2-1 on kfreebsd-i386 (but on kfreebsd-amd64 those built fine with no test failure!). Then 1:1.8.4~rc0-1 failed on kfreebsd-amd64 in the same way (but passed tests fine on kfreebsd-i386). 1:1.8.4~rc1-1 fails to build on kfreebsd-amd64 and kfreebsd-i386 for a different reason, so it didn't have a chance to fail in this way there yet. -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org