Bug 742911 - Core dump when run script
Summary: Core dump when run script
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: expect
Version: 6.2
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Vitezslav Crhonek
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-03 11:15 UTC by Lukáš Zachar
Modified: 2012-04-19 03:26 UTC (History)
4 users (show)

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.
Clone Of:
Environment:
Last Closed: 2012-04-05 08:23:28 UTC
Target Upstream Version:


Attachments (Terms of Use)
script.exp used to run (4.37 KB, text/plain)
2011-10-03 11:15 UTC, Lukáš Zachar
no flags Details
abrt - backtrace (57.46 KB, text/plain)
2011-10-03 11:17 UTC, Lukáš Zachar
no flags Details
valgrind output (8.33 KB, text/plain)
2011-10-03 11:18 UTC, Lukáš Zachar
no flags Details
coredump (1.10 MB, application/octet-stream)
2011-10-03 11:21 UTC, Lukáš Zachar
no flags Details
Proposed patch. (498 bytes, patch)
2011-11-08 12:27 UTC, Vitezslav Crhonek
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0456 0 normal SHIPPED_LIVE expect bug fix update 2012-04-05 12:21:54 UTC

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


Note You need to log in before you can comment on or make changes to this bug.