[mythtv] Ticket #10236: Mythbackend not shutting down correctly

R. G. Newbury newbury at mandamus.org
Fri Jan 6 22:54:12 UTC 2012


On 01/05/2012 08:34 PM, MythTV wrote:
> #10236: Mythbackend not shutting down correctly
> ----------------------------------+----------------------------
>   Reporter:  newbury@…             |          Owner:
>       Type:  Bug Report - General  |         Status:  new
>   Priority:  minor                 |      Milestone:  unknown
> Component:  MythTV - General      |        Version:  Trunk Head
>   Severity:  medium                |     Resolution:
>   Keywords:                        |  Ticket locked:  0
> ----------------------------------+----------------------------
> Changes (by beirdo):
>
>   * status:  closed =>  new
>   * type:  Patch - Bug Fix =>  Bug Report - General
>   * version:  Unspecified =>  Trunk Head
>   * resolution:  Invalid =>
>
>
> Comment:
>
>   Seems that the actual issue is that mythbackend won't shut down cleanly
>   for him, and seems (at first glance) to be perhaps related to checking if
>   a recording is damaged, keeping TVRec from shutting down.
>
>   From the follow-on discussion on the mailing list (by Karl Dietz)
>
>   here's a backtrace http://paste.ubuntu.com/794362/
>
>   mythbackend is keeping one cpu busy at that point in time and the
>   recordings view in mythweb shows one recording from yesterday as still
>   running, but no recorder is in use...
>
>   MythTV Version: v0.25pre-3937-g0297b3a =>  December 23rd, time to update?
>
>   MythTV Branch : master

Couple of things going on.
1) Yes the backend can cease to be/crash/die/hang. When it does, it 
generally leaves a pid file hanging around.
I contrived to start multiple copies, which of course should never happen.
2) So, I proposed to add a stanza to the fedora pre-start.sh script to 
kill all existing copies and produce a clean startup.
This proposal does nothing towards fixing the reasons for a 'ceased to 
be' parrot or other piece of software.
3) Turns out that myth does not provide that script. See the other 
message for that story.
Geoff





More information about the mythtv-dev mailing list