Your message dated Sun, 18 Aug 2013 15:45:57 -0700
with message-id <[email protected]>
and subject line Re: [kfreebsd] git FTBFS
has caused the Debian Bug report #718654,
regarding [kfreebsd] "git grep" often segfaults
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
718654: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718654
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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.

--- End Message ---
--- Begin Message ---
# buildd issue
notfound 718655 git/1:1.8.4~rc1-1, git/1:1.8.4~rc2-1
notfound 718654 git/1:1.8.3~rc3-1
quit

Jonathan Nieder wrote:

>  Build killed with signal TERM after 150 minutes of inactivity
[...]
> Building git with plain "dpkg-buildpackage" in a sid schroot on falla
> worked fine and passed all tests.

1:1.8.4~rc3-1 built fine within 45 minutes on buildds fano and fils,
so it looks like the storm has passed.  Closing.

Thanks,
Jonathan

--- End Message ---

Reply via email to