[mythtv-users] mythfrontend hanging w/blank screen

Marc Tousignant drayson at net1plus.com
Sun Aug 16 13:37:29 UTC 2009


> Hi all.
> 
> I've been successfully running mythtv for quite a few years now.
> Recently, we lost power and my machine went down uncleanly (I'm
> assuming, the UPS couldn't keep it running long enough to shut down
> cleanly).  In any case, upon rebooting the machine, everything came
> back up fine, except for the frontend.
> 
> It draws the background picture, but no menus, text or icons and hangs
> 'forever'.
> 
> Some debugging info.  I'll gladly provide more, as it's easily
> recreatable.
> 
> mythtv at oak ~ $ uname -a
> Linux oak 2.6.27-gentoo-r8 #4 Sun Mar 15 14:10:34 CDT 2009 x86_64 AMD
> Athlon(tm) 64 Processor 3200+ AuthenticAMD GNU/Linux
> 
> mythtv at oak ~ $ mythfrontend --version
> Please include all output in bug reports.
> MythTV Version   : 18314
> MythTV Branch    : branches/release-0-21-fixes
> Library API      : 0.21.20080304-1
> Network Protocol : 40
> Options compiled in:
>  linux debug using_oss using_alsa using_backend using_dbox2 using_dvb
> using_firewire using_frontend using_hdhomerun using_iptv using_ivtv
> using_joystick_menu using_libfftw3 using_lirc using_opengl_vsync
> using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmcw
> using_glx_proc_addr_arb using_bindings_perl using_bindings_python
> using_opengl using_ffmpeg_threads using_libavc_5_3 using_live
> 
> >From mythfronend.log:
> 2009-08-16 07:43:46.854 New DB connection, total: 2
> 2009-08-16 07:43:46.854 Connected to database 'mythconverg' at host:
> localhost
> 2009-08-16 07:43:46.856 mythfrontend version: 0.21.20080304-1
> www.mythtv.org
> 2009-08-16 07:43:46.856 Enabled verbose msgs: important general
> 2009-08-16 07:43:47.139 No theme dir:
> /home/mythtv/.mythtv/themes/G.A.N.T
> 2009-08-16 07:43:47.140 Primary screen 0.
> 2009-08-16 07:43:47.140 Using screen 0, 1024x768 at 0,0
> 2009-08-16 07:43:47.141 No theme dir:
> /home/mythtv/.mythtv/themes/G.A.N.T
> 2009-08-16 07:43:47.142 Switching to square mode (G.A.N.T)
> 2009-08-16 07:43:47.156 Using the Qt painter
> 2009-08-16 07:43:47.158 lirc init success using configuration file:
> /home/mythtv/.mythtv/lircrc
> 2009-08-16 07:43:47.158 JoystickMenuClient Error: Joystick disabled -
> Failed to read /home/mythtv/.mythtv/joystickmenurc
> 2009-08-16 07:44:05.209 Loading from:
> /usr/share/mythtv/themes/G.A.N.T/base.xml
> 2009-08-16 07:44:05.270 Loading from:
> /usr/share/mythtv/themes/default/base.xml
> 2009-08-16 07:44:05.312 Registering Internal as a media playback
> plugin.
> 
> >From mythfrontend process via gdb:
> 0x00007f76aaae3f5f in waitpid () from /lib/libpthread.so.0
> (gdb) bt
> #0  0x00007f76aaae3f5f in waitpid () from /lib/libpthread.so.0
> #1  0x00007f76ade3cf25 in MediaMonitorUnix::GetDeviceFile () from
> /usr/lib/libmyth-0.21.so.0
> #2  0x00007f76ade3d7fb in MediaMonitorUnix::FindPartitions () from
> /usr/lib/libmyth-0.21.so.0
> #3  0x00007f76ade3d4e6 in MediaMonitorUnix::FindPartitions () from
> /usr/lib/libmyth-0.21.so.0
> #4  0x00007f76ade3e071 in MediaMonitorUnix::CheckMountable () from
> /usr/lib/libmyth-0.21.so.0
> #5  0x00007f76ade3e3f1 in MediaMonitorUnix::MediaMonitorUnix () from
> /usr/lib/libmyth-0.21.so.0
> #6  0x00007f76add72154 in MediaMonitor::GetMediaMonitor () from
> /usr/lib/libmyth-0.21.so.0
> #7  0x00007f76ad91bff7 in MythMainWindow::RegisterMediaHandler () from
> /usr/lib/libmythui-0.21.so.0
> #8  0x00007f76a1272de6 in setupKeys () from
> /usr/lib64/mythtv/plugins/libmythgallery.so
> #9  0x00007f76a1273ddc in mythplugin_init () from
> /usr/lib64/mythtv/plugins/libmythgallery.so
> #10 0x00007f76add7543b in MythPlugin::init () from /usr/lib/libmyth-
> 0.21.so.0
> #11 0x00007f76add75916 in MythPluginManager::init_plugin () from
> /usr/lib/libmyth-0.21.so.0
> #12 0x00007f76add768e4 in MythPluginManager::MythPluginManager () from
> /usr/lib/libmyth-0.21.so.0
> #13 0x000000000043be82 in ?? ()
> #14 0x00007f76aa0195e4 in __libc_start_main () from /lib/libc.so.6
> #15 0x00000000004326d9 in ?? ()
> #16 0x00007fffb8531888 in ?? ()
> #17 0x0000000000000000 in ?? ()
> 
> (gdb) info threa
>   6 Thread 0x7f76a6182950 (LWP 30563)  0x00007f76aaae0c8d in
> pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
>   5 Thread 0x7f76a5981950 (LWP 30564)  0x00007f76aaae0c8d in
> pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
>   4 Thread 0x7f76a5180950 (LWP 30565)  0x00007f76aa0bb4a2 in select ()
> from /lib/libc.so.6
>   3 Thread 0x7f76a378c950 (LWP 30572)  0x00007f76aaae0a09 in
> pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
>   2 Thread 0x7f76a270d950 (LWP 30574)  0x00007f76aaae32bb in read ()
> from /lib/libpthread.so.0
> * 1 Thread 0x7f76b03eb7b0 (LWP 30556)  0x00007f76aaae3f5f in waitpid
> () from /lib/libpthread.so.0
> 
> Running mythfrontend with strace seemed to make it fail differently.
> It kept dying and restarting (I have it in inittab), but the output
> seemed to indicate it was hung up on some getdents() call:
> 
> 15588 access("/home/mythtv/.mythtv/themecache", F_OK) = 0
> 15588 lstat("/home/mythtv/.mythtv/themecache", {st_mode=S_IFDIR|0755,
> st_size=4096, ...}) = 0
> 15588 access("/home/mythtv/.mythtv/themecache/G.A.N.T.1024.768", F_OK)
> = 0
> 15588 lstat("/home/mythtv/.mythtv/themecache/G.A.N.T.1024.768",
> {st_mode=S_IFDIR|0755, st_size=12288, ...}) = 0
> 15588 open("/home/mythtv/.mythtv/themecache",
> O_RDONLY|O_NONBLOCK|O_DIRECTORY|0x80000) = 19
> 15588 fstat(19, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> 15588 getdents(19,
> <EOF>
> 
> Any help would be greatly appreciated!
> mike
> _______________________________________________

Best guess, try deleting .mythtv/themecache This should have the effect of
regenerating your themecache and hopefully allowing myth to start.



More information about the mythtv-users mailing list