Opened 13 years ago
Closed 13 years ago
#11517 closed Bug Report - General (fixed)
starting mythfrontend is very verbose
| Reported by: | JYA | Owned by: | danielk |
|---|---|---|---|
| Priority: | minor | Milestone: | 0.27 |
| Component: | MythTV - General | Version: | Unspecified |
| Severity: | medium | Keywords: | |
| Cc: | Ticket locked: | no |
Description
On a mac, running master.
Start mythfrontend
Log will fill with :
2013-04-30 13:35:08.088384 E Socket readBlock error 0 2013-04-30 13:35:08.088720 E Socket readBlock error 9 2013-04-30 13:35:08.088756 E Socket readBlock error 9 2013-04-30 13:35:08.088912 E Socket readBlock error 9 2013-04-30 13:35:08.088967 E Socket readBlock error 9 2013-04-30 13:35:08.089168 E Socket readBlock error 9 2013-04-30 13:35:08.089236 E Socket readBlock error 9 2013-04-30 13:35:08.089418 E Socket readBlock error 9 2013-04-30 13:35:08.089581 E Socket readBlock error 9 2013-04-30 13:35:08.089752 E Socket readBlock error 9 2013-04-30 13:35:08.089890 E Socket readBlock error 9 2013-04-30 13:35:08.090034 E Socket readBlock error 9 2013-04-30 13:35:08.092493 E Socket readBlock error 9 2013-04-30 13:35:08.114291 E Socket readBlock error 9
Change History (3)
comment:1 by , 13 years ago
comment:2 by , 13 years ago
After tracking.. The issue comes from ::readrecv returning -1 and setting errnor = EAGAIN
so MSocketDevice::readData returns -1 as if an error occurred, when really it should only try to read again (seeing the it's called from readBlock()
why would the socket indicates that it has XX bytes available; but returns EAGAIN; I'm not sure..
But this needs addressing in MythSocket
comment:3 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

According to the Error enum here:
"Socket readBlock error 0" is NoError and "Socket readBlock error 0" is UnknownError.
The debugging + nearby code was introduced in [44df943b0f9]. This is independent of the MythSocket code and can be reverted independently if I can't find the bug.
It is very weird that ret would be < 0 and then error returns 0.