GNOME Bugzilla – Bug 579416
Nasty gst-python deadlock
Last modified: 2009-04-18 16:17:57 UTC
Just encountered this nasty deadlock with gst-python and Thomas' jukebox code. It looks like one thread is calling gst_object_get_parent (holding the object lock), which triggers a toggle_refs_notify into Python code. In another thread, Python is trying to call gst_object_get_name() on the same object, while holding the Python lock. Patch coming...
+ Trace 214584
Created attachment 132870 [details] [review] drop the python lock in a few places
Fixed in git: commit cb2e4ca08408ffef7d31ad613480852286cf5ae1 Author: Jan Schmidt <thaytan@noraisin.net> Date: Sat Apr 18 16:39:42 2009 +0100 python: Fix some locking problems Add some python pyg_begin_allow_threads/end_allow_threads when calling into some gstreamer functions that might call into python. Fixes #579416