[Live-devel] Another segmentation fault in latest live555

Denis Charmet dcharmet at uniways.fr
Mon Jun 14 08:41:27 PDT 2010


Hi,

I also use vlc with the latest live555 and I found a segmentation fault :

It seems that the use of getMediaSessionParameter launch a sendRequest( 
"GET_PARAMETER" ) with a NULL session and subsession.
So in sendRequest on line 696 constructSubsessionURL is called with a 
NULL subsession which cause liveMedia to crash on line 1155.

Here is the backtrace.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x4145e950 (LWP 24627)]
RTSPClient::constructSubsessionURL (this=0x16bae30, subsession=@0x0, 
prefix=@0x4145def0, separator=@0x4145dee8,
    suffix=@0x4145dee0) at RTSPClient.cpp:1155
1155    RTSPClient.cpp: No such file or directory.
    in RTSPClient.cpp
Current language:  auto; currently c++
(gdb) bt
#0  RTSPClient::constructSubsessionURL (this=0x16bae30, subsession=@0x0, 
prefix=@0x4145def0, separator=@0x4145dee8,
    suffix=@0x4145dee0) at RTSPClient.cpp:1155
#1  0x00007fd1680232dc in RTSPClient::sendRequest (this=0x16bae30, 
request=0x16d7d00) at RTSPClient.cpp:696
#2  0x00007fd168024aad in RTSPClient::sendGetParameterCommand 
(this=0x16bae30, session=<value optimized out>,
    responseHandler=0x7fd168020924 
<RTSPClient::responseHandlerForSyncInterface(RTSPClient*, int, char*)>,
    parameterName=<value optimized out>, authenticator=<value optimized 
out>) at RTSPClient.cpp:134
#3  0x00007fd168024b26 in RTSPClient::getMediaSessionParameter 
(this=0x16bae30, session=@0x0,
    parameterName=<value optimized out>, parameterValue=@0x4145dfa8) at 
RTSPClient.cpp:1828
#4  0x00007fd168018406 in Demux (p_demux=0x16b6bc8) at live555.cpp:1129
#5  0x00007fd17c3dd785 in MainLoop (p_input=0x16afec8, 
b_interactive=<value optimized out>) at input/demux.h:48
#6  0x00007fd17c3e02e5 in Run (p_this=<value optimized out>) at 
input/input.c:540
#7  0x00007fd17c417d26 in thread_entry (data=<value optimized out>) at 
misc/threads.c:58
#8  0x00007fd17c172fc7 in start_thread () from /lib/libpthread.so.0
#9  0x00007fd17bce459d in clone () from /lib/libc.so.6
#10 0x0000000000000000 in ?? ()

Regards,

-- 
Denis Charmet


More information about the live-devel mailing list