[mythtv-users] mythbackend exits: why?

Mark Perkins perkins1724 at hotmail.com
Fri Jul 29 06:36:03 UTC 2016


On 29 July 2016 2:24:51 PM ACST, Udo van den Heuvel <udovdh at xs4all.nl> wrote:
>Hello,
>
>I see mythbackend exiting not too long after starting up.
>Why is this?
>
>2016-07-29 06:50:54.841289 I [29871/29871] CoreContext
>scheduler.cpp:705
>(UpdateRecStatus) - Updating status for "Tekst TV" on cardid 5 (Tuning
>=> Recording)
>2016-07-29 06:50:54.843108 I [29871/29871] CoreContext
>scheduler.cpp:705
>(UpdateRecStatus) - Updating status for "Casper & Lisa":"Een bijzondere
>dag voor meneer Janssen" on cardid 2 (Tuning => Recording)
>2016-07-29 06:50:54.844830 I [29871/29871] CoreContext
>scheduler.cpp:705
>(UpdateRecStatus) - Updating status for "NOS Journaal" on cardid 1
>(Tuning => Recording)
>2016-07-29 06:50:54.859739 I [29871/29871] CoreContext
>scheduler.cpp:705
>(UpdateRecStatus) - Updating status for "NOS Journaal" on cardid 4
>(Tuning => Recording)
>2016-07-29 06:50:54.895926 I [29871/29880] TVRecEvent tv_rec.cpp:4144
>(TuningNewRecorder) - TVRec[2]: rec->GetPathname():
>'/Myth/LiveTV/3_20160729045100.mpg'
>2016-07-29 06:50:54.896717 I [29871/29878] TVRecEvent tv_rec.cpp:4144
>(TuningNewRecorder) - TVRec[1]: rec->GetPathname():
>'/Myth/LiveTV/1_20160729045100.mpg'
>2016-07-29 06:50:54.897905 I [29871/29883] TVRecEvent tv_rec.cpp:4144
>(TuningNewRecorder) - TVRec[5]: rec->GetPathname():
>'/Myth/LiveTV/2_20160729045100.mpg'
>2016-07-29 06:50:55.040164 I [29871/29882] TVRecEvent tv_rec.cpp:4144
>(TuningNewRecorder) - TVRec[4]: rec->GetPathname():
>'/Myth/LiveTV/1_20160729045101.mpg'
>2016-07-29 06:51:44.333885 C [29871/29871] CoreContext
>signalhandling.cpp:305 (handleSignal) - Received Terminated: Code 0,
>PID
>1, UID 0, Value 0x00000000
>2016-07-29 06:51:44.335148 N [29871/29871] CoreContext
>main_helpers.cpp:706 (run_backend) - MythBackend exiting
>2016-07-29 06:51:44.341356 I [29871/29878] TVRecEvent tv_rec.cpp:1051
>(HandleStateChange) - TVRec[1]: Changing from RecordingOnly to None
>2016-07-29 06:51:44.359985 I [29871/29880] TVRecEvent tv_rec.cpp:1051
>(HandleStateChange) - TVRec[2]: Changing from RecordingOnly to None
>2016-07-29 06:51:44.365246 I [29871/29880] TVRecEvent tv_rec.cpp:835
>(FinishedRecording) - TVRec[2]:
>FinishedRecording(3_2016-07-29T04:51:00Z) damaged
>recq:<RecordingQuality
>overall_score="0" key="3_2016-07-29T04:51:00Z"
>countinuity_error_count="1" packet_count="74624">
>    <Gap start="2016-07-29T04:51:42Z" end="2016-07-29T04:55:00Z"
>duration="197" />
></RecordingQuality>
>
>2016-07-29 06:51:44.370364 I [29871/29882] TVRecEvent tv_rec.cpp:1051
>(HandleStateChange) - TVRec[4]: Changing from RecordingOnly to None
>2016-07-29 06:51:44.375686 I [29871/29882] TVRecEvent tv_rec.cpp:835
>(FinishedRecording) - TVRec[4]:
>FinishedRecording(1_2016-07-29T04:51:01Z) damaged
>recq:<RecordingQuality
>overall_score="0" key="1_2016-07-29T04:51:01Z"
>countinuity_error_count="0" packet_count="132209">
>    <Gap start="2016-07-29T04:51:43Z" end="2016-07-29T05:00:00Z"
>duration="496" />
></RecordingQuality>
>
>2016-07-29 06:51:44.381202 I [29871/29883] TVRecEvent tv_rec.cpp:1051
>(HandleStateChange) - TVRec[5]: Changing from RecordingOnly to None
>2016-07-29 06:51:44.394596 I [29871/29883] TVRecEvent tv_rec.cpp:835
>(FinishedRecording) - TVRec[5]:
>FinishedRecording(2_2016-07-29T04:51:00Z) damaged
>recq:<RecordingQuality
>overall_score="0" key="2_2016-07-29T04:51:00Z"
>countinuity_error_count="0" packet_count="98706">
>    <Gap start="2016-07-29T04:51:40Z" end="2016-07-29T05:00:00Z"
>duration="499" />
></RecordingQuality>
>
>2016-07-29 06:51:44.404933 I [29871/29871] CoreContext
>mythcontext.cpp:1194 (~MythContext) - Waiting for threads to exit.
>
>
>I did not move the antenna or anything, so why the 'damaged' mentions?
>Why is this a reason to exit?
>
>
>Udo
>_______________________________________________
>mythtv-users mailing list
>mythtv-users at mythtv.org
>http://lists.mythtv.org/mailman/listinfo/mythtv-users
>http://wiki.mythtv.org/Mailing_List_etiquette
>MythTV Forums: https://forum.mythtv.org

Are you using monit to watch the BE. There was an earlier report with very similar symptoms caused by incorrectly configured monit.

http://www.gossamer-threads.com/lists/mythtv/users/592883

Or do you have some sort of script monitoring the BE? 


More information about the mythtv-users mailing list