[Bug 222333] grep core dumped on search of /usr/src

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Sep 14 17:57:30 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222333

            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 at FreeBSD.org
          Reporter: zsnafzig at edu.uwaterloo.ca

running: 

grep -r "iicbus_if.h" 

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 = 'grep', stop reason = signal SIGSEGV
  * frame #0: 0x000000000020c148 grep`tre_match_fast(fg=0x0000084755082500,
data=0x00000847550cc000, len=<unavailable>, type=STR_MBS, nmatch=1,
pmatch=0x00007fffffffe1b0, eflags=<unavailable>) at tre-fastmatch.c:987
    frame #1: 0x0000000000207920 grep`tre_fastexec at fastmatch.c:134
    frame #2: 0x00000000002078c0 grep`tre_fastexec(preg=0x0000084755082500,
string=<unavailable>, nmatch=1, pmatch=0x00007fffffffe1b0, eflags=4) at
fastmatch.c:145
    frame #3: 0x0000000000206b6a grep`procline(pc=0x00007fffffffe318) at
util.c:474
    frame #4: 0x00000000002065d6 grep`procfile(fn=<unavailable>) at util.c:280
    frame #5: 0x00000000002062ad grep`grep_tree(argv=<unavailable>) at
util.c:188
    frame #6: 0x0000000000205c16 grep`main(argc=<unavailable>,
argv=0x00007fff00000002) at grep.c:787
    frame #7: 0x000000000020417f grep`_start + 383



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


More information about the freebsd-bugs mailing list