MythTV Backend Setup has closed unexpectedly

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
busbee
Junior
Posts: 36
Joined: Sun Oct 14, 2018 12:07 pm
United States of America

MythTV Backend Setup has closed unexpectedly

Post by busbee »

I'm consistently getting this error (Ubuntu report a problem) after boot:
MythTV Backend Setup has closed unexpectedly
I thought it may be MythTV Backend, and a "race" situation, network not up or capture device not up, but
there is that word Setup in the error. The backend is running, but that could be because it restarted after failure.
So, I modified the service:

Code: Select all

...
[Service]
User=mythtv
EnvironmentFile=-/etc/mythtv/additional.args
ExecStartPre=/bin/sleep 20
ExecStart=/usr/bin/mythbackend --quiet --syslog local7 $ADDITIONAL_ARGS
StartLimitBurst=10
StartLimitInterval=10m
#Restart=on-failure
#RestartSec=1
Restart=no
...
Adding a delay (sleep) to temp fix and a no to restart, then rebooted.

Surprisingly, the backend is still running (did not seem to error) thou it did delay 20 seconds before starting as expected. And, the error still shows up.

The Error report says:
ExecutablePath: /usr/bin/mythcommflag
Package: mythtv-backend 2:29.1+fixes.20180414.329c235-0ubuntu3[modified:lib/systemd/system/mythtv-backend.service]
Title: mythcommflag assert failure: corrupted double-linked list
User avatar
bill6502
Developer
Posts: 2323
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: MythTV Backend Setup has closed unexpectedly

Post by bill6502 »

Need some more info. The error message doesn't exist in the current MythTV code base.

Where does it show up (journal/syslog/mythbackend.log etc.)

It could be that its from a *buntu product.

A link to the "Error report" may help as the above refers to a mythcommflag assert
and nothing to do with mythtv-setup.

See if the ExecStart=/usr/bin/mythbackend file is an executable or a shell script
that ends up executing mythbackend.real (that used to be a Mythbuntu solution.)
And see if it, for some reason, tries to start mythtv-setup or mythtv-setup.real.
busbee
Junior
Posts: 36
Joined: Sun Oct 14, 2018 12:07 pm
United States of America

Re: MythTV Backend Setup has closed unexpectedly

Post by busbee »

Thanks for the help Bill.

funny thing... it has not happened since the second reboot. Could it have been a background job, flagging commercials that failed?
It was happening everyday soon after boot. I'm gonna take out the sleep and see what happens.

mythbackend is an executable:

Code: Select all

file /usr/bin/mythbackend 
/usr/bin/mythbackend: ELF 64-bit LSB shared object, x86-64, version 1 (GNU/Linux), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 3.2.0, BuildID[sha1]=282f34a65425d015b2b26e5b6c8d27f533976605, stripped
Here is some of the report (not sure how to post it, attachment? some site?):

Code: Select all

ProblemType: Crash
Architecture: amd64
CrashCounter: 1
Date: Sun Dec 30 11:32:54 2018
DistroRelease: Ubuntu 18.04
ExecutablePath: /usr/bin/mythcommflag
ExecutableTimestamp: 1523725511
ProcCmdline: /usr/bin/mythcommflag -j 398 --noprogress --verbose general --loglevel info --quiet --syslog local7
ProcCwd: /
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/sh
ProcMaps:
 55cb58f04000-55cb58f84000 r-xp 00000000 08:02 3286883                    /usr/bin/mythcommflag
 55cb59183000-55cb59185000 r--p 0007f000 08:02 3286883                    /usr/bin/mythcommflag
 55cb59185000-55cb59186000 rw-p 00081000 08:02 3286883                    /usr/bin/mythcommflag
 55cb591a7000-55cb59511000 rw-p 00000000 00:00 0                          [heap]
 7fe19c000000-7fe19c570000 rw-p 00000000 00:00 0
 7fe19c570000-7fe1a0000000 ---p 00000000 00:00 0
...
 7fe1f1d9f000-7fe1f1da0000 r--p 00027000 08:02 4077166                    /lib/x86_64-linux-gnu/ld-2.27.so
 7fe1f1da0000-7fe1f1da1000 rw-p 00028000 08:02 4077166                    /lib/x86_64-linux-gnu/ld-2.27.so
 7fe1f1da1000-7fe1f1da4000 rw-p 00000000 00:00 0
 7fe1f1da4000-7fe1f1da6000 rw-p 00000000 00:00 0
 7ffdbf4eb000-7ffdbf50c000 rw-p 00000000 00:00 0                          [stack]
 7ffdbf598000-7ffdbf59b000 r--p 00000000 00:00 0                          [vvar]
 7ffdbf59b000-7ffdbf59d000 r-xp 00000000 00:00 0                          [vdso]
 ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
ProcStatus:
 Name:  mythcommflag
 Umask: 0022
 State: D (disk sleep)
 Tgid:  1630
 Ngid:  0
 Pid:   1630
 PPid:  1629
 TracerPid:     0
 Uid:   126     126     126     126
 Gid:   130     130     130     130
 FDSize:        64
 Groups:        20 24 29 44 130
 NStgid:        1630
 NSpid: 1630
 NSpgid:        1592
 NSsid: 1592
 VmPeak:         1347904 kB
 VmSize:         1282368 kB
 VmLck:        0 kB
 VmPin:        0 kB
 VmHWM:    73140 kB
 VmRSS:    73140 kB
 RssAnon:          20604 kB
 RssFile:          52536 kB
 RssShmem:             0 kB
 VmData:          118828 kB
 VmStk:      132 kB
 VmExe:      512 kB
 VmLib:   191372 kB
 VmPTE:      988 kB
 VmSwap:               0 kB
 HugetlbPages:         0 kB
 CoreDumping:   1
 Threads:       12
 SigQ:  0/62833
 SigPnd:        0000000000000000
 ShdPnd:        0000000000000000
 SigBlk:        0000000000000000
 SigIgn:        0000000000001000
 SigCgt:        00000003800040eb
 CapInh:        0000000000000000
 CapPrm:        0000000000000000
 CapEff:        0000000000000000
 CapBnd:        0000003fffffffff
 CapAmb:        0000000000000000
 NoNewPrivs:    0
 Seccomp:       0
 Speculation_Store_Bypass:      thread vulnerable
 Cpus_allowed:  3f
 Cpus_allowed_list:     0-5
 Mems_allowed:  00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001
 Mems_allowed_list:     0
 voluntary_ctxt_switches:       900
 nonvoluntary_ctxt_switches:    6
Signal: 11
Uname: Linux 4.15.0-43-generic x86_64
UserGroups: audio cdrom dialout mythtv video
CoreDump: base64
...
busbee
Junior
Posts: 36
Joined: Sun Oct 14, 2018 12:07 pm
United States of America

Re: MythTV Backend Setup has closed unexpectedly

Post by busbee »

Here is the log for mythcommflag from that time:

Code: Select all

Dec 30 11:31:08 buz-desktop mythcommflag: mythcommflag[11214]: C thread_unknown mythcommandlineparser.cpp:2619 (ConfigureLogging) mythcommflag version: fixes/29 [v29.1-13-g329c235] www.mythtv.org
Dec 30 11:31:08 buz-desktop mythcommflag: mythcommflag[11214]: C thread_unknown mythcommandlineparser.cpp:2621 (ConfigureLogging) Qt version: compile: 5.9.4, runtime: 5.9.5
Dec 30 11:31:08 buz-desktop mythcommflag: mythcommflag[11214]: N thread_unknown mythcommandlineparser.cpp:2623 (ConfigureLogging) Enabled verbose msgs:  general
Dec 30 11:31:08 buz-desktop mythcommflag: mythcommflag[11214]: N thread_unknown logging.cpp:927 (logStart) Setting Log Level to LOG_INFO
Dec 30 11:31:08 buz-desktop mythcommflag: mythcommflag[11214]: I Logger logging.cpp:313 (run) Added logging to the console
Dec 30 11:31:08 buz-desktop mythcommflag: mythcommflag[11214]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Interrupt handler
Dec 30 11:31:08 buz-desktop mythcommflag: mythcommflag[11214]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Terminated handler
Dec 30 11:31:08 buz-desktop mythcommflag: mythcommflag[11214]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Segmentation fault handler
Dec 30 11:31:08 buz-desktop mythcommflag: mythcommflag[11214]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Aborted handler
Dec 30 11:31:08 buz-desktop mythcommflag: mythcommflag[11214]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error handler
Dec 30 11:31:08 buz-desktop mythcommflag: mythcommflag[11214]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Floating point exception handler
Dec 30 11:31:08 buz-desktop mythcommflag: mythcommflag[11214]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Illegal instruction handler
Dec 30 11:31:08 buz-desktop mythcommflag: mythcommflag[11214]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Real-time signal 0 handler
Dec 30 11:31:08 buz-desktop mythcommflag: mythcommflag[11214]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Hangup handler
Dec 30 11:31:08 buz-desktop mythcommflag: mythcommflag[11214]: N thread_unknown mythdirs.cpp:195 (InitializeMythDirs) Using runtime prefix = /usr
Dec 30 11:31:08 buz-desktop mythcommflag: mythcommflag[11214]: N thread_unknown mythdirs.cpp:197 (InitializeMythDirs) Using configuration directory = /root/.mythtv
Dec 30 11:31:08 buz-desktop mythcommflag: mythcommflag[11214]: I CoreContext mythcorecontext.cpp:271 (Init) Assumed character encoding: en_US.UTF-8
Dec 30 11:31:08 buz-desktop mythcommflag: mythcommflag[11214]: N CoreContext mythcontext.cpp:599 (LoadDatabaseSettings) Empty LocalHostName.
Dec 30 11:31:08 buz-desktop mythcommflag: mythcommflag[11214]: I CoreContext mythcontext.cpp:607 (LoadDatabaseSettings) Using localhost value of buz-desktop
Dec 30 11:31:08 buz-desktop mythcommflag: mythcommflag[11214]: I CoreContext mythcontext.cpp:852 (TestDBconnection) Start up testing connections. DB localhost, BE , attempt 0, status dbAwake
Dec 30 11:31:08 buz-desktop mythcommflag: mythcommflag[11214]: I LogForward loggingserver.cpp:302 (SyslogLogger) Added syslogging
Dec 30 11:31:09 buz-desktop mythcommflag: mythcommflag[11214]: N CoreContext mythcorecontext.cpp:1768 (InitLocale) Setting QT default locale to en_US
Dec 30 11:31:09 buz-desktop mythcommflag: mythcommflag[11214]: I CoreContext mythcorecontext.cpp:1801 (SaveLocaleDefaults) Current locale en_US
Dec 30 11:31:09 buz-desktop mythcommflag: mythcommflag[11214]: N CoreContext mythlocale.cpp:123 (LoadDefaultsFromXML) Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
Dec 30 11:31:09 buz-desktop mythcommflag: mythcommflag[11214]: I CoreContext mythtranslation.cpp:73 (load) Loading en_us translation for module mythfrontend
Dec 30 11:31:09 buz-desktop mythcommflag: mythcommflag[11214]: I SendMessage mythcorecontext.cpp:448 (ConnectCommandSocket) MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 127.0.0.1
:6543 (try 1 of 1)
Dec 30 11:31:09 buz-desktop mythcommflag: mythcommflag[11214]: I SendMessage mythcorecontext.cpp:1665 (CheckProtoVersion) MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff
Dec 30 11:31:09 buz-desktop mythcommflag: mythcommflag[11214]: I CoreContext avformatdecoder.cpp:2081 (ScanStreams) AFD: codec AC3 has 2 channels
Dec 30 11:31:09 buz-desktop mythcommflag: mythcommflag[11214]: I CoreContext avformatdecoder.cpp:2590 (OpenAVCodec) AFD: Opened codec 0x56379eb59540, id(AC3) type(Audio)
Dec 30 11:31:09 buz-desktop mythcommflag: mythcommflag[11214]: I CoreContext avformatdecoder.cpp:2081 (ScanStreams) AFD: codec AC3 has 2 channels
Dec 30 11:31:09 buz-desktop mythcommflag: mythcommflag[11214]: I CoreContext avformatdecoder.cpp:2590 (OpenAVCodec) AFD: Opened codec 0x56379eb5a660, id(AC3) type(Audio)
Dec 30 11:31:09 buz-desktop mythcommflag: mythcommflag[11214]: I CoreContext avformatdecoder.cpp:2590 (OpenAVCodec) AFD: Opened codec 0x56379eb4c100, id(MPEG2VIDEO) type(Video)
Dec 30 11:31:09 buz-desktop mythcommflag: mythcommflag[11214]: I CoreContext ClassicCommDetector.cpp:392 (go) Finding Logo
Dec 30 11:31:10 buz-desktop mythcommflag: mythcommflag[11214]: E Decoder avformatdecoder.cpp:3570 (ProcessVideoPacket) AFD: Unknown decoding error
Dec 30 11:31:15 buz-desktop mythcommflag: mythcommflag[11214]: E Decoder avformatdecoder.cpp:3570 (ProcessVideoPacket) AFD: Unknown decoding error
Dec 30 11:31:21 buz-desktop mythcommflag: mythcommflag[11250]: C thread_unknown mythcommandlineparser.cpp:2619 (ConfigureLogging) mythcommflag version: fixes/29 [v29.1-13-g329c235] www.mythtv.org
Dec 30 11:31:21 buz-desktop mythcommflag: mythcommflag[11250]: C thread_unknown mythcommandlineparser.cpp:2621 (ConfigureLogging) Qt version: compile: 5.9.4, runtime: 5.9.5
Dec 30 11:31:21 buz-desktop mythcommflag: mythcommflag[11250]: N thread_unknown mythcommandlineparser.cpp:2623 (ConfigureLogging) Enabled verbose msgs:  general
Dec 30 11:31:21 buz-desktop mythcommflag: mythcommflag[11250]: N thread_unknown logging.cpp:927 (logStart) Setting Log Level to LOG_INFO
Dec 30 11:31:21 buz-desktop mythcommflag: mythcommflag[11250]: I Logger logging.cpp:313 (run) Added logging to the console
Dec 30 11:31:21 buz-desktop mythcommflag: mythcommflag[11250]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Interrupt handler
Dec 30 11:31:21 buz-desktop mythcommflag: mythcommflag[11250]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Terminated handler
Dec 30 11:31:21 buz-desktop mythcommflag: mythcommflag[11250]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Segmentation fault handler
Dec 30 11:31:21 buz-desktop mythcommflag: mythcommflag[11250]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Aborted handler
Dec 30 11:31:21 buz-desktop mythcommflag: mythcommflag[11250]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error handler
Dec 30 11:31:21 buz-desktop mythcommflag: mythcommflag[11250]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Floating point exception handler
Dec 30 11:31:21 buz-desktop mythcommflag: mythcommflag[11250]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Illegal instruction handler
Dec 30 11:31:21 buz-desktop mythcommflag: mythcommflag[11250]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Real-time signal 0 handler
Dec 30 11:31:21 buz-desktop mythcommflag: mythcommflag[11250]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Hangup handler
Dec 30 11:31:21 buz-desktop mythcommflag: mythcommflag[11250]: N thread_unknown mythdirs.cpp:195 (InitializeMythDirs) Using runtime prefix = /usr
Dec 30 11:31:21 buz-desktop mythcommflag: mythcommflag[11250]: N thread_unknown mythdirs.cpp:197 (InitializeMythDirs) Using configuration directory = /root/.mythtv
Dec 30 11:31:21 buz-desktop mythcommflag: mythcommflag[11250]: I CoreContext mythcorecontext.cpp:271 (Init) Assumed character encoding: en_US.UTF-8
Dec 30 11:31:21 buz-desktop mythcommflag: mythcommflag[11250]: N CoreContext mythcontext.cpp:599 (LoadDatabaseSettings) Empty LocalHostName.
Dec 30 11:31:21 buz-desktop mythcommflag: mythcommflag[11250]: I CoreContext mythcontext.cpp:607 (LoadDatabaseSettings) Using localhost value of buz-desktop
Dec 30 11:31:21 buz-desktop mythcommflag: mythcommflag[11250]: I CoreContext mythcontext.cpp:852 (TestDBconnection) Start up testing connections. DB localhost, BE , attempt 0, status dbAwake
Dec 30 11:31:21 buz-desktop mythcommflag: mythcommflag[11250]: I LogForward loggingserver.cpp:302 (SyslogLogger) Added syslogging
Dec 30 11:31:22 buz-desktop mythcommflag: mythcommflag[11250]: N CoreContext mythcorecontext.cpp:1768 (InitLocale) Setting QT default locale to en_US
Dec 30 11:31:22 buz-desktop mythcommflag: mythcommflag[11250]: I CoreContext mythcorecontext.cpp:1801 (SaveLocaleDefaults) Current locale en_US
Dec 30 11:31:22 buz-desktop mythcommflag: mythcommflag[11250]: N CoreContext mythlocale.cpp:123 (LoadDefaultsFromXML) Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
Dec 30 11:31:22 buz-desktop mythcommflag: mythcommflag[11250]: I CoreContext mythtranslation.cpp:73 (load) Loading en_us translation for module mythfrontend
Dec 30 11:31:22 buz-desktop mythcommflag: mythcommflag[11250]: I SendMessage mythcorecontext.cpp:448 (ConnectCommandSocket) MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
Dec 30 11:31:22 buz-desktop mythcommflag: mythcommflag[11250]: I SendMessage mythcorecontext.cpp:1665 (CheckProtoVersion) MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff
Dec 30 11:31:22 buz-desktop mythcommflag: mythcommflag[11250]: I CoreContext avformatdecoder.cpp:2081 (ScanStreams) AFD: codec AC3 has 2 channels
Dec 30 11:31:22 buz-desktop mythcommflag: mythcommflag[11250]: I CoreContext avformatdecoder.cpp:2590 (OpenAVCodec) AFD: Opened codec 0x5558418cb960, id(AC3) type(Audio)
Dec 30 11:31:22 buz-desktop mythcommflag: mythcommflag[11250]: I CoreContext avformatdecoder.cpp:2081 (ScanStreams) AFD: codec AC3 has 2 channels
Dec 30 11:31:22 buz-desktop mythcommflag: mythcommflag[11250]: I CoreContext avformatdecoder.cpp:2590 (OpenAVCodec) AFD: Opened codec 0x5558418d8d00, id(AC3) type(Audio)
Dec 30 11:31:22 buz-desktop mythcommflag: mythcommflag[11250]: I CoreContext avformatdecoder.cpp:2590 (OpenAVCodec) AFD: Opened codec 0x5558418ca680, id(MPEG2VIDEO) type(Video)
Dec 30 11:31:22 buz-desktop mythcommflag: mythcommflag[11250]: I CoreContext ClassicCommDetector.cpp:392 (go) Finding Logo
Dec 30 11:31:23 buz-desktop mythcommflag: mythcommflag[11250]: E Decoder avformatdecoder.cpp:3570 (ProcessVideoPacket) AFD: Unknown decoding error
Dec 30 11:31:28 buz-desktop mythcommflag: mythcommflag[11250]: E Decoder avformatdecoder.cpp:3570 (ProcessVideoPacket) AFD: Unknown decoding error
Dec 30 11:32:46 buz-desktop mythcommflag: mythcommflag[1630]: C thread_unknown mythcommandlineparser.cpp:2619 (ConfigureLogging) mythcommflag version: fixes/29 [v29.1-13-g329c235] www.mythtv.org
Dec 30 11:32:46 buz-desktop mythcommflag: mythcommflag[1630]: C thread_unknown mythcommandlineparser.cpp:2621 (ConfigureLogging) Qt version: compile: 5.9.4, runtime: 5.9.5
Dec 30 11:32:46 buz-desktop mythcommflag: mythcommflag[1630]: N thread_unknown mythcommandlineparser.cpp:2623 (ConfigureLogging) Enabled verbose msgs:  general
Dec 30 11:32:46 buz-desktop mythcommflag: mythcommflag[1630]: N thread_unknown logging.cpp:927 (logStart) Setting Log Level to LOG_INFO
Dec 30 11:32:46 buz-desktop mythcommflag: mythcommflag[1630]: I Logger logging.cpp:313 (run) Added logging to the console
Dec 30 11:32:46 buz-desktop mythcommflag: mythcommflag[1630]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Interrupt handler
Dec 30 11:32:46 buz-desktop mythcommflag: mythcommflag[1630]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Terminated handler
Dec 30 11:32:46 buz-desktop mythcommflag: mythcommflag[1630]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Segmentation fault handler
Dec 30 11:32:46 buz-desktop mythcommflag: mythcommflag[1630]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Aborted handler
Dec 30 11:32:46 buz-desktop mythcommflag: mythcommflag[1630]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Bus error handler
Dec 30 11:32:46 buz-desktop mythcommflag: mythcommflag[1630]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Floating point exception handler
Dec 30 11:32:46 buz-desktop mythcommflag: mythcommflag[1630]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Illegal instruction handler
Dec 30 11:32:46 buz-desktop mythcommflag: mythcommflag[1630]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Real-time signal 0 handler
Dec 30 11:32:46 buz-desktop mythcommflag: mythcommflag[1630]: I thread_unknown signalhandling.cpp:194 (SetHandlerPrivate) Setup Hangup handler
Dec 30 11:32:46 buz-desktop mythcommflag: mythcommflag[1630]: N thread_unknown mythdirs.cpp:195 (InitializeMythDirs) Using runtime prefix = /usr
Dec 30 11:32:46 buz-desktop mythcommflag: mythcommflag[1630]: N thread_unknown mythdirs.cpp:197 (InitializeMythDirs) Using configuration directory = /home/mythtv/.mythtv
Dec 30 11:32:46 buz-desktop mythcommflag: mythcommflag[1630]: I CoreContext mythcorecontext.cpp:271 (Init) Assumed character encoding: en_US.UTF-8
Dec 30 11:32:46 buz-desktop mythcommflag: mythcommflag[1630]: N CoreContext mythcontext.cpp:599 (LoadDatabaseSettings) Empty LocalHostName.
Dec 30 11:32:46 buz-desktop mythcommflag: mythcommflag[1630]: I CoreContext mythcontext.cpp:607 (LoadDatabaseSettings) Using localhost value of buz-desktop
Dec 30 11:32:46 buz-desktop mythcommflag: mythcommflag[1630]: I CoreContext mythcontext.cpp:852 (TestDBconnection) Start up testing connections. DB localhost, BE , attempt 0, status dbAwake
Dec 30 11:32:46 buz-desktop mythcommflag: mythcommflag[1630]: I LogForward loggingserver.cpp:302 (SyslogLogger) Added syslogging
Dec 30 11:32:47 buz-desktop mythcommflag: mythcommflag[1630]: N CoreContext mythcorecontext.cpp:1768 (InitLocale) Setting QT default locale to en_US
Dec 30 11:32:47 buz-desktop mythcommflag: mythcommflag[1630]: I CoreContext mythcorecontext.cpp:1801 (SaveLocaleDefaults) Current locale en_US
Dec 30 11:32:47 buz-desktop mythcommflag: mythcommflag[1630]: N CoreContext mythlocale.cpp:123 (LoadDefaultsFromXML) Reading locale defaults from /usr/share/mythtv//locales/en_us.xml
Dec 30 11:32:47 buz-desktop mythcommflag: mythcommflag[1630]: I CoreContext mythtranslation.cpp:73 (load) Loading en_us translation for module mythfrontend
Dec 30 11:32:48 buz-desktop mythcommflag: mythcommflag[1630]: I SendMessage mythcorecontext.cpp:448 (ConnectCommandSocket) MythCoreContext::ConnectCommandSocket(): Connecting to backend server: 127.0.0.1:6543 (try 1 of 1)
Dec 30 11:32:48 buz-desktop mythcommflag: mythcommflag[1630]: I SendMessage mythcorecontext.cpp:1665 (CheckProtoVersion) MythCoreContext::CheckProtoVersion(): Using protocol version 91 BuzzOff
Dec 30 11:32:48 buz-desktop mythcommflag: mythcommflag[1630]: I CoreContext avformatdecoder.cpp:2081 (ScanStreams) AFD: codec AC3 has 2 channels
Dec 30 11:32:48 buz-desktop mythcommflag: mythcommflag[1630]: I CoreContext avformatdecoder.cpp:2590 (OpenAVCodec) AFD: Opened codec 0x55cb59293b80, id(AC3) type(Audio)
Dec 30 11:32:48 buz-desktop mythcommflag: mythcommflag[1630]: I CoreContext avformatdecoder.cpp:2081 (ScanStreams) AFD: codec AC3 has 2 channels
Dec 30 11:32:48 buz-desktop mythcommflag: mythcommflag[1630]: I CoreContext avformatdecoder.cpp:2590 (OpenAVCodec) AFD: Opened codec 0x55cb59294ca0, id(AC3) type(Audio)
Dec 30 11:32:48 buz-desktop mythcommflag: mythcommflag[1630]: I CoreContext avformatdecoder.cpp:2590 (OpenAVCodec) AFD: Opened codec 0x55cb59286740, id(MPEG2VIDEO) type(Video)
Dec 30 11:32:48 buz-desktop mythcommflag: mythcommflag[1630]: I CoreContext ClassicCommDetector.cpp:392 (go) Finding Logo
Dec 30 11:32:48 buz-desktop mythcommflag: mythcommflag[1630]: E Decoder avformatdecoder.cpp:3570 (ProcessVideoPacket) AFD: Unknown decoding error
User avatar
bill6502
Developer
Posts: 2323
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: MythTV Backend Setup has closed unexpectedly

Post by bill6502 »

No indication of the assert failure mentioned in the 1st post here (or any other signal.)
They's appear at the end of a failed mythAnything program's log. Like this:

Code: Select all

... CoreContext signalhandling.cpp:305 (handleSignal) - Received Terminated: Code x, PID x, UID x, Value 0xxxxxxxxx
busbee
Junior
Posts: 36
Joined: Sun Oct 14, 2018 12:07 pm
United States of America

Re: MythTV Backend Setup has closed unexpectedly

Post by busbee »

after a really long time (of no errors) the error came back. I really think it has something to do with jobs in the queue being run after startup. It's mythcommflag jobs, which are set to run automatically after recordings. It seems to happen at startup, probably before mysql can come up. Here is more of the report which gives me clues. See attached pic.
Attachments
MythError.png
MythError.png (223.42 KiB) Viewed 1255 times
User avatar
bill6502
Developer
Posts: 2323
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: MythTV Backend Setup has closed unexpectedly

Post by bill6502 »

There are a number of topics that address the backend starting up before the *network*
is up. They may help you verify that mysql is needed before the backend too. Look at
the systemctl cat command here to see yours:
viewtopic.php?f=36&t=2764&p=14249&hilit=systemd#p14266
Note especially the "After=mysqld.service" line.
Post Reply