platform-testers
[Top][All Lists]
Advanced

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

Re: [platform-testers] new snapshot available: grep-3.4-almost.19-ff30


From: Jeffrey Walton
Subject: Re: [platform-testers] new snapshot available: grep-3.4-almost.19-ff30
Date: Thu, 17 Sep 2020 16:33:10 -0400

Hi Everyone,

I can't tell if this is expected or not. I suspect this is unexpected.

>From Ubuntu 18.04 x86_64 under Asan (-fsanitize=address):

XFAIL: triple-backref
=====================

++ initial_cwd_=/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/tests
+++ testdir_prefix_
+++ printf gt
++ pfx_=gt
+++ mktempd_ /home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/tests
gt-triple-backref.XXXX
+++ case $# in
+++ destdir_=/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/tests
+++ template_=gt-triple-backref.XXXX
+++ MAX_TRIES_=4
+++ case $destdir_ in
+++ destdir_slash_=/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/tests/
+++ case $template_ in
++++ unset TMPDIR
+++ 
d=/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/tests/gt-triple-backref.0qvd
+++ case $d in
+++ :
+++ test -d 
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/tests/gt-triple-backref.0qvd
++++ ls -dgo 
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/tests/gt-triple-backref.0qvd
+++ perms='drwx------ 2 4096 Sep 17 16:19
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/tests/gt-triple-backref.0qvd'
+++ case $perms in
+++ :
+++ echo 
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/tests/gt-triple-backref.0qvd
+++ return
++ 
test_dir_=/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/tests/gt-triple-backref.0qvd
++ cd 
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/tests/gt-triple-backref.0qvd
++ case $srcdir in
++ srcdir=../.
++ builddir=..
++ export srcdir builddir
++ gl_init_sh_nl_='
'
++ IFS='
'
++ for sig_ in 1 2 3 13 15
+++ expr 1 + 128
++ eval 'trap '\''Exit 129'\'' 1'
+++ trap 'Exit 129' 1
++ for sig_ in 1 2 3 13 15
+++ expr 2 + 128
++ eval 'trap '\''Exit 130'\'' 2'
+++ trap 'Exit 130' 2
++ for sig_ in 1 2 3 13 15
+++ expr 3 + 128
++ eval 'trap '\''Exit 131'\'' 3'
+++ trap 'Exit 131' 3
++ for sig_ in 1 2 3 13 15
+++ expr 13 + 128
++ eval 'trap '\''Exit 141'\'' 13'
+++ trap 'Exit 141' 13
++ for sig_ in 1 2 3 13 15
+++ expr 15 + 128
++ eval 'trap '\''Exit 143'\'' 15'
+++ trap 'Exit 143' 15
++ trap remove_tmp_ 0
+ path_prepend_ ../src
+ test 1 '!=' 0
+ path_dir_=../src
+ case $path_dir_ in
+ abs_path_dir_=/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/tests/../src
+ case $abs_path_dir_ in
+ 
PATH=/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/tests/../src:/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/src:./src:/home/jwalton/tmp/ok2delete/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
+ create_exe_shims_
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/tests/../src
+ case $EXEEXT in
+ return 0
+ shift
+ test 0 '!=' 0
+ export PATH
+ require_timeout_
+ returns_ 1 timeout 10s false
+ echo a
+ fail=0
+ timeout 10 grep -E '(.?)(.?)(.?)\3\2\1' in
=================================================================
==4894==ERROR: AddressSanitizer: heap-buffer-overflow on address
0x608000000900 at pc 0x55fc8bef6051 bp 0x7ffdcd486310 sp
0x7ffdcd486300
READ of size 8 at 0x608000000900 thread T0
    #0 0x55fc8bef6050 in pop_fail_stack
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/lib/regexec.c:1351
    #1 0x55fc8befbd5c in set_regs
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/lib/regexec.c:1451
    #2 0x55fc8bf023ed in re_search_internal
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/lib/regexec.c:849
    #3 0x55fc8bf0f9b5 in re_search_stub
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/lib/regexec.c:425
    #4 0x55fc8bf106cf in rpl_re_search
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/lib/regexec.c:289
    #5 0x55fc8beadde1 in EGexecute
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/src/dfasearch.c:478
    #6 0x55fc8beb0f39 in grepbuf
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/src/grep.c:1464
    #7 0x55fc8beb22ee in grep
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/src/grep.c:1595
    #8 0x55fc8beb22ee in grepdesc
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/src/grep.c:1915
    #9 0x55fc8beaaaaf in grep_command_line_arg
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/src/grep.c:1962
    #10 0x55fc8beaaaaf in main
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/src/grep.c:3026
    #11 0x7f9b1c748b96 in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x21b96)
    #12 0x55fc8beac4c9 in _start
(/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/src/grep+0xf4c9)

0x608000000900 is located 0 bytes to the right of 96-byte region
[0x6080000008a0,0x608000000900)
allocated by thread T0 here:
    #0 0x7f9b1d020b40 in __interceptor_malloc
(/usr/lib/x86_64-linux-gnu/libasan.so.4+0xdeb40)
    #1 0x55fc8bee6c3a in re_node_set_alloc
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/lib/regex_internal.c:972
    #2 0x55fc8bee6c3a in register_state
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/lib/regex_internal.c:1574
    #3 0x55fc8beef147 in create_cd_newstate
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/lib/regex_internal.c:1737
    #4 0x55fc8beef147 in re_acquire_state_context
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/lib/regex_internal.c:1553
    #5 0x55fc8befd603 in transit_state_bkref
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/lib/regexec.c:2591
    #6 0x55fc8befda32 in transit_state_bkref
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/lib/regexec.c:2606
    #7 0x55fc8befeac6 in merge_state_with_log
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/lib/regexec.c:2328
    #8 0x55fc8bf00d5e in check_matching
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/lib/regexec.c:1122
    #9 0x55fc8bf00d5e in re_search_internal
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/lib/regexec.c:792
    #10 0x55fc8bf0f9b5 in re_search_stub
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/lib/regexec.c:425
    #11 0x55fc8bf106cf in rpl_re_search
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/lib/regexec.c:289
    #12 0x55fc8beadde1 in EGexecute
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/src/dfasearch.c:478
    #13 0x55fc8beb0f39 in grepbuf
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/src/grep.c:1464
    #14 0x55fc8beb22ee in grep
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/src/grep.c:1595
    #15 0x55fc8beb22ee in grepdesc
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/src/grep.c:1915
    #16 0x55fc8beaaaaf in grep_command_line_arg
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/src/grep.c:1962
    #17 0x55fc8beaaaaf in main
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/src/grep.c:3026
    #18 0x7f9b1c748b96 in __libc_start_main
(/lib/x86_64-linux-gnu/libc.so.6+0x21b96)

SUMMARY: AddressSanitizer: heap-buffer-overflow
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/lib/regexec.c:1351
in pop_fail_stack
Shadow bytes around the buggy address:
  0x0c107fff80d0: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 fa
  0x0c107fff80e0: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 fa
  0x0c107fff80f0: fa fa fa fa fd fd fd fd fd fd fd fd fd fd fd fd
  0x0c107fff8100: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c107fff8110: fa fa fa fa 00 00 00 00 00 00 00 00 00 00 00 00
=>0x0c107fff8120:[fa]fa fa fa 00 00 00 00 00 00 00 00 00 00 00 00
  0x0c107fff8130: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c107fff8140: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c107fff8150: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c107fff8160: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
  0x0c107fff8170: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
Shadow byte legend (one shadow byte represents 8 application bytes):
  Addressable:           00
  Partially addressable: 01 02 03 04 05 06 07
  Heap left redzone:       fa
  Freed heap region:       fd
  Stack left redzone:      f1
  Stack mid redzone:       f2
  Stack right redzone:     f3
  Stack after return:      f5
  Stack use after scope:   f8
  Global redzone:          f9
  Global init order:       f6
  Poisoned by user:        f7
  Container overflow:      fc
  Array cookie:            ac
  Intra object redzone:    bb
  ASan internal:           fe
  Left alloca redzone:     ca
  Right alloca redzone:    cb
==4894==ABORTING
+ fail=1
+ compare out in
+ compare_dev_null_ out in
+ test 2 = 2
+ test xout = x/dev/null
+ test xin = x/dev/null
+ return 2
+ case $? in
+ compare_ out in
+ diff -u out in
--- out 2020-09-17 16:19:31.362639182 -0400
+++ in  2020-09-17 16:19:31.362639182 -0400
@@ -0,0 +1 @@
+a
+ fail=1
+ Exit 1
+ set +e
+ exit 1
+ exit 1
+ remove_tmp_
+ __st=1
+ cleanup_
+ :
+ test '' = yes
+ cd /home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/tests
+ chmod -R u+rwx
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/tests/gt-triple-backref.0qvd
+ rm -rf 
/home/jwalton/Build-Scripts/grep-3.4-almost.19-ff30/tests/gt-triple-backref.0qvd
+ exit 1
XFAIL triple-backref (exit status: 1)

On Wed, Sep 16, 2020 at 12:37 AM Jim Meyering <jim@meyering.net> wrote:
>
> There have been nontrivial changes and fixes and I think we're
> in a pretty good spot, so I'm planning to release grep-3.5 within
> the next two weeks.
>
> Please build and test this and let us know how it goes.
>
> Thanks to Paul Eggert for making so many of the changes here
> and to Norihiro Tanaka for helping so much with gnulib's dfa.c.
>
> grep snapshot:
>   https://meyering.net/grep/grep-ss.tar.xz      1.6 MB
>   https://meyering.net/grep/grep-ss.tar.xz.sig
>   https://meyering.net/grep/grep-3.4-almost.19-ff30.tar.xz
> ...



reply via email to

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