For a long time I ran this server with 4 physical tuners. Then some time ago
I deleted all but 1 adapter from the mythtv config and have been using a
single tuner for a few months. Yesterday I decided to add back the other
tuners, starting with one first. After fiddling a bit with mythtv-setup, I
eventually got the configuration right as far as I can tell. However at some
point in this process the backend server started to crash with a segfault.
If I start the backend it seems to run normally until either
- I start a frontend and try to watch live tv
- The server tunes the dvbcard to a frequency to initiate a eit scan
After a while I decided to roll back to a previous version of mythconverg
from before any mythtv config changes, only to find that the backend still
crashes in exactly the same way(!)
I Have not done any other changes to the system as far as I know.
Hopefully someone has some ideas on how to solve this as I'm hardly competent
to debug this on my own.
I've included the last few loglines below, the complete log is at https://pastebin.com/unZQ1wru
(I don't know what logging might be useful so i've run mythbackend with '-v most')
thanks,
-tom
Code: Select all
2020-09-14 19:44:02.904324 I [22704/22719] Expire autoexpire.cpp:372 (ExpireLiveTV) - AutoExpire: ExpireLiveTV(10000)
2020-09-14 19:44:02.904339 I [22704/22719] Expire autoexpire.cpp:981 (FillDBOrdered) - AutoExpire: FillDBOrdered: Adding Short LiveTV programs in starttime order
2020-09-14 19:44:02.906021 I [22704/22719] Expire autoexpire.cpp:627 (SendDeleteMessages) - AutoExpire: SendDeleteMessages. Nothing to expire.
2020-09-14 19:44:03.044573 I [22704/22715] TVRecEvent cardutil.cpp:1561 (GetConflictingInputs) - CardUtil: GetConflictingInputs() input 20
2020-09-14 19:44:03.046074 I [22704/22715] TVRecEvent cardutil.cpp:1592 (GetConflictingInputs) - CardUtil: GetConflictingInputs() got input 21
2020-09-14 19:44:03.048115 I [22704/22715] TVRecEvent eitscanner.cpp:278 (StartActiveScan) - EITScanner (20): StartActiveScan called with 18 multiplexes
2020-09-14 19:44:03.048140 I [22704/22715] TVRecEvent tv_rec.cpp:4444 (SetFlags) - TVRec[20]: SetFlags(EITScannerRunning,) -> RunMainLoop,EITScannerRunning, @ tv_rec.cpp:1483
2020-09-14 19:44:03.090002 I [22704/22716] EIT tv_rec.cpp:3160 (QueueEITChannelChange) - TVRec[20]: QueueEITChannelChange(7) -- begin
2020-09-14 19:44:03.090034 I [22704/22716] EIT tv_rec.cpp:3178 (QueueEITChannelChange) - TVRec[20]: QueueEITChannelChange(7) -- end --> 1
2020-09-14 19:44:03.094917 I [22704/22716] EIT eitscanner.cpp:147 (run) - EITScanner (20): Now looking for EIT data on multiplex of channel 7
2020-09-14 19:44:03.094994 I [22704/22716] EIT eitcache.cpp:432 (PruneOldEntries) - EITCache: Pruning all entries that ended before UTC 2020-09-13T17:49:03Z
2020-09-14 19:44:03.095002 I [22704/22716] EIT eitcache.cpp:108 (delete_in_db) - EITCache: Deleting old cache entries from the database
2020-09-14 19:44:04.048392 I [22704/22715] TVRecEvent tv_rec.cpp:3521 (HandleTuning) - TVRec[20]: HandleTuning Request: Program(NULL) channel(7) input() flags(EITScan,)
2020-09-14 19:44:04.048421 I [22704/22715] TVRecEvent tv_rec.cpp:3590 (TuningShutdowns) - TVRec[20]: TuningShutdowns(Program(NULL) channel(7) input() flags(EITScan,))
2020-09-14 19:44:04.048447 I [22704/22715] TVRecEvent tv_rec.cpp:4453 (ClearFlags) - TVRec[20]: ClearFlags(PENDINGACTIONS,) -> RunMainLoop,EITScannerRunning, @ tv_rec.cpp:3658
2020-09-14 19:44:04.048459 I [22704/22715] TVRecEvent tv_rec.cpp:3543 (HandleTuning) - TVRec[20]: No recorder yet, calling TuningFrequency
2020-09-14 19:44:04.048466 I [22704/22715] TVRecEvent tv_rec.cpp:3680 (TuningFrequency) - TVRec[20]: TuningFrequency
2020-09-14 19:44:04.048482 I [22704/22715] TVRecEvent recorders/dvbchannel.cpp:187 (Open) - DVBChan[20](/dev/dvb/adapter4/frontend0): Opening DVB channel
2020-09-14 19:44:04.048493 I [22704/22715] TVRecEvent recorders/dtvchannel.cpp:170 (SetChannelByString) - DTVChan[20](/dev/dvb/adapter4/frontend0): SetChannelByString(7):
2020-09-14 19:44:04.048502 I [22704/22715] TVRecEvent cardutil.cpp:1561 (GetConflictingInputs) - CardUtil: GetConflictingInputs() input 20
2020-09-14 19:44:04.050166 I [22704/22715] TVRecEvent cardutil.cpp:1592 (GetConflictingInputs) - CardUtil: GetConflictingInputs() got input 21
2020-09-14 19:44:04.050242 I [22704/22715] TVRecEvent recorders/channelbase.cpp:258 (IsInputAvailable) - ChannelBase[20]: Input is free on 0/0
2020-09-14 19:44:04.056027 I [22704/22715] TVRecEvent recorders/dvbchannel.cpp:449 (CheckOptions) - DVBChan[20](/dev/dvb/adapter4/frontend0): 322000000 qam_256 a auto auto a a auto a v fec: none msys: UNDEFINED rolloff: 0.35
2020-09-14 19:44:04.057578 I [22704/22715] TVRecEvent recorders/dvbchannel.cpp:745 (Tune) - DVBChan[20](/dev/dvb/adapter4/frontend0):
Old Params: 362000000 qam_256 a auto auto a a auto a v fec: none msys: UNDEFINED rolloff: 0.35
New Params: 322000000 qam_256 a auto auto a a auto a v fec: none msys: UNDEFINED rolloff: 0.35
2020-09-14 19:44:04.057593 I [22704/22715] TVRecEvent recorders/dvbchannel.cpp:757 (Tune) - DVBChan[20](/dev/dvb/adapter4/frontend0): Tune(): Tuning to 322000000Hz
2020-09-14 19:44:04.157658 I [22704/22715] TVRecEvent recorders/dvbchannel.cpp:1527 (wait_for_backend) - DVBChan: wait_for_backend: Status: Signal,Carrier,FEC Stable,Sync,Lock,
2020-09-14 19:44:04.157676 I [22704/22715] TVRecEvent recorders/dvbchannel.cpp:899 (Tune) - DVBChan[20](/dev/dvb/adapter4/frontend0): Tune(): Frequency tuning successful.
2020-09-14 19:44:04.157683 I [22704/22715] TVRecEvent recorders/dtvchannel.cpp:318 (SetChannelByString) - DTVChan[20](/dev/dvb/adapter4/frontend0): SetChannelByString(7): success
2020-09-14 19:44:04.157707 I [22704/22715] TVRecEvent tv_rec.cpp:3817 (TuningFrequency) - TVRec[20]: Starting Signal Monitor
2020-09-14 19:44:04.157720 I [22704/22715] TVRecEvent tv_rec.cpp:2068 (SetupSignalMonitor) - TVRec[20]: SetupSignalMonitor(1, 0)
2020-09-14 19:44:04.157769 I [22704/22715] TVRecEvent recorders/dvbchannel.cpp:187 (Open) - DVBChan[20](/dev/dvb/adapter4/frontend0): Opening DVB channel
2020-09-14 19:44:04.189115 C [22704/22704] CoreContext signalhandling.cpp:305 (handleSignal) - Received Segmentation fault: Code 1, PID 1855523104, UID -26689, Value 0x7f61b521b19