[Live-devel] Crash for Http live Streaming

daniel dw at norpix.com
Fri Jun 15 06:46:11 PDT 2012


Thank you for  your response so quickly.

 

Please see followed screenshot:

 



 

RTSPServer::RTSPClientSession::handleRequestBytes() Call first.

 

handleRequestBytes()  try to call
RTSPServerSupportingHTTPStreaming::RTSPClientSessionSupportingHTTPStreamin::
handleHTTPCmd_StreamingGET().

 

handleHTTPCmd_StreamingGET() delete himself and return to
handleRequestBytes() .

 

Then handleRequestBytes()  try to send data to client :

 

send(fClientOutputSocket, (char const*)fResponseBuffer,
strlen((char*)fResponseBuffer), 0) 

 

crash here.

 

 

Best regards,

 

Daniel wang

Software Developer

Norpix Inc.

 

From: live-devel-bounces at ns.live555.com
[mailto:live-devel-bounces at ns.live555.com] On Behalf Of Ross Finlayson
Sent: Friday, June 15, 2012 5:11 AM
To: LIVE555 Streaming Media - development & use
Subject: Re: [Live-devel] Crash for Http live Streaming

 

Thanks for the report.

 

Unfortunately, at first glance I don't see how the function
"RTSPServer::RTSPClientSession::handleRequestBytes()" can be called after
the
"RTSPServerSupportingHTTPStreaming::RTSPClientSessionSupportingHTTPStreaming
" object is deleted, because the destructor of the parent class -
"RTSPServer::RTSPClientSession" - should be turning off the handling of
incoming data on its socket.  I.e., once a "RTSPServer::RTSPClientSession"
object is deleted, no more incoming data for this session should attempt to
be handled.

 

So, if you can find out specifically how the
"RTSPServer::RTSPClientSession::handleRequestBytes()" function is getting
called (i.e., the call stack at the point of the crash), then this might
help me figure out what's going wrong.

 

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/20120615/ae1e7620/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 26021 bytes
Desc: not available
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20120615/ae1e7620/attachment-0001.png>


More information about the live-devel mailing list