Opened 14 years ago

Closed 14 years ago

#876 closed defect (fixed)

deadlock when request for remote end while showing "Coundnt connect" popup

Reported by: Mark Spieth Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: head
Severity: medium Keywords: deadlock
Cc: Ticket locked: no

Description

on an xbox (and perhaps other cases) a qt event is fired every 5 secs (default) to ask the backend if it is currently recording. If the backend has gone away, and a further request for backend comms occurs, deadlock ensues as no further qt events can get through. the attached patch fixes this. A further enhancement would be to clear the popup if connection is restored but Im not sure of the correct way of doing this only for this case. it may need to be made more general but its impact needs to be analysed for all other cases.

Attachments (2)

mythtv_remoteblock.patch (2.5 KB) - added by Mark Spieth 14 years ago.
mythtv_remoteblock2.patch (4.4 KB) - added by Mark Spieth 14 years ago.

Download all attachments as: .zip

Change History (4)

Changed 14 years ago by Mark Spieth

Attachment: mythtv_remoteblock.patch added

Changed 14 years ago by Mark Spieth

Attachment: mythtv_remoteblock2.patch added

comment:1 Changed 14 years ago by Mark Spieth

2nd patch is a better fix. There are 2 places the "could not connect to backend" popup gets called from. fully tested this time.

comment:2 Changed 14 years ago by Isaac Richards

Resolution: fixed
Status: newclosed

(In [8595]) Close #876 - patch to fix xbox specific deadlock due to it's 'recording status' query.

Note: See TracTickets for help on using tickets.