Version: 3.3.6
When using the Script Interface to x3270 (the x-version) either a segmentation fault is raised (Linux - Debian) or an infinity loop is created (Mac OS X 10.4 / AIX) due to an wrong code in util.c
The reason is a wrong assignement in the added logic for IO-Rec inside of the method RemoveInput.
To re-create the problem, start x3270 with "./x3270 -script ...."
At the initial screen (in our case the typical USS-Message 10) enter the usual login command like (logon applid(...))
As soon as the screen - X-Wait - message occurs, the system is either in an infinite loop or immediately crashdump with Signal 11.
I provide the little patch to solve this problem.
Hope this helps some people out there.
Regards
Jochen
Patch to fix sigsegv or loop in X3270 3.3.6 with script