Bug 1092132

Summary: [abrt] ksh: sh_done(): ksh killed by SIGSEGV
Product: [Fedora] Fedora Reporter: John L. Ries <jries>
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: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/2cd9ec72bd3364f21b634c3f7c28a0c476b67a75
Whiteboard: abrt_hash:678bb712ba0b5ffdfdb0653e07f02a8e53ff7d21
Fixed In Version: ksh-20120801-19.fc20 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-05 22:21:24 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: var_log_messages none

Description John L. Ries 2014-04-28 19:21:02 UTC
Version-Release number of selected component:
ksh-20120801-17.fc20

Additional info:
reporter:       libreport-2.2.1
backtrace_rating: 4
cmdline:        /bin/ksh ./testrun.ksh
crash_function: sh_done
executable:     /usr/bin/ksh
kernel:         3.13.10-200.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (3 frames)
 #1 sh_done at /usr/src/debug/ksh-20120801/src/cmd/ksh93/sh/fault.c:664
 #2 sh_main at /usr/src/debug/ksh-20120801/src/cmd/ksh93/sh/main.c:354
 #4 _start

Comment 1 John L. Ries 2014-04-28 19:21:05 UTC
Created attachment 890564 [details]
File: backtrace

Comment 2 John L. Ries 2014-04-28 19:21:06 UTC
Created attachment 890565 [details]
File: cgroup

Comment 3 John L. Ries 2014-04-28 19:21:08 UTC
Created attachment 890566 [details]
File: core_backtrace

Comment 4 John L. Ries 2014-04-28 19:21:09 UTC
Created attachment 890567 [details]
File: dso_list

Comment 5 John L. Ries 2014-04-28 19:21:11 UTC
Created attachment 890568 [details]
File: environ

Comment 6 John L. Ries 2014-04-28 19:21:12 UTC
Created attachment 890569 [details]
File: limits

Comment 7 John L. Ries 2014-04-28 19:21:14 UTC
Created attachment 890570 [details]
File: maps

Comment 8 John L. Ries 2014-04-28 19:21:15 UTC
Created attachment 890571 [details]
File: open_fds

Comment 9 John L. Ries 2014-04-28 19:21:17 UTC
Created attachment 890572 [details]
File: proc_pid_status

Comment 10 John L. Ries 2014-04-28 19:21:18 UTC
Created attachment 890573 [details]
File: var_log_messages

Comment 11 Michal Hlavinka 2014-04-29 13:06:53 UTC
Thanks to reporting this. Do you know how to reproduce it and could you describe the steps how to do so?

Comment 12 John L. Ries 2014-04-30 04:08:53 UTC
All I can really say is that the script that crashed was running a Perl script I was in the midst of debugging (I had prepended "perl -d" to the script invocation).  It only did it once, and it did it after I closed the debug session, but I've been running this script in and out of debug mode constantly over the past few days.  The text of the ksh script is as follows:

#!/bin/ksh
./KnotTab.pl --spm=spmu710314 --echo --strata=security_id --target=returns \
             --predictor=maxup --modname=test --spm70 rf_data.csv testrun.csv

The Perl script in turn called a binary executable (my employer's proprietary software currently under development), which conceivably could have been a factor as well; but as I said, the ksh script only crashed once.

Sorry I couldn't be more help.

Comment 13 Michal Hlavinka 2014-05-02 09:42:31 UTC
OK, thanks for the info.

Comment 14 Michal Hlavinka 2014-07-24 15:49:53 UTC
This is similar to another bug we found. The fix for the other bug should fix this too.

Comment 15 Fedora Update System 2014-07-24 15:59:19 UTC
ksh-20120801-19.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/ksh-20120801-19.fc19

Comment 16 Fedora Update System 2014-07-24 15:59:29 UTC
ksh-20120801-19.fc20 has been submitted as an update for Fedora 20.
https://admin.fedoraproject.org/updates/ksh-20120801-19.fc20

Comment 17 Fedora Update System 2014-07-25 10:04:28 UTC
Package ksh-20120801-19.fc20:
* should fix your issue,
* was pushed to the Fedora 20 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing ksh-20120801-19.fc20'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2014-8804/ksh-20120801-19.fc20
then log in and leave karma (feedback).

Comment 18 Fedora Update System 2014-09-05 22:21:24 UTC
ksh-20120801-19.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 19 Fedora Update System 2014-09-05 22:22:25 UTC
ksh-20120801-19.fc20 has been pushed to the Fedora 20 stable repository.  If problems still persist, please make note of it in this bug report.