[Live-devel] segmentation fault (core dumped) (Jeremy Noring)

Aranganathan Sankaradoss arang1978 at gmail.com
Wed Sep 8 19:08:42 PDT 2010


>>Date: Tue, 7 Sep 2010 15:07:52 -0700
>>From: Jeremy Noring <jnoring at logitech.com>
>>Subject: Re: [Live-devel] segmentation fault (core dumped)
>>To: "LIVE555 Streaming Media - development & use" <
live-devel at ns.live555.com>
>>Message-ID:
>>       <AANLkTikKyzYVqEthRpui77Vi1EgNiy8agJydGbyV=6MB at mail.gmail.com>
>>Content-Type: text/plain; charset="iso-8859-1"

>>2010/9/6 Aranganathan Sankaradoss <arang1978 at gmail.com>

>> hello Sir,
>>
>>        I am desperately in need of your help.
>>
>>
>> I am using openRTSP source code. If I call the main function again then I
>> get the following error "Segmentation fault (core dumped)"
>>

>Have you analyzed the dump file to get a callstack?


Hello sir,

        I got the call stack using backtrace command in gdb. Please go
through the call stack

#0  RTSPClient::sessionURL (this=) at include/MediaSession.hh:52
#1  0x08052a93 in RTSPClient::constructSubsessionURL (this=) at
RTSPClient.cpp:1193
#2  0x0805438a in RTSPClient::sendRequest (this=) at RTSPClient.cpp:581
#3  0x08056dab in RTSPClient::sendSetupCommand (this=) at RTSPClient.cpp:63
#4  0x08049392 in setupSubsession (subsession=) at openRTSP.cpp:38
#5  0x0804a773 in setupStreams () at playCommon.cpp:1124
#6  0x0804b517 in continueAfterDESCRIBE (resultCode=) at playCommon.cpp:1095
#7  0x08055d6f in RTSPClient::handleResponseBytes (this=) at
RTSPClient.cpp:1570
#8  0x08055f32 in RTSPClient::incomingDataHandler1 (this=) at
RTSPClient.cpp:1325
#9  0x08055f49 in RTSPClient::incomingDataHandler (instance=) at
RTSPClient.cpp:1318
#10 0x08071721 in BasicTaskScheduler::SingleStep (this=) at
BasicTaskScheduler.cpp:160
#11 0x08072877 in BasicTaskScheduler0::doEventLoop (this=) at
BasicTaskScheduler0.cpp:76
#12 0x0804c2e0 in RTSP_main () at playCommon.cpp:545
#13 0x0804ce0a in main (argc=<value optimized out>, argv=0xbfc9aa50) at
playCommon.cpp:972


in MediaSession.hh the the following statments get executed, I get the
"segmentation fault(core dumped)" error.

  char const* controlPath() const {
      return fControlPath; }


For a purpose, I need to call the main () again after it exits, so in main (
)  after
  env->taskScheduler().doEventLoop(&watchVariable);

I call RTSP_main(). It is just another copy of actual main ( ) .


Sir, your ideas will be helpful for me.

Regards,
Arang.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20100909/f9fd1fbc/attachment.html>


More information about the live-devel mailing list