[Bug 196979] tcsh dumps core

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jan 21 20:55:48 UTC 2015


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

            Bug ID: 196979
           Summary: tcsh dumps core
           Product: Base System
           Version: 10.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: dave at jetcafe.org

The following idea causes tcsh to dump core:

> tcsh -c 'cd /doesnotexist; cat *nothere*'
/doesnotexist: No such file or directory.
cat: No match.
Abort (core dumped)

> gdb `which tcsh` tcsh.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 "amd64-marcel-freebsd"...(no debugging symbols
found)...
Core was generated by `tcsh'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib/libncurses.so.8...(no debugging symbols
found)...done.
Loaded symbols for /lib/libncurses.so.8
Reading symbols from /lib/libcrypt.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.5
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/lib/libiconv.so...(no debugging symbols
found)...done.
Loaded symbols for /usr/local/lib/libiconv.so
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols
found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x0000000800defdfc in kill () from /lib/libc.so.7
(gdb) bt
#0  0x0000000800defdfc in kill () from /lib/libc.so.7
#1  0x0000000800dee57c in abort () from /lib/libc.so.7
#2  0x000000000040c44b in ?? ()
#3  0x00000000004062da in ?? ()
#4  0x00000000004050a7 in ?? ()
#5  0x0000000000403731 in ?? ()
#6  0x0000000800677000 in ?? ()
#7  0x0000000000000000 in ?? ()

Adding the '-F' flag to tcsh prevents this coredump, leading me to presume that
the following bug is related:

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

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


More information about the freebsd-bugs mailing list