GNOME Bugzilla – Bug 578731
Python plugin loader deadlocks registry scanning
Last modified: 2009-04-12 19:28:46 UTC
Looks like the fix for bug #576145 has a little caveat. I couldn't help but notice that my gst git setup is hanging on registry update. Looks like the python plugin now recursively tries to build the registry?! gdb --args gst-inspect-0.10 --disable-registry-fork backtrace:
+ Trace 214386
Thread 1 (Thread 0x7f4bac1aa6e0 (LWP 10794))
ouch :( I'm trying to add a detection in __init__.py to avoid recursive registry loading.
This also seems to happen only if there's changes in plugins different from the gstpython one.
commit bbedab4e6521fe7c813f23698fe650203b1d0820 Author: Edward Hervey <bilboed@bilboed.com> Date: Sun Apr 12 21:27:33 2009 +0200 registry: fix deadlock with recursive registry scanning. The way to properly fix this issue was in fact to disable the registry scanning when we import gst from the python plugin loader since... we are 100% guaranteed this is being called from a registry scan :)