Bug 1303777

Summary: SAS Works application crashes with Memory Fault
Product: Red Hat Enterprise Linux 6 Reporter: bhudlemeyer
Component: kshAssignee: Siteshwar Vashisht <svashisht>
Status: CLOSED INSUFFICIENT_DATA QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.7CC: kdudka
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-13 08:04:44 UTC Type: Bug
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
Script to reproduce memory dump none

Description bhudlemeyer 2016-02-01 23:41:02 UTC
Created attachment 1120258 [details]
Script to reproduce memory dump

Description of problem:Memory dump error when running SAS works applications on latest patch


Version-Release number of selected component (if applicable):


How reproducible:Run attached scripts

I have completed the root cause for this issue.
I have isolated the problem to an issue that is present within the latest OS patching for RHEL6.  This new bug was triggered in a section of code within my platform middleware.
 
 
PFA a set of two scripts that can be used to induce the Red Hat bug:

·         testcase.ksh
·         testcase_sub.ksh
 
 
To trigger the issue, you only need to copy the two scripts to the same directory and then run testcase.ksh.
 
Here is the output when running the script on one of RHEL6 servers at the earlier patch level:
 
*:/home/mware/test01> ./testcase.ksh
In script #1: -- testcase.ksh
In script #1:    calling testcase_sub.ksh
In script #2: -- testcase_sub.ksh
In script #1:    RC=0
 
And here is the output when running the script on another RHEL6 server with the updated patch level:
 
*:/home/mware/test01> ./testcase.ksh
In script #1: -- testcase.ksh
In script #1:    calling testcase_sub.ksh
In script #2: -- testcase_sub.ksh
./testcase.ksh: line 6: 27982: Memory fault(coredump)
In script #1:    RC=267
 
2.6.32-573.12.1.el6.x86_64 #1 SMP Mon Nov 23 12:55:32 EST 2015 x86_64 x86_64 x86_64 GNU/Linux
 
Note  that the core dump produces the return code value of 267 that the application team was reporting.


Actual results: Memory Fault


Expected results: Successful run


Additional info: Scripts to reproduce issue attached

Comment 2 Michal Hlavinka 2016-02-02 17:34:33 UTC
What ksh package do you have exactly?
$ rpm -q ksh
thanks