Vdr dies when play restarted after pause for long time...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is something I've seen quite a bit and I've finally started to 
investigate: if I pause playback of a recording for a long time (i.e. 
pause playback to go and do something quick and end up getting 
distracted...) when I start playback again, vdr dies. The watchdog timer 
expires and it tries to restart but it ends up with one process which 
won't die (have yet to work out which thread this is, though).

Not sure if this is a vdr or softdevice problem but seeing the references 
to libavcodec I'd be inclined to think softdevice.

I started playback and then paused it for about 2 h or so and then 
pressed "play" again. Playback didn't restart. Trying to change channel  
then caused the timoeut (or maybe it would have done it anyway). (All of 
this was done over shh with SVDRP but this looks like it's doing what I 
see 'in real life'.

Here is a backtrace from when this happens:

(gdb) bt
#0  0xb7cfba01 in kill () from /lib/libc.so.6
#1  0xb7eedad0 in pthread_kill () from /lib/libpthread.so.0
#2  0xb7eede96 in raise () from /lib/libpthread.so.0
#3  0xb7cfb764 in raise () from /lib/libc.so.6
#4  0xb7cfcdb8 in abort () from /lib/libc.so.6
#5  0xb7d30c52 in __fsetlocking () from /lib/libc.so.6
#6  0xb7d36922 in malloc_usable_size () from /lib/libc.so.6
#7  0xb7d36a2f in malloc_usable_size () from /lib/libc.so.6
#8  0xb7d36fd3 in malloc_usable_size () from /lib/libc.so.6
#9  0xb7d372e8 in free () from /lib/libc.so.6
#10 0xb77dde33 in avcodec_alloc_frame () 
from /usr/local/lib/libavcodec.so.51
#11 0xb77dc110 in ?? () from /usr/local/lib/libavcodec.so.51
#12 0xb7a81480 in ?? () from /usr/local/lib/libavcodec.so.51
#13 0xb7a81454 in ?? () from /usr/local/lib/libavcodec.so.51
#14 0xbf86fb58 in ?? ()
#15 0xb7a1a70a in _fini () from /usr/local/lib/libavcodec.so.51
#16 0xb7a1a70a in _fini () from /usr/local/lib/libavcodec.so.51
#17 0xb7f6c28e in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#18 0xb7cfe084 in exit () from /lib/libc.so.6
#19 0x08101540 in Watchdog (signum=14) at vdr.c:153
#20 0xb7ef0736 in __pthread_sighandler () from /lib/libpthread.so.0
#21 <signal handler called>
#22 0xb7eed964 in __pthread_sigsuspend () from /lib/libpthread.so.0
#23 0xb7eecb98 in __pthread_wait_for_restart_signal ()
   from /lib/libpthread.so.0
#24 0xb7eef126 in __pthread_alt_lock () from /lib/libpthread.so.0
#25 0xb7eebfa6 in pthread_mutex_lock () from /lib/libpthread.so.0
#26 0x080f9174 in cMutex::Lock (this=0x88e5cd0) at thread.c:190
#27 0xb7329914 in cMpeg2Decoder::Stop (this=0x88e5c98, GetMutex=true)
    at mpeg2decoder.c:1460
#28 0xb7320efa in cSoftDevice::SetPlayMode (this=0x885e3f0,
    PlayMode=3085905908) at softdevice.c:451
#29 0x08095f34 in cDevice::Detach (this=0x885e3f0, Player=0xfffffffc)
    at device.c:965
#30 0x08095f8c in cDevice::StopReplay (this=0x885e3f0) at device.c:974
#31 0x080954f8 in cDevice::SetChannel (this=0x885e3f0, Channel=0x82004f8,
    LiveView=true) at device.c:601
#32 0x08094dc0 in cDevice::SwitchChannel (this=0x885e3f0, 
Channel=0x82004f8,
    LiveView=true) at device.c:556
#33 0x080f35ab in cSVDRP::CmdCHAN (this=0x88d3788, Option=0x88f8eed "5")
    at device.h:122
#34 0x080f7a7a in cSVDRP::Process (this=0x88d3788) at svdrp.c:1576
#35 0x080aa449 in cInterface::GetKey (this=0x88e6a88, Wait=true)
    at interface.c:37
#36 0x081028ef in main (argc=0, argv=0xbf8725c4) at osdbase.h:78

Any thoughts?

Cheers,

Laz


[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux