Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Oct 2007 23:18:23 GMT
From:      Abdullah Ibn Hamad Al-Marri <almarrie@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/116962: grep -R  * cores right away
Message-ID:  <200710052318.l95NINvZ061051@www.freebsd.org>
Resent-Message-ID: <200710052320.l95NK6Y0073195@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         116962
>Category:       bin
>Synopsis:       grep -R  * cores right away
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Oct 05 23:20:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Abdullah Ibn Hamad Al-Marri
>Release:        6.2-STABLE
>Organization:
Arab Portal Network
>Environment:
FreeBSD 6.2-STABLE #0: Fri Oct  5 21:13:11 UTC 2007 i386
>Description:
fresh buildwork, kernel ..etc, this UP box, not SMP.

/usr/home/ircd/bahamut-release/src

[22:39](ircd@noc)[~/bahamut-release/src]> grep -R cidr *
Bad system call (core dumped)

[22:52](ircd@noc)[~/bahamut-release/src]> gdb grep grep.core
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 "i386-marcel-freebsd"...(no debugging symbols found)...
Core was generated by `grep'.
Program terminated with signal 12, Bad system call.
Reading symbols from /usr/lib/libgnuregex.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libgnuregex.so.2
Reading symbols from /lib/libz.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.2
Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libc.so.4
Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/libexec/ld-elf.so.1
#0  0x280d5f98 in fstatfs () from /usr/lib/libc.so.4
(gdb) bt
#0  0x280d5f98 in fstatfs () from /usr/lib/libc.so.4
#1  0x28103e3c in __opendir2 () from /usr/lib/libc.so.4
#2  0x28103d04 in opendir () from /usr/lib/libc.so.4
#3  0x08051452 in getopt ()
#4  0x0804f501 in getopt ()
#5  0x0804ef6c in getopt ()
#6  0x0804f3a4 in getopt ()
#7  0x080500cc in getopt ()
#8  0x08049046 in ?? ()
#9  0x00000075 in ?? ()
#10 0xbfbfe6f0 in ?? ()
#11 0xbfbfe8c8 in ?? ()
#12 0xbfbfe6e8 in ?? ()
#13 0x08048c7e in _init ()
#14 0x0804902f in ?? ()
#15 0x08052334 in __divdi3 ()
#16 0x00000075 in ?? ()
(gdb) bt full
#0  0x280d5f98 in fstatfs () from /usr/lib/libc.so.4
No symbol table info available.
#1  0x28103e3c in __opendir2 () from /usr/lib/libc.so.4
No symbol table info available.
#2  0x28103d04 in opendir () from /usr/lib/libc.so.4
No symbol table info available.
#3  0x08051452 in getopt ()
No symbol table info available.
#4  0x0804f501 in getopt ()
No symbol table info available.
#5  0x0804ef6c in getopt ()
No symbol table info available.
#6  0x0804f3a4 in getopt ()
No symbol table info available.
#7  0x080500cc in getopt ()
No symbol table info available.
#8  0x08049046 in ?? ()
No symbol table info available.
#9  0x00000075 in ?? ()
No symbol table info available.
#10 0xbfbfe6f0 in ?? ()
No symbol table info available.
#11 0xbfbfe8c8 in ?? ()
No symbol table info available.
#12 0xbfbfe6e8 in ?? ()
No symbol table info available.
#13 0x08048c7e in _init ()
No symbol table info available.
#14 0x0804902f in ?? ()
No symbol table info available.
#15 0x08052334 in __divdi3 ()
No symbol table info available.
#16 0x00000075 in ?? ()
No symbol table info available.
>How-To-Repeat:
easy to repeat.
>Fix:
I don't know.

>Release-Note:
>Audit-Trail:
>Unformatted:



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