<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.2900.3059" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=141522521-21022007><FONT face=Arial
size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=141522521-21022007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=141522521-21022007><FONT face=Arial size=2>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. </FONT></SPAN><SPAN
class=141522521-21022007><FONT face=Arial size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=141522521-21022007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=141522521-21022007><FONT face=Arial size=2>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.</FONT></SPAN></DIV>
<DIV><SPAN class=141522521-21022007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=141522521-21022007><FONT face=Arial size=2>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)"</FONT></SPAN></DIV>
<DIV><SPAN class=141522521-21022007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=141522521-21022007><FONT face=Arial size=2>After a bit of
googling for "our_random", it appears to be included within a Live555 streaming
component (groupsock/inet.c: <A
href="http://www.live555.com/liveMedia/doxygen/html/inet_8c-source.html">http://www.live555.com/liveMedia/doxygen/html/inet_8c-source.html</A>)
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 </FONT></SPAN><SPAN class=141522521-21022007><FONT face=Arial
size=2>"#ifdef USE_SYSTEM_RANDOM" for builds on supporing systems (<A
href="http://lists.live555.com/pipermail/live-devel/2003-November/000013.html">http://lists.live555.com/pipermail/live-devel/2003-November/000013.html</A>).</FONT></SPAN></DIV>
<DIV><SPAN class=141522521-21022007><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=141522521-21022007><FONT face=Arial size=2>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.</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=141522521-21022007><FONT face=Arial size=2>Thank you for your
time,</FONT></SPAN></DIV><!-- Converted from text/plain format -->
<P><FONT size=2>Jason Gerecke<BR>Division of Student Affairs
Support<BR>そこに空があるから</FONT> </P>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>