[vlc-devel] Re: VLC Network Bug?
jean-paul.saman at planet.nl
Thu Feb 22 12:24:03 CET 2007
Change applied to our contrib system. In nightly builds a new contrib
will be built that has this option on by default.
Jason Gerecke wrote:
> Firstly, pardon me if this message has been sent to the wrong list. There were quite a few to choose from, and this seemed to fit closest to the content. I was going to post this in the VLC forum, but my account appears to be "inactive" and I could find no way to get in touch with a moderator.
> I have been using VLC in a project here at the University of Oregon for quite a while now. We are using it to record MPEG4 streams via RTSP from Axis IP cameras. We have a Java applet connecting to its telnet interface to create & control the streams and for the most part suits our needs. However, the VLC service we have running on our server is crashing every few weeks.
> The error message found in the Event Log is "Faulting application vlc.exe, version 0.8.5.0, faulting module libvlc.dll, version 0.0.0.0, fault address 0x0010559e." Dr. Watson provides "The application, C:\Program Files\VideoLAN\VLC\vlc.exe, generated an application error The error occurred on 02/07/2007 @ 11:43:01.464 The exception generated was c0000005 at address 62EC558D (libvlc!our_random)"
> After a bit of googling for "our_random", it appears to be included within a Live555 streaming component (groupsock/inet.c: http://www.live555.com/liveMedia/doxygen/html/inet_8c-source.html) as a random number generator for systems which do not provide their own rand() or srand() functions. Other people have reported issues with this function segfaulting (never in conjuction with VLC however), possibly because of multithreading issues, and the fix issued by the Live555 developers was to provide an "#ifdef USE_SYSTEM_RANDOM" for builds on supporing systems (http://lists.live555.com/pipermail/live-devel/2003-November/000013.html).
> I have not been able to find this particular function after a cursory search through the VLC source on Trac, but have found quite a bit of anecdotal evidence that VLC is built with/against Live555 libraries. Given that defining USE_SYSTEM_RANDOM while building this code seems to solve these segfault issues, I am wondering if VLC is making use of this for its Microsoft Windows builds. I did not want to post a "bug" to Trac if my (many!) assumptions regarding the nature of this problem were incorrect.
> Thank you for your time,
> Jason Gerecke
> Division of Student Affairs Support
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel