Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 2014 14:35:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 193835] bug in grep with -m and -A
Message-ID:  <bug-193835-8-PMmU98RGxL@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-193835-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-193835-8@https.bugs.freebsd.org/bugzilla/>

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

Veniamin Gvozdikov <vg@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vg@FreeBSD.org

--- Comment #2 from Veniamin Gvozdikov <vg@FreeBSD.org> ---
Copied gdb output from link, because it will expired through 1 day.

main:[~] %> gdb grep
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd"...(no debugging symbols
found)...
(gdb) r -m 1 -A 2 -e '^$' text.test
Starting program: /usr/bin/grep -m 1 -A 2 -e '^$' text.test
(no debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols found)...

Program received signal SIGSEGV, Segmentation fault.
0x0000000800fb1a60 in memchr () from /lib/libc.so.7
(gdb) thread apply all bt
(gdb) bt
#0  0x0000000800fb1a60 in memchr () from /lib/libc.so.7
#1  0x000000000040ff92 in ?? ()
#2  0x000000000040d090 in ?? ()
#3  0x000000000040c5c9 in ?? ()
#4  0x000000000040bd52 in ?? ()
#5  0x000000000040260f in ?? ()
#6  0x0000000800633000 in ?? ()
#7  0x0000000000000000 in ?? ()
(gdb) f 0
#0  0x0000000800fb1a60 in memchr () from /lib/libc.so.7
(gdb)

-- 
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-193835-8-PMmU98RGxL>