[vdr] ERROR: driver buffer overflow on device 1

peter peter.odeus at gmail.com
Thu Mar 18 13:43:35 CET 2010


>Does this happen too when not using vdpau?

I'm not using vdpau (haven't got the hardware for it).

vdr-1.7.10
xine-lib-1.2

The problem occurs when running xine with dxr3 output (xine --verbose=1 -V dxr3 -A alsa vdr:/tmp/vdr-xi/stream)

Mar 18 13:26:43 vdr-desktop kernel: [ 6250.760298] em8300-0: adjusting scr: 30791
Mar 18 13:26:45 vdr-desktop kernel: [ 6252.872307] em8300-0: adjusting scr: 125823
Mar 18 13:27:05 vdr-desktop vdr: [4159] buffer usage: 70% (tid=4158)
Mar 18 13:27:06 vdr-desktop vdr: [4159] buffer usage: 80% (tid=4158)
Mar 18 13:27:06 vdr-desktop vdr: [4159] buffer usage: 90% (tid=4158)
Mar 18 13:27:07 vdr-desktop vdr: [4159] buffer usage: 100% (tid=4158)
Mar 18 13:27:18 vdr-desktop vdr: [4159] ERROR: driver buffer overflow on device 1
Mar 18 13:27:18 vdr-desktop vdr: [4159] buffer usage: 30% (tid=4158)
Mar 18 13:27:18 vdr-desktop vdr: [4158] ERROR: skipped 11 bytes to sync on TS packet on device 1
Mar 18 13:27:18 vdr-desktop vdr: [4158] TS continuity error (3)
Mar 18 13:27:18 vdr-desktop vdr: [4158] TS continuity error (11)
Mar 18 13:27:18 vdr-desktop vdr: [4158] cAudioRepacker(0xC0): skipped 312 bytes while syncing on next audio frame

However:

When running without dxr3 (xine --verbose=1 -V xshm -A alsa vdr:/tmp/vdr-xine/stream) everything is fine.

Here's gdb output from a bad run:

(gdb) thread apply all bt

Thread 10 (Thread 0xb7648b70 (LWP 4030)):
#0  0x0018a422 in __kernel_vsyscall ()
#1  0x00c5c142 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0811a56e in cCondVar::TimedWait (this=0x9d7fac4, Mutex=..., 
    TimeoutMs=1000) at thread.c:127
#3  0x080afd3e in cDvbTuner::Action (this=0x9d7f508) at dvbdevice.c:389
#4  0x08119d40 in cThread::StartThread (Thread=0x9d7f508) at thread.c:257
#5  0x00c5780e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0x0074f8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 9 (Thread 0xb6e47b70 (LWP 4031)):
#0  0x0018a422 in __kernel_vsyscall ()
#1  0x00741c96 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x080ff76a in cSectionHandler::Action (this=0x9d6f610) at sections.c:184
#3  0x08119d40 in cThread::StartThread (Thread=0x9d6f610) at thread.c:257
#4  0x00c5780e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x0074f8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 8 (Thread 0xb6646b70 (LWP 4032)):
#0  0x0018a422 in __kernel_vsyscall ()
#1  0x00741c96 in poll () from /lib/tls/i686/cmov/libc.so.6
---Type <return> to continue, or q <return> to quit---
#2  0x0811f97b in cPoller::Poll (this=0x64, TimeoutMs=100) at tools.c:1195
#3  0x002a513d in PluginXine::cXineRemote::Action (this=0x9d842d8)
    at xineRemote.c:157
#4  0x08119d40 in cThread::StartThread (Thread=0x9d842e8) at thread.c:257
#5  0x00c5780e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0x0074f8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 7 (Thread 0xb5e1ab70 (LWP 4033)):
#0  0x0018a422 in __kernel_vsyscall ()
#1  0x00c5c142 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0811a56e in cCondVar::TimedWait (this=0xb5e1d7b8, Mutex=..., 
    TimeoutMs=100) at thread.c:127
#3  0x00298ead in PluginXine::cXineLib::Action (this=0xb5e1d260)
    at xineLib.c:2632
#4  0x08119d40 in cThread::StartThread (Thread=0xb5e1d260) at thread.c:257
#5  0x00c5780e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0x0074f8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 6 (Thread 0xb5619b70 (LWP 4034)):
#0  0x0018a422 in __kernel_vsyscall ()
#1  0x00c5c142 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
---Type <return> to continue, or q <return> to quit---
#2  0x0811a56e in cCondVar::TimedWait (this=0xb5e1d310, Mutex=..., 
    TimeoutMs=100) at thread.c:127
#3  0x002a6278 in PluginXine::cXineExternal::Action (this=0xb5e1d2b8)
    at xineExternal.c:204
#4  0x08119d40 in cThread::StartThread (Thread=0xb5e1d2b8) at thread.c:257
#5  0x00c5780e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0x0074f8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 5 (Thread 0xb4e18b70 (LWP 4035)):
#0  0x0018a422 in __kernel_vsyscall ()
#1  0x00c5ec8b in read () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00113901 in cRemoteDevInput::getKey() ()
   from /usr/lib/vdr/libvdr-remote.so.1.7.10
#3  0x00113d87 in cRemoteGeneric::Action() ()
   from /usr/lib/vdr/libvdr-remote.so.1.7.10
#4  0x08119d40 in cThread::StartThread (Thread=0x9d867f0) at thread.c:257
#5  0x00c5780e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#6  0x0074f8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 4 (Thread 0xb4617b70 (LWP 4036)):
#0  0x0018a422 in __kernel_vsyscall ()
#1  0x00741c96 in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0x0811f97b in cPoller::Poll (this=0x32, TimeoutMs=50) at tools.c:1195
---Type <return> to continue, or q <return> to quit---
#3  0x080f9028 in cKbdRemote::ReadKey (this=0x9d86910) at remote.c:296
#4  0x080f90ce in cKbdRemote::ReadKeySequence (this=0x9d86910) at remote.c:312
#5  0x080f97c2 in cKbdRemote::Action (this=0x9d86910) at remote.c:353
#6  0x08119d40 in cThread::StartThread (Thread=0x9d86920) at thread.c:257
#7  0x00c5780e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x0074f8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb3cf2b70 (LWP 4070)):
#0  0x0018a422 in __kernel_vsyscall ()
#1  0x00c5ec0b in write () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0029593a in PluginXine::cXineLib::xwrite (this=0xb5e1d260, f=7, 
    b=0x9f65968, n=585) at xineLib.c:2457
#3  0x0029722b in PluginXine::cXineLib::execFuncStream (this=0xb5e1d260, 
    Data=0x9f65968 "", Length=585) at xineLib.c:2937
#4  0x002972c4 in PluginXine::cXineLib::execFuncStream1 (this=0xb5e1d260, 
    Data=0x9f65968 "", Length=585) at xineLib.c:2906
#5  0x00290072 in PluginXine::cXineDevice::PlayCommon3 (this=0xb5e1b008, 
    Data=0x9f65968 "", Length=585, ptsForce=7920770849) at xineDevice.c:1969
#6  0x002900e5 in PluginXine::cXineDevice::PlayCommon2 (this=0xb5e1b008, 
    Data=0x9f65968 "", Length=585, ptsForce=7920770849) at xineDevice.c:1849
#7  0x00290344 in PluginXine::cXineDevice::PlayCommon1 (this=0xb5e1b008, 
    Data=0x9e1117c "", Length=2048, ptsForce=-1) at xineDevice.c:3134
#8  0x0029182a in PluginXine::cXineDevice::PlayCommon (this=0xb5e1b008, 
---Type <return> to continue, or q <return> to quit---
    Data=0x9e1117c "", Length=2048, stillImageData=false) at xineDevice.c:3092
#9  0x00293dab in PluginXine::cXineDevice::PlayVideo3 (this=0xb5e1b008, 
    Data=0x9e1117c "", Length=2048, stillImageData=<value optimized out>)
    at xineDevice.c:2132
#10 0x0029469a in PluginXine::cXineDevice::PlayVideo2 (this=0xb5e1b008, 
    Data=0x9e1117c "", Length=2048, stillImageData=false) at xineDevice.c:2052
#11 0x002948b6 in PluginXine::cXineDevice::PlayVideo1 (this=0xb5e1b008, 
    Data=0x9e1117c "", Length=2048, stillImageData=false) at xineDevice.c:1781
#12 0x00294983 in PluginXine::cXineDevice::PlayVideo (this=0xb5e1b008, 
    Data=0x9e1117c "", Length=2048) at xineDevice.c:1760
#13 0x0029088e in PluginXine::cXineDevice::PlayTsTrampoline (this=0xb5e1b008, 
    Data=0xb33023d2 "G\004\067\030Ƒ\243F\226\266\215\032au\243F\030\215\031\272*P\326\030Yl\255\030=\206\214\347\260i\322\207\326\\8\r0\305h\314\304\a22\263B\353\f6\241{н\343\v\375\240\023\200f\204\200h\003\002\031,\254\002$\214\213e1\022", Length=188, VideoOnly=false) at xineDevice.c:1727
#14 0x002949d1 in PluginXine::cXineDevice::PlayVideo (this=0x249, 
    Data=0xb3cf21dc "", Length=20) at xineDevice.c:1752
#15 0x080a8ad2 in cDevice::PlayPesPacket (this=0xb5e1b008, Data=0xb3cf21dc "", 
    Length=20, VideoOnly=false) at device.c:1174
#16 0x00290a00 in PluginXine::cXineDevice::PlaySingleTs (this=0xb5e1b008, 
    Data=0xb33023d2 "G\004\067\030Ƒ\243F\226\266\215\032au\243F\030\215\031\272*P\326\030Yl\255\030=\206\214\347\260i\322\207\326\\8\r0\305h\314\304\a22\263B\353\f6\241{н\343\v\375\240\023\200f\204\200h\003\002\031,\254\002$\214\213e1\022---Type <return> to continue, or q <return> to quit---
", Length=188, VideoOnly=<value optimized out>) at xineDevice.c:1646
#17 0x0028d838 in PluginXine::cXineDevice::PlayTsImpl (this=0xb5e1b008, 
    Data=0xb33023d2 "G\004\067\030Ƒ\243F\226\266\215\032au\243F\030\215\031\272*P\326\030Yl\255\030=\206\214\347\260i\322\207\326\\8\r0\305h\314\304\a22\263B\353\f6\241{н\343\v\375\240\023\200f\204\200h\003\002\031,\254\002$\214\213e1\022", Length=188, VideoOnly=false) at xineDevice.c:1590
#18 0x0028e77a in PluginXine::cXineDevice::PlayTs (this=0xb5e1b008, 
    Data=0xb33023d2 "G\004\067\030Ƒ\243F\226\266\215\032au\243F\030\215\031\272*P\326\030Yl\255\030=\206\214\347\260i\322\207\326\\8\r0\305h\314\304\a22\263B\353\f6\241{н\343\v\375\240\023\200f\204\200h\003\002\031,\254\002$\214\213e1\022", Length=188, VideoOnly=<value optimized out>) at xineDevice.c:1572
#19 0x08123541 in cPlayer::PlayTs (this=0x9da5a50, 
    Data=0xb33023d2 "G\004\067\030Ƒ\243F\226\266\215\032au\243F\030\215\031\272*P\326\030Yl\255\030=\206\214\347\260i\322\207\326\\8\r0\305h\314\304\a22\263B\353\f6\241{н\343\v\375\240\023\200f\204\200h\003\002\031,\254\002$\214\213e1\022", Length=188) at player.h:47
#20 cTransfer::Receive (this=0x9da5a50, 
    Data=0xb33023d2 "G\004\067\030Ƒ\243F\226\266\215\032au\243F\030\215\031\272*P\326\030Yl\255\030=\206\214\347\260i\322\207\326\\8\r0\305h\314\304\a22\263B\353\f6\241{н\343\v\375\240\023\200f\204\200h\003\002\031,\254\002$\214\213e1\022", Length=188) at transfer.c:46
#21 0x080a7438 in cDevice::Action (this=0x9d7d250) at device.c:1464
#22 0x08119d40 in cThread::StartThread (Thread=0x9d7d250) at thread.c:257
---Type <return> to continue, or q <return> to quit---
#23 0x00c5780e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#24 0x0074f8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb32f0b70 (LWP 4071)):
#0  0x0018a422 in __kernel_vsyscall ()
#1  0x00c5c142 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0811a650 in cCondWait::Wait (this=0x9d9cc04, TimeoutMs=100)
    at thread.c:71
#3  0x080fd8d7 in cRingBuffer::WaitForPut (this=0x9d9cc00) at ringbuffer.c:58
#4  0x080fdc5c in cRingBufferLinear::Read (this=0x9d9cc00, FileHandle=13, 
    Max=0) at ringbuffer.c:247
#5  0x080a5982 in cTSBuffer::Action (this=0x9d9cbb8) at device.c:1606
#6  0x08119d40 in cThread::StartThread (Thread=0x9d9cbb8) at thread.c:257
#7  0x00c5780e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x0074f8de in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb77a96d0 (LWP 4026)):
#0  0x0018a422 in __kernel_vsyscall ()
#1  0x00c5c142 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
   from /lib/tls/i686/cmov/libpthread.so.0
#2  0x0811a56e in cCondVar::TimedWait (this=0x817e080, Mutex=..., 
    TimeoutMs=1000) at thread.c:127
---Type <return> to continue, or q <return> to quit---
#3  0x080f9258 in cRemote::Get (WaitMs=1000, UnknownCode=0x0) at remote.c:191
#4  0x08126826 in main (argc=9, argv=0xbfc82424) at vdr.c:920


/Peter Odéus






More information about the vdr mailing list