Closed GoogleCodeExporter closed 8 years ago
Trace log attached. Looks like the RTSP connection gets destroyed twice.
Original comment by cmrie...@gmail.com
on 22 Jun 2011 at 1:30
Attachments:
I found that if the server leaves the connection open after sending the 500
response, there is no crash. If the server closes the connection immediately
after sending the 500 response, the client crashes.
Original comment by cmrie...@gmail.com
on 22 Jun 2011 at 2:48
For now, I commented out the rtsp_client_connection_destroy() call in
rtsp_client_on_disconnect(). Hopefully I won't leak memory.
Original comment by cmrie...@gmail.com
on 22 Jun 2011 at 3:41
The change looks ok, so far in production. I'm reading through the UniMRCP
source code for RTSP/MRCPv1 to learn how it all works. I guess I'll start
committing changes once I fully understand the code, unless Arsen has any
objections.
Original comment by cmrie...@gmail.com
on 23 Jun 2011 at 6:02
Hi Chris,
You're right the RTSP connection is destroyed twice, and this unfortunately but
unavoidably leads to the client crash. Anyway, it looks like a leftover from
r1400 (Issue-60). I should have removed the call for
rtsp_client_connection_destroy() from rtsp_client_on_disconnect(), as you
suggested. There shouldn't be any drawbacks.
Fixed in r1809.
Thanks.
Original comment by achalo...@gmail.com
on 21 Jul 2011 at 2:03
Original issue reported on code.google.com by
cmrie...@gmail.com
on 22 Jun 2011 at 1:27