Open balajeerc opened 6 years ago
This seems to be an upstream issue for urwid
.
Can you provide a pip3.5 freeze
output? Which terminal are you using?
There are previous reports of log spam in #119.
Urwid is using select
to check that the input file descriptor is ready to read. The exception occurs because Urwid always expects to read 1 byte, but instead the end of the file is reached. According to the man page for select, this is expected behavior:
Those listed in readfds will be watched to see if characters become available for reading (more precisely, to see if a read will not block; in particular, a file descriptor is also ready on end-of-file)
I can reproduce the log spam by closing stdin immediately when hangups starts:
echo "" | hangups
But I don't know how else stdin could be closed while hangups is running.
Today I found that hangups logs blew up to several GB (9.9 GB), nearly exhausting the space on my HDD.
This isn't the first time this occurred. It occurred a couple of times before this. Am not able to reproduce exactly what conditions it happens under, but it has something to do with halting an existing instance and starting a new one.
Ubuntu 16.04 x64 Hangups 0.4.3
The log seems to be a repetition of the error shown below:
Is this a known issue?