<div dir="ltr">Executive summary:<div><br></div><div>I had to do an update of mythbuntu (bad idea), requiring restart.</div><div>I got an endless loop of "the frontend crashed unexpectedly (134) and is restarting".</div><div>No way to stop that and get a proper look at the logs.</div><div><div>To stop the endless loop I commented out the following part of <span style="color:rgb(0,0,0);font-family:ubuntubeta,ubuntu,'bitstream vera sans','dejavu sans',tahoma,sans-serif;font-size:13px;background-color:rgb(235,236,228)">/usr/share/mythtv/mythfrontend.sh</span></div>and rebooted (it did stop the endless loop).<br style="font-size:13px;color:rgb(0,0,0);font-family:ubuntubeta,ubuntu,'bitstream vera sans','dejavu sans',tahoma,sans-serif"><div class="gmail-bbcode_container" style="font-size:13px;margin:5px 20px 20px;padding:0px;color:rgb(0,0,0);font-family:ubuntubeta,ubuntu,'bitstream vera sans','dejavu sans',tahoma,sans-serif"><div class="gmail-bbcode_description" style="margin:0px;padding:0px">Code:</div><pre class="gmail-bbcode_code" style="margin-top:0px;margin-bottom:0px;padding:6px;font-family:'ubuntu mono',monospace;line-height:14px;word-wrap:normal;border:1px inset;overflow:auto;direction:ltr;background-image:none;background-color:rgb(239,239,239);font-size:14px;height:108px">            until /usr/bin/mythfrontend.real --logfile "${MYTHFELOG}" ${MYTHFRONTEND_OPTS}
                  RET=$?
                  [ "$RET" = "0" -o "$RET" = "1" -o "$RET" = "254" ]
            do
                  echo "Restarting mythfrontend.real..." >> "${MYTHFELOG}"
                  notify-send -i info 'Restarting Frontend' "The front-end crashed unexpectedly (exit code $RET) and is restarting. Please wait..." 2>> "${MYTHFELOG}"
            done</pre></div></div><div><br></div><div>I ran /usr/bin/mythfrontend by hand from the command line to see the problem.</div><div>It aborted and near the end it said</div><div>*** stack smashing detected ***: /usr/bin/mythfrontend.real terminated <br></div><div>I googled that, including on this list, and found nothing of relevance.</div><div><br></div><div>How can I get back to a working system please?</div><div><br></div><div><div>mythfrontend </div><div>2016-09-19 23:42:35.882244 I  Setup Interrupt handler</div><div>2016-09-19 23:42:35.882262 I  Setup Terminated handler</div><div>2016-09-19 23:42:35.882267 I  Setup Segmentation fault handler</div><div>2016-09-19 23:42:35.882272 I  Setup Aborted handler</div><div>2016-09-19 23:42:35.882276 I  Setup Bus error handler</div><div>2016-09-19 23:42:35.882282 I  Setup Floating point exception handler</div><div>2016-09-19 23:42:35.882288 I  Setup Illegal instruction handler</div><div>2016-09-19 23:42:35.882293 I  Setup Real-time signal 0 handler</div><div>2016-09-19 23:42:35.882300 I  Setup User defined signal 1 handler</div><div>2016-09-19 23:42:35.882304 I  Setup User defined signal 2 handler</div><div>2016-09-19 23:42:35.882310 I  Setup Hangup handler</div><div>2016-09-19 23:42:35.882384 C  mythfrontend version: fixes/0.28 [v0.28-55-g2faf5fe] <a href="http://www.mythtv.org">www.mythtv.org</a></div><div>2016-09-19 23:42:35.882391 C  Qt version: compile: 5.5.1, runtime: 5.5.1</div><div>2016-09-19 23:42:35.882393 N  Enabled verbose msgs:  general</div><div>2016-09-19 23:42:35.882407 N  Setting Log Level to LOG_INFO</div><div>2016-09-19 23:42:35.892711 N  Using runtime prefix = /usr</div><div>2016-09-19 23:42:35.892715 N  Using configuration directory = /home/tv/.mythtv</div><div>2016-09-19 23:42:35.892725 I  Added logging to the console</div><div>2016-09-19 23:42:35.892764 I  Assumed character encoding: en_GB.UTF-8</div><div>2016-09-19 23:42:35.893025 N  Empty LocalHostName.</div><div>2016-09-19 23:42:35.893032 I  Using localhost value of sgrizzo</div><div>2016-09-19 23:42:35.898451 N  Setting QT default locale to en_US</div><div>2016-09-19 23:42:35.898459 I  Current locale en_US</div><div>2016-09-19 23:42:35.898491 N  Reading locale defaults from /usr/share/mythtv//locales/en_us.xml</div><div>2016-09-19 23:42:35.904665 I  Starting process signal handler</div><div>2016-09-19 23:42:35.905763 I  Starting process manager</div><div>2016-09-19 23:42:35.905826 I  Starting IO manager (read)</div><div>2016-09-19 23:42:35.905826 I  Starting IO manager (write)</div><div>2016-09-19 23:42:35.954914 I  ScreenSaverX11Private: XScreenSaver support enabled</div><div>2016-09-19 23:42:35.955290 I  ScreenSaverX11Private: DPMS is disabled.</div><div>2016-09-19 23:42:35.976301 N  Desktop video mode: 1920x1080 60.000 Hz</div><div>2016-09-19 23:42:35.992973 I  Added syslogging</div><div>2016-09-19 23:42:36.179026 I  Listening on TCP <a href="http://127.0.0.1:6547">127.0.0.1:6547</a></div><div>2016-09-19 23:42:36.179073 I  Listening on TCP [::1]:6547</div><div>2016-09-19 23:42:36.179240 I  Listening on TCP [fe80::3315:3f91:34ad:8d74%eth0]:6547</div><div>2016-09-19 23:42:36.737114 I  Loading en_gb translation for module mythfrontend</div><div>2016-09-19 23:42:36.746244 E  LIRC: Failed to connect to Unix socket '/dev/lircd'</div><div><span class="gmail-Apple-tab-span" style="white-space:pre">                     </span>eno: No such file or directory (2)</div><div>2016-09-19 23:42:36.746275 I  No joystick configuration found, not enabling joystick control</div><div>*** stack smashing detected ***: /usr/bin/mythfrontend.real terminated</div><div>2016-09-19 23:42:36.822190 E  CECAdapter: Failed to find any CEC devices.</div><div>Handling Aborted</div><div>Aborted (core dumped)</div></div><div><br></div><div><br></div><div><p style="margin:0px;font-size:13px;line-height:normal;font-family:fixedx6x13;background-color:rgb(233,233,233)"><span style="font-variant-ligatures:no-common-ligatures">cat /etc/lsb-release </span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:fixedx6x13;background-color:rgb(233,233,233)"><span style="font-variant-ligatures:no-common-ligatures">DISTRIB_ID=Ubuntu</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:fixedx6x13;background-color:rgb(233,233,233)"><span style="font-variant-ligatures:no-common-ligatures">DISTRIB_RELEASE=16.04</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:fixedx6x13;background-color:rgb(233,233,233)"><span style="font-variant-ligatures:no-common-ligatures">DISTRIB_CODENAME=xenial</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:fixedx6x13;background-color:rgb(233,233,233)"><span style="font-variant-ligatures:no-common-ligatures">DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"</span></p></div><div><br></div><div><p style="margin:0px;font-size:13px;line-height:normal;font-family:fixedx6x13;background-color:rgb(233,233,233)"><span style="font-variant-ligatures:no-common-ligatures">apt-cache policy mythtv</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:fixedx6x13;background-color:rgb(233,233,233)"><span style="font-variant-ligatures:no-common-ligatures">mythtv:</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:fixedx6x13;background-color:rgb(233,233,233)"><span style="font-variant-ligatures:no-common-ligatures">  Installed: 2:0.28.0+fixes.20160919.2faf5fe-0ubuntu0mythbuntu2</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:fixedx6x13;background-color:rgb(233,233,233)"><span style="font-variant-ligatures:no-common-ligatures">  Candidate: 2:0.28.0+fixes.20160919.2faf5fe-0ubuntu0mythbuntu2</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:fixedx6x13;background-color:rgb(233,233,233)"><span style="font-variant-ligatures:no-common-ligatures">  Version table:</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:fixedx6x13;background-color:rgb(233,233,233)"><span style="font-variant-ligatures:no-common-ligatures"> *** 2:0.28.0+fixes.20160919.2faf5fe-0ubuntu0mythbuntu2 500</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:fixedx6x13;background-color:rgb(233,233,233)"><span style="font-variant-ligatures:no-common-ligatures">        500 <a href="http://ppa.launchpad.net/mythbuntu/0.28/ubuntu">http://ppa.launchpad.net/mythbuntu/0.28/ubuntu</a> xenial/main amd64 Packages</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:fixedx6x13;background-color:rgb(233,233,233)"><span style="font-variant-ligatures:no-common-ligatures">        500 <a href="http://ppa.launchpad.net/mythbuntu/0.28/ubuntu">http://ppa.launchpad.net/mythbuntu/0.28/ubuntu</a> xenial/main i386 Packages</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:fixedx6x13;background-color:rgb(233,233,233)"><span style="font-variant-ligatures:no-common-ligatures">        100 /var/lib/dpkg/status</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:fixedx6x13;background-color:rgb(233,233,233)"><span style="font-variant-ligatures:no-common-ligatures">     2:0.28.0+fixes.20160413.15cf421-0ubuntu2 500</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:fixedx6x13;background-color:rgb(233,233,233)"><span style="font-variant-ligatures:no-common-ligatures">        500 <a href="http://gb.archive.ubuntu.com/ubuntu">http://gb.archive.ubuntu.com/ubuntu</a> xenial/multiverse amd64 Packages</span></p>
<p style="margin:0px;font-size:13px;line-height:normal;font-family:fixedx6x13;background-color:rgb(233,233,233)"><span style="font-variant-ligatures:no-common-ligatures">        500 <a href="http://gb.archive.ubuntu.com/ubuntu">http://gb.archive.ubuntu.com/ubuntu</a> xenial/multiverse i386 Packages</span></p></div></div>