[Live-devel] Access violation crash in rtspclient

Ross Finlayson finlayson at live555.com
Sat Nov 19 07:30:05 PST 2011


OK, I see what you're saying now.  Yes, you're correct: There is a problem if the RTCP "BYE" handler  - called from within "RTCPInstance::incomingReportHandler1()" - happens to delete the "RTCPInstance" object, because we'll continue to execute the rest of the "incomingReportHandler1()" member function afterwards.

Because having the "BYE" handler routine delete the "RTCPInstance" object is something that will typically happen (e.g., it happens in both "openRTSP" and in your application), this is a bug in the LIVE555 code.  The fix will be to delay the call to the "BYE" handler routine until the very end of the "incomingReportHandler1()" member function.

Very shortly, I'll be releasing a new version of the LIVE555 code that fixes this.

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20111119/6ba70d91/attachment-0001.html>


More information about the live-devel mailing list