chat applet goes into infinite loop when poll() returns POLLHUP or POLLERR
Denys Vlasenko
vda.linux at googlemail.com
Tue Sep 7 15:21:35 UTC 2021
On Tue, Sep 7, 2021 at 2:33 PM Jörgen Pihlflyckt
<Jorgen.Pihlflyckt at ajeco.fi> wrote:
> Your welcome.
>
> Alas, I have not yet been able to verify with 100% certainity, that the patch
> really works but it sure looks promising. It's slightly difficult to make the
> badly behaving modems behave badly on command ;-)
If they still misbehave, strace them.
strace -tt -s99 -o LOGFILE -p <PID_OF_CHAT>
This will tell us what exactly they are doing in a loop.
More information about the busybox
mailing list