GNOME Bugzilla – Bug 368273
Using the remove signal on multifdsink is not threadsafe
Last modified: 2006-10-31 14:19:47 UTC
Calling remove on multifdsink can cause crashes in a variety of ways. This patch (to be attached) makes a few paths safer (e.g. so that calling get-stats on an fd that isn't in the sink won't segfault), and also makes iteration over the clients list threadsafe.
Created attachment 75720 [details] [review] Patch for threadsafety
On second thought, there's a bunch more places where this would need fixing. I'll do that after lunch.
Created attachment 75723 [details] [review] Updated patch handling threadsafety correctly in a few more places
Committed, fixed.