[mythtv-users] Mythbackend aborting while many mythbackend --generate-preview processes

Bob Cottingham bobnvic at gmail.com
Sat Nov 21 04:26:33 UTC 2009


My backend just aborted and my wife isn't happy because it didn't
record Medium.  There were 14 mythbackend --generate-preview 0x0
processes running.  I've had this problem of lots of
--generate-preview processes since upgrading to .22-fixes though I
usually see it as mythcomflag stops working.  Can anyone help me
figure out why I am having this issue?  Here is the mythbackend log:

2009-11-20 20:00:08.312 New DB connection, total: 1
2009-11-20 20:00:08.318 Connected to database 'mythconverg' at host:
192.168.1.101
2009-11-20 20:00:08.319 Closing DB connection named 'DBManager0'
2009-11-20 20:00:08.319 Connected to database 'mythconverg' at host:
192.168.1.101
2009-11-20 20:00:08.324 Current MythTV Schema Version (DBSchemaVer): 1244
2009-11-20 20:00:08.325 New DB connection, total: 2
2009-11-20 20:00:08.326 Connected to database 'mythconverg' at host:
192.168.1.101
2009-11-20 20:00:08.823 TVRec(1): Changing from None to Watching RecordingOnly
2009-11-20 20:00:08.826 TVRec(1): HW Tuner: 1->1
2009-11-20 20:00:09.028 AutoExpire: CalcParams(): Max required Free
Space: 22.0 GB w/freq: 8 min
2009-11-20 20:00:09.029 Started recording: Medium "The Future's So
Bright": channel 4813 on cardid 1, sourceid 4
2009-11-20 20:00:09.112 New DB connection, total: 1
2009-11-20 20:00:09.127 Connected to database 'mythconverg' at host:
192.168.1.101
2009-11-20 20:00:09.127 Closing DB connection named 'DBManager0'
2009-11-20 20:00:09.127 Deleting UPnP client...
2009-11-20 20:00:09.471 Connected to database 'mythconverg' at host:
192.168.1.101
2009-11-20 20:00:09.477 Current MythTV Schema Version (DBSchemaVer): 1244
2009-11-20 20:00:09.479 New DB connection, total: 2
2009-11-20 20:00:09.480 Connected to database 'mythconverg' at host:
192.168.1.101
2009-11-20 20:00:10.074 Reschedule requested for id 0.
2009-11-20 20:00:10.102 [mpeg2video @ 0xb7024dc0]ac-tex damaged at 36 1
2009-11-20 20:00:10.102 [mpeg2video @ 0xb7024dc0]Warning MVs not available
2009-11-20 20:00:10.878 AFD: Opened codec 0x93a23c0, id(MPEG2VIDEO) type(Video)
2009-11-20 20:00:10.878 AFD: codec AC3 has 6 channels
2009-11-20 20:00:10.879 AFD: Opened codec 0x93a1c60, id(AC3) type(Audio)
2009-11-20 20:00:12.131 AFD: Opened codec 0x93fe200, id(MPEG2VIDEO) type(Video)
2009-11-20 20:00:12.131 AFD: codec MP2 has 2 channels
2009-11-20 20:00:12.131 AFD: Opened codec 0x93ff600, id(MP2) type(Audio)
2009-11-20 20:00:14.880 TVRec(6): SetLiveRecording(1)
2009-11-20 20:00:14.881 AFD: Opened codec 0x91cbb50, id(MPEG2VIDEO) type(Video)
2009-11-20 20:00:14.881 AFD: codec MP2 has 2 channels
2009-11-20 20:00:14.881 AFD: Opened codec 0x91d9830, id(MP2) type(Audio)
2009-11-20 20:00:22.272 MainServer::ANN Playback
2009-11-20 20:00:22.272 adding: mythbox as a client (events: 0)
2009-11-20 20:00:27.109 [mpeg2video @ 0xb7024dc0]ac-tex damaged at 15 0
2009-11-20 20:00:27.109 [mpeg2video @ 0xb7024dc0]Warning MVs not available
2009-11-20 20:00:27.120 [mpeg2video @ 0xb7024dc0]Missing picture start code
repeated many many times
2009-11-20 20:00:27.302 [mpeg2video @ 0xb7024dc0]Missing picture start code
2009-11-20 20:00:27.337 Preview: Grabbed preview
'/var/mythtv/tv3/5314_20091120192900.mpg' 1280x720 at 124s
2009-11-20 20:00:27.348 [mpeg2video @ 0xb7024dc0]Missing picture start code
repeated many many times
2009-11-20 20:00:28.309 [mpeg2video @ 0xb7024dc0]Missing picture start code
2009-11-20 20:00:28.323 Preview: Grabbed preview
'/var/mythtv/tv/1030_20091120194422.mpg' 720x480 at 124s
2009-11-20 20:00:29.278 MainServer::ANN Playback
2009-11-20 20:00:29.278 adding: mythbox as a client (events: 0)
2009-11-20 20:00:33.637 TVRec(6): SetLiveRecording() -- record
2009-11-20 20:00:33.706 Preview: Grabbed preview
'/var/mythtv/tv/1025_20091120193000.mpg' 720x480 at 124s
2009-11-20 20:00:33.859 Scheduler: AddRecording() recid: 920
2009-11-20 20:00:33.902 TVRec(6): Changing from Watching
WatchingLiveTV to Watching RecordingOnly
2009-11-20 20:00:34.340 Reschedule interrupted, will retry
2009-11-20 20:00:34.340 Reschedule requested for id 920.
2009-11-20 20:00:35.096 MythSocket(99f5da8:10): readStringList:
Connection died (select).
2009-11-20 20:00:35.096 Event socket closed. No connection to the backend.
2009-11-20 20:00:35.114 Connection to backend server lost
2009-11-20 20:00:35.115 MythContext: Connecting to backend server:
192.168.1.101:6543 (try 1 of 1)
QWidget: Cannot create a QWidget when no GUI is being used
Aborted

Here is the result of ps --aux|grep myth
bob        341  0.0  0.0   1872   156 ?        SN   Nov19   0:00 sh -c
/usr/local/bin/mythbackend --generate-preview 0x0 --chanid 5312
--starttime 20091119220000
bob        342  0.0  0.0  95400  1592 ?        SNl  Nov19   0:00
/usr/local/bin/mythbackend --generate-preview 0x0 --chanid 5312
--starttime 20091119220000
bob       1155  0.0  0.0   1872   236 ?        SN   15:00   0:00 sh -c
/usr/local/bin/mythbackend --generate-preview 0x0 --chanid 5314
--starttime 20091120143000
bob       1232  0.0  0.9  95400 18600 ?        SNl  15:00   0:00
/usr/local/bin/mythbackend --generate-preview 0x0 --chanid 5314
--starttime 20091120143000
avahi     3711  0.0  0.0   3044   740 ?        Ss   Oct11   0:08
avahi-daemon: running [mythbox.local]
bob       4790 16.4  9.6 495160 193504 ?       Sl   07:36 128:12
/usr/local/bin/mythfrontend
bob       5028  0.0  0.0      0     0 ?        Z    07:36   0:00
[mythfrontend] <defunct>
bob       5894  0.0  0.0   1872   140 ?        SN   Nov17   0:00 sh -c
/usr/local/bin/mythbackend --generate-preview 0x0 --chanid 5312
--starttime 20091117202900
bob       5895  0.0  0.0  95400  1120 ?        SNl  Nov17   0:00
/usr/local/bin/mythbackend --generate-preview 0x0 --chanid 5312
--starttime 20091117202900
bob       5912  0.0  0.0   1872   140 ?        SN   Nov17   0:00 sh -c
/usr/local/bin/mythbackend --generate-preview 0x0 --chanid 5340
--starttime 20091117200100
bob       5913  0.0  0.0  95400  1120 ?        SNl  Nov17   0:00
/usr/local/bin/mythbackend --generate-preview 0x0 --chanid 5340
--starttime 20091117200100
bob       6407  0.0  0.0   1872   140 ?        SN   Nov17   0:00 sh -c
/usr/local/bin/mythbackend --generate-preview 0x0 --chanid 5312
--starttime 20091116193000
bob       6408  0.0  0.0  95400  1084 ?        SNl  Nov17   0:00
/usr/local/bin/mythbackend --generate-preview 0x0 --chanid 5312
--starttime 20091116193000
bob      18700  0.0  0.0   1872   140 ?        SN   Nov19   0:00 sh -c
/usr/local/bin/mythbackend --generate-preview 0x0 --chanid 4813
--starttime 20091119185900
bob      18701  0.0  0.0  95400  1308 ?        SNl  Nov19   0:00
/usr/local/bin/mythbackend --generate-preview 0x0 --chanid 4813
--starttime 20091119185900
bob      18766  0.0  0.0   1872   240 ?        S    19:30   0:00 sh -c
/usr/local/bin/mythcommflag -j 36536 -V 3
bob      18767  0.0  0.9  94556 19344 ?        Sl   19:30   0:00
/usr/local/bin/mythcommflag -j 36536 -V 3
bob      23588  0.0  0.0   3340   804 ?        R    20:38   0:00 grep myth
bob      25299  0.0  0.0   1872   140 ?        SN   Nov17   0:00 sh -c
/usr/local/bin/mythbackend --generate-preview 0x0 --chanid 1025
--starttime 20091117164500
bob      25300  0.0  0.0  95400  1120 ?        SNl  Nov17   0:00
/usr/local/bin/mythbackend --generate-preview 0x0 --chanid 1025
--starttime 20091117164500

I would greatly appreciate any help someone could give.  I compiled as
I always have and never had this problem with .21-fixes.

Thanks,
Bob C


More information about the mythtv-users mailing list