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

Mailing List Archive: MythTV: Users

defunct mythfrontend children processes

 

 

First page Previous page 1 2 Next page Last page  View All MythTV users RSS feed   Index | Next | Previous | View Threaded


jarpublic at gmail

Nov 17, 2009, 7:31 AM

Post #1 of 34 (2676 views)
Permalink
defunct mythfrontend children processes

While looking into another problem I have noticed that I usually have
from 1 to 3 defunct mythfrontend processes running. They are listed as
children of the active mythfrontend process. I never noticed this
before in the past. The defunct children are there immediately after
mythfrontend starts. I have only seen it since I upgraded to Ubuntu
9.10 and mythtv .22. Is anybody else seeing this? Is this a bug of
some sort? Or is this normal and of no concern?
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


RobertCL at iname

Nov 17, 2009, 7:50 AM

Post #2 of 34 (2642 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

On Tue, November 17, 2009 3:31 pm, Johnny wrote:
> While looking into another problem I have noticed that I usually have
> from 1 to 3 defunct mythfrontend processes running. They are listed as
> children of the active mythfrontend process. I never noticed this
> before in the past. The defunct children are there immediately after
> mythfrontend starts. I have only seen it since I upgraded to Ubuntu
> 9.10 and mythtv .22. Is anybody else seeing this? Is this a bug of
> some sort? Or is this normal and of no concern?

I noticed that when I was doing my upgrade and just assumed it was because
I'd been restarting it a lot. But now that I look again I too have lots
of defunct mythfrontend processes....

robert [at] qua ~ $ ps aux|grep -i mythfron
mythtv 9859 13.0 14.8 784808 577664 tty6 Rl Nov15 405:08
/usr/bin/mythfrontend -l /var/log/mythtv/mythfrontend.log
mythtv 9901 0.0 0.0 0 0 tty6 Z Nov15 0:00
[mythfrontend] <defunct>
mythtv 9903 0.0 0.0 0 0 tty6 Z Nov15 0:00
[mythfrontend] <defunct>
mythtv 9904 0.0 0.0 0 0 tty6 Z Nov15 0:00
[mythfrontend] <defunct>

Running Mythtv-0.22-22772 on Gentoo.

Robert.


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


gregcope at gmail

Nov 17, 2009, 9:28 AM

Post #3 of 34 (2628 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

2009/11/17 Johnny <jarpublic [at] gmail>:
> While looking into another problem I have noticed that I usually have
> from 1 to 3 defunct mythfrontend processes running. They are listed as
> children of the active mythfrontend process. I never noticed this
> before in the past. The defunct children are there immediately after
> mythfrontend starts. I have only seen it since I upgraded to Ubuntu
> 9.10 and mythtv .22. Is anybody else seeing this? Is this a bug of
> some sort? Or is this normal and of no concern?

I have the same;

greg 3057 1 13 08:41 ? 00:54:43
/usr/bin/mythfrontend.real --logfile /var/log/mythtv/mythfrontend.log
greg 3088 3057 0 08:41 ? 00:00:00 [mythfrontend.re] <defunct>
greg 3089 3057 0 08:41 ? 00:00:00 [mythfrontend.re] <defunct>
greg 3092 3057 0 08:41 ? 00:00:00 [mythfrontend.re] <defunct>
greg 3094 3057 0 08:41 ? 00:00:00 [mythfrontend.re] <defunct>
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


fatgerman at ntlworld

Nov 17, 2009, 11:51 AM

Post #4 of 34 (2627 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

On Tuesday 17 Nov 2009 15:31:07 Johnny wrote:
> While looking into another problem I have noticed that I usually have
> from 1 to 3 defunct mythfrontend processes running. They are listed as
> children of the active mythfrontend process. I never noticed this
> before in the past. The defunct children are there immediately after
> mythfrontend starts. I have only seen it since I upgraded to Ubuntu
> 9.10 and mythtv .22. Is anybody else seeing this? Is this a bug of
> some sort? Or is this normal and of no concern?
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
Me too. The following is 24 hours after a reboot:

bob [at] rev:~$ ps -ael | grep myth
0 S 103 944 943 1 80 0 - 245023 poll_s ? 00:32:30 mythbackend
0 S 1000 1982 1 7 80 0 - 202592 poll_s ? 03:56:55 mythfrontend.re
1 Z 1000 2116 1982 0 80 0 - 0 exit ? 00:00:00 mythfrontend.re <defunct>
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


johnnyjboss at gmail

Nov 17, 2009, 11:54 AM

Post #5 of 34 (2627 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

i've got that 'problem' too:

1822 ? Ssl 31:02 /usr/bin/mythfrontend.real --logfile
/var/log/mythtv/mythfrontend.log
1927 ? Z 0:00 \_ [mythfrontend.re] <defunct>
1929 ? Z 0:00 \_ [mythfrontend.re] <defunct>
1931 ? Z 0:00 \_ [mythfrontend.re] <defunct>


On Tue, Nov 17, 2009 at 1:51 PM, Mark Greenwood <fatgerman [at] ntlworld> wrote:
> On Tuesday 17 Nov 2009 15:31:07 Johnny wrote:
>> While looking into another problem I have noticed that I usually have
>> from 1 to 3 defunct mythfrontend processes running. They are listed as
>> children of the active mythfrontend process. I never noticed this
>> before in the past. The defunct children are there immediately after
>> mythfrontend starts. I have only seen it since I upgraded to Ubuntu
>> 9.10 and mythtv .22. Is anybody else seeing this? Is this a bug of
>> some sort? Or is this normal and of no concern?
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users [at] mythtv
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
> Me too. The following is 24 hours after a reboot:
>
> bob [at] rev:~$ ps -ael | grep myth
> 0 S   103   944   943  1  80   0 - 245023 poll_s ?       00:32:30 mythbackend
> 0 S  1000  1982     1  7  80   0 - 202592 poll_s ?       03:56:55 mythfrontend.re
> 1 Z  1000  2116  1982  0  80   0 -     0 exit   ?        00:00:00 mythfrontend.re <defunct>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mythtvusers at markgarland

Nov 17, 2009, 12:18 PM

Post #6 of 34 (2627 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

Me too.

htpc [at] htp:~$ uptime
20:17:31 up 1 day, 23:23, 3 users, load average: 0.52, 0.61, 0.58
htpc [at] htp:~$ ps -ael | grep myth
0 S 113 1413 1412 2 80 0 - 206957 poll_s ? 01:20:03
mythbackend
0 S 1000 23997 2431 10 80 0 - 292001 poll_s ? 01:25:05
mythfrontend.re
1 Z 1000 24028 23997 0 80 0 - 0 exit ? 00:00:00
mythfrontend.re <defunct>
1 Z 1000 24029 23997 0 80 0 - 0 exit ? 00:00:00
mythfrontend.re <defunct>
1 Z 1000 24031 23997 0 80 0 - 0 exit ? 00:00:00
mythfrontend.re <defunct>
htpc [at] htp:~$

MG

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


mythtv.org at sethdaniel

Nov 17, 2009, 12:22 PM

Post #7 of 34 (2607 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

On Tue, Nov 17, 2009 at 10:31:07AM -0500, Johnny wrote:
> While looking into another problem I have noticed that I usually have
> from 1 to 3 defunct mythfrontend processes running. They are listed as
> children of the active mythfrontend process. I never noticed this
> before in the past. The defunct children are there immediately after
> mythfrontend starts. I have only seen it since I upgraded to Ubuntu
> 9.10 and mythtv .22. Is anybody else seeing this? Is this a bug of
> some sort? Or is this normal and of no concern?


I believe it has to do with MythWeather. MythWeather launches a number
of scripts at the startup of the frontend that query whatever weather
site it queries. As best I can tell when those scripts end the process
that was spawned to run that script is not cleaned up (i.e. wait()ed
for).

Are all people reporting this running MythWeather?

I'm not a Myth dev, but this doesn't seem like a big issue to me (I'm not
advocating that it go unresolved).

--
seth /\ sethdaniel.org
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


markhsa at gmail

Nov 17, 2009, 12:23 PM

Post #8 of 34 (2610 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

Mark Garland wrote:
> Me too.
>
> htpc [at] htp:~$ uptime
> 20:17:31 up 1 day, 23:23, 3 users, load average: 0.52, 0.61, 0.58
> htpc [at] htp:~$ ps -ael | grep myth
> 0 S 113 1413 1412 2 80 0 - 206957 poll_s ? 01:20:03
> mythbackend
> 0 S 1000 23997 2431 10 80 0 - 292001 poll_s ? 01:25:05
> mythfrontend.re
> 1 Z 1000 24028 23997 0 80 0 - 0 exit ? 00:00:00
> mythfrontend.re <defunct>
> 1 Z 1000 24029 23997 0 80 0 - 0 exit ? 00:00:00
> mythfrontend.re <defunct>
> 1 Z 1000 24031 23997 0 80 0 - 0 exit ? 00:00:00
> mythfrontend.re <defunct>
> htpc [at] htp:~$
>
> MG
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
me too. Looks like a problem to me.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


johnnyjboss at gmail

Nov 17, 2009, 12:29 PM

Post #9 of 34 (2610 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

indeed I'm running mythweather - and I have issues there too. I can't
seem to get the motion weather map to find any locations at all. I
tried my zip code and "Dallas" and "Texas" and I can't seem to find
anything.

I'll see if I can disable myth weather and get rid of the defunct processes.

On Tue, Nov 17, 2009 at 2:22 PM, Seth Daniel <mythtv.org [at] sethdaniel> wrote:
> On Tue, Nov 17, 2009 at 10:31:07AM -0500, Johnny wrote:
>> While looking into another problem I have noticed that I usually have
>> from 1 to 3 defunct mythfrontend processes running. They are listed as
>> children of the active mythfrontend process. I never noticed this
>> before in the past. The defunct children are there immediately after
>> mythfrontend starts. I have only seen it since I upgraded to Ubuntu
>> 9.10 and mythtv .22. Is anybody else seeing this? Is this a bug of
>> some sort? Or is this normal and of no concern?
>
>
> I believe it has to do with MythWeather.  MythWeather launches a number
> of scripts at the startup of the frontend that query whatever weather
> site it queries.  As best I can tell when those scripts end the process
> that was spawned to run that script is not cleaned up (i.e. wait()ed
> for).
>
> Are all people reporting this running MythWeather?
>
> I'm not a Myth dev, but this doesn't seem like a big issue to me (I'm not
> advocating that it go unresolved).
>
> --
> seth /\ sethdaniel.org
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


daworm at comcast

Nov 17, 2009, 12:50 PM

Post #10 of 34 (2614 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

Johnny wrote:
> While looking into another problem I have noticed that I usually have
> from 1 to 3 defunct mythfrontend processes running. They are listed as
> children of the active mythfrontend process. I never noticed this
> before in the past. The defunct children are there immediately after
> mythfrontend starts. I have only seen it since I upgraded to Ubuntu
> 9.10 and mythtv .22. Is anybody else seeing this? Is this a bug of
> some sort? Or is this normal and of no concern?

Under Ubuntu 9.10, I get about 15-20 that the monitor marks "zombie".
They are all named "mythfrontend.re". The main process is marked
"mythfrontend.real". I sometimes get complete lockups, and killing the
main process kills the zombies too, but trying to kill the zombies does
nothing (must not be hitting them in the head).

Jeff.

--
I haven't smoked for 3 years, 3 months and 16 hours, saving $5,349.28
and not smoking 35,661.93 cigarettes.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mythtv at sky

Nov 17, 2009, 12:56 PM

Post #11 of 34 (2610 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

mark wrote:
> Mark Garland wrote:
>> Me too.
>>
>> htpc [at] htp:~$ uptime
>> 20:17:31 up 1 day, 23:23, 3 users, load average: 0.52, 0.61, 0.58
>> htpc [at] htp:~$ ps -ael | grep myth
>> 0 S 113 1413 1412 2 80 0 - 206957 poll_s ? 01:20:03
>> mythbackend
>> 0 S 1000 23997 2431 10 80 0 - 292001 poll_s ? 01:25:05
>> mythfrontend.re
>> 1 Z 1000 24028 23997 0 80 0 - 0 exit ? 00:00:00
>> mythfrontend.re <defunct>
>> 1 Z 1000 24029 23997 0 80 0 - 0 exit ? 00:00:00
>> mythfrontend.re <defunct>
>> 1 Z 1000 24031 23997 0 80 0 - 0 exit ? 00:00:00
>> mythfrontend.re <defunct>
>> htpc [at] htp:~$
>>
>> MG
>>
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users [at] mythtv
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
> me too. Looks like a problem to me.
It's a known problem with the media monitor.
http://svn.mythtv.org/trac/ticket/7135.


Paul H.
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


fatgerman at ntlworld

Nov 18, 2009, 12:05 PM

Post #12 of 34 (2552 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

On Tuesday 17 Nov 2009 20:22:04 Seth Daniel wrote:
> On Tue, Nov 17, 2009 at 10:31:07AM -0500, Johnny wrote:
> > While looking into another problem I have noticed that I usually have
> > from 1 to 3 defunct mythfrontend processes running. They are listed as
> > children of the active mythfrontend process. I never noticed this
> > before in the past. The defunct children are there immediately after
> > mythfrontend starts. I have only seen it since I upgraded to Ubuntu
> > 9.10 and mythtv .22. Is anybody else seeing this? Is this a bug of
> > some sort? Or is this normal and of no concern?
>
>
> I believe it has to do with MythWeather. MythWeather launches a number
> of scripts at the startup of the frontend that query whatever weather
> site it queries. As best I can tell when those scripts end the process
> that was spawned to run that script is not cleaned up (i.e. wait()ed
> for).
>
> Are all people reporting this running MythWeather?
>
> I'm not a Myth dev, but this doesn't seem like a big issue to me (I'm not
> advocating that it go unresolved).
>
>
Yes I'm running Mythweather altough I didn't actually realise it.. must have clicked something by accident :) I'll remove it and report back if the problem persists.

I think zombie processes are always a big issue.

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


herbster at gmail

Nov 18, 2009, 12:13 PM

Post #13 of 34 (2557 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

On Wed, Nov 18, 2009 at 8:05 PM, Mark Greenwood <fatgerman [at] ntlworld>wrote:

> On Tuesday 17 Nov 2009 20:22:04 Seth Daniel wrote:
> > On Tue, Nov 17, 2009 at 10:31:07AM -0500, Johnny wrote:
> > > While looking into another problem I have noticed that I usually have
> > > from 1 to 3 defunct mythfrontend processes running. They are listed as
> > > children of the active mythfrontend process. I never noticed this
> > > before in the past. The defunct children are there immediately after
> > > mythfrontend starts. I have only seen it since I upgraded to Ubuntu
> > > 9.10 and mythtv .22. Is anybody else seeing this? Is this a bug of
> > > some sort? Or is this normal and of no concern?
> >
> >
> > I believe it has to do with MythWeather. MythWeather launches a number
> > of scripts at the startup of the frontend that query whatever weather
> > site it queries. As best I can tell when those scripts end the process
> > that was spawned to run that script is not cleaned up (i.e. wait()ed
> > for).
> >
> > Are all people reporting this running MythWeather?
> >
> > I'm not a Myth dev, but this doesn't seem like a big issue to me (I'm not
> > advocating that it go unresolved).
> >
> >
> Yes I'm running Mythweather altough I didn't actually realise it.. must
> have clicked something by accident :) I'll remove it and report back if the
> problem persists.
>
> I think zombie processes are always a big issue.
>
> Mark
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>

Another "me too", with no MythWeather and no MythWelcome.

Are people using LiveTV? I think I was able to create a zombie by entering
Watch TV when tuner(s) were in use, or certain other tuner conditions, but I
would have to check when I am home...

/hERB

--
#include <stddisclaimer.h>


johnnyjboss at gmail

Nov 18, 2009, 12:18 PM

Post #14 of 34 (2551 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

My 3 zombie pids appear wihout me actually doing anything. It's
immediately after boot.

On Wed, Nov 18, 2009 at 2:13 PM, hERB <herbster [at] gmail> wrote:
> On Wed, Nov 18, 2009 at 8:05 PM, Mark Greenwood <fatgerman [at] ntlworld>
> wrote:
>>
>> On Tuesday 17 Nov 2009 20:22:04 Seth Daniel wrote:
>> > On Tue, Nov 17, 2009 at 10:31:07AM -0500, Johnny wrote:
>> > > While looking into another problem I have noticed that I usually have
>> > > from 1 to 3 defunct mythfrontend processes running. They are listed as
>> > > children of the active mythfrontend process. I never noticed this
>> > > before in the past. The defunct children are there immediately after
>> > > mythfrontend starts. I have only seen it since I upgraded to Ubuntu
>> > > 9.10 and mythtv .22. Is anybody else seeing this? Is this a bug of
>> > > some sort? Or is this normal and of no concern?
>> >
>> >
>> > I believe it has to do with MythWeather.  MythWeather launches a number
>> > of scripts at the startup of the frontend that query whatever weather
>> > site it queries.  As best I can tell when those scripts end the process
>> > that was spawned to run that script is not cleaned up (i.e. wait()ed
>> > for).
>> >
>> > Are all people reporting this running MythWeather?
>> >
>> > I'm not a Myth dev, but this doesn't seem like a big issue to me (I'm
>> > not
>> > advocating that it go unresolved).
>> >
>> >
>> Yes I'm running Mythweather altough I didn't actually realise it.. must
>> have clicked something by accident :) I'll remove it and report back if the
>> problem persists.
>>
>> I think zombie processes are always a big issue.
>>
>> Mark
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users [at] mythtv
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
> Another "me too", with no MythWeather and no MythWelcome.
>
> Are people using LiveTV? I think I was able to create a zombie by entering
> Watch TV when tuner(s) were in use, or certain other tuner conditions, but I
> would have to check when I am home...
>
> /hERB
>
> --
> #include <stddisclaimer.h>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Nov 18, 2009, 12:25 PM

Post #15 of 34 (2540 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

On 11/18/2009 03:18 PM, Johnny Walker wrote:
> On Wed, Nov 18, 2009 at 2:13 PM, hERB wrote:
>
>> On Wed, Nov 18, 2009 at 8:05 PM, Mark Greenwood wrote:
>>
>>> On Tuesday 17 Nov 2009 20:22:04 Seth Daniel wrote:
>>>
>>>> On Tue, Nov 17, 2009 at 10:31:07AM -0500, Johnny wrote:
>>>>
>>>>> While looking into another problem I have noticed that I usually have
>>>>> from 1 to 3 defunct mythfrontend processes running. They are listed as
>>>>> children of the active mythfrontend process. I never noticed this
>>>>> before in the past. The defunct children are there immediately after
>>>>> mythfrontend starts. I have only seen it since I upgraded to Ubuntu
>>>>> 9.10 and mythtv .22. Is anybody else seeing this? Is this a bug of
>>>>> some sort? Or is this normal and of no concern?
>>>>>
>>>> I believe it has to do with MythWeather. MythWeather launches a number
>>>> of scripts at the startup of the frontend that query whatever weather
>>>> site it queries. As best I can tell when those scripts end the process
>>>> that was spawned to run that script is not cleaned up (i.e. wait()ed
>>>> for).
>>>>
>>>> Are all people reporting this running MythWeather?
>>>>
>>>> I'm not a Myth dev, but this doesn't seem like a big issue to me (I'm
>>>> not
>>>> advocating that it go unresolved).
>>> Yes I'm running Mythweather altough I didn't actually realise it.. must
>>> have clicked something by accident :) I'll remove it and report back if the
>>> problem persists.
>>>
>>> I think zombie processes are always a big issue.
>> Another "me too", with no MythWeather and no MythWelcome.
>>
>> Are people using LiveTV? I think I was able to create a zombie by entering
>> Watch TV when tuner(s) were in use, or certain other tuner conditions, but I
>> would have to check when I am home...
> My 3 zombie pids appear wihout me actually doing anything. It's
> immediately after boot.

You know, Paul wasn't lying when he told you it's a) a known issue and
b) due to problems with the media monitor code, as discussed in
http://svn.mythtv.org/trac/ticket/7135 .

We don't have a fix for it, yet. If you're interested in fixing it,
please read that ticket so you're not wasting time looking at
MythWeather. :)

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


johnnyjboss at gmail

Nov 18, 2009, 12:33 PM

Post #16 of 34 (2545 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

I had discounted that answer since when i read the open ticket it
appeared the patch didn't work for Bill Meek when he applied it 11
days ago.

I suppose I'll go apply the patch too...

On Wed, Nov 18, 2009 at 2:25 PM, Michael T. Dean
<mtdean [at] thirdcontact> wrote:
> On 11/18/2009 03:18 PM, Johnny Walker wrote:
>>
>> On Wed, Nov 18, 2009 at 2:13 PM, hERB wrote:
>>
>>>
>>> On Wed, Nov 18, 2009 at 8:05 PM, Mark Greenwood wrote:
>>>
>>>>
>>>> On Tuesday 17 Nov 2009 20:22:04 Seth Daniel wrote:
>>>>
>>>>>
>>>>> On Tue, Nov 17, 2009 at 10:31:07AM -0500, Johnny wrote:
>>>>>
>>>>>>
>>>>>> While looking into another problem I have noticed that I usually have
>>>>>> from 1 to 3 defunct mythfrontend processes running. They are listed as
>>>>>> children of the active mythfrontend process. I never noticed this
>>>>>> before in the past. The defunct children are there immediately after
>>>>>> mythfrontend starts. I have only seen it since I upgraded to Ubuntu
>>>>>> 9.10 and mythtv .22. Is anybody else seeing this? Is this a bug of
>>>>>> some sort? Or is this normal and of no concern?
>>>>>>
>>>>>
>>>>> I believe it has to do with MythWeather.  MythWeather launches a number
>>>>> of scripts at the startup of the frontend that query whatever weather
>>>>> site it queries.  As best I can tell when those scripts end the process
>>>>> that was spawned to run that script is not cleaned up (i.e. wait()ed
>>>>> for).
>>>>>
>>>>> Are all people reporting this running MythWeather?
>>>>>
>>>>> I'm not a Myth dev, but this doesn't seem like a big issue to me (I'm
>>>>> not
>>>>> advocating that it go unresolved).
>>>>
>>>> Yes I'm running Mythweather altough I didn't actually realise it.. must
>>>> have clicked something by accident :) I'll remove it and report back if
>>>> the
>>>> problem persists.
>>>>
>>>> I think zombie processes are always a big issue.
>>>
>>> Another "me too", with no MythWeather and no MythWelcome.
>>>
>>> Are people using LiveTV? I think I was able to create a zombie by
>>> entering
>>> Watch TV when tuner(s) were in use, or certain other tuner conditions,
>>> but I
>>> would have to check when I am home...
>>
>> My 3 zombie pids appear wihout me actually doing anything. It's
>> immediately after boot.
>
> You know, Paul wasn't lying when he told you it's a) a known issue and b)
> due to problems with the media monitor code, as discussed in
>  http://svn.mythtv.org/trac/ticket/7135 .
>
> We don't have a fix for it, yet.  If you're interested in fixing it, please
> read that ticket so you're not wasting time looking at MythWeather.  :)
>
> Mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Nov 18, 2009, 12:40 PM

Post #17 of 34 (2553 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

On 11/18/2009 03:33 PM, Johnny Walker wrote:
> On Wed, Nov 18, 2009 at 2:25 PM, Michael T. Dean wrote:
>
>> On 11/18/2009 03:18 PM, Johnny Walker wrote:
>>
>>> My 3 zombie pids appear wihout me actually doing anything. It's
>>> immediately after boot.
>>>
>> You know, Paul wasn't lying when he told you it's a) a known issue and b)
>> due to problems with the media monitor code, as discussed in
>> http://svn.mythtv.org/trac/ticket/7135 .
>>
>> We don't have a fix for it, yet. If you're interested in fixing it, please
>> read that ticket so you're not wasting time looking at MythWeather. :)
> I had discounted that answer since when i read the open ticket it
> appeared the patch didn't work for Bill Meek when he applied it 11
> days ago.
>
> I suppose I'll go apply the patch too...

Discount the patch, not the answer. :) We need someone who can
actually reproduce the issue to fix it.

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


mtdean at thirdcontact

Nov 18, 2009, 1:23 PM

Post #18 of 34 (2543 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

On 11/18/2009 03:40 PM, Michael T. Dean wrote:
> On 11/18/2009 03:33 PM, Johnny Walker wrote:
>> On Wed, Nov 18, 2009 at 2:25 PM, Michael T. Dean wrote:
>>> On 11/18/2009 03:18 PM, Johnny Walker wrote:
>>>> My 3 zombie pids appear wihout me actually doing anything. It's
>>>> immediately after boot.
>>> You know, Paul wasn't lying when he told you it's a) a known issue
>>> and b)
>>> due to problems with the media monitor code, as discussed in
>>> http://svn.mythtv.org/trac/ticket/7135 .
>>>
>>> We don't have a fix for it, yet. If you're interested in fixing it,
>>> please
>>> read that ticket so you're not wasting time looking at MythWeather. :)
>> I had discounted that answer since when i read the open ticket it
>> appeared the patch didn't work for Bill Meek when he applied it 11
>> days ago.
>>
>> I suppose I'll go apply the patch too...
> Discount the patch, not the answer. :) We need someone who can
> actually reproduce the issue to fix it.

Heh, though, now I think I know exactly what's happening (and why the
first patch I had Bill try didn't work). Would you care to apply this
completely untested patch and see what it does? (Only needs applied to
the frontend system.)

Testing would be so much easier if I could actually reproduce the issue. :)

Mike
Attachments: mythtv-7135-defunct_processes.patch (1.88 KB)


johnnyjboss at gmail

Nov 18, 2009, 1:28 PM

Post #19 of 34 (2544 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

I'm still in the middle of the 1st compile.

do you think I should kill it and try this instead?

On Wed, Nov 18, 2009 at 3:23 PM, Michael T. Dean
<mtdean [at] thirdcontact> wrote:
> On 11/18/2009 03:40 PM, Michael T. Dean wrote:
>>
>> On 11/18/2009 03:33 PM, Johnny Walker wrote:
>>>
>>> On Wed, Nov 18, 2009 at 2:25 PM, Michael T. Dean wrote:
>>>>
>>>> On 11/18/2009 03:18 PM, Johnny Walker wrote:
>>>>>
>>>>> My 3 zombie pids appear wihout me actually doing anything. It's
>>>>> immediately after boot.
>>>>
>>>> You know, Paul wasn't lying when he told you it's a) a known issue and
>>>> b)
>>>> due to problems with the media monitor code, as discussed in
>>>>  http://svn.mythtv.org/trac/ticket/7135 .
>>>>
>>>> We don't have a fix for it, yet.  If you're interested in fixing it,
>>>> please
>>>> read that ticket so you're not wasting time looking at MythWeather.  :)
>>>
>>> I had discounted that answer since when i read the open ticket it
>>> appeared the patch didn't work for Bill Meek when he applied it 11
>>> days ago.
>>>
>>> I suppose I'll go apply the patch too...
>>
>> Discount the patch, not the answer.  :)  We need someone who can actually
>> reproduce the issue to fix it.
>
> Heh, though, now I think I know exactly what's happening (and why the first
> patch I had Bill try didn't work).  Would you care to apply this completely
> untested patch and see what it does?  (Only needs applied to the frontend
> system.)
>
> Testing would be so much easier if I could actually reproduce the issue.  :)
>
> Mike
>
> Index: mythtv/libs/libmyth/mediamonitor-unix.cpp
> ===================================================================
> --- mythtv.orig/libs/libmyth/mediamonitor-unix.cpp      2009-09-19
> 13:56:48.000000000 -0400
> +++ mythtv/libs/libmyth/mediamonitor-unix.cpp   2009-11-18
> 16:01:06.000000000 -0500
> @@ -219,35 +219,34 @@
>     ret.replace(QRegExp(".*/"), "/dev/");
>
>  #ifdef linux
> -    QProcess    *udevinfo = new QProcess();
> -    QTextStream  stream(udevinfo);
> +    QProcess    udevinfo;
> +    QTextStream  stream(&udevinfo);
>     QStringList  args;
>
>     args << "-q";
>     args << "name";
>     args << "-rp";
>     args << sysfs;
> -    udevinfo->start("udevinfo", args);
> +    udevinfo.start("udevinfo", args);
>
> -    if (!udevinfo->waitForStarted(2000 /*ms*/))
> +    if (!udevinfo.waitForStarted(2000 /*ms*/))
>     {
>         VERBOSE(VB_MEDIA, msg + ", Error - udevinfo failed to start!");
> -        udevinfo->deleteLater();
>         return ret;
>     }
>
> -    if (!udevinfo->waitForFinished(2000 /*ms*/))
> +    if (!udevinfo.waitForFinished(2000 /*ms*/))
>     {
>         VERBOSE(VB_MEDIA,
>                 msg + ", Error - udevinfo failed to end! Terminating");
> -        udevinfo->kill();
> -        udevinfo->deleteLater();
> +        udevinfo.kill();
> +        udevinfo.waitForFinished(2000 /*ms*/);
>         return ret;
>     }
>
>     if ((print_verbose_messages & (VB_MEDIA|VB_EXTRA)) ==
> (VB_MEDIA|VB_EXTRA))
>     {
> -        udevinfo->setReadChannel(QProcess::StandardError);
> +        udevinfo.setReadChannel(QProcess::StandardError);
>
>         while (!stream.atEnd())
>         {
> @@ -256,13 +255,12 @@
>         }
>     }
>
> -    udevinfo->setReadChannel(QProcess::StandardOutput);
> +    udevinfo.setReadChannel(QProcess::StandardOutput);
>
>     ret = stream.readLine();
>     if (ret.startsWith("device not found in database"))
>         return ret;
>
> -    udevinfo->deleteLater();
>  #endif // linux
>
>     VERBOSE(VB_MEDIA, msg + "->'" + ret + "'");
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Nov 18, 2009, 1:37 PM

Post #20 of 34 (2546 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

On 11/18/2009 04:28 PM, Johnny Walker wrote:
> On Wed, Nov 18, 2009 at 3:23 PM, Michael T. Dean wrote:
>
>> On 11/18/2009 03:40 PM, Michael T. Dean wrote:
>>
>>> On 11/18/2009 03:33 PM, Johnny Walker wrote:
>>>
>>>> I had discounted that answer since when i read the open ticket it
>>>> appeared the patch didn't work for Bill Meek when he applied it 11
>>>> days ago.
>>>>
>>>> I suppose I'll go apply the patch too...
>>>>
>>> Discount the patch, not the answer. :) We need someone who can actually
>>> reproduce the issue to fix it.
>>>
>> Heh, though, now I think I know exactly what's happening (and why the first
>> patch I had Bill try didn't work). Would you care to apply this completely
>> untested patch and see what it does? (Only needs applied to the frontend
>> system.)
>>
>> Testing would be so much easier if I could actually reproduce the issue. :)
>>
> I'm still in the middle of the 1st compile.
>
> do you think I should kill it and try this instead?

If you're using the patch I had posted to #7134, yeah, kill it. It
won't help (based on what I now think is happening).

If you're using Bill's udev.c, it should fix it, but it's really a fix
for #6137, not #7135. Fixing #6137 would obviate the need for the code
that causes #7135--meaning you won't see the issue if you use that approach.

However, testing the patch I attached to my last message would be very
useful since it's likely that a fix like that will be used for
0.22-fixes and the fix for #6137 will only go into trunk.

Thanks,
Mike
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


johnnyjboss at gmail

Nov 18, 2009, 1:42 PM

Post #21 of 34 (2540 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

I've stopped the compile, reverted the changes, applied the patch and
i'm starting the compile again.

On Wed, Nov 18, 2009 at 3:37 PM, Michael T. Dean
<mtdean [at] thirdcontact> wrote:
> On 11/18/2009 04:28 PM, Johnny Walker wrote:
>>
>> On Wed, Nov 18, 2009 at 3:23 PM, Michael T. Dean wrote:
>>
>>>
>>> On 11/18/2009 03:40 PM, Michael T. Dean wrote:
>>>
>>>>
>>>> On 11/18/2009 03:33 PM, Johnny Walker wrote:
>>>>
>>>>>
>>>>> I had discounted that answer since when i read the open ticket it
>>>>> appeared the patch didn't work for Bill Meek when he applied it 11
>>>>> days ago.
>>>>>
>>>>> I suppose I'll go apply the patch too...
>>>>>
>>>>
>>>> Discount the patch, not the answer.  :)  We need someone who can
>>>> actually
>>>> reproduce the issue to fix it.
>>>>
>>>
>>> Heh, though, now I think I know exactly what's happening (and why the
>>> first
>>> patch I had Bill try didn't work).  Would you care to apply this
>>> completely
>>> untested patch and see what it does?  (Only needs applied to the frontend
>>> system.)
>>>
>>> Testing would be so much easier if I could actually reproduce the issue.
>>>  :)
>>>
>>
>> I'm still in the middle of the 1st compile.
>>
>> do you think I should kill it and try this instead?
>
> If you're using the patch I had posted to #7134, yeah, kill it.  It won't
> help (based on what I now think is happening).
>
> If you're using Bill's udev.c, it should fix it, but it's really a fix for
> #6137, not #7135.  Fixing #6137 would obviate the need for the code that
> causes #7135--meaning you won't see the issue if you use that approach.
>
> However, testing the patch I attached to my last message would be very
> useful since it's likely that a fix like that will be used for 0.22-fixes
> and the fix for #6137 will only go into trunk.
>
> Thanks,
> Mike
> _______________________________________________
> mythtv-users mailing list
> mythtv-users [at] mythtv
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


johnnyjboss at gmail

Nov 18, 2009, 7:17 PM

Post #22 of 34 (2517 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

Ok - took me a minute to get it installed and working.

The bad news is that the patched compiled version of myth seems worse.
Where as before I had only 2 or 3 defunct processes now I'm seeing 4.

4391 tty1 Sl 0:21 \_ /usr/local/bin/mythfrontend
4435 tty1 Z 0:00 \_ [mythfrontend] <defunct>
4437 tty1 Z 0:00 \_ [mythfrontend] <defunct>
4439 tty1 Z 0:00 \_ [mythfrontend] <defunct>
4440 tty1 Z 0:00 \_ [mythfrontend] <defunct>

Any other patches you'd like me to try out now that I've got the hang of this?

On Wed, Nov 18, 2009 at 3:42 PM, Johnny Walker <johnnyjboss [at] gmail> wrote:
> I've stopped the compile, reverted the changes, applied the patch and
> i'm starting the compile again.
>
> On Wed, Nov 18, 2009 at 3:37 PM, Michael T. Dean
> <mtdean [at] thirdcontact> wrote:
>> On 11/18/2009 04:28 PM, Johnny Walker wrote:
>>>
>>> On Wed, Nov 18, 2009 at 3:23 PM, Michael T. Dean wrote:
>>>
>>>>
>>>> On 11/18/2009 03:40 PM, Michael T. Dean wrote:
>>>>
>>>>>
>>>>> On 11/18/2009 03:33 PM, Johnny Walker wrote:
>>>>>
>>>>>>
>>>>>> I had discounted that answer since when i read the open ticket it
>>>>>> appeared the patch didn't work for Bill Meek when he applied it 11
>>>>>> days ago.
>>>>>>
>>>>>> I suppose I'll go apply the patch too...
>>>>>>
>>>>>
>>>>> Discount the patch, not the answer.  :)  We need someone who can
>>>>> actually
>>>>> reproduce the issue to fix it.
>>>>>
>>>>
>>>> Heh, though, now I think I know exactly what's happening (and why the
>>>> first
>>>> patch I had Bill try didn't work).  Would you care to apply this
>>>> completely
>>>> untested patch and see what it does?  (Only needs applied to the frontend
>>>> system.)
>>>>
>>>> Testing would be so much easier if I could actually reproduce the issue.
>>>>  :)
>>>>
>>>
>>> I'm still in the middle of the 1st compile.
>>>
>>> do you think I should kill it and try this instead?
>>
>> If you're using the patch I had posted to #7134, yeah, kill it.  It won't
>> help (based on what I now think is happening).
>>
>> If you're using Bill's udev.c, it should fix it, but it's really a fix for
>> #6137, not #7135.  Fixing #6137 would obviate the need for the code that
>> causes #7135--meaning you won't see the issue if you use that approach.
>>
>> However, testing the patch I attached to my last message would be very
>> useful since it's likely that a fix like that will be used for 0.22-fixes
>> and the fix for #6137 will only go into trunk.
>>
>> Thanks,
>> Mike
>> _______________________________________________
>> mythtv-users mailing list
>> mythtv-users [at] mythtv
>> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>>
>
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


mtdean at thirdcontact

Nov 18, 2009, 10:11 PM

Post #23 of 34 (2509 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

<fixed top posting>

On 11/18/2009 10:17 PM, Johnny Walker wrote:
> On Wed, Nov 18, 2009 at 3:42 PM, Johnny Walker wrote:
>
>> On Wed, Nov 18, 2009 at 3:37 PM, Michael T. Dean wrote:
>>
>>> If you're using the patch I had posted to #7134, yeah, kill it. It won't
>>> help (based on what I now think is happening).
>>>
>>> If you're using Bill's udev.c, it should fix it, but it's really a fix for
>>> #6137, not #7135. Fixing #6137 would obviate the need for the code that
>>> causes #7135--meaning you won't see the issue if you use that approach.
>>>
>>> However, testing the patch I attached to my last message would be very
>>> useful since it's likely that a fix like that will be used for 0.22-fixes
>>> and the fix for #6137 will only go into trunk.
>> I've stopped the compile, reverted the changes, applied the patch and
>> i'm starting the compile again.
> Ok - took me a minute to get it installed and working.
>
> The bad news is that the patched compiled version of myth seems worse.
> Where as before I had only 2 or 3 defunct processes now I'm seeing 4.
>
> 4391 tty1 Sl 0:21 \_ /usr/local/bin/mythfrontend
> 4435 tty1 Z 0:00 \_ [mythfrontend] <defunct>
> 4437 tty1 Z 0:00 \_ [mythfrontend] <defunct>
> 4439 tty1 Z 0:00 \_ [mythfrontend] <defunct>
> 4440 tty1 Z 0:00 \_ [mythfrontend] <defunct>
>
> Any other patches you'd like me to try out now that I've got the hang of this?

First, thanks a lot for testing these patches, Johnny and Bill. I still
can't even artificially reproduce the issue on my system (lack of media
devices, still have udevinfo, can't figure out how to cause it to fail
the way it does for you all).

Anyway, I wasn't too surprised to see that the patch didn't help (as I
took a quick "hope it works itself out" solution instead of a
well-designed solution). Then, I was making the follow-up patch and
stumbled across http://svn.mythtv.org/trac/ticket/7135#comment:19 which
really confused me.

Anyway, the attached patch,
mythtv-7135-close_qprocess_before_return.patch , is probably cleaner,
anyway, but probably needs some TLC from someone willing to experiment.

Basically, I /think/ the problem is that the QTextStream on the stack
that's reading from the QProcess on the heap is deleting the QProcess
before the QProcess is ready to be deleted. I was hoping that the
patch--which basically just moved the QProcess to the stack with the
QTextStream (the patch that seems to have worked for Bill, but not for
Johnny)--would help, but it may still be leaving the timing up to chance.

Attached is a different patch which actually calls the new-in-Qt4
QProcess::close() function to close the process before we return. The
close() function actually calls kill() and waitForFinished(-1), so it
should cleanly close the QProcess. The downside is that with
waitForFinished(-1), the wait will never time out, but the upside is the
kill() /should/ ensure that it dies very soon...

There is still an issue with the patch. The code block:

if (ret.startsWith("device not found in database"))
return ret;

on line 262 seems to be a) leaking a QProcess and b) (like the other
code was,) not close()'ing the QProcess and c) other than causing
leaks/problems and suppressing a log message, not really doing anything
different than it would do were we to remove the code. The first patch
fixes b), and I added a second patch,
mythtv-7135-remove_dev_not_found_check.patch , that just removes the
check above. Apply mythtv-7135-remove_dev_not_found_check.patch on top
of the other patch (i.e. don't revert
mythtv-7135-close_qprocess_before_return.patch before applying
mythtv-7135-remove_dev_not_found_check.patch ).

If mythtv-7135-close_qprocess_before_return.patch doesn't work, we'll
probably have to take the opposite approach that my last post to the
list took. Instead of moving the QProcess to the stack with the
QTextStream, we'd need to move the QTextStream to the heap with the
QProcess. Then, we'd need to ensure we close() the QProcess before
calling deleteLater() on it. Then we'd need to call deleteLater() on
the QTextStream. That should ensure everything is cleaned up in the
proper order.

Since that's ugly, though, I'm hoping we can do it with this approach
(and/or a combination of this approach and the one that moves the
QProcess to the stack--as it's probably cleaner than using the
deleteLater() stuff). I'd appreciate your testing
mythtv-7135-close_qprocess_before_return.patch applied to a clean
mediamonitor-unix.cpp (with none of my previous patches applied) and
letting me know what happens. And, if you're feeling really motivated,
testing mythtv-7135-remove_dev_not_found_check.patch separately would be
extra nice.

Oh, and these patches are completely untested--not even compile
tested--as my dev system is unavailable because it's occupied on another
project for a bit.

Thanks a lot for the testing.

Mike
Attachments: mythtv-7135-close_qprocess_before_return.patch (0.87 KB)
  mythtv-7135-remove_dev_not_found_check.patch (0.43 KB)


johnnyjboss at gmail

Nov 19, 2009, 8:38 AM

Post #24 of 34 (2465 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

I understood that 1st you wanted me to apply the
"mythtv-7135-remove_dev_not_found_check.patch" to the
mediamonitor-unix.cpp as I have it now without reverting the
"mythtv-7135-defunct_processes.patch".

But the patch wouldn't patch using patch - so I went to do it manually
and the stanza in my version of this file is as follows:


258 udevinfo.setReadChannel(QProcess::StandardOutput);
259
260 ret = stream.readLine();
261 if (ret.startsWith("device not found in database"))
262 return ret;
263
264 #endif // linux
265
266 VERBOSE(VB_MEDIA, msg + "->'" + ret + "'");
267 return ret;
268 }

This seems to be missing the following:

udevinfo->close();
udevinfo->deleteLater();

Please advise.

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


johnnyjboss at gmail

Nov 19, 2009, 10:46 AM

Post #25 of 34 (2460 views)
Permalink
Re: defunct mythfrontend children processes [In reply to]

ok - I went ahead and reverted to what's in svn - and then manually
applied the following two patches

mythtv-7135-close_qprocess_before_return.patch
mythtv-7135-remove_dev_not_found_check.patch

compiled and installed - no luck :

1521 ? Ssl 0:00 /usr/local/bin/mythfrontend
1612 ? Z 0:00 \_ [mythfrontend] <defunct>
1615 ? Z 0:00 \_ [mythfrontend] <defunct>
1617 ? Z 0:00 \_ [mythfrontend] <defunct>

I'll revert and test just the mythtv-7135-remove_dev_not_found_check.patch now.

-johnny


On Thu, Nov 19, 2009 at 10:38 AM, Johnny Walker <johnnyjboss [at] gmail> wrote:
> I understood that 1st you wanted me to apply the
> "mythtv-7135-remove_dev_not_found_check.patch" to the
> mediamonitor-unix.cpp as I have it now without reverting the
> "mythtv-7135-defunct_processes.patch".
>
> But the patch wouldn't patch using patch - so I went to do it manually
> and the stanza in my version of this file is as follows:
>
>
> 258     udevinfo.setReadChannel(QProcess::StandardOutput);
> 259
> 260     ret = stream.readLine();
> 261     if (ret.startsWith("device not found in database"))
> 262         return ret;
> 263
> 264 #endif // linux
> 265
> 266     VERBOSE(VB_MEDIA, msg + "->'" + ret + "'");
> 267     return ret;
> 268 }
>
> This seems to be missing the following:
>
>     udevinfo->close();
>     udevinfo->deleteLater();
>
> Please advise.
>
> -Johnny
>
_______________________________________________
mythtv-users mailing list
mythtv-users [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users

First page Previous page 1 2 Next page Last page  View All MythTV users 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.