[vlc-devel] Getting stuck in stream_Read()

Rémi Denis-Courmont remi at remlab.net
Wed Apr 4 17:26:49 CEST 2012


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.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list