[Live-devel] ~H264VideoRTPSink bug

Emiliano Parasassi millallo at gmail.com
Mon Sep 11 07:12:11 PDT 2006


Hi Ross,
I'm playing with H264 and seems to be a SEGV during the deletion of H264VideoRTPSink
during the RTSP DESCRIBE handler.
The ~H264VideoRTPSink destrucor misses the fSource = NULL. This fSource was replaced by
H264FUAFragmenter at H264VideoRTPSink.cpp:76.
So in the frame #1 the stopGettingFrames() function is called to an already freed object.


#0  0x654d3131 in ?? ()
#1  0x0835d522 in FramedSource::stopGettingFrames (this=0x868ab58) at FramedSource.cpp:134
#2  0x08377ea6 in MediaSink::stopPlaying (this=0x868a900) at MediaSink.cpp:83
#3  0x08378026 in ~MediaSink (this=0x868a900) at MediaSink.cpp:32
#4  0x083867de in ~RTPSink (this=0x868a900) at RTPSink.cpp:72
#5  0x08387c86 in ~MultiFramedRTPSink (this=0x868a900) at MultiFramedRTPSink.cpp:53
#6  0x08388da4 in ~VideoRTPSink (this=0x868a900) at VideoRTPSink.cpp:32
#7  0x0837c497 in ~H264VideoRTPSink (this=0x868a900) at H264VideoRTPSink.cpp:54
#8  0x0835cac6 in MediaLookupTable::remove (this=0x8573588, name=0x868a908 "liveMedia14") at Media.cpp:175
#9  0x0835cc7a in Medium::close (env=@0x8573de8, name=0x868a908 "liveMedia14") at Media.cpp:77
#10 0x0835ccb5 in Medium::close (medium=0x868a900) at Media.cpp:83
#11 0x083a160b in OnDemandServerMediaSubsession::sdpLines (this=0x861d0b0) at OnDemandServerMediaSubsession.cpp:92
#12 0x0839f89c in ServerMediaSession::generateSDPDescription (this=0x861cff0) at ServerMediaSession.cpp:219

Regards
Emiliano Parasassi


More information about the live-devel mailing list