Opened 15 years ago
Closed 15 years ago
#8053 closed patch (fixed)
QObject::timer/thread problem in PlaybackBoxHelper
Reported by: | Owned by: | danielk | |
---|---|---|---|
Priority: | minor | Milestone: | 0.23 |
Component: | MythTV - General | Version: | head |
Severity: | medium | Keywords: | win32 |
Cc: | Ticket locked: | no |
Description
While a PlaybackBox? is active on an FE, the console prints "QObject::startTimer: timers cannot be started from another thread" and "QObject::killTimer: timers cannot be stopped from another thread". More precisely, for me start/killTimer prints an error in Windows but fails silently in Linux (verified by watching for free space queries with "-v network").
Error is caused by PlaybackBoxHelper::UpdateFreeSpace? attempting to manipulate timers while called from PBHEventHandler::event. The helper was created in a different thread than the event handler, so PBHEventHandler cannot start/kill timers belonging to PlaybackBoxHelper?.
Attached patch is one way to fix this problem: move the free space timer from PlaybackBoxHelper? to PBHEventHandler.
Attachments (2)
Change History (4)
Changed 15 years ago by
Attachment: | 8053-pbbhelper.patch added |
---|
comment:1 Changed 15 years ago by
Milestone: | unknown → 0.23 |
---|---|
Owner: | changed from Isaac Richards to danielk |
Status: | new → accepted |
Type: | defect → patch |
Changed 15 years ago by
Attachment: | 8053-pbbhelper.2.patch added |
---|
took too many letters out of the variable name