[vls-devel] Re: dvbinput.cpp CVS - broken
Alexander Afanasyev
alex at icn.bmstu.ru
Sun Jul 27 15:38:33 CEST 2003
Hi!
here the log (with mine printfs):
2003-07-27 17:37:34 [INFO/Vls] Interface 'telnet' sucessfully initialised
2003-07-27 17:37:37 [INFO/Vls] Processing incoming connection from 192.168.56.208
2003-07-27 17:37:40 [INFO/Vls] User "alex" successfully authenticated
2003-07-27 17:37:43 [DEBUG/Vls] In src/server/manager.cpp line 423 -> Manager locked
2003-07-27 17:37:43 [DEBUG/ss1] In src/server/input.cpp line 205 -> Starting reception of pgrm TET
2003-07-27 17:37:43 [DEBUG/ss1] In dvbinput.cpp line 510 -> DVB Channel found: TET
==2367== Warning: noted but unhandled ioctl 0x6F2A with no size/direction hints
==2367== This could cause spurious value errors to appear.
==2367== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==2367== Warning: noted but unhandled ioctl 0x6F2A with no size/direction hints
==2367== This could cause spurious value errors to appear.
==2367== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
==2367== Warning: noted but unhandled ioctl 0x6F2A with no size/direction hints
==2367== This could cause spurious value errors to appear.
==2367== See README_MISSING_SYSCALL_OR_IOCTL for guidance on writing a proper wrapper.
ts2ts in initwork
in dvbmpegreader::init(): device fd: 14
at initwork
after TsProvider
2003-07-27 17:37:57 [INFO/Vls] Time out !
2003-07-27 17:37:57 [ERROR/ss1] Read error for program "Input DVB ss1"
after Converter
*** Exception *** in constructor 1 (0xbfffede0)
*** Exception *** in copy constructor (0x8176680, copy of 0xbfffede0)
*** Exception *** in destructor (0xbfffede0)
*** Exception *** in copy constructor (0xbfffee60, copy of 0x8176680)
*** Exception *** in constructor 2 (0xbfffee40)
*** Exception *** in copy constructor (0x81766d8, copy of 0xbfffee60)
*** Exception *** in copy constructor (0x8176768, copy of 0xbfffee40)
*** Exception *** in destructor (0xbfffee40)
*** Exception *** in destructor (0xbfffee60)
*** Exception *** in destructor (0x8176680)
*** Exception *** in copy constructor (0xbffff090, copy of 0x8176768)
2003-07-27 17:37:57 [ERROR/ss1] Unable to start program TET
2003-07-27 17:37:57 [ERROR/ss1] Error: Unable to create thread
Error: Normal TrickPlay failed to start
*** Exception *** in destructor (0xbffff090)
*** Exception *** in destructor (0x8176768)
2003-07-27 17:37:57 [DEBUG/Vls] In src/server/manager.cpp line 494 -> Manager unlocked
cawka
Sunday, July 27, 2003, 5:37:55 PM, you wrote:
> Please send the logs, otherwise I'm not able to deduce where and what
> exactly goes wrong.
> Grtz,
> Jean-Paul Saman.
> Alexander Afanasyev wrote:
>> Hi!
>>
>> Unfortunately nothing good :(( same error.
>> Error goes from normaltrickplay::initwork,
>> after
>> iRc = m_pConverter->GetNextTsPacket(pPacket)
>> it thinks,thinks... after dvbreader says ! TimeOut !
>> and everything stops...
> Need logs because this could be vital information about where it starts
> to go wrong in contrast to where it crashes.
>>
>> I found a lot of changes in this area.
>> InitWork() ts2ts skiped some data for syncing,
>> but m_pConverter->GetNextTsPacket(pPacket), where default
>> value of second parameter is 0, i think nothing skip...
>> i tried to add 1 //(pPacket,1)// but nothing good happens...
>>
> This parameter "skip" is for doing trickplay and has nothing to do with
> this problem
>> :(
>>
>> Alexander Afanasyev
>>
>> Sunday, July 27, 2003, 4:09:41 PM, you wrote:
>>
>>
>>>Alexander,
>>
>>
>>>I think that I figured out what goes wrong. Update the CVS version
>>>again. My previous cleanup removed a few lines too much.
>>
>>
>>>Alexander Afanasyev wrote:
>>>
>>>>Hmm, interesting things...
>>>>When i debug, i se only printf 'before trickplay' and
>>>>program delays for a while and then says that can't
>>>>start Trickplay (as i wrote in previous mail).
>>>>There is a code cut
>>>>-- cut from code --
>>>> dvb->SetTP(dvb->chans[iIndex].tpid, dvb->chans[iIndex].satid);
>>>> dvb->set_front();
>>>>
>>>> sleep(1);
>>>> printf( "testing after sleep, before trickplay\n" );
>>>>
>>>> //Launch the demux
>>>> m_pTrickPlay->Create();
>>>> printf( "testing after trickplay\n" );
>>>>-- end cut --
>>>>
>>>>also, i try add printf to DoWork() of NormalTrickPlay
>>>>but also nothing printed out :( Why thread do not start???
>>>
>>
>>>Not sure, but I think it has something to do with having the m_pHandler
>>>assigned.
>>
>>
>>>>and one more, i try to change place for m_pTrickPlay->Create()
>>>>(after SelectPid) and i got a SegmentationFault...
>>>
>>>This is a race condition. It should be before SelectPID, because they
>>>both work on the m_pHandler.
>>
>>
>>>Grtz,
>>>Jean-Paul Saman.
>>
>>
--
This is the vls-devel mailing-list, see http://www.videolan.org/streaming/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>
More information about the vls-devel
mailing list