[Bug 790909] Race between gst_rtsp_client_close() and client_watch_notify() leads to undefined behaviour

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Dec 6 15:14:05 UTC 2017


https://bugzilla.gnome.org/show_bug.cgi?id=790909

--- Comment #2 from Kseniya Vasilchuk <vasilchukkseniia at gmail.com> ---
(In reply to Edward Hervey from comment #1)
> Hi,
> 
>   Thanks for your patch. Do you know if the issue still applies to git
> master ? Is there a way to reproduce the issue ?

I didn't try to reproduced it on master, but master code looks like nothing
changed. There should be the same problem.

I have reproduced it this way:
1) Create pipeline with appsrc which didn't give any data (camera was broken)
2) Many clients tried to connect at the same time. If they failed (always in
this case), they tried again and again
3) Simultaneously (from another thread)  gst_rtsp_server_client_filter() was
called with GST_RTSP_FILTER_REMOVE
4) 9 out of 10 crushes as result

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list