According to a crashreport MythTV didn't shut down properly

Bug #542528 reported by Arjen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
mythtv (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: mythtv

Every time I exit MythTV's frontend (using ESC and than hitting 'yes' at the prompt) I see a 'crash detected' pop up, so something is not cleanly closed or communicated. This happens since I've upgraded to ubuntu 10.04 alpha somewhere a while back.

ProblemType: Bug
Architecture: i386
Date: Sat Mar 20 09:16:54 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/mythbackend
Installed_mythplugins-dbg: 0.0
Installed_mythtv-dbg: 0.0
NonfreeKernelModules: nvidia
OmitPids: 19465 19494 1046 1006
Package: mythtv-backend 0.23.0~trunk23623-0ubuntu1
ProcCmdline: /usr/bin/mythbackend --logfile /var/log/mythtv/mythbackend.log --user mythtv
ProcEnviron: PATH=(custom, no user)
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SourcePackage: mythtv
Title: does not terminate at computer shutdown
Uname: Linux 2.6.32-16-generic i686

Revision history for this message
Arjen (acm-tweakers) wrote :
Revision history for this message
MarcRandolph (mrand) wrote :

Howdy, and thank you for helping to improve Mythbuntu by opening this ticket. The log files seem to indicate two problems, probably releated to each other:

Problem 1: mythflix 0.22 is installed:

2010-02-28 00:41:52.744 Plugin mythflix (0.22.20091023-1) binary version does not match libraries (0.23.20100225-1)
2010-02-28 00:41:52.744 Unable to initialize plugin 'mythflix'.

Solution 1: unfortunately the only solution is to remove mythflix - it does not work with 0.23
Problem 2: Probably because mythflix is installed, your other plugins are not updated to the correct version:

2010-02-28 00:41:52.650 Plugin mytharchive (0.23.20100212-1) binary version does not match libraries (0.23.20100225-1)
2010-02-28 00:41:52.650 Test Popup Version Failed
2010-02-28 00:41:52.650 Unable to initialize plugin 'mytharchive'.
2010-02-28 00:41:52.653 Plugin mythbrowser (0.23.20100212-1) binary version does not match libraries (0.23.20100225-1)
2010-02-28 00:41:52.653 Unable to initialize plugin 'mythbrowser'.
2010-02-28 00:41:52.749 Plugin mythgallery (0.23.20100212-1) binary version does not match libraries (0.23.20100225-1)
2010-02-28 00:41:52.749 Unable to initialize plugin 'mythgallery'.
2010-02-28 00:41:52.753 Plugin mythgame (0.23.20100212-1) binary version does not match libraries (0.23.20100225-1)
2010-02-28 00:41:52.753 libmythgame.so/main.o: binary version mismatch
2010-02-28 00:41:52.754 Unable to initialize plugin 'mythgame'.
2010-02-28 00:41:52.756 Plugin mythmovies (0.23.20100212-1) binary version does not match libraries (0.23.20100225-1)
2010-02-28 00:41:52.756 libmythmovies.so/main.o: binary version mismatch
2010-02-28 00:41:52.756 Unable to initialize plugin 'mythmovies'.
2010-02-28 00:41:52.787 Plugin mythmusic (0.23.20100212-1) binary version does not match libraries (0.23.20100225-1)
2010-02-28 00:41:52.787 Unable to initialize plugin 'mythmusic'.
2010-02-28 00:41:52.790 Plugin mythnews (0.23.20100212-1) binary version does not match libraries (0.23.20100225-1)
2010-02-28 00:41:52.790 Unable to initialize plugin 'mythnews'.
2010-02-28 00:41:52.799 Plugin mythvideo (0.23.20100212-1) binary version does not match libraries (0.23.20100225-1)
2010-02-28 00:41:52.799 Unable to initialize plugin 'mythvideo'.
2010-02-28 00:41:52.803 Plugin mythweather (0.23.20100212-1) binary version does not match libraries (0.23.20100225-1)
2010-02-28 00:41:52.803 Unable to initialize plugin 'mythweather'.

Could you please report back after you remove mythflix via package manger, then update your packages, and then perform any upgrades?

Changed in mythtv (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Arjen (acm-tweakers) wrote :

I don't care about that particular plugin so I removed it. There are no upgrades left, perhaps a 'dist-upgrade' had already forced the newer packages (my logs don't seem to rotate since my system is hardly ever powered on after midnight).

The crash report seems to be for mythv's backend rather than its frontend, even though it appears after I exit from the frontend (or perhaps it takes some time to report and I don't see it because mythfrontend is started full screen normally). The weird thing is though, mythbackend is still running when that claim is made.

I can only reproduce it by rebooting the system, just 'restart mythtv-backend' doesn't seem to trigger things. But given that my system hasn't been upgraded very well with 10.04, perhaps some other failing package may be responsible. For instance the fact that my gdm/X doesn't always start.

Revision history for this message
MarcRandolph (mrand) wrote :

I missed something previously on your frontend log:
2010-03-20 09:59:49.754 LookupUDN()- bad device type '', not enough tokens
Error in my_thread_global_end(): 1 threads didn't exit

The above makes me think that it is your frontend crashing, although I'm not certain why (except for MythFlix). Having said that, your backend log does have a troublesome entry:

2010-03-20 09:58:41.875 MythBackend, Error: No valid capture cards are defined in the database.
   Perhaps you should re-read the installation instructions?

I'd suggest the following actions:

0. Re-run mythtv-setup that capture cards and inputs are assigned
1. After doing an apt-get update, if apt-get upgrade doesn't show anything, perhaps do a dist-upgrade again, or do a apt-get install mythplugins just to make sure
2. rotate your logs so that it's clear what the current errors are (especially now that you removed mythflix) and reattach fresh logs to this ticket

Revision history for this message
MarcRandolph (mrand) wrote :

BTW, I don't believe that the following error message is fatal, but it makes me wonder there is a problem with your theme install:

XMLParseBase, Error: Unable to load window 'backgroundwindow' from base

Revision history for this message
Arjen (acm-tweakers) wrote :

Ok, I rotated the log just before rebooting. So the mythtv backend log contains one start using 'restart mythtv-backend' and one bootup. Mythtv frontend's log now only contains the bootup.

Apart from that, I'm more convinced its the backend that's supposedly "crashed". About the backend-log, I don't have a caption card, nor any other special input device. Mythtv on that box is only used to have a fancy, tv-screen readable, interface for playing video files and dvd's. But this time the message also appeared (after a while) with myth frontend still running.

The mythplugins-package was not installed, as I've upgrading this box from somewhere around the 8.04-age (including most of the pre-release beta's and some of the alpha's of the new mythbuntu/ubuntu's) it may very well be some messed up installation.

I've attached the fresh mythtv backend and frontend logs.

Revision history for this message
Arjen (acm-tweakers) wrote :
Revision history for this message
Arjen (acm-tweakers) wrote :

It appears to have gone away with one of the updates lately. I.e. myth-backend's potentially crashing is not reported anymore, so it probably doesn't crash anymore :)

Revision history for this message
MarcRandolph (mrand) wrote :

Thank you for reporting back! Closing bug.

Changed in mythtv (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.