[gstreamer-bugs] [Bug 578731] New: Python plugin loader deadlocks registry scanning

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Apr 11 17:30:58 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=578731

  GStreamer | gst-python | Ver: git
           Summary: Python plugin loader deadlocks registry scanning
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: gst-python
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: mail at renestadler.de
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


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:

Thread 1 (Thread 0x7f4bac1aa6e0 (LWP 10794)):
#0  0x00007f4baa7d1b04 in __lll_lock_wait () from /lib/libpthread.so.0
#1  0x00007f4baa7cd1a0 in _L_lock_102 () from /lib/libpthread.so.0
#2  0x00007f4baa7ccaae in pthread_mutex_lock () from /lib/libpthread.so.0
#3  0x00007f4babd49d23 in gst_plugin_load_file (filename=0x1b7f0f0
"/opt/jhbuild/gstreamer/lib64/gstreamer-0.10/libgstpython.so", 
    error=0x0) at gstplugin.c:466
#4  0x00007f4babd539ad in gst_registry_scan_path_level (registry=0x1a7a010, 
    path=0x7f4babd7ed08 "/opt/jhbuild/gstreamer/lib64/gstreamer-0.10",
level=10) at gstregistry.c:919
#5  0x00007f4babd53af4 in gst_registry_scan_path (registry=0x1a7a010, 
    path=0x7f4babd7ed08 "/opt/jhbuild/gstreamer/lib64/gstreamer-0.10") at
gstregistry.c:955
#6  0x00007f4babd0ba75 in scan_and_update_registry (default_registry=0x1a7a010, 
    registry_file=0x1a71120 "/home/cymacs/.gstreamer-0.10/registry.x86_64.bin",
write_changes=1, error=0x7fffb41cab88) at gst.c:724
#7  0x00007f4babd0bcbf in ensure_current_registry (error=0x7fffb41cab88) at
gst.c:790
#8  0x00007f4babd0c238 in gst_update_registry () at gst.c:1596
#9  0x00007f4ba72e2371 in _wrap_gst_update_registry (self=0x7f4babfb3208) at
gst.c:23364
#10 0x00007f4ba9320623 in PyEval_EvalFrameEx () from
/usr/lib/libpython2.5.so.1.0
#11 0x00007f4ba932225d in PyEval_EvalCodeEx () from
/usr/lib/libpython2.5.so.1.0
#12 0x00007f4ba9322452 in PyEval_EvalCode () from /usr/lib/libpython2.5.so.1.0
#13 0x00007f4ba9335050 in PyImport_ExecCodeModuleEx () from
/usr/lib/libpython2.5.so.1.0
#14 0x00007f4ba93352e0 in ?? () from /usr/lib/libpython2.5.so.1.0
#15 0x00007f4ba9337c37 in ?? () from /usr/lib/libpython2.5.so.1.0
#16 0x00007f4ba9338249 in ?? () from /usr/lib/libpython2.5.so.1.0
#17 0x00007f4ba93384e2 in ?? () from /usr/lib/libpython2.5.so.1.0
#18 0x00007f4ba9338b2f in ?? () from /usr/lib/libpython2.5.so.1.0
#19 0x00007f4ba9338eff in PyImport_ImportModuleLevel () from
/usr/lib/libpython2.5.so.1.0
#20 0x00007f4ba9319fcd in ?? () from /usr/lib/libpython2.5.so.1.0
#21 0x00007f4ba9295763 in PyObject_Call () from /usr/lib/libpython2.5.so.1.0
#22 0x00007f4ba92999be in PyObject_CallFunctionObjArgs () from
/usr/lib/libpython2.5.so.1.0
#23 0x00007f4ba93390c5 in PyImport_Import () from /usr/lib/libpython2.5.so.1.0
#24 0x00007f4ba9339295 in PyImport_ImportModule () from
/usr/lib/libpython2.5.so.1.0
#25 0x00007f4ba95d53cf in plugin_init (plugin=0x1bcf980) at
gstpythonplugin.c:276
#26 0x00007f4babd48e17 in gst_plugin_register_func (plugin=0x1bcf980,
desc=0x7f4ba97d7180) at gstplugin.c:342
#27 0x00007f4babd4a287 in gst_plugin_load_file (filename=0x1be5f50
"/opt/jhbuild/gstreamer/lib64/gstreamer-0.10/libgstpython.so", 
    error=0x0) at gstplugin.c:553
#28 0x00007f4babd539ad in gst_registry_scan_path_level (registry=0x1a7a010, 
    path=0x7f4babd7ed08 "/opt/jhbuild/gstreamer/lib64/gstreamer-0.10",
level=10) at gstregistry.c:919
#29 0x00007f4babd53af4 in gst_registry_scan_path (registry=0x1a7a010, 
    path=0x7f4babd7ed08 "/opt/jhbuild/gstreamer/lib64/gstreamer-0.10") at
gstregistry.c:955
#30 0x00007f4babd0ba75 in scan_and_update_registry (default_registry=0x1a7a010, 
    registry_file=0x1a7ab90 "/home/cymacs/.gstreamer-0.10/registry.x86_64.bin",
write_changes=1, error=0x7fffb41cfa08) at gst.c:724
#31 0x00007f4babd0bcbf in ensure_current_registry (error=0x7fffb41cfa08) at
gst.c:790
#32 0x00007f4babd0d69e in init_post (context=<value optimized out>,
group=<value optimized out>, data=<value optimized out>, 
    error=0x7fffb41cfa08) at gst.c:1112
#33 0x00007f4baae35908 in IA__g_option_context_parse (context=0x1a57da0,
argc=0x7fffb41cf8dc, argv=0x7fffb41cf8d0, 
    error=0x7fffb41cfa08) at /build/buildd/glib2.0-2.18.2/glib/goption.c:1796
#34 0x0000000000405f71 in main (argc=2, argv=0x7fffb41cfb28) at
gst-inspect.c:1428


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=578731.




More information about the Gstreamer-bugs mailing list