[mythtv-users] Mythfrontend crashes on startup

Piers Kittel mailing at biased.org
Wed Aug 22 13:10:08 UTC 2007


Having a strange problem...

I've got a diskless frontend that hasn't been working properly for  
months.  I've decided to work on it lately - I've fixed a lot of  
problems, upgraded the server from 0.20 to 0.20-fixes, and now only  
have one problem - mythfrontend crashes on startup.  I'm using MythTV  
0.20a using the Debian Etch packages from debian-multimedia.org:

piers at hinata:~$ dpkg -l | grep mythtv
ii  mythtv-common                    0.20-svn20070223-0.0             
A personal video recorder application (commo
ii  mythtv-frontend                  0.20-svn20070223-0.0             
A personal video recorder application (clien
piers at hinata:~$

I used to compile MythTV downloaded from www.mythtv.org.  I  
uninstalled the compiled MythTV, installed MythTV using apt-get, had  
more problems (unrelated to MythTV), uninstalled it, re-installed the  
compiled version, found that there was no difference after all,  
uninstalled it and re-installed the pre-compiled packages.  I suspect  
I might have deleted some important files by mistake, as it was  
working fine the first time but with very bad video performance  
though.  Both the server and the frontend uses Debian Etch.  The  
frontend has an Athlon 800MHz processor with 256MB memory and no swap  
(there's no hard drive after all).  The crash message isn't too  
helpful - can anyone tell me how to find out more about why is this  
crashing?  Here's the output from the frontend:

=======================================
piers at hinata:~$ mythfrontend -v all
2007-08-22 13:55:09.057 Using runtime prefix = /usr
2007-08-22 13:55:09.102 DPMS is active.
2007-08-22 13:55:09.432 New DB connection, total: 1
2007-08-22 13:55:09.467 Connected to database 'mythconverg' at host:  
192.168.1.2
2007-08-22 13:55:09.475 Total desktop dim: 1280x1024, with 1 screen[s].
2007-08-22 13:55:09.491 Using screen 0, 1280x1024 at 0,0
2007-08-22 13:55:09.526 user: 501 effective user: 501 before  
privileged thread
2007-08-22 13:55:09.528 user: 501 effective user: 501 after  
privileged thread
2007-08-22 13:55:09.528 user: 501 effective user: 501 run_priv_thread
2007-08-22 13:55:09.529 Disabling Settings Cache.
2007-08-22 13:55:09.529 Clearing Settings Cache.
2007-08-22 13:55:09.532 MSqlQuery: SELECT data FROM settings WHERE  
value = 'DBSchemaVer' AND hostname = 'hinata' ;
2007-08-22 13:55:09.533 MSqlQuery: SELECT data FROM settings WHERE  
value = 'DBSchemaVer' AND hostname IS NULL;
2007-08-22 13:55:09.534 Current Schema Version: 1160
<snip>
2007-08-22 13:55:10.508 MSqlQuery: SELECT data FROM settings WHERE  
value = 'QtFontSmall' AND hostname = 'hinata' ;
2007-08-22 13:55:10.545 MSqlQuery: SELECT data FROM settings WHERE  
value = 'ThemePainter' AND hostname = 'hinata' ;
2007-08-22 13:55:10.546 Using the Qt painter
2007-08-22 13:55:10.548 MSqlQuery: SELECT data FROM settings WHERE  
value = 'HideMouseCursor' AND hostname = 'hinata' ;
2007-08-22 13:55:11.688 MSqlQuery: SELECT keylist FROM keybindings  
WHERE context = 'Global' AND action = 'UP' AND hostname = 'hinata' ;
2007-08-22 13:55:11.698 /home/piers/.mythtv/joystickmenurc not found.
2007-08-22 13:55:11.698 Joystick disabled.
2007-08-22 13:55:11.696 MSqlQuery: SELECT keylist FROM keybindings  
WHERE context = 'Global' AND action = 'DOWN' AND hostname = 'hinata' ;
2007-08-22 13:55:11.707 MSqlQuery: SELECT keylist FROM keybindings  
WHERE context = 'Global' AND action = 'LEFT' AND hostname = 'hinata' ;
2007-08-22 13:55:11.709 MSqlQuery: SELECT keylist FROM keybindings  
WHERE context = 'Global' AND action = 'RIGHT' AND hostname = 'hinata' ;
2007-08-22 13:55:11.712 MSqlQuery: SELECT keylist FROM keybindings  
WHERE context = 'Global' AND action = 'SELECT' AND hostname = 'hinata' ;
2007-08-22 13:55:11.715 MSqlQuery: SELECT keylist FROM keybindings  
WHERE context = 'Global' AND action = 'ESCAPE' AND hostname = 'hinata' ;
2007-08-22 13:55:11.717 MSqlQuery: SELECT keylist FROM keybindings  
WHERE context = 'Global' AND action = 'MENU' AND hostname = 'hinata' ;
2007-08-22 13:55:11.719 MSqlQuery: SELECT keylist FROM keybindings  
WHERE context = 'Global' AND action = 'INFO' AND hostname = 'hinata' ;
2007-08-22 13:55:11.722 MSqlQuery: SELECT keylist FROM keybindings  
WHERE context = 'Global' AND action = 'PAGEUP' AND hostname = 'hinata' ;
2007-08-22 13:55:11.729 MSqlQuery: SELECT keylist FROM keybindings  
WHERE context = 'Global' AND action = 'PAGEDOWN' AND hostname =  
'hinata' ;
2007-08-22 13:55:11.792 MSqlQuery: SELECT keylist FROM keybindings  
WHERE context = 'Global' AND action = 'PREVVIEW' AND hostname =  
'hinata' ;
2007-08-22 13:55:11.799 MSqlQuery: SELECT keylist FROM keybindings  
WHERE context = 'Global' AND action = 'NEXTVIEW' AND hostname =  
'hinata' ;
2007-08-22 13:55:11.801 MSqlQuery: SELECT keylist FROM keybindings  
WHERE context = 'Global' AND action = 'HELP' AND hostname = 'hinata' ;
2007-08-22 13:55:11.803 MSqlQuery: SELECT keylist FROM keybindings  
WHERE context = 'Global' AND action = 'EJECT' AND hostname = 'hinata' ;
mythtv: could not connect to socket
2007-08-22 13:55:11.804 MSqlQuery: SELECT keylist FROM keybindings  
WHERE context = 'Global' AND action = '0' AND hostname = 'hinata' ;
2007-08-22 13:55:11.806 MSqlQuery: SELECT keylist FROM keybindings  
WHERE context = 'Global' AND action = '1' AND hostname = 'hinata' ;
mythtv: No such file or directory
2007-08-22 13:55:11.808 MSqlQuery: SELECT keylist FROM keybindings  
WHERE context = 'Global' AND action = '2' AND hostname = 'hinata' ;
2007-08-22 13:55:11.810 MSqlQuery: SELECT keylist FROM keybindings  
WHERE context = 'Global' AND action = '3' AND hostname = 'hinata' ;
2007-08-22 13:55:11.811 MSqlQuery: SELECT keylist FROM keybindings  
WHERE context = 'Global' AND action = '4' AND hostname = 'hinata' ;
<snip>
2007-08-22 13:55:18.875 MSqlQuery: SELECT data FROM settings WHERE  
value = 'MonitorDrives' AND hostname = 'hinata' ;
2007-08-22 13:55:18.877 Mediamonitor: Adding /dev/hdb
2007-08-22 13:55:18.883 Mediamonitor: Adding /dev/fd0
2007-08-22 13:55:19.009 Starting media monitor.
2007-08-22 13:55:19.013 MSqlQuery: SELECT data FROM settings WHERE  
value = 'NetworkControlEnabled' AND hostname = 'hinata' ;
2007-08-22 13:55:19.018 MSqlQuery: SELECT data FROM settings WHERE  
value = 'AllowQuitShutdown' AND hostname = 'hinata' ;
Killed
=======================================

mythtv: could not connect to socket
mythtv: No such file or directory

The above 2 lines are the only errors I'm most worried about, but  
this happens about 8 seconds before the frontend is killed.  What  
exactly does "killed" mean, and why does this happen?

Thanks very much for your time in advance!

Regards - Piers


More information about the mythtv-users mailing list