[mythtv] ringbuffer.cpp

Jonas Arndt jonas.arndt at thearndtfamily.com
Thu Feb 20 03:08:24 UTC 2014


My friend reported another freeze today. The front-end
> Feb 19 17:54:51 zbox mythfrontend.real: mythfrontend[1634]: I Decoder 
> ringbuffer.cpp:1098 (WaitForAvail) 
> RingBuf(myth://192.168.1.9:6543/2655_20140220004933.mpg): Waited 4.0 
> seconds for data #012#011#011#011to become available... 16792 < 32768
> Feb 19 17:54:51 zbox mythfrontend.real: mythfrontend[1634]: I Decoder 
> ringbuffer.cpp:1098 (WaitForAvail) 
> RingBuf(myth://192.168.1.9:6543/2655_20140220004933.mpg): Waited 4.0 
> seconds for data #012#011#011#011to become available... 16792 < 32768
> Feb 19 17:54:51 zbox mythfrontend.real: mythfrontend[1634]: N 
> CoreContext mythplayer.cpp:2130 (PrebufferEnoughFrames) Player(0): 
> Waited 4289ms for video buffers AAAAfAALAfAAAA
> Feb 19 17:54:51 zbox mythfrontend.real: mythfrontend[1634]: N 
> CoreContext mythplayer.cpp:2130 (PrebufferEnoughFrames) Player(0): 
> Waited 4391ms for video buffers AAAAfAALAfAAAA
> Feb 19 17:54:51 zbox mythfrontend.real: mythfrontend[1634]: N 
> CoreContext mythplayer.cpp:2130 (PrebufferEnoughFrames) Player(0): 
> Waited 4492ms for video buffers AAAAfAALAfAAAA
> Feb 19 17:54:52 zbox mythfrontend.real: mythfrontend[1634]: N 
> CoreContext mythplayer.cpp:2130 (PrebufferEnoughFrames) Player(0): 
> Waited 4593ms for video buffers AAAAfAALAfAAAA
> Feb 19 17:54:52 zbox mythfrontend.real: mythfrontend[1634]: N 
> CoreContext mythplayer.cpp:2130 (PrebufferEnoughFrames) Player(0): 
> Waited 4695ms for video buffers AAAAfAALAfAAAA
> ................
> Feb 19 17:55:00 zbox mythfrontend.real: mythfrontend[1634]: N 
> CoreContext mythplayer.cpp:2130 (PrebufferEnoughFrames) Player(0): 
> Waited 13228ms for video buffers AAAAfAALAfAAAA
> Feb 19 17:55:00 zbox mythfrontend.real: mythfrontend[1634]: I Decoder 
> ringbuffer.cpp:1098 (WaitForAvail) 
> RingBuf(myth://192.168.1.9:6543/2655_20140220004933.mpg): Waited 13.2 
> seconds for data #012#011#011#011to become available... 16792 < 32768
> Feb 19 17:55:52  mythfrontend.real: last message repeated 2 times
> Feb 19 17:57:21 zbox mythfrontend.real: mythfrontend[1634]: I 
> CoreContext tv_play.cpp:2201 (HandleStateChange) TV: Attempting to 
> change from WatchingLiveTV to None
>
>
> Then on the backend
> Feb 19 17:54:45 howarddvr mythbackend: mythbackend[22423]: I 
> ProcessRequest ringbuffer.cpp:1114 (WaitForAvail) 
> RingBuf(/data1/Recordings/2655_20140220004933.mpg): Waited 1.0 seconds 
> for data #012#011#011#011to become available... 246168 < 360448 
> thread:139843287852800
> Feb 19 17:54:46 howarddvr mythbackend: mythbackend[22423]: I 
> ProcessRequest ringbuffer.cpp:1114 (WaitForAvail) 
> RingBuf(/data1/Recordings/2655_20140220004933.mpg): Waited 2.0 seconds 
> for data #012#011#011#011to become available... 246168 < 360448 
> thread:139843287852800
> Feb 19 17:57:21 howarddvr mythbackend: mythbackend[22423]: I 
> TVRecEvent tv_rec.cpp:1050 (HandleStateChange) TVRec[5]: Changing from 
> WatchingLiveTV to None
>
> What's interesting here is that there is nothing really spectacular 
> going on on the backend. Just the regular "Waited 2.0 second..." which 
> my front-end has no problem surviving.

So perhaps back to the NFS approach and the patch applied. That way the 
front-end would read like it reads from a local file system and the 
patch should make sure it doesn't lock up. I'll try that


More information about the mythtv-dev mailing list