Matthew Waters
061a157ef5
glvideomixer: fix race retrieving the GL context from the display
...
_get_gl_context() can be called concurrently from either propose_allocation() or
decide_allocation(). If it so happens that this happens at the same time,
the check for whether we already had a GL context was outside the lock. Inside
the lock and loop, the first thing that happens is that we unref the current GL
context (if valid) as if there was a conflict adding it to the display. If the
timing was unlucky, subsequent use of the GL context would be referencing an
already unreffed GL context object resulting in a critical:
g_object_ref: assertion 'object->ref_count > 0' failed
https://bugzilla.gnome.org/show_bug.cgi?id=766703
2016-05-25 18:28:20 +10:00
..
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2015-01-21 10:18:50 +01:00
2016-03-24 14:56:51 +02:00
2016-04-07 20:44:09 +01:00
2016-04-04 17:48:55 +01:00
2016-03-24 14:56:51 +02:00
2016-04-22 17:33:15 -03:00
2015-03-12 01:33:03 +11:00
2016-04-13 10:25:32 +03:00
2016-04-18 12:35:40 +01:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-05-25 18:28:20 +10:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-27 12:04:16 +03:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-05-15 14:47:22 -07:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-05-18 21:33:43 -07:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2013-05-12 23:42:06 +01:00
2016-03-24 14:56:51 +02:00
2016-05-15 12:29:07 +01:00
2016-03-24 14:56:51 +02:00
2016-04-11 20:23:45 +01:00
2016-05-21 09:44:22 +03:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-05-15 14:18:23 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-04-15 15:37:32 +02:00
2016-03-29 10:57:32 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-05-13 15:24:35 +03:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-03-24 14:56:51 +02:00
2016-02-17 01:13:43 +11:00