Mailing List archive

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

[vdr] Re: 1.1.26 timeshift race or bug



Stefan Huelswitt wrote:
> 
> Hi,
> 
> I'm running a two card setup with vdr 1.1.26 & dvb 1.0.0pre2.
> In a classic two card timeshift situation (means card 2 recording
> while watching this recording on card 1) vdr crashed while
> fast-rewinding.
> 
> Syslog:
> Mar 23 15:17:09 video vdr[17663]: timer 5 start
> Mar 23 15:17:09 video vdr[17663]: Title: 'Wetten, dass...?' Subtitle: 'vom Vortag'
> Mar 23 15:17:09 video vdr[17663]: record /home/video/Wetten,_dass...?/2003-03-23.13:57.50.99.rec
> Mar 23 15:17:09 video vdr[17663]: creating directory /home/video/Wetten,_dass...?
> Mar 23 15:17:09 video vdr[17663]: creating directory /home/video/Wetten,_dass...?/2003-03-23.13:57.50.99.rec
> Mar 23 15:17:09 video vdr[17663]: recording to '/home/video/Wetten,_dass...?/2003-03-23.13:57.50.99.rec/001.vdr'
> Mar 23 15:17:09 video vdr[20057]: recording thread started (pid=20057)
> Mar 23 15:17:09 video vdr[20058]: receiver thread started on device 2 (pid=20058)
> Mar 23 15:47:39 video vdr[20057]: recording to '/home/video/Wetten,_dass...?/2003-03-23.13:57.50.99.rec/002.vdr'
> Mar 23 16:18:48 video vdr[20057]: recording to '/home/video/Wetten,_dass...?/2003-03-23.13:57.50.99.rec/003.vdr'
> Mar 23 16:19:04 video vdr[17663]: replay /home/video/Wetten,_dass...?/2003-03-23.13:57.50.99.rec
> Mar 23 16:19:04 video vdr[17663]: playing '/home/video/Wetten,_dass...?/2003-03-23.13:57.50.99.rec/001.vdr'
> Mar 23 16:19:06 video vdr[26755]: dvbplayer thread started (pid=26755)
> Mar 23 16:19:06 video vdr[26756]: non blocking file reader thread started (pid=26756)
> Mar 23 16:26:00 video vdr[26755]: ERROR: can't read from index
> Mar 23 16:26:01 video lircd 0.6.6[270]: removed client
> Mar 23 16:26:01 video su: pam_unix2: session finished for user vdr, service su
> Mar 23 16:26:01 video runVDR: restarting VDR
> 
> Backtrace:
> (gdb) bt
> #0  0x080a099d in cIndexFile::GetNextIFrame(int, bool, unsigned char*, int*, int*, bool) (this=0x4043bbb8, Index=26264, Forward=false,
>     FileNumber=0xbc5ffa33 "\001¬ðø#¶$\001", FileOffset=0xbc5ffa34,
>     Length=0xbc5ffa38, StayOffEnd=true) at recording.c:947
> #1  0x0807b94f in cDvbPlayer::Action() (this=0x4043c320) at dvbplayer.c:388
> #2  0x080a83b8 in cThread::StartThread(cThread*) (Thread=0x4043c32c)
>     at thread.c:144
> #3  0x4003e1b0 in pthread_start_thread () from /lib/libpthread.so.0
> 
> May be a race condition while accessing the index file?

I have no idea why the index file suddenly couldn't be accessed any more, but
at least I have now changed things so that it shouldn't crash any more in such a case
(will be in version 1.1.27).

Klaus
-- 
_______________________________________________________________

Klaus Schmidinger                       Phone: +49-8635-6989-10
CadSoft Computer GmbH                   Fax:   +49-8635-6989-40
Hofmark 2                               Email:   kls@cadsoft.de
D-84568 Pleiskirchen, Germany           URL:     www.cadsoft.de
_______________________________________________________________


--
Info:
To unsubscribe send a mail to listar@linuxtv.org with "unsubscribe vdr" as subject.



Home | Main Index | Thread Index