Marko Mäkelä schrieb:
> I had suspended vdr for some 40 minutes using my suspend patch
> (http://www.iki.fi/~msmakela/software/vdr#suspend). When I hit
> the Power key again, the display was powered up, but vdr did
> not accept any commands from the RCU and the playback did not
> resume.
>
> Unfortunately, I did not think of attaching gdb to the vdr
> process. SIGINT and SIGHUP were ignored, so I had to SIGKILL
> the process to get this:
>
> [softdevice] Video Out seems to be OK
> [softdevice] Initializing Audio Out
> [softdevice] Audio out seems to be OK
> [softdevice] A/V devices initialized, now initializing MPEG2 Decoder
> [dfb] (re)configuring Videolayer to 720 x 576 (540x576)
> [dfb] creating new surface (stretchBlit)
> [surface capabilities] videoSurface: videoonly interlaced PixelFormat =
> 0x00200806
> [dfb] (re)configured 0x00200806
> Error! Trying to unlock a nil picture... Ignoring.
> [mpeg2video @ 0xa7b5b8a8]ac-tex damaged at 11 17
> [mpeg2video @ 0xa7b5b8a8]invalid mb type in I Frame at 7 30
> [mpeg2video @ 0xa7b5b8a8]skipped MB in I frame at 3 31
> [mpeg2video @ 0xa7b5b8a8]ac-tex damaged at 3 32
> [mpeg2video @ 0xa7b5b8a8]ac-tex damaged at 2 33
> [mpeg2video @ 0xa7b5b8a8]skipped MB in I frame at 9 34
> [mpeg2video @ 0xa7b5b8a8]ac-tex damaged at 1 35
> [mpeg2video @ 0xa7b5b8a8]Warning MVs not available
> [mpeg2video @ 0xa7b5b8a8]concealing 855 DC, 855 AC, 855 MV errors
> Killed
>
> Even under normal operation of softdevice, I keep getting these
> "Error! Trying to unlock a nil picture... Ignoring." every now and then.
> Is there a race condition somewhere, or is this just faulty logic?
>
The attached patch should fix the error message, but I don't think that
this is related to your problems. It is more a debugging message for me,
to remind me to code properly ;-)
The log you posted indicates that there as been bad signal during some
time. Maybe this has something to do with you problem?
Did this happen just one time or does it happen more often?
Martin
Index: video.c
===================================================================
RCS file: /cvsroot/softdevice/softdevice/video.c,v
retrieving revision 1.63
diff -u -r1.63 video.c
--- video.c 8 Sep 2006 04:59:02 -0000 1.63
+++ video.c 18 Sep 2006 19:02:11 -0000
@@ -144,7 +144,8 @@
{
//osdMutex.Lock(); //protected by areaMutex osdMutex will cause deadlocks!
//PICDEB("SetOldPicture pic->buf_num %d\n",picture->buf_num);
- UnlockBuffer(old_picture);
+ if (old_picture)
+ UnlockBuffer(old_picture);
if (picture && picture->owner==this) {
LockBuffer(picture);
old_picture=picture;
_______________________________________________
Softdevice-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/softdevice-devel