<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">Thank you both for your help. I just wanted to follow up and say that the debugging sounds like it's above my skill level. I checked and it turns out I was actually on .32 when I had the crashes - the different verson must be the reason i was suddenly having them. Fedora's package manager had upgraded me even though I (thought I had) deselected those packages. I tried downgrading back to .31 to stop the crashes, but now myth won't start at all -- it gives a database schema error, which must mean you can't go backwards. I fear I may have really messed it up. Does anyone know, is there a way to downgrade a database schema from .32 to .31? <div>Here is the information you requested earlier:</div><div><div><br></div><div>mary@mythbox:~]$ dnf list installed mythtv-backend</div><div>Installed Packages</div><div>mythtv-backend.x86_64 31.0-17.147.20210421git05c16580e1.fc34 @rpmfusion-free</div></div><div><br></div><div><div>mary@mythbox:~]$ mythbackend --version</div><div>Please attach all output as a file in bug reports.</div><div>MythTV Version : v31.0-v31.0-147-g05c16580e1</div><div>MythTV Branch : fixes/31</div><div>Network Protocol : 91</div><div>Library API : 31.20200101-1</div><div>QT Version : 5.15.2</div><div>Options compiled in:</div><div> linux debug use_hidesyms using_alsa using_jack using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_dvb using_firewire using_frontend using_hdhomerun using_vbox using_ceton using_hdpvr using_ivtv using_joystick_menu using_libcec using_libcrypto using_libdns_sd using_libfftw3 using_libxml2 using_lirc using_mheg using_opengl using_egl using_qtwebkit using_qtscript using_qtdbus using_taglib using_v4l2 using_v4l2prime using_x11 using_libbluray_external using_xrandr using_debugtype using_systemd_notify using_systemd_journal using_drm using_bindings_perl using_bindings_python using_bindings_php using_freetype2 using_mythtranscode using_opengl using_egl using_drm using_vaapi using_nvdec using_vdpau using_ffmpeg_threads using_mheg using_libass using_libxml2 using_libmp3lame</div><div>[Sat Jul 02 15:29:15]</div></div><div><br></div><div><br></div><div><br></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 27, 2022 at 12:13 AM Eyal Lebedinsky <<a href="mailto:eyal@eyal.emu.id.au">eyal@eyal.emu.id.au</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>
<br>
On 27/06/2022 10.41, Mary Strimel wrote:<br>
> Hello,<br>
> 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.<br>
> <br>
> 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.<br>
> 2022-06-26 10:15:06.436577 N [374213/374252] Scheduler scheduler.cpp:3303 (CheckShutdownServer) - CheckShutdownServer returned - Not OK to shutdown<br>
> 2022-06-26 10:16:08.742608 I [374213/374213] CoreContext housekeeper.cpp:738 (Run) - Queueing HouseKeeperTask 'HardwareProfiler'.<br>
> 2022-06-26 10:16:08.742710 I [374213/374402] HouseKeeping mythdbcon.cpp:423 (PurgeIdleConnections) - New DB connection, total: 10<br>
> 2022-06-26 10:16:08.743973 I [374213/374402] HouseKeeping housekeeper.cpp:139 (Run) - Running HouseKeeperTask 'HardwareProfiler'.<br>
> 2022-06-26 10:16:08.748636 I [374213/374402] HouseKeeping housekeeper.cpp:154 (Run) - HouseKeeperTask 'HardwareProfiler' Failed.<br>
> 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<br>
> 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<br>
> 2022-06-26 10:16:42.866021 I [374213/374242] TVRecEvent tv_rec.cpp:3600 (TuningFrequency) - TVRec[12]: TuningFrequency<br>
> 2022-06-26 10:16:42.882395 I [374213/374242] TVRecEvent recorders/hdhrstreamhandler.cpp:393 (Connect) - HDHRSH[12](1017D735): Added 2 devices from 1017D735<br>
> 2022-06-26 10:16:42.900487 I [374213/374242] TVRecEvent recorders/hdhrstreamhandler.cpp:410 (Connect) - HDHRSH[12](1017D735): Connected to device(1017D735-0)<br>
> 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<br>
<br>
To get better help you should include the installed package details, like<br>
$ dnf list installed mythtv-backend<br>
$ mythbackend --version<br>
<br>
If you are running the rpmfusion package then, as I learnt recently, it is built with assertions enabled so aborts are possible.<br>
<br>
When I had such aborts I used a command like:<br>
$ 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<br>
to make the crash dump log line readable.<br>
<br>
You may want to install some of the required debuginfo packages to get meaningful traces, like:<br>
$ sudo dnf debuginfo-install mythtv-backend mythtv mythtv-libs<br>
<br>
If you use gdb (recommended) to look into the crash dump in<br>
/var/lib/systemd/coredump/<br>
it will tell you what packages to install. I ended installing about 250 packages to get a full trace. YMMV<br>
<br>
HTH<br>
<br>
-- <br>
Eyal Lebedinsky (<a href="mailto:eyal@eyal.emu.id.au" target="_blank">eyal@eyal.emu.id.au</a>)<br>
_______________________________________________<br>
mythtv-users mailing list<br>
<a href="mailto:mythtv-users@mythtv.org" target="_blank">mythtv-users@mythtv.org</a><br>
<a href="http://lists.mythtv.org/mailman/listinfo/mythtv-users" rel="noreferrer" target="_blank">http://lists.mythtv.org/mailman/listinfo/mythtv-users</a><br>
<a href="http://wiki.mythtv.org/Mailing_List_etiquette" rel="noreferrer" target="_blank">http://wiki.mythtv.org/Mailing_List_etiquette</a><br>
MythTV Forums: <a href="https://forum.mythtv.org" rel="noreferrer" target="_blank">https://forum.mythtv.org</a><br>
</blockquote></div>