[vlc-devel] VLC Network Bug?

Jason Gerecke jgerecke at uoregon.edu
Wed Feb 21 23:23:07 CET 2007

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, faulting module libvlc.dll, version, 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070221/1265d938/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3084 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20070221/1265d938/attachment.bin>

More information about the vlc-devel mailing list