Opened 12 years ago

Closed 2 years ago

#11127 closed Bug Report - Hang/Deadlock (Trac EOL)

deadlock in backend after recording device failure

Reported by: brian@… Owned by:
Priority: minor Milestone: needs_triage
Component: MythTV - General Version: 0.25-fixes
Severity: medium Keywords:
Cc: Ticket locked: no

Description

I have been noticing a pattern here. My backend deadlocks and needs to be restarted after a recording failure presumably due to a device failure. This really should not happen.

Yes, I understand that trying to deal with hardware failure is not always easy, but hardware does fail, sadly. Having the backend become moribund when this happens is tragic, to put it nicely. Hardware failure should result in at most, a failed recording at the time. The backend should simply pick itself up and get on with life instead of lying down like a dead dog.

I will attach a backend log as well as a stack trace of this situation.

P.S. I am really trying to resist the urge to set the Priority and/or Severity on this ticket. This issue is very severe and should have the utmost priority, IMHO. WAF is nosediving fast and hard due to an entire night of favourite show season premiers for a whole night not recording due to a dual (multirec at the same time) recording failure.

Attachments (3)

ThreadStacktrace.txt (156.4 KB) - added by brian@… 12 years ago.
stack trace of deadlocked threads
mythbackend.log (110.9 KB) - added by brian@… 12 years ago.
log from a number of deadlocks
ThreadStacktrace.2.txt (229.6 KB) - added by brian@… 12 years ago.
stack trace of deadlocked threads

Download all attachments as: .zip

Change History (6)

Changed 12 years ago by brian@…

Attachment: ThreadStacktrace.txt added

stack trace of deadlocked threads

Changed 12 years ago by brian@…

Attachment: mythbackend.log added

log from a number of deadlocks

comment:1 Changed 12 years ago by brian@…

I should add, that there were a number of deadlocks in that file, hence the several restarts over the last 12 hours or so. I will also attach the stack trace from this reboot that was needed this morning.

Changed 12 years ago by brian@…

Attachment: ThreadStacktrace.2.txt added

stack trace of deadlocked threads

comment:2 Changed 4 years ago by Stuart Auchterlonie

Milestone: unknownneeds_triage

This definitely still happens, as i've experienced it recently

comment:3 Changed 2 years ago by Stuart Auchterlonie

Resolution: Trac EOL
Status: newclosed

We have moved all bug tracking to github [1]

If you continue to have this issue, please open a new issue at github, referencing this ticket.

[1] - https://github.com/MythTV/mythtv/issues

Note: See TracTickets for help on using tickets.