Red Hat Bugzilla – Bug 147516
expect problems with large amounts of output
Last modified: 2007-11-30 17:10:59 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en-us) AppleWebKit/125.5.6 (KHTML, like Gecko) Safari/125.12
Description of problem:
If you have an expect script that produces large amounts of output the output 'sticks' and repeats at some point. This seems to be the same behavior described in bug
#147276 but I observe it in any terminal.
[jennings@weimar ~]$ expect
expect1.1> spawn perl
print $i++,"\n" while (1)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. see above
Actual Results: The output gets to about 10000 and starts to repeat.
Expected Results: The output should count upwards until you stop it
I see this is an old bug report. I just recently took ownership of the expect
package, so I'm trying to get caught up.
1) I can't do anything for FC3 as that's now unsupported.
2) On rawhide (what will become FC5), I ran your test above and the problem
doesn't appear for me. I let it run to 509003 and killed it. Rawhide has
If you're running FC5 Test 2 or rawhide, can you confirm the behavior is fixed?
Yes, it was fixed in a later version