http://bugs.winehq.org/show_bug.cgi?id=5632
Summary: idle waiting in serial emulation? Product: Wine Version: 0.9.14. Platform: PC URL: http://www.vandyke.com/download/securecrt/ OS/Version: Linux Status: UNCONFIRMED Keywords: download Severity: normal Priority: P2 Component: wine-misc AssignedTo: wine-bugs@winehq.org ReportedBy: molle.bestefich@gmail.com
I need SecureCRT for it's terminal emulation and serial port capabilities.
Download at specified URL (enter any random information in the provided fields).
I connect to a device on COM1 / 115200n81 / vt102.
If the device on COM1 is generating output, for example if I have set it in a "while [ true ]; do ls -l; done" loop using eg. minicom, then SecureCRT works fine and is responsive. It does consume 100% CPU though, 50% goes to SecureCRT.EXE and 50% to wineserver (on a hyperthreading CPU).
If the device does NOT generate any output, then SecureCRT deadlocks. It doesn't even repaint it's window, and it's unresponsive to mouse and keyboard events. In this case, wineserver and SecureCRT.EXE also consumes 50% CPU each.
AFAICG, the thread that runs the message loop doesn't get enough CPU time, because SecureCRT and Wine is busy idle waiting somewhere in the serial code.