[gstreamer-bugs] [Bug 574272] New: Python plugin loader causes SIGSEGV if "import gst" fails

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Mar 5 05:56:47 PST 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=574272

  GStreamer | gst-python | Ver: git
           Summary: Python plugin loader causes SIGSEGV if "import gst"
                    fails
           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: slomo at circular-chaos.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Hi,
the python plugin loader causes a SIGSEGV if "import gst" fails. This happens
on my buildslaves as no pygst is installed in the standard Python paths.

http://pitivi.org:8010/builders/sid-good-fast/builds/238/steps/make-check/logs/stdio


gdb backtrace:

0:00:07.506876391 22090  0x80541c0 ERROR             pyplugin
gstpythonplugin.c:256:pygst_require: the pygst module is not available!
ImportError: No module named pygst

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x404f48c0 (LWP 22090)]
0x43be589e in plugin_init (plugin=0x84e0ad0) at gstpythonplugin.c:329
329         state = pyg_gil_state_ensure ();
(gdb) bt
#0  0x43be589e in plugin_init (plugin=0x84e0ad0) at gstpythonplugin.c:329
#1  0x40089059 in gst_plugin_register_func (plugin=0x84e0ad0, desc=0x43be7ae0)
    at gstplugin.c:342
#2  0x40089e22 in gst_plugin_load_file (
    filename=0x84d6f80
"/buildbot/basedir/sid-core-fast/../slave.build/fast/lib/gstreamer-0.10/libgstpython.so",
error=0x0) at gstplugin.c:553
#3  0x400943bf in gst_registry_scan_path_level (registry=0x8068808, 
    path=0x8069170
"/buildbot/basedir/sid-core-fast/../slave.build/fast/lib/gstreamer-0.10",
level=10) at gstregistry.c:919
#4  0x400944c8 in gst_registry_scan_path (registry=0x8068808, 
    path=0x8069170
"/buildbot/basedir/sid-core-fast/../slave.build/fast/lib/gstreamer-0.10") at
gstregistry.c:955
#5  0x40047b67 in scan_and_update_registry (default_registry=0x8068808, 
    registry_file=0x8068600 "../../tests/check/test-registry.reg", 
    write_changes=1, error=0xbf994c30) at gst.c:695
#6  0x400482ae in ensure_current_registry (error=0xbf994c30) at gst.c:787
#7  0x4004a05b in init_post (context=0x8055850, group=0x8055920, data=0x0, 
    error=0xbf994c30) at gst.c:1108
#8  0x402eb323 in IA__g_option_context_parse (context=0x8055850, 
    argc=0xbf994c90, argv=0xbf994c94, error=0xbf994c30)
    at /build/buildd/glib2.0-2.18.4/glib/goption.c:1799
#9  0x40049706 in gst_init_check (argc=0xbf994c90, argv=0xbf994c94, 
    err=0xbf994c30) at gst.c:432
---Type <return> to continue, or q <return> to quit---
#10 0x400497f2 in gst_init (argc=0xbf994c90, argv=0xbf994c94) at gst.c:479
#11 0x40024d55 in gst_check_init (argc=0xbf994c90, argv=0xbf994c94)
    at gstcheck.c:89
#12 0x08048ed9 in main (argc=1, argv=0xbf994d14) at elements/xingmux.c:155


-- 
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=574272.




More information about the Gstreamer-bugs mailing list