Opened 13 years ago
Closed 12 years ago
Last modified 12 years ago
#10647 closed Bug Report - Hang/Deadlock (fixed)
Scheduler deadlock during Live TV
Reported by: | Jim Stichnoth | Owned by: | gigem |
---|---|---|---|
Priority: | minor | Milestone: | 0.25.2 |
Component: | MythTV - Scheduling | Version: | Master Head |
Severity: | medium | Keywords: | |
Cc: | Ticket locked: | no |
Description
While watching live TV, got the popup indicating that the backend wanted the tuner for a scheduled recording. I clicked "OK" to let the scheduled program record. This resulted in an apparent deadlock in the scheduler code. (To be precise, the scheduler wanted a different tuner but in the same input group as the Live TV tuner.) The deadlock manifested itself as mythfrontend and mythweb connection attempts hanging.
I attached gdb to the mythbackend process and got a stack trace.
Also including some backend logs with "-v most --loglevel debug". To make the size manageable, I filtered out lines containing "TFW" or "JobQueue?", and I removed lines prior to 1 minute before the recording. (But I kept the first 100 lines to show version and startup information.)
Attachments (2)
Change History (7)
Changed 13 years ago by
Attachment: | livetv_bt.txt added |
---|
Changed 13 years ago by
Attachment: | mythbackend.log.gz added |
---|
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:3 Changed 12 years ago by
Milestone: | unknown → 0.26 |
---|
comment:5 Changed 12 years ago by
Milestone: | 0.26 → 0.25.2 |
---|
Can you test the following patch? http://pastebin.ca/2162527