[mythtv-users] mythtvsetup leaves defunct processes

D. Hugh Redelmeier hugh at mimosa.com
Thu Jul 13 07:39:27 UTC 2006


I'm running mythtvsetup right now.  I just noticed that it has left a lot 
of defunct processes.  This is usually a sign that a wait(1) of some kind 
is missing.

It looks as if mythfilldatabase has the same bug.

Environment: Fedora Core 5 + updates + MythTV from ATRPMS stable repository.
Here's one of the package names: mythtv-0.19-129.rhfc5.at


Here is the output of "ps laxgwf":

0   501  4862  4861  15   0   4448  1464 wait   Ss   pts/6      0:00              \_ bash -i
0   501  4886  4862  16   0 137020 90468 wait   S+   pts/6      0:15                  \_ mythtvsetup
0   501  4934  4886  16   0      0     0 exit   Z+   pts/6      0:00                      \_ [sh] <defunct>
0   501  4942  4886  16   0      0     0 exit   Z+   pts/6      0:00                      \_ [sh] <defunct>
0   501  4946  4886  16   0      0     0 exit   Z+   pts/6      0:00                      \_ [sh] <defunct>
0   501  4950  4886  16   0      0     0 exit   Z+   pts/6      0:00                      \_ [sh] <defunct>
0   501  4956  4886  16   0      0     0 exit   Z+   pts/6      0:00                      \_ [sh] <defunct>
0   501  4964  4886  16   0      0     0 exit   Z+   pts/6      0:00                      \_ [sh] <defunct>
0   501  4981  4886  18   0  45388 16032 -      R+   pts/6      1:11                      \_ mythfilldatabase --refresh-today --dont-refresh-tomorrow
0   501  4985  4981  16   0      0     0 exit   Z+   pts/6      0:00                          \_ [sh] <defunct>
0   501  4991  4981  16   0      0     0 exit   Z+   pts/6      0:00                          \_ [sh] <defunct>
0   501  4995  4981  16   0      0     0 exit   Z+   pts/6      0:00                          \_ [sh] <defunct>
0   501  4998  4981  16   0      0     0 exit   Z+   pts/6      0:00                          \_ [sh] <defunct>
0   501  5002  4981  16   0      0     0 exit   Z+   pts/6      0:00                          \_ [sh] <defunct>
0   501  5006  4981  16   0      0     0 exit   Z+   pts/6      0:00                          \_ [sh] <defunct>
0   501  5010  4981  16   0      0     0 exit   Z+   pts/6      0:00                          \_ [sh] <defunct>
0   501  5014  4981  16   0      0     0 exit   Z+   pts/6      0:00                          \_ [sh] <defunct>
0   501  5018  4981  16   0      0     0 exit   Z+   pts/6      0:00                          \_ [sh] <defunct>
0   501  5021  4981  16   0      0     0 exit   Z+   pts/6      0:00                          \_ [sh] <defunct>
0   501  5025  4981  16   0      0     0 exit   Z+   pts/6      0:00                          \_ [sh] <defunct>
0   501  5029  4981  16   0      0     0 exit   Z+   pts/6      0:00                          \_ [sh] <defunct>
0   501  5033  4981  16   0      0     0 exit   Z+   pts/6      0:00                          \_ [sh] <defunct>
0   501  5037  4981  16   0      0     0 exit   Z+   pts/6      0:00                          \_ [sh] <defunct>

Asided:

Why did I notice this?  I got itchy wondering why hitting return on
  mythtvsetup:connect source to input:fetch channels from listing source
appeared to lock up the display.  So I went to another terminal and
poked around.  It would be good if there were some hint on screen that
I should expect a wait.


(A little later, the mythfilldatabase has completed and its defunct
processes were cleaned up.)


More information about the mythtv-users mailing list