[mythtv-users] stack smashing detected, /usr/bin/myfrontend.real terminated

UB40D ub40dd at googlemail.com
Mon Sep 19 22:43:46 UTC 2016


Executive summary:

I had to do an update of mythbuntu (bad idea), requiring restart.
I got an endless loop of "the frontend crashed unexpectedly (134) and is
restarting".
No way to stop that and get a proper look at the logs.
To stop the endless loop I commented out the following part of
/usr/share/mythtv/mythfrontend.sh
and rebooted (it did stop the endless loop).
Code:

            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


I ran /usr/bin/mythfrontend by hand from the command line to see the
problem.
It aborted and near the end it said
*** stack smashing detected ***: /usr/bin/mythfrontend.real terminated
I googled that, including on this list, and found nothing of relevance.

How can I get back to a working system please?

mythfrontend
2016-09-19 23:42:35.882244 I  Setup Interrupt handler
2016-09-19 23:42:35.882262 I  Setup Terminated handler
2016-09-19 23:42:35.882267 I  Setup Segmentation fault handler
2016-09-19 23:42:35.882272 I  Setup Aborted handler
2016-09-19 23:42:35.882276 I  Setup Bus error handler
2016-09-19 23:42:35.882282 I  Setup Floating point exception handler
2016-09-19 23:42:35.882288 I  Setup Illegal instruction handler
2016-09-19 23:42:35.882293 I  Setup Real-time signal 0 handler
2016-09-19 23:42:35.882300 I  Setup User defined signal 1 handler
2016-09-19 23:42:35.882304 I  Setup User defined signal 2 handler
2016-09-19 23:42:35.882310 I  Setup Hangup handler
2016-09-19 23:42:35.882384 C  mythfrontend version: fixes/0.28
[v0.28-55-g2faf5fe] www.mythtv.org
2016-09-19 23:42:35.882391 C  Qt version: compile: 5.5.1, runtime: 5.5.1
2016-09-19 23:42:35.882393 N  Enabled verbose msgs:  general
2016-09-19 23:42:35.882407 N  Setting Log Level to LOG_INFO
2016-09-19 23:42:35.892711 N  Using runtime prefix = /usr
2016-09-19 23:42:35.892715 N  Using configuration directory =
/home/tv/.mythtv
2016-09-19 23:42:35.892725 I  Added logging to the console
2016-09-19 23:42:35.892764 I  Assumed character encoding: en_GB.UTF-8
2016-09-19 23:42:35.893025 N  Empty LocalHostName.
2016-09-19 23:42:35.893032 I  Using localhost value of sgrizzo
2016-09-19 23:42:35.898451 N  Setting QT default locale to en_US
2016-09-19 23:42:35.898459 I  Current locale en_US
2016-09-19 23:42:35.898491 N  Reading locale defaults from
/usr/share/mythtv//locales/en_us.xml
2016-09-19 23:42:35.904665 I  Starting process signal handler
2016-09-19 23:42:35.905763 I  Starting process manager
2016-09-19 23:42:35.905826 I  Starting IO manager (read)
2016-09-19 23:42:35.905826 I  Starting IO manager (write)
2016-09-19 23:42:35.954914 I  ScreenSaverX11Private: XScreenSaver support
enabled
2016-09-19 23:42:35.955290 I  ScreenSaverX11Private: DPMS is disabled.
2016-09-19 23:42:35.976301 N  Desktop video mode: 1920x1080 60.000 Hz
2016-09-19 23:42:35.992973 I  Added syslogging
2016-09-19 23:42:36.179026 I  Listening on TCP 127.0.0.1:6547
2016-09-19 23:42:36.179073 I  Listening on TCP [::1]:6547
2016-09-19 23:42:36.179240 I  Listening on TCP
[fe80::3315:3f91:34ad:8d74%eth0]:6547
2016-09-19 23:42:36.737114 I  Loading en_gb translation for module
mythfrontend
2016-09-19 23:42:36.746244 E  LIRC: Failed to connect to Unix socket
'/dev/lircd'
eno: No such file or directory (2)
2016-09-19 23:42:36.746275 I  No joystick configuration found, not enabling
joystick control
*** stack smashing detected ***: /usr/bin/mythfrontend.real terminated
2016-09-19 23:42:36.822190 E  CECAdapter: Failed to find any CEC devices.
Handling Aborted
Aborted (core dumped)


cat /etc/lsb-release

DISTRIB_ID=Ubuntu

DISTRIB_RELEASE=16.04

DISTRIB_CODENAME=xenial

DISTRIB_DESCRIPTION="Ubuntu 16.04.1 LTS"

apt-cache policy mythtv

mythtv:

  Installed: 2:0.28.0+fixes.20160919.2faf5fe-0ubuntu0mythbuntu2

  Candidate: 2:0.28.0+fixes.20160919.2faf5fe-0ubuntu0mythbuntu2

  Version table:

 *** 2:0.28.0+fixes.20160919.2faf5fe-0ubuntu0mythbuntu2 500

        500 http://ppa.launchpad.net/mythbuntu/0.28/ubuntu xenial/main
amd64 Packages

        500 http://ppa.launchpad.net/mythbuntu/0.28/ubuntu xenial/main i386
Packages

        100 /var/lib/dpkg/status

     2:0.28.0+fixes.20160413.15cf421-0ubuntu2 500

        500 http://gb.archive.ubuntu.com/ubuntu xenial/multiverse amd64
Packages

        500 http://gb.archive.ubuntu.com/ubuntu xenial/multiverse i386
Packages
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20160919/b484fd29/attachment.html>


More information about the mythtv-users mailing list