[mythtv-users] mythtv freezes during the buffer change (0.19)

Morten Rønseth morten.ronseth at webfx.no
Tue Feb 14 10:19:39 UTC 2006


Hi,

Pshem Kowalczyk wrote:
> Hi,
>
> I've noticed a weird problem with new version of mythtv. Basically -
> it freezes on the hour and half past the hour. This happens possibly
> due to ring buffer change. If I press pause twice it resumes when it
> finished, but it's a bit annoying.

I have a problem with switching recording files - at least that's what I 
think it is.
Whenever I watch live tv and a new show starts, front end hangs. I have 
to escape out and press "watch live tv" in order to get it working again.
If I don't, frontend usually segfaults
It's been like this for quite a while, at least a month or so (vague, I 
know, sorry).


Here's the frontend log:

    2006-02-13 21:28:51.056 Using runtime prefix = /usr/local
    2006-02-13 21:28:51.084 New DB connection, total: 1
    2006-02-13 21:28:51.092 Connected to database 'mythconverg' at host:
    localhost
    2006-02-13 21:28:51.094 Total desktop dim: 1280x720, with 1 screen[s].
    2006-02-13 21:28:51.098 Using screen 0, 1280x720 at 0,0
    2006-02-13 21:28:51.104 Current Schema Version: 1123
    2006-02-13 21:28:51.105 mythfrontend version: 0.19.20060121-2
    www.mythtv.org
    2006-02-13 21:28:51.105 Enabled verbose msgs:  important general
    2006-02-13 21:28:51.279 lang0: eng
    2006-02-13 21:28:51.279 lang: eng
    2006-02-13 21:28:51.285 lang1: eng
    2006-02-13 21:28:51.285 lang: eng
    2006-02-13 21:28:51.359 Total desktop dim: 1280x720, with 1 screen[s].
    2006-02-13 21:28:51.362 Using screen 0, 1280x720 at 0,0
    2006-02-13 21:28:51.364 Switching to square mode (G.A.N.T.)
    2006-02-13 21:28:51.752 New DB connection, total: 2
    2006-02-13 21:28:51.753 Connected to database 'mythconverg' at host:
    localhost
    2006-02-13 21:28:51.754 Joystick disabled.
    2006-02-13 21:28:51.819 Registering Internal as a media playback plugin.
    2006-02-13 21:28:51.852 Registering MythDVD DVD Media Handler as a
    media handler
    2006-02-13 21:28:51.864 MythPlugin::Init() dlerror:
    /usr/local/lib/mythtv/plugins/libmythgame.so: undefined symbol:
    _ZTv0_n56_N18ConfigurationGroup6byNameE7QString
    2006-02-13 21:28:51.865 Unable to initialize plugin 'mythgame'.
    SIP listening on IP Address 192.168.0.100:5060 NAT address 192.168.0.100
    SIP: Cannot register; proxy, username or password not set
    2006-02-13 21:28:52.707 Mediamonitor: Adding /dev/hdc
    2006-02-13 21:28:52.712 Starting media monitor.
    2006-02-13 21:28:54.835 Media status changed...  New status is:
    MEDIASTAT_OPEN old status was MEDIASTAT_NOTMOUNTED
    2006-02-13 21:28:59.138 Connecting to backend server: 127.0.0.1:6543
    (try 1 of 5)
    2006-02-13 21:28:59.145 Using protocol version 26
    2006-02-13 21:28:59.177 TV: Attempting to change from None to
    WatchingLiveTV
    2006-02-13 21:28:59.182 Using protocol version 26
    2006-02-13 21:28:59.485
    RingBuf(/var/video/mythtv/5_20060213212859.mpg): Invalid file (fd
    25) when opening '/var/video/mythtv/5_20060213212859.mpg'. 12
    retries remaining.
    2006-02-13 21:28:59.987
    RingBuf(/var/video/mythtv/5_20060213212859.mpg): Invalid file (fd
    25) when opening '/var/video/mythtv/5_20060213212859.mpg'. 11
    retries remaining.
    2006-02-13 21:29:00.489
    RingBuf(/var/video/mythtv/5_20060213212859.mpg): Invalid file (fd
    25) when opening '/var/video/mythtv/5_20060213212859.mpg'. 10
    retries remaining.
    0: start_time: 0.036 duration: 0.166
    1: start_time: 1.853 duration: 0.180
    2: start_time: 0.025 duration: 0.156
    stream: start_time: 0.276 duration: 22.308 bitrate=698 kb/s
    2006-02-13 21:29:02.781 AFD: Opened codec 0x8264a50, id(MPEG2VIDEO)
    type(Video)
    2006-02-13 21:29:02.809 AFD: Opened codec 0x829da20, id(MP2) type(Audio)
    2006-02-13 21:29:02.858 Opening audio device '/dev/adsp'.
    2006-02-13 21:29:02.858 Opening OSS audio device '/dev/adsp'.
    2006-02-13 21:29:03.572 TV: Changing from None to WatchingLiveTV
    2006-02-13 21:29:03.574 New DB connection, total: 3
    2006-02-13 21:29:03.606 Connected to database 'mythconverg' at host:
    localhost
    2006-02-13 21:29:03.608 The realtime priority setting is not enabled.
    2006-02-13 21:29:03.707 Video timing method: RTC
    2006-02-13 21:29:09.566 rebuffering (9993 32768)
    2006-02-13 21:29:10.436 rebuffering (30621 32768)
    2006-02-13 21:29:11.010 rebuffering (17081 32768)
    2006-02-13 21:29:11.589 rebuffering (3865 32768)
    2006-02-13 21:29:12.417 rebuffering (29985 32768)
    2006-02-13 21:29:13.512 rebuffering (7869 32768)
    2006-02-13 21:29:17.447 rebuffering (32565 32768)
    2006-02-13 21:29:18.715 rebuffering (16521 32768)
    2006-02-13 21:29:21.192 rebuffering (15005 32768)
    2006-02-13 21:29:21.627 rebuffering (26645 32768)
    2006-02-13 21:29:23.479 rebuffering (30653 32768)
    2006-02-13 21:29:25.435 rebuffering (21837 32768)
    2006-02-13 21:29:26.010 rebuffering (2845 32768)
    2006-02-13 21:29:26.453 rebuffering (29101 32768)
    2006-02-13 21:29:28.240 rebuffering (14633 32768)
    2006-02-13 21:29:31.927 rebuffering (29337 32768)
    2006-02-13 21:29:32.888 rebuffering (10169 32768)
    2006-02-13 21:29:35.212 rebuffering (7713 32768)
    2006-02-13 21:29:35.522 rebuffering (32245 32768)
    2006-02-13 21:29:37.380 rebuffering (26965 32768)
    2006-02-13 21:29:38.153 rebuffering (32445 32768)
    2006-02-13 21:29:40.569 rebuffering (28821 32768)
    2006-02-13 21:29:44.022 rebuffering (18301 32768)
    2006-02-13 21:29:44.716 rebuffering (11509 32768)
    2006-02-13 21:29:45.495 rebuffering (18581 32768)
    2006-02-13 21:29:48.715 rebuffering (13041 32768)
    2006-02-13 21:29:49.599 rebuffering (24313 32768)
    2006-02-13 21:29:50.181 rebuffering (14029 32768)
    2006-02-13 21:29:50.761 rebuffering (24417 32768)
    2006-02-13 21:29:51.840 rebuffering (28057 32768)
    2006-02-13 21:29:53.370 rebuffering (12509 32768)
    2006-02-13 21:29:56.702 rebuffering (26301 32768)
    2006-02-13 21:29:58.575 rebuffering (30221 32768)
    2006-02-13 21:30:01.273
    RingBuf(/var/video/mythtv/1_20060213212909.mpg): Timing out wait due
    to impending livetv switch.
    2006-02-13 21:30:01.568 NVP: prebuffering pause
    2006-02-13 21:30:03.188 NVP: Prebuffer wait timed out 10 times.
    2006-02-13 21:30:04.809 NVP: Prebuffer wait timed out 10 times.
    2006-02-13 21:30:05.146 TV: Attempting to change from WatchingLiveTV
    to None
    2006-02-13 21:30:05.382 TV: Changing from WatchingLiveTV to None
    2006-02-13 21:30:06.402 TV: Attempting to change from None to
    WatchingLiveTV
    2006-02-13 21:30:06.408 Using protocol version 26
    2006-02-13 21:30:06.655
    RingBuf(/var/video/mythtv/1_20060213213006.mpg): Invalid file (fd
    25) when opening '/var/video/mythtv/1_20060213213006.mpg'. 12
    retries remaining.
    2006-02-13 21:30:07.156
    RingBuf(/var/video/mythtv/1_20060213213006.mpg): Invalid file (fd
    25) when opening '/var/video/mythtv/1_20060213213006.mpg'. 11
    retries remaining.
    2006-02-13 21:30:07.658
    RingBuf(/var/video/mythtv/1_20060213213006.mpg): Invalid file (fd
    26) when opening '/var/video/mythtv/1_20060213213006.mpg'. 10
    retries remaining.
    0: start_time: 0.036 duration: 0.184
    1: start_time: 7.887 duration: 0.187
    2: start_time: 0.025 duration: 0.164
    stream: start_time: 0.276 duration: 89.432 bitrate=181 kb/s
    2006-02-13 21:30:09.994 AFD: Opened codec 0x885a8c0, id(MPEG2VIDEO)
    type(Video)
    2006-02-13 21:30:09.994 AFD: Opened codec 0x860cc10, id(MP2) type(Audio)
    2006-02-13 21:30:09.994 Opening audio device '/dev/adsp'.
    2006-02-13 21:30:09.994 Opening OSS audio device '/dev/adsp'.
    2006-02-13 21:30:10.693 TV: Changing from None to WatchingLiveTV
    2006-02-13 21:30:10.695 The realtime priority setting is not enabled.
    2006-02-13 21:30:10.799 Video timing method: RTC
    2006-02-13 22:30:27.864 TV: Attempting to change from WatchingLiveTV
    to None
    2006-02-13 22:30:28.277 TV: Changing from WatchingLiveTV to None

And, here's the backend:

    2006-02-13 21:28:46.281 Using runtime prefix = /usr/local
    2006-02-13 21:28:46.369 New DB connection, total: 1
    2006-02-13 21:28:46.379 Connected to database 'mythconverg' at host:
    localhost
    2006-02-13 21:28:46.385 Current Schema Version: 1123
    Starting up as the master server.
    2006-02-13 21:28:46.466 New DB connection, total: 2
    2006-02-13 21:28:46.471 Connected to database 'mythconverg' at host:
    localhost
    2006-02-13 21:28:46.490 mythbackend: MythBackend started as master
    server
    2006-02-13 21:28:46.534 New DB connection, total: 3
    2006-02-13 21:28:46.536 Connected to database 'mythconverg' at host:
    localhost
    2006-02-13 21:28:47.019 New DB scheduler connection
    2006-02-13 21:28:47.021 Connected to database 'mythconverg' at host:
    localhost
    2006-02-13 21:28:47.029 mythbackend version: 0.19.20060121-2
    www.mythtv.org
    2006-02-13 21:28:47.058 Enabled verbose msgs:  important general
    2006-02-13 21:28:47.060 AutoExpire: Found 3 recorders w/max rate of
    216 MiB/min
    2006-02-13 21:28:47.062 AutoExpire: Required Free Space: 2.7 GB
    w/freq: 5 min
    2006-02-13 21:28:49.053 Reschedule requested for id -1.
    2006-02-13 21:28:49.300 Scheduled 0 items in 0.2 = 0.24 match + 0.01
    place
    2006-02-13 21:28:49.305 scheduler: Scheduled items
    2006-02-13 21:28:49.312 Seem to be woken up by USER
    2006-02-13 21:28:56.495 Running HouseKeeping
    2006-02-13 21:28:56.500 mythbackend: Running housekeeping thread
    2006-02-13 21:28:59.150 MainServer::HandleAnnounce Monitor
    2006-02-13 21:28:59.152 adding: localhost as a client (events: 0)
    2006-02-13 21:28:59.187 MainServer::HandleAnnounce Playback
    2006-02-13 21:28:59.197 adding: localhost as a client (events: 0)
    2006-02-13 21:28:59.199 MainServer::HandleAnnounce Monitor
    2006-02-13 21:28:59.200 adding: localhost as a client (events: 1)
    2006-02-13 21:28:59.207 TVRec(3): Changing from None to WatchingLiveTV
    2006-02-13 21:29:09.198 Finished recording Sporten: channel 5
    2006-02-13 21:29:09.205 scheduler: Finished recording
    2006-02-13 21:29:09.273 Finished recording Sporten: channel 5
    [mpeg @ 0xb774e660]Parser not found for Codec Id: 94210 !
    2006-02-13 21:29:09.354 TVRec(3): RingBufferChanged()
    2006-02-13 21:29:09.362 Finished recording Sporten: channel 5
    0: start_time: 0.036 duration: 0.720
    1: start_time: 1.853 duration: 0.734
    2: start_time: 0.025 duration: 0.700
    stream: start_time: 0.276 duration: 28.468 bitrate=2086 kb/s
    2006-02-13 21:29:09.454 AFD: Opened codec 0x8159d50, id(MPEG2VIDEO)
    type(Video)
    2006-02-13 21:29:09.502 AFD: Opened codec 0x8159190, id(MP2) type(Audio)
    2006-02-13 21:30:00.352 Finished recording Dagsrevyen 21: channel 1
    [mpeg @ 0xb774e660]2006-02-13 21:30:00.503 TVRec(3): Enabling Full
    LiveTV UI.
    Parser not found for Codec Id: 94210 !
    0: start_time: 0.788 duration: 4.597
    1: start_time: 0.755 duration: 4.612
    2: start_time: 2.619 duration: 4.607
    stream: start_time: 8.388 duration: 71.904 bitrate=4876 kb/s
    2006-02-13 21:30:00.539 AFD: Opened codec 0x8160b50, id(MPEG2VIDEO)
    type(Video)
    2006-02-13 21:30:00.541 AFD: Opened codec 0x8160e90, id(MP2) type(Audio)
    2006-02-13 21:30:00.627 TVRec(3): RingBufferChanged()
    2006-02-13 21:30:00.649 Finished recording Dagsrevyen 21: channel 1
    2006-02-13 21:30:05.186 TVRec(3): Changing from WatchingLiveTV to None
    2006-02-13 21:30:05.336 Finished recording Kr?niken: channel 1
    2006-02-13 21:30:06.413 MainServer::HandleAnnounce Playback
    2006-02-13 21:30:06.415 adding: localhost as a client (events: 0)
    2006-02-13 21:30:06.423 TVRec(3): Changing from None to WatchingLiveTV
    2006-02-13 21:30:07.113 autoexpire: Expiring Program
    2006-02-13 21:33:56.515 Running HouseKeeping
    2006-02-13 21:38:56.527 Running HouseKeeping
    2006-02-13 21:43:56.570 Running HouseKeeping
    2006-02-13 21:48:56.617 Running HouseKeeping
    2006-02-13 21:53:56.691 Running HouseKeeping
    2006-02-13 21:58:56.748 Running HouseKeeping
    2006-02-13 22:03:56.766 Running HouseKeeping
    2006-02-13 22:08:56.795 Running HouseKeeping
    2006-02-13 22:13:56.804 Running HouseKeeping
    2006-02-13 22:18:56.834 Running HouseKeeping
    2006-02-13 22:23:56.876 Running HouseKeeping
    2006-02-13 22:28:56.909 Running HouseKeeping
    2006-02-13 22:30:01.414 Finished recording Kr?niken: channel 1
    2006-02-13 22:30:01.581 TVRec(3): Enabling Full LiveTV UI.
    [mpeg @ 0xb774e660]2006-02-13 22:30:01.827 TVRec(3): RingBufferChanged()
    2006-02-13 22:30:01.861 Finished recording Kr?niken: channel 1



I have a PVr-150 & a PVR-500. Usually watching TV on tuner #2 on 500.

Cheers,



-Morten

-- 
-------------------------------------------------------------------
WEB-fx
Morten Lerskau Rønseth           http://www.webfx.no
Odinsvei 15c                     mailto:morten at webfx.no
1413 Tårnåsen                    Tlf.: (47) 6680 9191
Norway                           Mob : (47) 9343 4357

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20060214/c4980547/attachment.htm


More information about the mythtv-users mailing list