[mythtv-users] Fwd: backend (?) crash

Klaas de Waal klaas.de.waal at gmail.com
Fri Feb 19 23:08:31 UTC 2021


Your frontend log shows that it cannot connect to the backend, otherwise it
is OK.
Your backend log fragment shows that it wants to create a new virtual tuner
for a multirec recording but that this fails. This should not happen.
To get to the bottom of this a lot more information would be needed, such a
complete backend log and a dump of some database tables.
You can create a Github issue and then you can attach bigger log files than
you can with the mailing list.

For the time being I suggest to:
- check that your database is correct by running optimize_mythdb.pl
- run the latest updated version, e.g. v31/fixes

You can also with mythtv-setup:
- delete all capture cards
- create new capture cards
- connect them to the video source
Reason is that your backend issue could be caused by a corrupt capturecard
table.

Klaas.





On Fri, 19 Feb 2021 at 23:20, Mary Strimel <mary.strimel at gmail.com> wrote:

> sending this again with shorter logs. Restarting the backend was
> successful, but I'd be curious to know if there's something i can do to
> avoid it crashing again in future.
> ---------- Forwarded message ---------
> From: Mary Strimel <mary.strimel at gmail.com>
> Date: Thu, Feb 18, 2021 at 11:47 AM
> Subject: backend (?) crash
> To: Mythtv Mailing List <mythtv-users at mythtv.org>
>
>
> I woke up this morning and my frontends would not connect. There are lots
> of errors in the log, but I'm not sure which ones are the problem, versus
> symptoms of the problem.
> From mythbackend.log:
>
> Feb 18 08:28:59 mythbox mythbackend: mythbackend[1177]: I Scheduler
> scheduler.cpp:2427 (HandleReschedule) Scheduled 396 items in 0.2 = 0.02
> match + 0.00 check + 0.20 place
> Feb 18 08:29:30 mythbox mythbackend: mythbackend[1177]: I CoreContext
> mainserver.cpp:3236 (HandleAddChildInput) MainServer: HandleAddChildInput:
> Handling input 5
> Feb 18 08:29:30 mythbox mythbackend: mythbackend[1177]: E CoreContext
> cardutil.cpp:1548 (AddChildInput) CardUtil: Failed to add child input to
> parent 5
> Feb 18 08:29:30 mythbox mythbackend: mythbackend[1177]: E CoreContext
> mainserver.cpp:3247 (HandleAddChildInput) MainServer: HandleAddChildInput:
> Failed to add child to input 5
>
>
> From mythfrontend.log:
> Feb 18 11:24:57 mythbox mythfrontend.real: mythfrontend[11395]: I
> CoreContext mythuihelper.cpp:762 (PruneCacheDir) MythUIHelper: Pruning
> cache directory: /home/mary/.mythtv/cache/remotecache
> Feb 18 11:24:57 mythbox mythfrontend.real: mythfrontend[11395]: I
> CoreContext mythuihelper.cpp:819 (PruneCacheDir) MythUIHelper: Kept 57
> files, deleted 0 files, stat error on 0 files
> Feb 18 11:24:57 mythbox mythfrontend.real: mythfrontend[11395]: I
> CoreContext mythuihelper.cpp:762 (PruneCacheDir) MythUIHelper: Pruning
> cache directory: /home/mary/.mythtv/cache/thumbnails
> Feb 18 11:24:57 mythbox mythfrontend.real: mythfrontend[11395]: I
> CoreContext mythuihelper.cpp:819 (PruneCacheDir) MythUIHelper: Kept 661
> files, deleted 0 files, stat error on 0 files
> Feb 18 11:24:57 mythbox mythfrontend.real: mythfrontend[11395]: I
> SendMessage mythcorecontext.cpp:469 (ConnectCommandSocket)
> MythCoreContext::ConnectCommandSocket(): Connecting to backend server:
> 192.168.1.253:6543 (try 1 of 1)
> Feb 18 11:24:57 mythbox mythfrontend.real: mythfrontend[11395]: E
> CoreContext devices/mythcecadapter.cpp:173 (Open) CECAdapter: Failed to
> load libcec.
> Feb 18 11:24:57 mythbox mythfrontend.real: mythfrontend[11395]: E
> CoreContext AirPlay/mythraopdevice.cpp:30 (Create) RAOP Device: Aborting
> startup - no key found.
> Feb 18 11:24:57 mythbox mythfrontend.real: mythfrontend[11395]: I
> CoreContext AirPlay/mythairplayserver.cpp:387 (Create) AirPlay: Created
> airplay objects.
> Feb 18 11:24:57 mythbox mythfrontend.real: mythfrontend[11395]: I
> thread_unknown serverpool.cpp:418 (listen) Listening on TCP 0.0.0.0:5100
> Feb 18 11:24:57 mythbox mythfrontend.real: mythfrontend[11395]: I
> thread_unknown serverpool.cpp:418 (listen) Listening on TCP [::]:5100
> Feb 18 11:24:57 mythbox mythfrontend.real: mythfrontend[11395]: I
> CoreContext schemawizard.cpp:117 (Compare) Current MythTV Schema Version
> (DBSchemaVer): 1361
> Feb 18 11:24:58 mythbox mythfrontend.real: mythfrontend[11395]: I
> CoreContext decoders/mythvdpauhelper.cpp:71 (HaveVDPAU) VDPAUHelp:
> Supported/available VDPAU decoders:
> Feb 18 11:24:58 mythbox mythfrontend.real: mythfrontend[11395]: I
> CoreContext decoders/mythvdpauhelper.cpp:103 (ProfileCheck) VDPAUHelp:
> Driver does not report support for H264 Baseline
> Feb 18 11:24:58 mythbox mythfrontend.real: mythfrontend[11395]: I
> CoreContext decoders/mythvdpauhelper.cpp:114 (ProfileCheck) VDPAUHelp: ...
> but assuming available as H264 Main is supported
> Feb 18 11:24:58 mythbox mythfrontend.real: mythfrontend[11395]: I
> CoreContext decoders/mythvdpauhelper.cpp:103 (ProfileCheck) VDPAUHelp:
> Driver does not report support for H264 Constrained Baseline
> Feb 18 11:24:58 mythbox mythfrontend.real: mythfrontend[11395]: I
> CoreContext decoders/mythvdpauhelper.cpp:114 (ProfileCheck) VDPAUHelp: ...
> but assuming available as H264 Main is supported
>
> Feb 18 11:25:04 mythbox mythfrontend.real: mythfrontend[11395]: E
> MythSocketThread(-1) mythsocket.cpp:815 (ReadStringListReal)
> MythSocket(7f815801ea30:60): ReadStringList: Error, timed out after 7000 ms.
> Feb 18 11:25:04 mythbox mythfrontend.real: mythfrontend[11395]: C
> SendMessage mythcorecontext.cpp:1662 (CheckProtoVersion) Protocol version
> check failure.#012#011#011#011The response to MYTH_PROTO_VERSION was
> empty.#012#011#011#011This happens when the backend is too busy to
> respond,#012#011#011#011or has deadlocked due to bugs or hardware failure.
> Feb 18 11:25:04 mythbox mythfrontend.real: mythfrontend[11395]: I
> SendMessage mythcorecontext.cpp:469 (ConnectCommandSocket)
> MythCoreContext::ConnectCommandSocket(): Connecting to backend server:
> 192.168.1.253:6543 (try 1 of 1)
> Feb 18 11:25:11 mythbox mythfrontend.real: mythfrontend[11395]: E
> MythSocketThread(-1) mythsocket.cpp:815 (ReadStringListReal)
> MythSocket(7f815800ea30:59): ReadStringList: Error, timed out after 7000 ms.
> Feb 18 11:25:11 mythbox mythfrontend.real: mythfrontend[11395]: C
> SendMessage mythcorecontext.cpp:1662 (CheckProtoVersion) Protocol version
> check failure.#012#011#011#011The response to MYTH_PROTO_VERSION was
> empty.#012#011#011#011This happens when the backend is too busy to
> respond,#012#011#011#011or has deadlocked due to bugs or hardware failure.
> Feb 18 11:25:11 mythbox mythfrontend.real: mythfrontend[11395]: I
> SendMessage
>
>
>
>
> _______________________________________________
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20210220/8d7b1a34/attachment.htm>


More information about the mythtv-users mailing list