| Summary: | Core dump when run script | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Lukáš Zachar <lzachar> | ||||||||||||
| Component: | expect | Assignee: | Vitezslav Crhonek <vcrhonek> | ||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> | ||||||||||||
| Severity: | medium | Docs Contact: | |||||||||||||
| Priority: | medium | ||||||||||||||
| Version: | 6.2 | CC: | 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: |
|
||||||||||||||
Created attachment 526024 [details]
abrt - backtrace
Created attachment 526025 [details]
valgrind output
Created attachment 526027 [details]
coredump
Created attachment 532279 [details]
Proposed patch.
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 |
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)