>>Date: Tue, 7 Sep 2010 15:07:52 -0700<br>
>>From: Jeremy Noring <<a href="mailto:jnoring@logitech.com">jnoring@logitech.com</a>><br>
>>Subject: Re: [Live-devel] segmentation fault (core dumped)<br>>>To: "LIVE555 Streaming Media - development & use" <<a href="mailto:live-devel@ns.live555.com">live-devel@ns.live555.com</a>><br>
>>Message-ID:<br>
>> <AANLkTikKyzYVqEthRpui77Vi1EgNiy8agJydGbyV=<a href="mailto:6MB@mail.gmail.com">6MB@mail.gmail.com</a>><br><div id=":fb">>>Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
>>2010/9/6 Aranganathan Sankaradoss <<a href="mailto:arang1978@gmail.com">arang1978@gmail.com</a>><br>
<br>
>> hello Sir,<br>
>><br>
>> I am desperately in need of your help.<br>
>><br>
>><br>
>> I am using openRTSP source code. If I call the main function again then I<br>
>> get the following error "Segmentation fault (core dumped)"<br>>><br>
<br>
>Have you analyzed the dump file to get a callstack?<br><br><br>Hello sir,<br><br> I got the call stack using backtrace command in gdb. Please go through the call stack<br><br>#0 RTSPClient::sessionURL (this=) at include/MediaSession.hh:52<br>
#1 0x08052a93 in RTSPClient::constructSubsessionURL (this=) at RTSPClient.cpp:1193<br>#2 0x0805438a in RTSPClient::sendRequest (this=) at RTSPClient.cpp:581<br>#3 0x08056dab in RTSPClient::sendSetupCommand (this=) at RTSPClient.cpp:63<br>
#4 0x08049392 in setupSubsession (subsession=) at openRTSP.cpp:38<br>#5 0x0804a773 in setupStreams () at playCommon.cpp:1124<br>#6 0x0804b517 in continueAfterDESCRIBE (resultCode=) at playCommon.cpp:1095<br>#7 0x08055d6f in RTSPClient::handleResponseBytes (this=) at RTSPClient.cpp:1570<br>
#8 0x08055f32 in RTSPClient::incomingDataHandler1 (this=) at RTSPClient.cpp:1325<br>#9 0x08055f49 in RTSPClient::incomingDataHandler (instance=) at RTSPClient.cpp:1318<br>#10 0x08071721 in BasicTaskScheduler::SingleStep (this=) at BasicTaskScheduler.cpp:160<br>
#11 0x08072877 in BasicTaskScheduler0::doEventLoop (this=) at BasicTaskScheduler0.cpp:76<br>#12 0x0804c2e0 in RTSP_main () at playCommon.cpp:545<br>#13 0x0804ce0a in main (argc=<value optimized out>, argv=0xbfc9aa50) at playCommon.cpp:972<br>
<br><br>in MediaSession.hh the the following statments get executed, I get the "segmentation fault(core dumped)" error.<br><br> char const* controlPath() const { <br> return fControlPath; }<br><br><br>For a purpose, I need to call the main () again after it exits, so in main ( ) after<br>
env->taskScheduler().doEventLoop(&watchVariable);<br><br>I call RTSP_main(). It is just another copy of actual main ( ) .<br><br><br>Sir, your ideas will be helpful for me. <br><br>Regards,<br>Arang.<br><br><br><br>
</div>