Opened 8 months ago

Closed 7 months ago

Last modified 7 months ago

#13393 closed Patch - Bug Fix (fixed)

"Draining DVB Event failed." message given on success

Reported by: Klaas de Waal Owned by: Klaas de Waal
Priority: trivial Milestone: 31.0
Component: MythTV - DVB Version: Master Head
Severity: low Keywords: DVB
Cc: Stuart Auchterlonie Ticket locked: no

Description

A channelscan with the following command:

mythtv-setup -v general,channel --loglevel=debug

gives for each transport tuned the following message:

2019-01-28 20:22:19.187093 D  Draining DVB Event failed.
                        eno: Resource temporarily unavailable (11)

The message is given by the function drain_dvb_events in file dvbchannel.cpp. The events are read and discarded until there are no more events but then there is always an error message given. The error code is 11 or EAGAIN and this indicates that there is nothing more to read. In this case this means that there are no more events, which is the purpose of the function.
The error message should only be given if the error code is other than EAGAIN.

This is implemented in the attached patch.

Tested with the local DVB-T and DVB-C signals.

Attachments (1)

20190128-draining-message.patch (572 bytes) - added by Klaas de Waal 8 months ago.

Download all attachments as: .zip

Change History (5)

Changed 8 months ago by Klaas de Waal

comment:1 Changed 7 months ago by Klaas de Waal

Owner: set to Klaas de Waal
Status: newaccepted

comment:2 Changed 7 months ago by Klaas de Waal

Resolution: Fixed
Status: acceptedclosed

Commit 18115c2

Fixes #13393 - "Draining DVB Event failed." message given on success

Signed-off-by: Klaas de Waal <mythtv@…>

comment:3 Changed 7 months ago by Klaas de Waal <mythtv@…>

Resolution: Fixedfixed

In 18115c2f2/mythtv:

Fixes #13393 - "Draining DVB Event failed." message given on success

Signed-off-by: Klaas de Waal <mythtv@…>

comment:4 Changed 7 months ago by Stuart Auchterlonie

Milestone: needs_triage31.0
Note: See TracTickets for help on using tickets.