[Live-devel] memory delete problem

Pering, Trevor trevor.pering at intel.com
Tue Dec 13 07:42:39 PST 2005


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.
2) if you take out the delete, then other (valid) files crash.

Cheers,
	Trevor



-----Original Message-----
From: live-devel-bounces at ns.live555.com
[mailto:live-devel-bounces at ns.live555.com] On Behalf Of Pering, Trevor
Sent: Tuesday, December 13, 2005 6:41 AM
To: live-devel at ns.live555.com
Subject: [Live-devel] memory delete problem

Hello -- I've been trying to get the MPEG4 part of testOnDemandStreaming
server and I came across what might be a memory corruption problem...
 
Basicaly, the statement
 
delete meduim
 
from MediaLookupTable::remove in Media.cpp seems to conflict with the
check of 
 
if (fDummyRTPSink->auxSDPLine() != NULL) {
 
in MPEG4VideoFileServerMediaSubsession::checkForAuxSDPLine1() from
MPEG4VideoFileServerMediaSubsession.cpp
 
Putting some debug statements in confirms that the address of medium
(being deleted) is the same as fDummyRTPSink (which is used later), and
that removing the delete statement makes things better. I don't really
know what's going on in the code, but there's definitely something wonky
going on here...

Cheers,
	Trevor

_______________________________________________
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