GNOME Bugzilla – Bug 601772
gst-rtsp-server crashing : bug fixed
Last modified: 2010-08-20 16:41:16 UTC
Created attachment 147638 [details] [review] patch for fix the crashing of gst-rtsp-server The problem is that the rtsp-client may have no interest in the rtsp-response sometimes and exits early, so writing to that socket will cause a SIGPIPE and make my server crash. bug fixing: change the write command to send command(gst-plugins-base/gst/rtsp/gstrtspconnection.c) add MSG_NOSIGNAL flag on send command
commit f3b3dd33f3cfe9d53412a326884c3f2ce9363f68 Author: Sreerenj B <bsreerenj@gmail.com> Date: Fri Nov 13 11:16:44 2009 +0100 rtsp: avoid crashing on SIGPIPE Use send() instead of write() so that we can pass the MSG_NOSIGNAL flags to avoid crashing with SIGPIPE when the remote end is not listening to us anymore. Fixes #601772
*** Bug 595905 has been marked as a duplicate of this bug. ***
*** Bug 598426 has been marked as a duplicate of this bug. ***