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 ;-)
I'll redouble my efforts in this small but annoying matter and keep you posted as I get more results! ----- [email protected] On måndag 6 september 2021 kl. 18:39:50 EEST Denys Vlasenko wrote: > Thanks for the report. > Pushed a fix to git, can you verify that it works? > > > commit 4b032a4d6c4a9e24e66c262d6350e6499d0facb3 > Date: Mon Sep 6 17:38:18 2021 +0200 > > chat: hopefully fix infinite spinning on input EOF > > function old new delta > chat_main 1295 1303 +8 > > > On Tue, Aug 31, 2021 at 11:01 AM Jörgen Pihlflyckt > > <[email protected]> wrote: > > Hello > > > > I have a bunch of usb-connected embedded modems, that occasionally > > disconnect from the usb bus more or less spontaneously. When this happens > > at the same time as a chat script is running, chat seems to get confused > > when the system call to poll() returns both POLLHUP and POLLERR together > > with incoming data. > > > > The net result is, that chat goes into an infinite loop and starts > > consuming 100% cpu. Has anyone else noticed this, or do I just have weird > > modems? ----- > > [email protected] > > > > > > _______________________________________________ > > busybox mailing list > > [email protected] > > http://lists.busybox.net/mailman/listinfo/busybox _______________________________________________ busybox mailing list [email protected] http://lists.busybox.net/mailman/listinfo/busybox
