[vlc-devel] Getting stuck in stream_Read()

Frederic YHUEL fyhuel at viotech.net
Wed Apr 4 17:39:15 CEST 2012


2012/4/4 Rémi Denis-Courmont <remi at remlab.net>:
> Le mercredi 4 avril 2012 17:00:44 Frederic YHUEL, vous avez écrit :
>> Very strangely, I don't have this problem on my personal machine which
>> runs Debian wheezy 64 bits. At work I have Ubuntu Oneiric 32 bits. I
>> installed the 64 bits kernel of wheezy
>> (linux-image-3.2.0-2-amd64_3.2.12-1_i386.deb) on this machine, and the
>> problem is not there anymore.
>>
>> Is it possible that (32 bits) Ubuntu kernel have a buggy poll() ? I
>> guess that launchpad would have been flooded by bug reports in that
>> case, so I don't understand... any idea?
>
> poll() will not return until some event happens. In particular, net_Read()
> gets stuck, by design, if no data is received on the socket.
>
> There is not much to do about this. Eventually the user will get bored and
> press stop.
>

Pressing stop has no effect in that case. You told about a
interruption/exception mechanism, could you be a little more verbose
about how I should implement that?

Thanks for your time,

-- 
Frédéric



More information about the vlc-devel mailing list