Bug 960371

Summary: [abrt] ksh-20120801-8.fc18: simple: Process /usr/bin/ksh was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: thomas.swan
Component: kshAssignee: Michal Hlavinka <mhlavink>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 20CC: mhlavink
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:351bed7044771bfd76c86fbc55cefa0689160efd
Fixed In Version: ksh-20120801-15.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-04-09 10:49:00 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: smolt_data
none
File: var_log_messages none

Description thomas.swan 2013-05-07 06:32:25 UTC
Description of problem:
I was experimenting with Process Substition.

Here is the smallest repeat by:

In ksh:

date |
tee $(
for a in 1 2 3 4 5
do
	echo ">(cat >/tmp/foobar.$a)"
done
)


Also tried

date |
eval tee $(
for a in 1 2 3 4 5
do
	echo ">(cat >/tmp/foobar.$1)"
done


While this may not be correct, ksh should not have segfaulted.



Version-Release number of selected component:
ksh-20120801-8.fc18

Additional info:
backtrace_rating: 4
cmdline:        ksh
crash_function: simple
executable:     /usr/bin/ksh
kernel:         3.8.11-200.fc18.x86_64
ureports_counter: 7

Truncated backtrace:
Thread no. 1 (8 frames)
 #0 simple at /usr/src/debug/ksh-20120801/src/cmd/ksh93/sh/parse.c:1424
 #1 item at /usr/src/debug/ksh-20120801/src/cmd/ksh93/sh/parse.c:1354
 #2 term at /usr/src/debug/ksh-20120801/src/cmd/ksh93/sh/parse.c:577
 #4 list at /usr/src/debug/ksh-20120801/src/cmd/ksh93/sh/parse.c:547
 #5 sh_cmd at /usr/src/debug/ksh-20120801/src/cmd/ksh93/sh/parse.c:497
 #6 sh_parse at /usr/src/debug/ksh-20120801/src/cmd/ksh93/sh/parse.c:386
 #7 exfile
 #8 sh_main

Comment 1 thomas.swan 2013-05-07 06:34:22 UTC
Created attachment 744510 [details]
File: backtrace

Comment 2 thomas.swan 2013-05-07 06:34:30 UTC
Created attachment 744511 [details]
File: cgroup

Comment 3 thomas.swan 2013-05-07 06:34:31 UTC
Created attachment 744512 [details]
File: core_backtrace

Comment 4 thomas.swan 2013-05-07 06:34:35 UTC
Created attachment 744513 [details]
File: dso_list

Comment 5 thomas.swan 2013-05-07 06:34:39 UTC
Created attachment 744514 [details]
File: environ

Comment 6 thomas.swan 2013-05-07 06:34:43 UTC
Created attachment 744515 [details]
File: limits

Comment 7 thomas.swan 2013-05-07 06:34:46 UTC
Created attachment 744516 [details]
File: maps

Comment 8 thomas.swan 2013-05-07 06:34:47 UTC
Created attachment 744517 [details]
File: open_fds

Comment 9 thomas.swan 2013-05-07 06:34:50 UTC
Created attachment 744518 [details]
File: proc_pid_status

Comment 10 thomas.swan 2013-05-07 06:34:52 UTC
Created attachment 744519 [details]
File: smolt_data

Comment 11 thomas.swan 2013-05-07 06:34:54 UTC
Created attachment 744520 [details]
File: var_log_messages

Comment 12 Fedora End Of Life 2013-12-21 13:25:17 UTC
This message is a reminder that Fedora 18 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 18. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '18'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 18's end of life.

Thank you for reporting this issue and we are sorry that we may not be 
able to fix it before Fedora 18 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior to Fedora 18's end of life.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 13 Fedora End Of Life 2014-02-05 21:15:29 UTC
Fedora 18 changed to end-of-life (EOL) status on 2014-01-14. Fedora 18 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.