[Live-devel] rtsp client crashes

Mallikarjuna Rao mallikarjunarao at gaiansolutions.com
Thu Apr 29 22:33:24 PDT 2010


hi,

I am new to live555 and implementing RTSP client by referring
playCommon.cpp from testProgs. In my application i am following the
sequence to open/play/close the rtsp session from my program.

create_thread(RTSP);
....................................
//after some time-----------------
shutdown();
cancel_thread(RTSP);


the definition of create_thread is like this

    open all the medium, sessions and initiate doEventLoop();


Here my problem is even after cancel_thread(RTSP), I am getting
segmentaion falut like this and my program got killed.

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1706]
0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x00425dfc in FramedSource::afterGetting (source=<value optimized
out>) at FramedSource.cpp:91
#2  0x0042e878 in MPEG2TransportStreamFramer::afterGettingFrame1
(this=0x54f738, frameSize=<value optimized out>, presentationTime=
      {tv_sec = 0, tv_usec = 0}) at MPEG2TransportStreamFramer.cpp:151
#3  0x00425dfc in FramedSource::afterGetting (source=<value optimized
out>) at FramedSource.cpp:91
#4  0x004261e0 in BasicUDPSource::incomingPacketHandler1 (this=0x54fac8)
at BasicUDPSource.cpp:72
#5  0x0043a370 in BasicTaskScheduler::SingleStep(unsigned int) ()
#6  0x0043c2fc in BasicTaskScheduler0::doEventLoop(char*) ()
#7  0x0040b0ec in RTSP(void*) ()


Please help me to fix this issue.

thanks in advance,
Mallikarjun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20100430/6154b675/attachment.html>


More information about the live-devel mailing list