Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Sep 2017 17:57:30 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 222333] grep core dumped on search of /usr/src
Message-ID:  <bug-222333-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222333

            Bug ID: 222333
           Summary: grep core dumped on search of /usr/src
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs@FreeBSD.org
          Reporter: zsnafzig@edu.uwaterloo.ca

running:=20

grep -r "iicbus_if.h"=20

from /usr/src resulted in a core dump. lldb backtrace:

lldb `which grep` -c grep.core
(lldb) target create "/usr/bin/grep" --core "grep.core"
Core file '/home/emaste/src/freebsd-wip/grep.core' (x86_64) was loaded.
(lldb) bt
* thread #1, name =3D 'grep', stop reason =3D signal SIGSEGV
  * frame #0: 0x000000000020c148 grep`tre_match_fast(fg=3D0x000008475508250=
0,
data=3D0x00000847550cc000, len=3D<unavailable>, type=3DSTR_MBS, nmatch=3D1,
pmatch=3D0x00007fffffffe1b0, eflags=3D<unavailable>) at tre-fastmatch.c:987
    frame #1: 0x0000000000207920 grep`tre_fastexec at fastmatch.c:134
    frame #2: 0x00000000002078c0 grep`tre_fastexec(preg=3D0x000008475508250=
0,
string=3D<unavailable>, nmatch=3D1, pmatch=3D0x00007fffffffe1b0, eflags=3D4=
) at
fastmatch.c:145
    frame #3: 0x0000000000206b6a grep`procline(pc=3D0x00007fffffffe318) at
util.c:474
    frame #4: 0x00000000002065d6 grep`procfile(fn=3D<unavailable>) at util.=
c:280
    frame #5: 0x00000000002062ad grep`grep_tree(argv=3D<unavailable>) at
util.c:188
    frame #6: 0x0000000000205c16 grep`main(argc=3D<unavailable>,
argv=3D0x00007fff00000002) at grep.c:787
    frame #7: 0x000000000020417f grep`_start + 383

=EF=BF=BC=EF=BF=BC=EF=BF=BC

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-222333-8>