[Live-devel] memory delete problem
Pering, Trevor
trevor.pering at intel.com
Wed Dec 14 15:28:36 PST 2005
I figured out more of the problem here. In
MPEG4VideoFileServerMediaSubsession::checkForAuxSDPLine1() the fDoneFlag
is used for multiple purposes. Basically, with an input file that has no
valid auxSDPInfo, the done flag will get set on EOF *before* the
auxSDPInfo is found. Which means the event loop function will terminate
(it is conditional on the doneFlag), thereby releasing the temporary
RTPSink -- HOWEVER, there is still a task scheduled in the queue for the
object. Later, the event is triggered after the object has been
deleted.
This case will not happen with a valid input file that has the
appropriate SDP records.
A "quick fix" is to add a dedicated done-event variable that is used for
the check function -- which gets set when either fDoneFlag is set (on
EOF), or a valid RTPSink is found. (This fixes the problem with the
system crashing, but still doesn't fix the problem with my input file.
:-( )
If my explanation of the problem/fix didn't make sense, I can provide
more details (e.g., exact fix patch, or exact line-numbers of where the
problem is, etc...) -- just let me know.
Cheers,
Trevor
-----Original Message-----
From: live-devel-bounces at ns.live555.com
[mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Tuesday, December 13, 2005 11:13 AM
To: LIVE555 Streaming Media - development & use
Subject: RE: [Live-devel] memory delete problem
At 07:42 AM 12/13/2005, you wrote:
>Huh -- well I figured out that part of the problem was one of my input
>media files was bad (I guess not a real MPEG4 file)... so,
>
>1) with bad input, there is a memory delete problem causes OnDemand to
>crash.
Could you please point me at one of these bad "test.m4v" files, so I
can (try to) reproduce this problem for myself?
Ross Finlayson
Live Networks, Inc. (LIVE555.COM)
<http://www.live555.com/>
_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel
More information about the live-devel
mailing list