View Issue Details

IDProjectCategoryView StatusLast Update
0000153tcsh[All Projects] Generalpublic2020-06-10 22:17
ReportersharifibAssigned Tochristos 
PrioritynormalSeveritycrashReproducibilityalways
Status assignedResolutionopen 
Product Version6.22.02 
Target VersionFixed in Version 
Summary0000153: Segfault involving piping to builtin + precmd
DescriptionPiping to a builtin command seems to pollute the job table (adds an entry for the pipeline).

In general, tcsh seems to recover and remove the bad job when you try to interact with it. However, if there's a precmd alias, it can segfault instead.
Steps To Reproduce> echo $tcsh
6.22.02
> fg
fg: No current job.
> echo | source /dev/stdin
> > jobs
[1] + Running echo |
> alias precmd true
> fg
echo |
fg: No such job (badjob).
> fg
Segmentation fault
TagsNo tags attached.

Activities

christos

2020-06-10 22:17

manager   ~0003428

Just an update: the code is horribly complicated and kludgy there and any change I made, made it worse.

Issue History

Date Modified Username Field Change
2020-03-26 15:53 sharifib New Issue
2020-06-10 22:14 christos Assigned To => christos
2020-06-10 22:14 christos Status new => assigned
2020-06-10 22:17 christos Note Added: 0003428