[Live-devel] HTTP live streaming crash
Pak Man Chan
parkchan1960 at gmail.com
Thu Jan 16 17:47:31 PST 2014
On Thu, Jan 16, 2014 at 5:37 PM, Ross Finlayson <finlayson at live555.com>wrote:
> The crash happens on the 0113 release too.
>
>
> Try upgrading to the most recent version (currently, 2014.01.16). It
> fixes a bug that might have caused your problem.
>
>
> Hi Ross,
The latest(0117) release still crashes on HLS. Here is the stack trace,
#0 0x0000000000000000 in ?? ()
#1 0x000000000040d003 in MediaSink::onSourceClosure (this=0x6be880)
at MediaSink.cpp:99
#2 0x0000000000454b11 in TCPStreamSink::processBuffer (this=0x6be880)
at TCPStreamSink.cpp:77
#3 0x0000000000454c59 in TCPStreamSink::afterGettingFrame (this=0x6be880,
frameSize=376, numTruncatedBytes=0) at TCPStreamSink.cpp:106
#4 0x0000000000454bce in TCPStreamSink::afterGettingFrame
(clientData=0x6be880,
frameSize=376, numTruncatedBytes=0) at TCPStreamSink.cpp:96
#5 0x0000000000434def in FramedSource::afterGetting (source=0x6bd8b0)
at FramedSource.cpp:91
#6 0x000000000044c0f0 in MPEG2TransportStreamFramer::afterGettingFrame1 (
this=0x6bd8b0, frameSize=376, presentationTime=...)
at MPEG2TransportStreamFramer.cpp:192
#7 0x000000000044be67 in MPEG2TransportStreamFramer::afterGettingFrame (
clientData=0x6bd8b0, frameSize=376, presentationTime=...)
at MPEG2TransportStreamFramer.cpp:136
#8 0x0000000000434def in FramedSource::afterGetting (source=0x6bd7e0)
at FramedSource.cpp:91
#9 0x00000000004358fa in ByteStreamFileSource::doReadFromFile
(this=0x6bd7e0)
at ByteStreamFileSource.cpp:179
#10 0x0000000000435693 in ByteStreamFileSource::fileReadableHandler
(source=0x6bd7e0)
at ByteStreamFileSource.cpp:123
#11 0x0000000000476e21 in BasicTaskScheduler::SingleStep (this=0x6b5010,
maxDelayTime=0) at BasicTaskScheduler.cpp:163
#12 0x000000000047962e in BasicTaskScheduler0::doEventLoop (this=0x6b5010,
watchVariable=0x0) at BasicTaskScheduler0.cpp:80
#13 0x000000000040b862 in main (argc=1, argv=0x7fffffffe4a8)
at live555MediaServer.cpp:88
When running under valgrind, it will not crash but valgrind detected
some invalid memory accesses. Not sure if these invalid memory accesses are
related to the crash. Attached is the valgrind report when running HLS.
Thanks.
Park
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20140117/85a57c61/attachment-0001.html>
-------------- next part --------------
==509== Invalid read of size 1
==509== at 0x454ADA: TCPStreamSink::processBuffer() (TCPStreamSink.cpp:75)
==509== by 0x454C58: TCPStreamSink::afterGettingFrame(unsigned int, unsigned int) (TCPStreamSink.cpp:106)
==509== by 0x454BCD: TCPStreamSink::afterGettingFrame(void*, unsigned int, unsigned int, timeval, unsigned int) (TCPStreamSink.cpp:96)
==509== by 0x434DEE: FramedSource::afterGetting(FramedSource*) (FramedSource.cpp:91)
==509== by 0x44C0EF: MPEG2TransportStreamFramer::afterGettingFrame1(unsigned int, timeval) (MPEG2TransportStreamFramer.cpp:192)
==509== by 0x44BE66: MPEG2TransportStreamFramer::afterGettingFrame(void*, unsigned int, unsigned int, timeval, unsigned int) (MPEG2TransportStreamFramer.cpp:136)
==509== by 0x434DEE: FramedSource::afterGetting(FramedSource*) (FramedSource.cpp:91)
==509== by 0x4358F9: ByteStreamFileSource::doReadFromFile() (ByteStreamFileSource.cpp:179)
==509== by 0x435692: ByteStreamFileSource::fileReadableHandler(ByteStreamFileSource*, int) (ByteStreamFileSource.cpp:123)
==509== by 0x476E20: BasicTaskScheduler::SingleStep(unsigned int) (BasicTaskScheduler.cpp:163)
==509== by 0x47962D: BasicTaskScheduler0::doEventLoop(char*) (BasicTaskScheduler0.cpp:80)
==509== by 0x40B861: main (live555MediaServer.cpp:88)
==509== Address 0x5a2ed48 is 10,088 bytes inside a block of size 10,096 free'd
==509== at 0x4C2836C: operator delete(void*) (vg_replace_malloc.c:480)
==509== by 0x454839: TCPStreamSink::~TCPStreamSink() (TCPStreamSink.cpp:37)
==509== by 0x40CB1F: MediaLookupTable::remove(char const*) (Media.cpp:151)
==509== by 0x40C71A: Medium::close(UsageEnvironment&, char const*) (Media.cpp:53)
==509== by 0x40C757: Medium::close(Medium*) (Media.cpp:59)
==509== by 0x41DBB8: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::~RTSPClientConnectionSupportingHTTPStreaming() (RTSPServerSupportingHTTPStreaming.cpp:59)
==509== by 0x41DC17: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::~RTSPClientConnectionSupportingHTTPStreaming() (RTSPServerSupportingHTTPStreaming.cpp:60)
==509== by 0x41E685: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::afterStreaming(void*) (RTSPServerSupportingHTTPStreaming.cpp:260)
==509== by 0x40D030: MediaSink::onSourceClosure() (MediaSink.cpp:103)
==509== by 0x454B10: TCPStreamSink::processBuffer() (TCPStreamSink.cpp:77)
==509== by 0x454CA0: TCPStreamSink::ourOnSourceClosure1() (TCPStreamSink.cpp:117)
==509== by 0x454C7B: TCPStreamSink::ourOnSourceClosure(void*) (TCPStreamSink.cpp:111)
==509==
==509== Invalid read of size 4
==509== at 0x454CB0: TCPStreamSink::numUnwrittenBytes() const (TCPStreamSink.hh:57)
==509== by 0x454AF0: TCPStreamSink::processBuffer() (TCPStreamSink.cpp:75)
==509== by 0x454C58: TCPStreamSink::afterGettingFrame(unsigned int, unsigned int) (TCPStreamSink.cpp:106)
==509== by 0x454BCD: TCPStreamSink::afterGettingFrame(void*, unsigned int, unsigned int, timeval, unsigned int) (TCPStreamSink.cpp:96)
==509== by 0x434DEE: FramedSource::afterGetting(FramedSource*) (FramedSource.cpp:91)
==509== by 0x44C0EF: MPEG2TransportStreamFramer::afterGettingFrame1(unsigned int, timeval) (MPEG2TransportStreamFramer.cpp:192)
==509== by 0x44BE66: MPEG2TransportStreamFramer::afterGettingFrame(void*, unsigned int, unsigned int, timeval, unsigned int) (MPEG2TransportStreamFramer.cpp:136)
==509== by 0x434DEE: FramedSource::afterGetting(FramedSource*) (FramedSource.cpp:91)
==509== by 0x4358F9: ByteStreamFileSource::doReadFromFile() (ByteStreamFileSource.cpp:179)
==509== by 0x435692: ByteStreamFileSource::fileReadableHandler(ByteStreamFileSource*, int) (ByteStreamFileSource.cpp:123)
==509== by 0x476E20: BasicTaskScheduler::SingleStep(unsigned int) (BasicTaskScheduler.cpp:163)
==509== by 0x47962D: BasicTaskScheduler0::doEventLoop(char*) (BasicTaskScheduler0.cpp:80)
==509== Address 0x5a2ed44 is 10,084 bytes inside a block of size 10,096 free'd
==509== at 0x4C2836C: operator delete(void*) (vg_replace_malloc.c:480)
==509== by 0x454839: TCPStreamSink::~TCPStreamSink() (TCPStreamSink.cpp:37)
==509== by 0x40CB1F: MediaLookupTable::remove(char const*) (Media.cpp:151)
==509== by 0x40C71A: Medium::close(UsageEnvironment&, char const*) (Media.cpp:53)
==509== by 0x40C757: Medium::close(Medium*) (Media.cpp:59)
==509== by 0x41DBB8: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::~RTSPClientConnectionSupportingHTTPStreaming() (RTSPServerSupportingHTTPStreaming.cpp:59)
==509== by 0x41DC17: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::~RTSPClientConnectionSupportingHTTPStreaming() (RTSPServerSupportingHTTPStreaming.cpp:60)
==509== by 0x41E685: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::afterStreaming(void*) (RTSPServerSupportingHTTPStreaming.cpp:260)
==509== by 0x40D030: MediaSink::onSourceClosure() (MediaSink.cpp:103)
==509== by 0x454B10: TCPStreamSink::processBuffer() (TCPStreamSink.cpp:77)
==509== by 0x454CA0: TCPStreamSink::ourOnSourceClosure1() (TCPStreamSink.cpp:117)
==509== by 0x454C7B: TCPStreamSink::ourOnSourceClosure(void*) (TCPStreamSink.cpp:111)
==509==
==509== Invalid read of size 4
==509== at 0x454CBA: TCPStreamSink::numUnwrittenBytes() const (TCPStreamSink.hh:57)
==509== by 0x454AF0: TCPStreamSink::processBuffer() (TCPStreamSink.cpp:75)
==509== by 0x454C58: TCPStreamSink::afterGettingFrame(unsigned int, unsigned int) (TCPStreamSink.cpp:106)
==509== by 0x454BCD: TCPStreamSink::afterGettingFrame(void*, unsigned int, unsigned int, timeval, unsigned int) (TCPStreamSink.cpp:96)
==509== by 0x434DEE: FramedSource::afterGetting(FramedSource*) (FramedSource.cpp:91)
==509== by 0x44C0EF: MPEG2TransportStreamFramer::afterGettingFrame1(unsigned int, timeval) (MPEG2TransportStreamFramer.cpp:192)
==509== by 0x44BE66: MPEG2TransportStreamFramer::afterGettingFrame(void*, unsigned int, unsigned int, timeval, unsigned int) (MPEG2TransportStreamFramer.cpp:136)
==509== by 0x434DEE: FramedSource::afterGetting(FramedSource*) (FramedSource.cpp:91)
==509== by 0x4358F9: ByteStreamFileSource::doReadFromFile() (ByteStreamFileSource.cpp:179)
==509== by 0x435692: ByteStreamFileSource::fileReadableHandler(ByteStreamFileSource*, int) (ByteStreamFileSource.cpp:123)
==509== by 0x476E20: BasicTaskScheduler::SingleStep(unsigned int) (BasicTaskScheduler.cpp:163)
==509== by 0x47962D: BasicTaskScheduler0::doEventLoop(char*) (BasicTaskScheduler0.cpp:80)
==509== Address 0x5a2ed40 is 10,080 bytes inside a block of size 10,096 free'd
==509== at 0x4C2836C: operator delete(void*) (vg_replace_malloc.c:480)
==509== by 0x454839: TCPStreamSink::~TCPStreamSink() (TCPStreamSink.cpp:37)
==509== by 0x40CB1F: MediaLookupTable::remove(char const*) (Media.cpp:151)
==509== by 0x40C71A: Medium::close(UsageEnvironment&, char const*) (Media.cpp:53)
==509== by 0x40C757: Medium::close(Medium*) (Media.cpp:59)
==509== by 0x41DBB8: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::~RTSPClientConnectionSupportingHTTPStreaming() (RTSPServerSupportingHTTPStreaming.cpp:59)
==509== by 0x41DC17: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::~RTSPClientConnectionSupportingHTTPStreaming() (RTSPServerSupportingHTTPStreaming.cpp:60)
==509== by 0x41E685: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::afterStreaming(void*) (RTSPServerSupportingHTTPStreaming.cpp:260)
==509== by 0x40D030: MediaSink::onSourceClosure() (MediaSink.cpp:103)
==509== by 0x454B10: TCPStreamSink::processBuffer() (TCPStreamSink.cpp:77)
==509== by 0x454CA0: TCPStreamSink::ourOnSourceClosure1() (TCPStreamSink.cpp:117)
==509== by 0x454C7B: TCPStreamSink::ourOnSourceClosure(void*) (TCPStreamSink.cpp:111)
==509==
==509== Invalid read of size 8
==509== at 0x40C538: Medium::envir() const (Media.hh:59)
==509== by 0x40CFD8: MediaSink::onSourceClosure() (MediaSink.cpp:99)
==509== by 0x454B10: TCPStreamSink::processBuffer() (TCPStreamSink.cpp:77)
==509== by 0x454C58: TCPStreamSink::afterGettingFrame(unsigned int, unsigned int) (TCPStreamSink.cpp:106)
==509== by 0x454BCD: TCPStreamSink::afterGettingFrame(void*, unsigned int, unsigned int, timeval, unsigned int) (TCPStreamSink.cpp:96)
==509== by 0x434DEE: FramedSource::afterGetting(FramedSource*) (FramedSource.cpp:91)
==509== by 0x44C0EF: MPEG2TransportStreamFramer::afterGettingFrame1(unsigned int, timeval) (MPEG2TransportStreamFramer.cpp:192)
==509== by 0x44BE66: MPEG2TransportStreamFramer::afterGettingFrame(void*, unsigned int, unsigned int, timeval, unsigned int) (MPEG2TransportStreamFramer.cpp:136)
==509== by 0x434DEE: FramedSource::afterGetting(FramedSource*) (FramedSource.cpp:91)
==509== by 0x4358F9: ByteStreamFileSource::doReadFromFile() (ByteStreamFileSource.cpp:179)
==509== by 0x435692: ByteStreamFileSource::fileReadableHandler(ByteStreamFileSource*, int) (ByteStreamFileSource.cpp:123)
==509== by 0x476E20: BasicTaskScheduler::SingleStep(unsigned int) (BasicTaskScheduler.cpp:163)
==509== Address 0x5a2c5e8 is 8 bytes inside a block of size 10,096 free'd
==509== at 0x4C2836C: operator delete(void*) (vg_replace_malloc.c:480)
==509== by 0x454839: TCPStreamSink::~TCPStreamSink() (TCPStreamSink.cpp:37)
==509== by 0x40CB1F: MediaLookupTable::remove(char const*) (Media.cpp:151)
==509== by 0x40C71A: Medium::close(UsageEnvironment&, char const*) (Media.cpp:53)
==509== by 0x40C757: Medium::close(Medium*) (Media.cpp:59)
==509== by 0x41DBB8: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::~RTSPClientConnectionSupportingHTTPStreaming() (RTSPServerSupportingHTTPStreaming.cpp:59)
==509== by 0x41DC17: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::~RTSPClientConnectionSupportingHTTPStreaming() (RTSPServerSupportingHTTPStreaming.cpp:60)
==509== by 0x41E685: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::afterStreaming(void*) (RTSPServerSupportingHTTPStreaming.cpp:260)
==509== by 0x40D030: MediaSink::onSourceClosure() (MediaSink.cpp:103)
==509== by 0x454B10: TCPStreamSink::processBuffer() (TCPStreamSink.cpp:77)
==509== by 0x454CA0: TCPStreamSink::ourOnSourceClosure1() (TCPStreamSink.cpp:117)
==509== by 0x454C7B: TCPStreamSink::ourOnSourceClosure(void*) (TCPStreamSink.cpp:111)
==509==
==509== Invalid read of size 8
==509== at 0x4795AA: BasicTaskScheduler0::unscheduleDelayedTask(void*&) (BasicTaskScheduler0.cpp:71)
==509== by 0x40D002: MediaSink::onSourceClosure() (MediaSink.cpp:99)
==509== by 0x454B10: TCPStreamSink::processBuffer() (TCPStreamSink.cpp:77)
==509== by 0x454C58: TCPStreamSink::afterGettingFrame(unsigned int, unsigned int) (TCPStreamSink.cpp:106)
==509== by 0x454BCD: TCPStreamSink::afterGettingFrame(void*, unsigned int, unsigned int, timeval, unsigned int) (TCPStreamSink.cpp:96)
==509== by 0x434DEE: FramedSource::afterGetting(FramedSource*) (FramedSource.cpp:91)
==509== by 0x44C0EF: MPEG2TransportStreamFramer::afterGettingFrame1(unsigned int, timeval) (MPEG2TransportStreamFramer.cpp:192)
==509== by 0x44BE66: MPEG2TransportStreamFramer::afterGettingFrame(void*, unsigned int, unsigned int, timeval, unsigned int) (MPEG2TransportStreamFramer.cpp:136)
==509== by 0x434DEE: FramedSource::afterGetting(FramedSource*) (FramedSource.cpp:91)
==509== by 0x4358F9: ByteStreamFileSource::doReadFromFile() (ByteStreamFileSource.cpp:179)
==509== by 0x435692: ByteStreamFileSource::fileReadableHandler(ByteStreamFileSource*, int) (ByteStreamFileSource.cpp:123)
==509== by 0x476E20: BasicTaskScheduler::SingleStep(unsigned int) (BasicTaskScheduler.cpp:163)
==509== Address 0x5a2c610 is 48 bytes inside a block of size 10,096 free'd
==509== at 0x4C2836C: operator delete(void*) (vg_replace_malloc.c:480)
==509== by 0x454839: TCPStreamSink::~TCPStreamSink() (TCPStreamSink.cpp:37)
==509== by 0x40CB1F: MediaLookupTable::remove(char const*) (Media.cpp:151)
==509== by 0x40C71A: Medium::close(UsageEnvironment&, char const*) (Media.cpp:53)
==509== by 0x40C757: Medium::close(Medium*) (Media.cpp:59)
==509== by 0x41DBB8: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::~RTSPClientConnectionSupportingHTTPStreaming() (RTSPServerSupportingHTTPStreaming.cpp:59)
==509== by 0x41DC17: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::~RTSPClientConnectionSupportingHTTPStreaming() (RTSPServerSupportingHTTPStreaming.cpp:60)
==509== by 0x41E685: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::afterStreaming(void*) (RTSPServerSupportingHTTPStreaming.cpp:260)
==509== by 0x40D030: MediaSink::onSourceClosure() (MediaSink.cpp:103)
==509== by 0x454B10: TCPStreamSink::processBuffer() (TCPStreamSink.cpp:77)
==509== by 0x454CA0: TCPStreamSink::ourOnSourceClosure1() (TCPStreamSink.cpp:117)
==509== by 0x454C7B: TCPStreamSink::ourOnSourceClosure(void*) (TCPStreamSink.cpp:111)
==509==
==509== Invalid write of size 8
==509== at 0x4795C8: BasicTaskScheduler0::unscheduleDelayedTask(void*&) (BasicTaskScheduler0.cpp:72)
==509== by 0x40D002: MediaSink::onSourceClosure() (MediaSink.cpp:99)
==509== by 0x454B10: TCPStreamSink::processBuffer() (TCPStreamSink.cpp:77)
==509== by 0x454C58: TCPStreamSink::afterGettingFrame(unsigned int, unsigned int) (TCPStreamSink.cpp:106)
==509== by 0x454BCD: TCPStreamSink::afterGettingFrame(void*, unsigned int, unsigned int, timeval, unsigned int) (TCPStreamSink.cpp:96)
==509== by 0x434DEE: FramedSource::afterGetting(FramedSource*) (FramedSource.cpp:91)
==509== by 0x44C0EF: MPEG2TransportStreamFramer::afterGettingFrame1(unsigned int, timeval) (MPEG2TransportStreamFramer.cpp:192)
==509== by 0x44BE66: MPEG2TransportStreamFramer::afterGettingFrame(void*, unsigned int, unsigned int, timeval, unsigned int) (MPEG2TransportStreamFramer.cpp:136)
==509== by 0x434DEE: FramedSource::afterGetting(FramedSource*) (FramedSource.cpp:91)
==509== by 0x4358F9: ByteStreamFileSource::doReadFromFile() (ByteStreamFileSource.cpp:179)
==509== by 0x435692: ByteStreamFileSource::fileReadableHandler(ByteStreamFileSource*, int) (ByteStreamFileSource.cpp:123)
==509== by 0x476E20: BasicTaskScheduler::SingleStep(unsigned int) (BasicTaskScheduler.cpp:163)
==509== Address 0x5a2c610 is 48 bytes inside a block of size 10,096 free'd
==509== at 0x4C2836C: operator delete(void*) (vg_replace_malloc.c:480)
==509== by 0x454839: TCPStreamSink::~TCPStreamSink() (TCPStreamSink.cpp:37)
==509== by 0x40CB1F: MediaLookupTable::remove(char const*) (Media.cpp:151)
==509== by 0x40C71A: Medium::close(UsageEnvironment&, char const*) (Media.cpp:53)
==509== by 0x40C757: Medium::close(Medium*) (Media.cpp:59)
==509== by 0x41DBB8: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::~RTSPClientConnectionSupportingHTTPStreaming() (RTSPServerSupportingHTTPStreaming.cpp:59)
==509== by 0x41DC17: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::~RTSPClientConnectionSupportingHTTPStreaming() (RTSPServerSupportingHTTPStreaming.cpp:60)
==509== by 0x41E685: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::afterStreaming(void*) (RTSPServerSupportingHTTPStreaming.cpp:260)
==509== by 0x40D030: MediaSink::onSourceClosure() (MediaSink.cpp:103)
==509== by 0x454B10: TCPStreamSink::processBuffer() (TCPStreamSink.cpp:77)
==509== by 0x454CA0: TCPStreamSink::ourOnSourceClosure1() (TCPStreamSink.cpp:117)
==509== by 0x454C7B: TCPStreamSink::ourOnSourceClosure(void*) (TCPStreamSink.cpp:111)
==509==
==509== Invalid write of size 8
==509== at 0x40D007: MediaSink::onSourceClosure() (MediaSink.cpp:101)
==509== by 0x454B10: TCPStreamSink::processBuffer() (TCPStreamSink.cpp:77)
==509== by 0x454C58: TCPStreamSink::afterGettingFrame(unsigned int, unsigned int) (TCPStreamSink.cpp:106)
==509== by 0x454BCD: TCPStreamSink::afterGettingFrame(void*, unsigned int, unsigned int, timeval, unsigned int) (TCPStreamSink.cpp:96)
==509== by 0x434DEE: FramedSource::afterGetting(FramedSource*) (FramedSource.cpp:91)
==509== by 0x44C0EF: MPEG2TransportStreamFramer::afterGettingFrame1(unsigned int, timeval) (MPEG2TransportStreamFramer.cpp:192)
==509== by 0x44BE66: MPEG2TransportStreamFramer::afterGettingFrame(void*, unsigned int, unsigned int, timeval, unsigned int) (MPEG2TransportStreamFramer.cpp:136)
==509== by 0x434DEE: FramedSource::afterGetting(FramedSource*) (FramedSource.cpp:91)
==509== by 0x4358F9: ByteStreamFileSource::doReadFromFile() (ByteStreamFileSource.cpp:179)
==509== by 0x435692: ByteStreamFileSource::fileReadableHandler(ByteStreamFileSource*, int) (ByteStreamFileSource.cpp:123)
==509== by 0x476E20: BasicTaskScheduler::SingleStep(unsigned int) (BasicTaskScheduler.cpp:163)
==509== by 0x47962D: BasicTaskScheduler0::doEventLoop(char*) (BasicTaskScheduler0.cpp:80)
==509== Address 0x5a2c618 is 56 bytes inside a block of size 10,096 free'd
==509== at 0x4C2836C: operator delete(void*) (vg_replace_malloc.c:480)
==509== by 0x454839: TCPStreamSink::~TCPStreamSink() (TCPStreamSink.cpp:37)
==509== by 0x40CB1F: MediaLookupTable::remove(char const*) (Media.cpp:151)
==509== by 0x40C71A: Medium::close(UsageEnvironment&, char const*) (Media.cpp:53)
==509== by 0x40C757: Medium::close(Medium*) (Media.cpp:59)
==509== by 0x41DBB8: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::~RTSPClientConnectionSupportingHTTPStreaming() (RTSPServerSupportingHTTPStreaming.cpp:59)
==509== by 0x41DC17: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::~RTSPClientConnectionSupportingHTTPStreaming() (RTSPServerSupportingHTTPStreaming.cpp:60)
==509== by 0x41E685: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::afterStreaming(void*) (RTSPServerSupportingHTTPStreaming.cpp:260)
==509== by 0x40D030: MediaSink::onSourceClosure() (MediaSink.cpp:103)
==509== by 0x454B10: TCPStreamSink::processBuffer() (TCPStreamSink.cpp:77)
==509== by 0x454CA0: TCPStreamSink::ourOnSourceClosure1() (TCPStreamSink.cpp:117)
==509== by 0x454C7B: TCPStreamSink::ourOnSourceClosure(void*) (TCPStreamSink.cpp:111)
==509==
==509== Invalid read of size 8
==509== at 0x40D013: MediaSink::onSourceClosure() (MediaSink.cpp:102)
==509== by 0x454B10: TCPStreamSink::processBuffer() (TCPStreamSink.cpp:77)
==509== by 0x454C58: TCPStreamSink::afterGettingFrame(unsigned int, unsigned int) (TCPStreamSink.cpp:106)
==509== by 0x454BCD: TCPStreamSink::afterGettingFrame(void*, unsigned int, unsigned int, timeval, unsigned int) (TCPStreamSink.cpp:96)
==509== by 0x434DEE: FramedSource::afterGetting(FramedSource*) (FramedSource.cpp:91)
==509== by 0x44C0EF: MPEG2TransportStreamFramer::afterGettingFrame1(unsigned int, timeval) (MPEG2TransportStreamFramer.cpp:192)
==509== by 0x44BE66: MPEG2TransportStreamFramer::afterGettingFrame(void*, unsigned int, unsigned int, timeval, unsigned int) (MPEG2TransportStreamFramer.cpp:136)
==509== by 0x434DEE: FramedSource::afterGetting(FramedSource*) (FramedSource.cpp:91)
==509== by 0x4358F9: ByteStreamFileSource::doReadFromFile() (ByteStreamFileSource.cpp:179)
==509== by 0x435692: ByteStreamFileSource::fileReadableHandler(ByteStreamFileSource*, int) (ByteStreamFileSource.cpp:123)
==509== by 0x476E20: BasicTaskScheduler::SingleStep(unsigned int) (BasicTaskScheduler.cpp:163)
==509== by 0x47962D: BasicTaskScheduler0::doEventLoop(char*) (BasicTaskScheduler0.cpp:80)
==509== Address 0x5a2c620 is 64 bytes inside a block of size 10,096 free'd
==509== at 0x4C2836C: operator delete(void*) (vg_replace_malloc.c:480)
==509== by 0x454839: TCPStreamSink::~TCPStreamSink() (TCPStreamSink.cpp:37)
==509== by 0x40CB1F: MediaLookupTable::remove(char const*) (Media.cpp:151)
==509== by 0x40C71A: Medium::close(UsageEnvironment&, char const*) (Media.cpp:53)
==509== by 0x40C757: Medium::close(Medium*) (Media.cpp:59)
==509== by 0x41DBB8: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::~RTSPClientConnectionSupportingHTTPStreaming() (RTSPServerSupportingHTTPStreaming.cpp:59)
==509== by 0x41DC17: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::~RTSPClientConnectionSupportingHTTPStreaming() (RTSPServerSupportingHTTPStreaming.cpp:60)
==509== by 0x41E685: RTSPServerSupportingHTTPStreaming::RTSPClientConnectionSupportingHTTPStreaming::afterStreaming(void*) (RTSPServerSupportingHTTPStreaming.cpp:260)
==509== by 0x40D030: MediaSink::onSourceClosure() (MediaSink.cpp:103)
==509== by 0x454B10: TCPStreamSink::processBuffer() (TCPStreamSink.cpp:77)
==509== by 0x454CA0: TCPStreamSink::ourOnSourceClosure1() (TCPStreamSink.cpp:117)
==509== by 0x454C7B: TCPStreamSink::ourOnSourceClosure(void*) (TCPStreamSink.cpp:111)
==509==
More information about the live-devel
mailing list