[mythtv-users] mythbackend crashes

Eyal Lebedinsky eyal at eyal.emu.id.au
Mon Jun 27 04:12:24 UTC 2022



On 27/06/2022 10.41, Mary Strimel wrote:
> Hello,
> I am getting repeated crashes with mythbackend lately - a log is below. I am on .31 on Fedora.  It looks like myth is trying to delete a file that doesn't exist.  Can someone help me with the steps to fix this?  I sometimes mark files for deletion from a leanfront frontend; I'm not sure if I created problem by doing that.  TIA.
> 
> 2022-06-26 10:13:29.168689 E [374213/374213] CoreContext mainserver.cpp:3147 (DoHandleDeleteRecording) - MainServer: ERROR when trying to delete file: GetPlaybackURL/UNABLE/TO/FIND/LOCAL/FILE/ON/mythbox/16817_20210813180000.ts. File doesn't exist.  Database metadata will not be removed.
> 2022-06-26 10:15:06.436577 N [374213/374252] Scheduler scheduler.cpp:3303 (CheckShutdownServer) - CheckShutdownServer returned - Not OK to shutdown
> 2022-06-26 10:16:08.742608 I [374213/374213] CoreContext housekeeper.cpp:738 (Run) - Queueing HouseKeeperTask 'HardwareProfiler'.
> 2022-06-26 10:16:08.742710 I [374213/374402] HouseKeeping mythdbcon.cpp:423 (PurgeIdleConnections) - New DB connection, total: 10
> 2022-06-26 10:16:08.743973 I [374213/374402] HouseKeeping housekeeper.cpp:139 (Run) - Running HouseKeeperTask 'HardwareProfiler'.
> 2022-06-26 10:16:08.748636 I [374213/374402] HouseKeeping housekeeper.cpp:154 (Run) - HouseKeeperTask 'HardwareProfiler' Failed.
> 2022-06-26 10:16:42.751186 I [374213/374252] Scheduler scheduler.cpp:2330 (HandleReschedule) - Reschedule requested for MATCH 0 1 1 2022-06-26T23:30:00Z EITScanner
> 2022-06-26 10:16:42.772305 I [374213/374252] Scheduler scheduler.cpp:2444 (HandleReschedule) - Scheduled 57 items in 0.0 = 0.01 match + 0.00 check + 0.01 place
> 2022-06-26 10:16:42.866021 I [374213/374242] TVRecEvent tv_rec.cpp:3600 (TuningFrequency) - TVRec[12]: TuningFrequency
> 2022-06-26 10:16:42.882395 I [374213/374242] TVRecEvent recorders/hdhrstreamhandler.cpp:393 (Connect) - HDHRSH[12](1017D735): Added 2 devices from 1017D735
> 2022-06-26 10:16:42.900487 I [374213/374242] TVRecEvent recorders/hdhrstreamhandler.cpp:410 (Connect) - HDHRSH[12](1017D735): Connected to device(1017D735-0)
> 2022-06-26 10:17:20.003006 C [374213/374213] CoreContext signalhandling.cpp:294 (handleSignal) - Received Aborted: Code -6, PID 374213, UID 1001, Value 0x00000000

To get better help you should include the installed package details, like
$ dnf list installed mythtv-backend
$ mythbackend --version

If you are running the rpmfusion package then, as I learnt recently, it is built with assertions enabled so aborts are possible.

When I had such aborts I used a command like:
	$ sudo grep -i 'systemd-coredump.*mythbackend.*dumped core' /var/log/messages | sed 's/#012#012/\n/g;s/#012#011/\t/g;s/#012#/\n/g' | less
to make the crash dump log line readable.

You may want to install some of the required debuginfo packages to get meaningful traces, like:
	$ sudo dnf debuginfo-install mythtv-backend mythtv mythtv-libs

If you use gdb (recommended) to look into the crash dump in
	/var/lib/systemd/coredump/
it will tell you what packages to install. I ended installing about 250 packages to get a full trace. YMMV

HTH

-- 
Eyal Lebedinsky (eyal at eyal.emu.id.au)


More information about the mythtv-users mailing list