Opened 10 years ago

Closed 10 years ago

#6363 closed defect (fixed)

Mythbackend deadlocks in TvRec-class

Reported by: tomimo@… Owned by: danielk
Priority: minor Milestone: 0.22
Component: MythTV - General Version: head
Severity: medium Keywords: mythbackend hang deadlock
Cc: Ticket locked: no

Description

I have attached a full backtrace of the current SVN head version of mythbackend that seems to deadlock once or twice a day completely. I'll try to pinpoint the exact reason and or patch for the problem now when I have a proper backtrace of the original problem to show.

Attachments (2)

mythbackend.log (43.3 KB) - added by tomimo@… 10 years ago.
Full backtrace of the seen mythbackend deadlock.
tv_rec.patch (7.7 KB) - added by tomimo@… 10 years ago.
This patch seems to fix the deadlocks for me.

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by tomimo@…

Attachment: mythbackend.log added

Full backtrace of the seen mythbackend deadlock.

Changed 10 years ago by tomimo@…

Attachment: tv_rec.patch added

This patch seems to fix the deadlocks for me.

comment:1 Changed 10 years ago by tomimo@…

I have been running the attached tv_rec.patch for 2 weeks now without any deadlocks. My system consists of three dvb-t pci cards and commercial flagging is enabled. Without the patch the backend deadlocked once per day or two.

comment:2 Changed 10 years ago by ksalmela

I have been "beta-testing" these fixes for over a week and can only second and confirm that system works better with these fixes. Please consider adding to mainstream.

comment:3 Changed 10 years ago by danielk

Owner: changed from Isaac Richards to danielk
Status: newassigned

comment:4 Changed 10 years ago by danielk

Resolution: fixed
Status: assignedclosed

(In [22159]) Fixes #6363. Cleans up some of the locking introduced by qt4 port in TVRec.

Note: See TracTickets for help on using tickets.