tcsh crashed with SIGSEGV in __GI___rewinddir()
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tcsh (Ubuntu) |
Fix Released
|
High
|
Brian Murray | ||
Yakkety |
Fix Released
|
High
|
Brian Murray |
Bug Description
[Impact]
* This bug negatively impacts the usability of tcsh as tab completion causes it to crash.
* Backporting to the stable release is justified as there are still 8 months before end of life
[Test Case]
* /bin/tcsh -c "ls-F"
This will cause a segmentation fault
[Regression Potential]
* The patch is rather small and non-invasive, but it'd be good to test tcsh extensively to ensure it has no negative side effects.
After upgrading to 16.10, hitting "tab" crashes tcsh.
ProblemType: CrashDistroRelease: Ubuntu 16.10
Package: tcsh 6.18.01-5
ProcVersionSign
Uname: Linux 4.4.0-9136-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
CurrentDesktop: Unity
Date: Wed Aug 31 11:45:01 2016
Dependencies:
gcc-6-base 6.2.0-1ubuntu12
libc6 2.24-0ubuntu1
libgcc1 1:6.2.0-1ubuntu12
libtinfo5 6.0+20160625-
ExecutablePath: /usr/bin/tcsh
InstallationDate: Installed on 2013-11-28 (1006 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
ProcCmdline: -usr/bin/tcsh
Signal: 11SourcePackage: tcsh
StacktraceTop:
__GI___rewinddir (dirp=0xc43008) at ../sysdeps/
?? ()
?? ()
?? ()
?? ()
Title: tcsh crashed with SIGSEGV in __GI___rewinddir()
UpgradeStatus: Upgraded to yakkety on 2016-08-31 (0 days ago)
UserGroups: adm cdrom dip disk kismet lp lpadmin plugdev sambashare saned scanner sudo vboxusers video
information type: | Private → Public |
Changed in tcsh (Ubuntu): | |
importance: | Medium → High |
status: | Confirmed → Triaged |
Changed in tcsh (Ubuntu Yakkety): | |
importance: | Undecided → High |
description: | updated |
description: | updated |
description: | updated |
no longer affects: | tcsh |
StacktraceTop: entry=0xc43008) at ../sysdeps/ posix/rewinddir .c:34 entry=0xc43008, pat=pat@ entry=0x662c58 <STRNULL> L"") at tw.init.c:737 command@ entry=RECOGNIZE , looking= looking@ entry=4, exp_dir= exp_dir@ entry=0x7ffe671 4faf0, exp_name= exp_name@ entry=0x7ffe671 4fb30, target=0xc27188 L"", pat=pat@ entry=0x662c58 <STRNULL> L"", flags=64, dir_fd=0xc43008) at tw.parse.c:1360 entry=0x7ffe671 4fc40, command= command@ entry=RECOGNIZE , looking=4, looking@entry=4095, list_max= list_max@ entry=1, pat=0x662c58 <STRNULL> L"", suf=0) at tw.parse.c:1775 <optimized out>, num_read= num_read@ entry=0, command= command@ entry=RECOGNIZE ) at tw.parse.c:304
__GI___rewinddir (dirp=dirp@
tw_file_start (dfd=dfd@
tw_collect (command=
t_search (word=word@
tenematch (inputline=