[mythtv-commits] Ticket #9314: Selecting "Record and watch" in .24 causes MythTV to infinite loop

MythTV noreply at mythtv.org
Sun Dec 12 16:40:44 UTC 2010


#9314: Selecting "Record and watch" in .24 causes MythTV to infinite loop
----------------------------------------+----------------------------
 Reporter:  trevan_myth@…               |          Owner:
     Type:  Bug Report                  |         Status:  new
 Priority:  major                       |      Milestone:
Component:  MythTV - General            |        Version:  0.24-fixes
 Severity:  high                        |     Resolution:
 Keywords:                              |  Ticket locked:  0
----------------------------------------+----------------------------
Changes (by wagnerrp):

 * mlocked:   => 0


Old description:

> I was watching Live TV and a recording was upcoming.  The popup that asks
> what MythTV should do (continue to record and switch to that channel,
> stop the record, exit live TV) appeared and I selected to switch to the
> recording channel.  That caused my screen to black out and when I looked
> at the log file, I saw the line:
>
> {{{
> TV: Attempting to change from None to None
> }}}
>
> repeat 8 times a second.  I killed the mythfrontend process at that
> point.
>
> The resulting recording is also not playable.
>
> MythFrontend.log
> {{{
> 2010-12-02 21:59:46.640 TV: OSDDialogEvent: result 0 text Record and
> watch while it records action DIALOG_ASKALLOW_WATCH_0
> 2010-12-02 22:00:04.099
> RingBuf(/var/lib/mythtv/livetv/1005_20101202220000.nuv) Warning: Not
> starting read ahead thread, already running
> 2010-12-02 22:00:04.100 Player(2): DecoderGetFrame() called with NULL
> decoder.
> 2010-12-02 22:00:04.197 Player(2), Error: Couldn't find an A/V decoder
> for: '/var/lib/mythtv/livetv/1005_20101202220000.nuv'
> 2010-12-02 22:00:04.197 Player(2), Error: JumpToProgram failed.
> 2010-12-02 22:00:04.197 Player(2), Error: Unknown recorder error, exiting
> decoder
> 2010-12-02 22:00:04.361 TV: Attempting to change from WatchingLiveTV to
> None
> 2010-12-02 22:00:04.467 TV: Changing from WatchingLiveTV to None
> 2010-12-02 22:00:04.488 TV: Attempting to change from None to None
> 2010-12-02 22:00:04.660 TV: Attempting to change from None to None
> 2010-12-02 22:00:04.662 TV: Attempting to change from None to None
> 2010-12-02 22:00:04.910 TV: Attempting to change from None to None
> 2010-12-02 22:00:04.912 TV: Attempting to change from None to None
> 2010-12-02 22:00:05.160 TV: Attempting to change from None to None
> 2010-12-02 22:00:05.162 TV: Attempting to change from None to None
> 2010-12-02 22:00:05.410 TV: Attempting to change from None to None
> 2010-12-02 22:00:05.412 TV: Attempting to change from None to None
> 2010-12-02 22:00:05.660 TV: Attempting to change from None to None
> 2010-12-02 22:00:05.662 TV: Attempting to change from None to None
> 2010-12-02 22:00:05.910 TV: Attempting to change from None to None
> 2010-12-02 22:00:05.912 TV: Attempting to change from None to None
> 2010-12-02 22:00:06.160 TV: Attempting to change from None to None
> 2010-12-02 22:00:06.162 TV: Attempting to change from None to None
> 2010-12-02 22:00:06.410 TV: Attempting to change from None to None
> 2010-12-02 22:00:06.412 TV: Attempting to change from None to None
> 2010-12-02 22:00:06.660 TV: Attempting to change from None to None
> 2010-12-02 22:00:06.662 TV: Attempting to change from None to None
> 2010-12-02 22:00:06.910 TV: Attempting to change from None to None
> 2010-12-02 22:00:06.912 TV: Attempting to change from None to None
> 2010-12-02 22:00:07.160 TV: Attempting to change from None to None
> 2010-12-02 22:00:07.162 TV: Attempting to change from None to None
> 2010-12-02 22:00:07.410 TV: Attempting to change from None to None
> 2010-12-02 22:00:07.412 TV: Attempting to change from None to None
> 2010-12-02 22:00:07.660 TV: Attempting to change from None to None
> 2010-12-02 22:00:07.662 TV: Attempting to change from None to None
> 2010-12-02 22:00:07.910 TV: Attempting to change from None to None
> 2010-12-02 22:00:07.912 TV: Attempting to change from None to None
> 2010-12-02 22:00:08.161 TV: Attempting to change from None to None
> 2010-12-02 22:00:08.163 TV: Attempting to change from None to None
> 2010-12-02 22:00:08.411 TV: Attempting to change from None to None
> 2010-12-02 22:00:08.413 TV: Attempting to change from None to None
> 2010-12-02 22:00:08.661 TV: Attempting to change from None to None
> 2010-12-02 22:00:08.663 TV: Attempting to change from None to None
> 2010-12-02 22:00:08.911 TV: Attempting to change from None to None
> 2010-12-02 22:00:08.913 TV: Attempting to change from None to None
> 2010-12-02 22:00:09.161 TV: Attempting to change from None to None
> 2010-12-02 22:00:09.163 TV: Attempting to change from None to None
> 2010-12-02 22:00:09.411 TV: Attempting to change from None to None
> 2010-12-02 22:00:09.413 TV: Attempting to change from None to None
> 2010-12-02 22:00:09.661 TV: Attempting to change from None to None
> 2010-12-02 22:00:09.663 TV: Attempting to change from None to None
> 2010-12-02 22:00:09.911 TV: Attempting to change from None to None
> 2010-12-02 22:00:09.913 TV: Attempting to change from None to None
> 2010-12-02 22:00:10.161 TV: Attempting to change from None to None
> 2010-12-02 22:00:10.163 TV: Attempting to change from None to None
> 2010-12-02 22:00:10.411 TV: Attempting to change from None to None
> 2010-12-02 22:00:10.413 TV: Attempting to change from None to None
> 2010-12-02 22:00:10.661 TV: Attempting to change from None to None
> 2010-12-02 22:00:10.663 TV: Attempting to change from None to None
> 2010-12-02 22:00:10.911 TV: Attempting to change from None to None
> 2010-12-02 22:00:10.913 TV: Attempting to change from None to None
> 2010-12-02 22:00:11.161 TV: Attempting to change from None to None
> 2010-12-02 22:00:11.163 TV: Attempting to change from None to None
> 2010-12-02 22:00:11.411 TV: Attempting to change from None to None
> 2010-12-02 22:00:11.413 TV: Attempting to change from None to None
> 2010-12-02 22:00:11.661 TV: Attempting to change from None to None
> 2010-12-02 22:00:11.663 TV: Attempting to change from None to None
> 2010-12-02 22:00:11.911 TV: Attempting to change from None to None
> 2010-12-02 22:00:11.913 TV: Attempting to change from None to None
> 2010-12-02 22:00:12.161 TV: Attempting to change from None to None
> 2010-12-02 22:00:12.163 TV: Attempting to change from None to None
> 2010-12-02 22:00:12.411 TV: Attempting to change from None to None
> 2010-12-02 22:00:12.413 TV: Attempting to change from None to None
> 2010-12-02 22:00:12.661 TV: Attempting to change from None to None
> 2010-12-02 22:00:12.663 TV: Attempting to change from None to None
> 2010-12-02 22:00:12.911 TV: Attempting to change from None to None
> 2010-12-02 22:00:12.913 TV: Attempting to change from None to None
> 2010-12-02 22:00:13.161 TV: Attempting to change from None to None
> 2010-12-02 22:00:13.163 TV: Attempting to change from None to None
> 2010-12-02 22:00:13.411 TV: Attempting to change from None to None
> 2010-12-02 22:00:13.413 TV: Attempting to change from None to None
> 2010-12-02 22:00:13.661 TV: Attempting to change from None to None
> 2010-12-02 22:00:13.663 TV: Attempting to change from None to None
> 2010-12-02 22:00:13.911 TV: Attempting to change from None to None
> 2010-12-02 22:00:13.913 TV: Attempting to change from None to None
> 2010-12-02 22:00:14.161 TV: Attempting to change from None to None
> 2010-12-02 22:00:14.163 TV: Attempting to change from None to None
> 2010-12-02 22:00:14.411 TV: Attempting to change from None to None
> 2010-12-02 22:00:14.413 TV: Attempting to change from None to None
> 2010-12-02 22:00:14.661 TV: Attempting to change from None to None
> 2010-12-02 22:00:14.663 TV: Attempting to change from None to None
> 2010-12-02 22:00:14.912 TV: Attempting to change from None to None
> 2010-12-02 22:00:14.914 TV: Attempting to change from None to None
> 2010-12-02 22:00:15.162 TV: Attempting to change from None to None
> ...repeat until 2010-12-02 22:01:14.193...
> }}}
>
> mythbackend.log
> {{{
> 2010-12-02 21:59:30.018 TVRec(1): ASK_RECORDING 1 29 0 0
> 2010-12-02 21:59:46.640 Received: CANCEL_NEXT_RECORDING 0
> 2010-12-02 22:00:02.698 AutoExpire: CalcParams(): Max required Free
> Space: 2.0 GB w/freq: 15 min
> 2010-12-02 22:00:02.738 Started recording: "KSL 5 News at 10": channel
> 1005 on cardid 1, sourceid 1
> 2010-12-02 22:00:03.159 TVRec(1): HW Tuner: 1->1
> 2010-12-02 22:00:03.206 LoadFromScheduler(): Error, called from backend.
> 2010-12-02 22:00:03.208 AutoExpire: CalcParams(): Max required Free
> Space: 2.0 GB w/freq: 15 min
> 2010-12-02 22:00:03.303 Finished recording UFO Files "UFOs and the White
> House": channel 1008
> 2010-12-02 22:00:03.605 Finished recording KSL 5 News at 10: channel 1005
> 2010-12-02 22:00:03.646 MainServer::ANN Monitor
> 2010-12-02 22:00:03.659 AutoExpire: CalcParams(): Max required Free
> Space: 2.0 GB w/freq: 15 min
> 2010-12-02 22:00:03.669 Finished recording KSL 5 News at 10: channel 1005
> 2010-12-02 22:00:03.698 adding: mythbuntu1 as a client (events: 0)
> 2010-12-02 22:00:03.838 MainServer::ANN Monitor
> 2010-12-02 22:00:03.883 adding: mythbuntu1 as a client (events: 1)
> 2010-12-02 22:00:04.416 TVRec(1): Changing from WatchingLiveTV to
> RecordingOnly
> 2010-12-02 22:02:27.538 Expiring 0 MB for 1005 at 2010-12-02T22:00:03 =>
> "KSL 5 News at 10"
> }}}
>
> mythfrontend --version
> {{{
> Please attach all output as a file in bug reports.
> MythTV Version   : 27373
> MythTV Branch    : branches/release-0-24-fixes
> Network Protocol : 63
> Library API      : 0.24.20101124-1
> QT Version       : 4.7.0
> Options compiled in:
>  linux debug using_alsa using_jack using_oss using_pulse
> using_pulseoutput using_backend using_bindings_perl using_bindings_python
> using_dvb using_firewire using_frontend using_hdhomerun using_hdpvr
> using_iptv using_ivtv using_joystick_menu using_lirc using_mheg
> using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit
> using_v4l using_x11 using_xrandr using_xv using_bindings_perl
> using_bindings_python using_mythtranscode using_opengl using_vdpau
> using_ffmpeg_threads using_live using_mheg
> }}}
>
> mythbackend --version
> {{{
> Please attach all output as a file in bug reports.
> MythTV Version   : 27373
> MythTV Branch    : branches/release-0-24-fixes
> Network Protocol : 63
> Library API      : 0.24.20101124-1
> QT Version       : 4.7.0
> Options compiled in:
>  linux debug using_alsa using_jack using_oss using_pulse
> using_pulseoutput using_backend using_bindings_perl using_bindings_python
> using_dvb using_firewire using_frontend using_hdhomerun using_hdpvr
> using_iptv using_ivtv using_joystick_menu using_lirc using_mheg
> using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit
> using_v4l using_x11 using_xrandr using_xv using_bindings_perl
> using_bindings_python using_mythtranscode using_opengl using_vdpau
> using_ffmpeg_threads using_live using_mheg
> }}}
>
> This might be related to 9177 or 9034 since I also can't change channels
> in Live TV.  But if I'm not in Live TV and a recording happens, it works
> correctly.  This is a hd5500 card and I'm using the analog component of
> it.

New description:

 I was watching Live TV and a recording was upcoming.  The popup that asks
 what MythTV should do (continue to record and switch to that channel, stop
 the record, exit live TV) appeared and I selected to switch to the
 recording channel.  That caused my screen to black out and when I looked
 at the log file, I saw the line:

 {{{
 TV: Attempting to change from None to None
 }}}

 repeat 8 times a second.  I killed the mythfrontend process at that point.

 The resulting recording is also not playable.

 MythFrontend.log
 {{{
 2010-12-02 21:59:46.640 TV: OSDDialogEvent: result 0 text Record and watch
 while it records action DIALOG_ASKALLOW_WATCH_0
 2010-12-02 22:00:04.099
 RingBuf(/var/lib/mythtv/livetv/1005_20101202220000.nuv) Warning: Not
 starting read ahead thread, already running
 2010-12-02 22:00:04.100 Player(2): DecoderGetFrame() called with NULL
 decoder.
 2010-12-02 22:00:04.197 Player(2), Error: Couldn't find an A/V decoder
 for: '/var/lib/mythtv/livetv/1005_20101202220000.nuv'
 2010-12-02 22:00:04.197 Player(2), Error: JumpToProgram failed.
 2010-12-02 22:00:04.197 Player(2), Error: Unknown recorder error, exiting
 decoder
 2010-12-02 22:00:04.361 TV: Attempting to change from WatchingLiveTV to
 None
 2010-12-02 22:00:04.467 TV: Changing from WatchingLiveTV to None
 2010-12-02 22:00:04.488 TV: Attempting to change from None to None
 2010-12-02 22:00:04.660 TV: Attempting to change from None to None
 2010-12-02 22:00:04.662 TV: Attempting to change from None to None
 2010-12-02 22:00:04.910 TV: Attempting to change from None to None
 2010-12-02 22:00:04.912 TV: Attempting to change from None to None
 2010-12-02 22:00:05.160 TV: Attempting to change from None to None
 2010-12-02 22:00:05.162 TV: Attempting to change from None to None
 2010-12-02 22:00:05.410 TV: Attempting to change from None to None
 2010-12-02 22:00:05.412 TV: Attempting to change from None to None
 2010-12-02 22:00:05.660 TV: Attempting to change from None to None
 2010-12-02 22:00:05.662 TV: Attempting to change from None to None
 2010-12-02 22:00:05.910 TV: Attempting to change from None to None
 2010-12-02 22:00:05.912 TV: Attempting to change from None to None
 2010-12-02 22:00:06.160 TV: Attempting to change from None to None
 2010-12-02 22:00:06.162 TV: Attempting to change from None to None
 2010-12-02 22:00:06.410 TV: Attempting to change from None to None
 2010-12-02 22:00:06.412 TV: Attempting to change from None to None
 2010-12-02 22:00:06.660 TV: Attempting to change from None to None
 2010-12-02 22:00:06.662 TV: Attempting to change from None to None
 2010-12-02 22:00:06.910 TV: Attempting to change from None to None
 2010-12-02 22:00:06.912 TV: Attempting to change from None to None
 2010-12-02 22:00:07.160 TV: Attempting to change from None to None
 2010-12-02 22:00:07.162 TV: Attempting to change from None to None
 2010-12-02 22:00:07.410 TV: Attempting to change from None to None
 2010-12-02 22:00:07.412 TV: Attempting to change from None to None
 2010-12-02 22:00:07.660 TV: Attempting to change from None to None
 2010-12-02 22:00:07.662 TV: Attempting to change from None to None
 2010-12-02 22:00:07.910 TV: Attempting to change from None to None
 2010-12-02 22:00:07.912 TV: Attempting to change from None to None
 2010-12-02 22:00:08.161 TV: Attempting to change from None to None
 2010-12-02 22:00:08.163 TV: Attempting to change from None to None
 2010-12-02 22:00:08.411 TV: Attempting to change from None to None
 2010-12-02 22:00:08.413 TV: Attempting to change from None to None
 2010-12-02 22:00:08.661 TV: Attempting to change from None to None
 2010-12-02 22:00:08.663 TV: Attempting to change from None to None
 2010-12-02 22:00:08.911 TV: Attempting to change from None to None
 2010-12-02 22:00:08.913 TV: Attempting to change from None to None
 2010-12-02 22:00:09.161 TV: Attempting to change from None to None
 2010-12-02 22:00:09.163 TV: Attempting to change from None to None
 2010-12-02 22:00:09.411 TV: Attempting to change from None to None
 2010-12-02 22:00:09.413 TV: Attempting to change from None to None
 2010-12-02 22:00:09.661 TV: Attempting to change from None to None
 2010-12-02 22:00:09.663 TV: Attempting to change from None to None
 2010-12-02 22:00:09.911 TV: Attempting to change from None to None
 2010-12-02 22:00:09.913 TV: Attempting to change from None to None
 2010-12-02 22:00:10.161 TV: Attempting to change from None to None
 2010-12-02 22:00:10.163 TV: Attempting to change from None to None
 2010-12-02 22:00:10.411 TV: Attempting to change from None to None
 2010-12-02 22:00:10.413 TV: Attempting to change from None to None
 2010-12-02 22:00:10.661 TV: Attempting to change from None to None
 2010-12-02 22:00:10.663 TV: Attempting to change from None to None
 2010-12-02 22:00:10.911 TV: Attempting to change from None to None
 2010-12-02 22:00:10.913 TV: Attempting to change from None to None
 2010-12-02 22:00:11.161 TV: Attempting to change from None to None
 2010-12-02 22:00:11.163 TV: Attempting to change from None to None
 2010-12-02 22:00:11.411 TV: Attempting to change from None to None
 2010-12-02 22:00:11.413 TV: Attempting to change from None to None
 2010-12-02 22:00:11.661 TV: Attempting to change from None to None
 2010-12-02 22:00:11.663 TV: Attempting to change from None to None
 2010-12-02 22:00:11.911 TV: Attempting to change from None to None
 2010-12-02 22:00:11.913 TV: Attempting to change from None to None
 2010-12-02 22:00:12.161 TV: Attempting to change from None to None
 2010-12-02 22:00:12.163 TV: Attempting to change from None to None
 2010-12-02 22:00:12.411 TV: Attempting to change from None to None
 2010-12-02 22:00:12.413 TV: Attempting to change from None to None
 2010-12-02 22:00:12.661 TV: Attempting to change from None to None
 2010-12-02 22:00:12.663 TV: Attempting to change from None to None
 2010-12-02 22:00:12.911 TV: Attempting to change from None to None
 2010-12-02 22:00:12.913 TV: Attempting to change from None to None
 2010-12-02 22:00:13.161 TV: Attempting to change from None to None
 2010-12-02 22:00:13.163 TV: Attempting to change from None to None
 2010-12-02 22:00:13.411 TV: Attempting to change from None to None
 2010-12-02 22:00:13.413 TV: Attempting to change from None to None
 2010-12-02 22:00:13.661 TV: Attempting to change from None to None
 2010-12-02 22:00:13.663 TV: Attempting to change from None to None
 2010-12-02 22:00:13.911 TV: Attempting to change from None to None
 2010-12-02 22:00:13.913 TV: Attempting to change from None to None
 2010-12-02 22:00:14.161 TV: Attempting to change from None to None
 2010-12-02 22:00:14.163 TV: Attempting to change from None to None
 2010-12-02 22:00:14.411 TV: Attempting to change from None to None
 2010-12-02 22:00:14.413 TV: Attempting to change from None to None
 2010-12-02 22:00:14.661 TV: Attempting to change from None to None
 2010-12-02 22:00:14.663 TV: Attempting to change from None to None
 2010-12-02 22:00:14.912 TV: Attempting to change from None to None
 2010-12-02 22:00:14.914 TV: Attempting to change from None to None
 2010-12-02 22:00:15.162 TV: Attempting to change from None to None
 ...repeat until 2010-12-02 22:01:14.193...
 }}}

 mythbackend.log
 {{{
 2010-12-02 21:59:30.018 TVRec(1): ASK_RECORDING 1 29 0 0
 2010-12-02 21:59:46.640 Received: CANCEL_NEXT_RECORDING 0
 2010-12-02 22:00:02.698 AutoExpire: CalcParams(): Max required Free Space:
 2.0 GB w/freq: 15 min
 2010-12-02 22:00:02.738 Started recording: "KSL 5 News at 10": channel
 1005 on cardid 1, sourceid 1
 2010-12-02 22:00:03.159 TVRec(1): HW Tuner: 1->1
 2010-12-02 22:00:03.206 LoadFromScheduler(): Error, called from backend.
 2010-12-02 22:00:03.208 AutoExpire: CalcParams(): Max required Free Space:
 2.0 GB w/freq: 15 min
 2010-12-02 22:00:03.303 Finished recording UFO Files "UFOs and the White
 House": channel 1008
 2010-12-02 22:00:03.605 Finished recording KSL 5 News at 10: channel 1005
 2010-12-02 22:00:03.646 MainServer::ANN Monitor
 2010-12-02 22:00:03.659 AutoExpire: CalcParams(): Max required Free Space:
 2.0 GB w/freq: 15 min
 2010-12-02 22:00:03.669 Finished recording KSL 5 News at 10: channel 1005
 2010-12-02 22:00:03.698 adding: mythbuntu1 as a client (events: 0)
 2010-12-02 22:00:03.838 MainServer::ANN Monitor
 2010-12-02 22:00:03.883 adding: mythbuntu1 as a client (events: 1)
 2010-12-02 22:00:04.416 TVRec(1): Changing from WatchingLiveTV to
 RecordingOnly
 2010-12-02 22:02:27.538 Expiring 0 MB for 1005 at 2010-12-02T22:00:03 =>
 "KSL 5 News at 10"
 }}}

 This might be related to 9177 or 9034 since I also can't change channels
 in Live TV.  But if I'm not in Live TV and a recording happens, it works
 correctly.  This is a hd5500 card and I'm using the analog component of
 it.

--

Comment:

 Only one version output is needed.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9314#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list