Bug 742911

Summary: Core dump when run script
Product: Red Hat Enterprise Linux 6 Reporter: Lukáš Zachar <lzachar>
Component: expectAssignee: Vitezslav Crhonek <vcrhonek>
Status: CLOSED ERRATA QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.2CC: mfojtik, ovasik, psplicha, rvokal
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Due to incorrect characters matching, applications created by the autoexpect utility could terminate unexpectedly with a segmentation fault. With this update, the number of characters is matched correctly and applications created by autoexpect run successfully.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-04-05 08:23:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
script.exp used to run
none
abrt - backtrace
none
valgrind output
none
coredump
none
Proposed patch. none

Description Lukáš Zachar 2011-10-03 11:15:22 UTC
Created attachment 526023 [details]
script.exp used to run

Description of problem:

The script.exp has been created using autoexpect. 
When script.exp is run, it receives Segmentation fault.


Version-Release number of selected component (if applicable):
expect-5.44.1.15-2.el6

How reproducible:
almost always 

Steps to Reproduce:
1. ./script.exp
2.
3.
  
Actual results:
Segmentation fault

Expected results:
run script

Additional info:
almost always = on one machine always, on other once (after that runs OK)

Comment 1 Lukáš Zachar 2011-10-03 11:17:09 UTC
Created attachment 526024 [details]
abrt - backtrace

Comment 2 Lukáš Zachar 2011-10-03 11:18:23 UTC
Created attachment 526025 [details]
valgrind output

Comment 3 Lukáš Zachar 2011-10-03 11:21:53 UTC
Created attachment 526027 [details]
coredump

Comment 5 Vitezslav Crhonek 2011-11-08 12:27:45 UTC
Created attachment 532279 [details]
Proposed patch.

Comment 12 errata-xmlrpc 2012-04-05 08:23:28 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2012-0456.html