Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

Re: [mythtv-commits] Ticket #7135: mythwelcome creating mythfrontend <defunct>

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


kenneth.emerson at gmail

Sep 25, 2009, 11:45 AM

Post #1 of 3 (1205 views)
Permalink
Re: [mythtv-commits] Ticket #7135: mythwelcome creating mythfrontend <defunct>

On Thu, Sep 24, 2009 at 4:13 AM, MythTV <mythtv [at] cvs> wrote:

> #7135: mythwelcome creating mythfrontend <defunct>
>
> -------------------------------------------------+--------------------------
> Reporter: simons.philippe [at] gmail | Owner: ijr
> Type: defect | Status: new
> Priority: minor | Milestone: 0.22
> Component: MythTV - Mythwelcome & Mythshutdown | Version: head
> Severity: medium | Mlocked: 0
>
> -------------------------------------------------+--------------------------
> my box is starting mythwelcome in autostart (through autologin of mythtv
> user and a .xinitrc)
> I've 3 instances of mythfrontend and 2 are <defunct>
>
> could be because mythwelcome try to lauchn mythfrontend before mythbackend
> is completely up and running
>
> --
> Ticket URL: <http://svn.mythtv.org/trac/ticket/7135>
> MythTV <http://www.mythtv.org/>
> MythTV
>

I seem to have a similar problem. At this very instant, I also have two
zombies of mythfrontend:

F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
0 S 1001 10143 9919 7 80 0 - 102258 poll ? 03:03:36
mythfrontend
1 Z 1001 10351 10143 0 80 0 - 0 exit ? 00:00:00
mythfrontend <defunct>
1 Z 1001 10353 10143 0 80 0 - 0 exit ? 00:00:00
mythfrontend <defunct>

I also seem to be (occasionally) having problems with mythfilldatabase
getting hung up as well as mythbackend while generating previews (whether
these are related or not, I do not know but they all started happening about
the same time):

3226 Wed Sep 23 21:12:14 2009 S ? 00:00:00 sh -c
/usr/local/bin/mythbackend --generate-preview 0x0 --chanid 2061 --starttime
20090923210000
3227 Wed Sep 23 21:12:14 2009 S ? 00:00:00
/usr/local/bin/mythbackend --generate-preview 0x0 --chanid 2061 --starttime
20090923210000

When I kill mythfilldatase and look at the output it seems to be getting
stuck updating the database:

2009-09-25 07:09:42.829 MythContext: Connecting to backend server:
192.168.1.12:6543 (try 1 of 1)
2009-09-25 07:09:42.829 Using protocol version 48
2009-09-25 07:09:44.313 Received a remote 'Clear Cache' request
QMutex::lock: mutex lock failure:
2009-09-25 07:09:44.313 mythfilldatabase run complete.
2009-09-25 07:09:44.313 DataDirect: Deleting temporary files
------------This is where I killed it at 13:40, 25 September.

MythTV Version : 21994
MythTV Branch : trunk
Network Protocol : 48
Library API : 0.22.20090919-1
QT Version : 4.5.0
Options compiled in:
linux release using_oss using_alsa using_backend using_directfb using_dvb
using_firewire using_frontend using_hdhomerun using_hdpvr using_iptv
using_ivtv using_joystick_menu using_libfftw3 using_lirc using_mheg
using_opengl_video using_opengl_vsync using_qtwebkit using_v4l using_x11
using_xrandr using_xv using_bindings_perl using_bindings_python using_opengl
using_ffmpeg_threads using_libavc_5_3 using_live using_mheg

Regards,

--- Ken Emerson



> _______________________________________________
> mythtv-commits mailing list
> mythtv-commits [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-commits
>


kenneth.emerson at gmail

Sep 30, 2009, 10:16 AM

Post #2 of 3 (1088 views)
Permalink
Re: [mythtv-commits] Ticket #7135: mythwelcome creating mythfrontend <defunct> [In reply to]

On Wed, Sep 30, 2009 at 1:35 AM, MythTV <mythtv [at] cvs> wrote:

> #7135: mythwelcome creating mythfrontend <defunct>
>
> -------------------------------------------------+--------------------------
> Reporter: simons.philippe [at] gmail | Owner: ijr
> Type: defect | Status:
> infoneeded_new
> Priority: minor | Milestone: 0.22
> Component: MythTV - Mythwelcome & Mythshutdown | Version: head
> Severity: medium | Resolution:
> Mlocked: 0 |
>
> -------------------------------------------------+--------------------------
> Changes (by cpinkham):
>
> * status: new => infoneeded_new
>
>
> Comment:
>
> Please provide log files from mythwelcome and mythfrontend, otherwise it
> is impossible for us to diagnose.
>
> --
> Ticket URL: <http://svn.mythtv.org/trac/ticket/7135#comment:1>
> MythTV <http://www.mythtv.org/>
> MythTV
>

====================================================================

In my particular set-up I do not use mythwelcome. I have not tried to
reproduce this problem, but it still currently exists on my BE/FE box. Here
is the information that I can share with you:

From running programs:

ken [at] mytht:~$ ps kstart_time -ef | grep myth
mythtv 14082 1 0 Sep23 ? SNsl 17:03 /usr/local/bin/mtd -d
mythtv 3226 1 0 Sep23 ? SN 0:00 sh -c
/usr/local/bin/mythbackend --generate-preview 0x0 --chanid 2061 --starttime
20090923210000
mythtv 3227 3226 0 Sep23 ? SNl 0:00
/usr/local/bin/mythbackend --generate-preview 0x0 --chanid 2061 --starttime
20090923210000
mythtv 6881 15489 0 Sep26 ? Ss 0:00 /bin/bash
/home/mythtv/.xsession
mythtv 7216 6881 0 Sep26 ? Ss 0:00 /usr/bin/ssh-agent
/usr/bin/dbus-launch --exit-with-session /home/mythtv/.xsession
mythtv 7220 1 0 Sep26 ? S 0:00 /usr/bin/dbus-launch
--exit-with-session /home/mythtv/.xsession
mythtv 7260 1 0 Sep26 ? Ss 0:00 //bin/dbus-daemon --fork
--print-pid 6 --print-address 9 --session
mythtv 7274 6881 9 Sep26 ? Rl 493:31
/usr/local/bin/mythfrontend
mythtv 7315 7274 0 Sep26 ? Z 0:00 [mythfrontend] <defunct>
mythtv 7317 7274 0 Sep26 ? Z 0:00 [mythfrontend] <defunct>
mythtv 31007 1 0 Sep29 ? Ssl 1:20
/usr/local/bin/mythbackend --daemon --logfile
/var/log/mythtv/mythbackend.log --pidfile /var/run/mythtv/mythbackend.pid

From the frontend log at startup:
ken [at] mytht:~$ head -n100 /home/mythtv/mythfrontend.log
2009-09-26 23:36:23.636 mythfrontend version: trunk [21994] www.mythtv.org
2009-09-26 23:36:23.706 Using runtime prefix = /usr/local
2009-09-26 23:36:23.707 Using configuration directory = /home/mythtv/.mythtv
2009-09-26 23:36:24.730 Empty LocalHostName.
2009-09-26 23:36:24.730 Using localhost value of mythtv
2009-09-26 23:36:25.096 New DB connection, total: 1
2009-09-26 23:36:25.170 Connected to database 'mythconverg' at host:
localhost
2009-09-26 23:36:25.183 Closing DB connection named 'DBManager0'
2009-09-26 23:36:25.204 ScreenSaverX11Private: Gnome screen saver support
enabled
2009-09-26 23:36:25.205 DPMS is active.
2009-09-26 23:36:25.211 Primary screen: 0.
2009-09-26 23:36:25.211 Connected to database 'mythconverg' at host:
localhost
2009-09-26 23:36:25.213 Using screen 0, 1920x1080 at 0,0
2009-09-26 23:36:25.253 MythUI Image Cache size set to 20971520 bytes
2009-09-26 23:36:25.254 Enabled verbose msgs: important general
2009-09-26 23:36:25.590 Primary screen: 0.
2009-09-26 23:36:25.591 Using screen 0, 1920x1080 at 0,0
2009-09-26 23:36:25.610 Using theme base resolution of 1280x720
2009-09-26 23:36:25.645 LIRC: Successfully initialized '/dev/lircd' using
'/home/mythtv/.mythtv/lircrc' config
2009-09-26 23:36:25.645 JoystickMenuThread Error: Joystick disabled - Failed
to read /home/mythtv/.mythtv/joystickmenurc
2009-09-26 23:36:25.730 Using the Qt painter
2009-09-26 23:36:26.806 Loading base theme from
/usr/local/share/mythtv/themes/Terra/base.xml
2009-09-26 23:36:26.919 Loading base theme from
/usr/local/share/mythtv/themes/default-wide/base.xml
2009-09-26 23:36:27.067 Loading base theme from
/usr/local/share/mythtv/themes/default/base.xml
2009-09-26 23:36:27.127 Current MythTV Schema Version (DBSchemaVer): 1244
2009-09-26 23:36:27.334 The theme (defaultmenu) is missing a themeinfo.xml
file
2009-09-26 23:36:29.373 The theme (defaultmenu) is missing a themeinfo.xml
file
2009-09-26 23:36:29.581 Desktop video mode: 1920x1080 60.0024 Hz
2009-09-26 23:36:29.784 Registering Internal as a media playback plugin.
2009-09-26 23:36:29.863 Plugin mythbookmarks (0.22.20090424-2) binary
version does not match libraries (0.22.20090919-1)
2009-09-26 23:36:29.863 Unable to initialize plugin 'mythbookmarkmanager'.
2009-09-26 23:36:29.886 Registering WebBrowser as a media playback plugin.
2009-09-26 23:36:30.061 MMUnix::AddDevice() Error: failed to stat /dev/bdi,
eno: No such file or directory (2)
2009-09-26 23:36:30.064 MMUnix::AddDevice() Error: failed to stat
/dev/power,
eno: No such file or directory (2)
2009-09-26 23:36:30.074 MonitorRegisterExtensions(0x100, gif,jpg,png)
2009-09-26 23:36:30.345 Current MythMusic Schema Version (MusicDBSchemaVer):
1017
2009-09-26 23:36:30.386 MonitorRegisterExtensions(0x40,
mp3,mp2,ogg,oga,flac,wma,wav,ac3,oma,omg,atp,ra,dts,aac,m4a,aa3,tta,mka,aiff,swa,wv)
2009-09-26 23:36:30.461 Current MythVideo Schema Version
(mythvideo.DBSchemaVer): 1028
2009-09-26 23:36:30.541 Starting update of NDFD-18_Hour
2009-09-26 23:36:30.542 NDFD-18_Hour recently updated, skipping.
2009-09-26 23:36:30.542 Starting update of NDFD-6_day
2009-09-26 23:36:30.542 NDFD-6_day recently updated, skipping.
2009-09-26 23:36:30.543 Starting update of Animated-Map-Download
2009-09-26 23:36:30.543 Animated-Map-Download recently updated, skipping.
2009-09-26 23:36:30.543 No cachefile for Animated-Map-Download, forcing
update.
2009-09-26 23:36:30.552 Starting update of Map-Download
2009-09-26 23:36:30.552 Map-Download recently updated, skipping.
2009-09-26 23:36:30.552 No cachefile for Map-Download, forcing update.
2009-09-26 23:36:30.560 Starting update of NWS-Alerts
2009-09-26 23:36:30.560 NWS-Alerts recently updated, skipping.
2009-09-26 23:36:30.573 NetworkControl: Listening for remote connections on
port 6546
2009-09-26 23:36:30.869 Loading window theme from
/usr/local/share/mythtv/themes/Terra/menu-ui.xml
2009-09-26 23:36:30.971 Loading menu theme from
/usr/local/share/mythtv/themes/defaultmenu//mainmenu.xml
2009-09-26 23:36:30.973 Found mainmenu.xml for theme 'Terra'
2009-09-26 23:36:30.981 MythContext: Connecting to backend server:
192.168.1.12:6543 (try 1 of 1)
2009-09-26 23:36:30.982 Using protocol version 48
2009-09-26 23:36:31.334 'nice
/usr/local/share/mythtv/mythweather/scripts/maps.pl -u ENG -d
/home/mythtv/.mythtv/MythWeather/Map-Download
http://image.weather.com/images/sat/regions/n_central_sat_720x48' has exited
2009-09-26 23:36:31.334 Unable to save data to cachefile:
/home/mythtv/.mythtv/MythWeather/Map-Download/cache_
http://image.weather.com/images/sat/regions/n_central_sat_720x48
2009-09-26 23:36:32.218 'nice
/usr/local/share/mythtv/mythweather/scripts/animaps.pl -u ENG -d
/home/mythtv/.mythtv/MythWeather/Animated-Map-Download
http://images.weather.com/looper/archive/nc_vis_sat_720x486/' has exited
2009-09-26 23:36:32.218 Unable to save data to cachefile:
/home/mythtv/.mythtv/MythWeather/Animated-Map-Download/cache_
http://images.weather.com/looper/archive/nc_vis_sat_720x486/

If there is more information I can collect to help diagnose the problem, let
me know and I will try to recreate the issue. I don't plan to touch the
system unless it becomes unusable or you ask me to until this weekend.

Regards,

-- Ken E.


kenneth.emerson at gmail

Oct 13, 2009, 8:18 AM

Post #3 of 3 (978 views)
Permalink
Re: [mythtv-commits] Ticket #7135: mythwelcome creating mythfrontend <defunct> [In reply to]

>
> #7135: mythwelcome creating mythfrontend <defunct>
>
> -------------------------------------------------+--------------------------
> Reporter: simons.philippe [at] gmail | Owner: ijr
> Type: defect | Status: new
> Priority: minor | Milestone: unknown
> Component: MythTV - Mythwelcome & Mythshutdown | Version: head
> Severity: medium | Resolution:
> Mlocked: 0 |
>
> -------------------------------------------------+--------------------------
>
> Just as an update. I am running trunk at version 22348 and I am still
> seeing one zombie directly after starting the FE (happens every time):
>

F S UID PID PPID C PRI NI ADDR SZ WCHAN TTY TIME CMD
0 S 1001 3743 3501 11 80 0 - 155989 poll ? 04:15:12
mythfrontend
1 Z 1001 3762 3743 0 80 0 - 0 exit ? 00:00:00
mythfrontend <defunct>

-- Ken E

> --
> Ticket URL: <http://svn.mythtv.org/trac/ticket/7135#comment:6>
>

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.