Opened 7 years ago

Last modified 7 years ago

#11127 new Bug Report - Hang/Deadlock

deadlock in backend after recording device failure

Reported by: brian@… Owned by:
Priority: minor Milestone: unknown
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@… 7 years ago.
stack trace of deadlocked threads
mythbackend.log (110.9 KB) - added by brian@… 7 years ago.
log from a number of deadlocks
ThreadStacktrace.2.txt (229.6 KB) - added by brian@… 7 years ago.
stack trace of deadlocked threads

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by brian@…

Attachment: ThreadStacktrace.txt added

stack trace of deadlocked threads

Changed 7 years ago by brian@…

Attachment: mythbackend.log added

log from a number of deadlocks

comment:1 Changed 7 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 7 years ago by brian@…

Attachment: ThreadStacktrace.2.txt added

stack trace of deadlocked threads

Note: See TracTickets for help on using tickets.