[gstreamer-bugs] [Bug 583378] New: libgstpython.so causes a segfault

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Wed May 20 14:39:04 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=583378

  GStreamer | gst-python | Ver: git
           Summary: libgstpython.so causes a segfault
           Product: GStreamer
           Version: git
          Platform: Other
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-python
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: n770galaxy at gmail.com
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


In the following circumstances libgstpython.so causes a segfault.

- delete the registry
- run python
- import pgm (pigment)

I've been able to reproduce it also with gst-inspect in another scenario
different than desktop.

In the pigment case I've got the following backtrace:

#0  0x00007fb5b9fc1dd9 in plugin_init (plugin=0x1518770) at
gstpythonplugin.c:355
#1  0x00007fb5cc8efd86 in gst_plugin_register_func (plugin=0x1518770,
desc=0x7fb5ba1c41a0, user_data=0x0) at gstplugin.c:416
#2  0x00007fb5cc8f1489 in gst_plugin_load_file (filename=0x154e790
"/home/jep/.install/lib/gstreamer-0.10/libgstpython.so", error=0x0) at
gstplugin.c:629
#3  0x00007fb5cc8faacd in gst_registry_scan_path_level (registry=0x140b850,
path=0x7fb5cc927508 "/home/jep/.install/lib/gstreamer-0.10", level=10)
    at gstregistry.c:916
#4  0x00007fb5cc8fac24 in gst_registry_scan_path (registry=0x140b850,
path=0x7fb5cc927508 "/home/jep/.install/lib/gstreamer-0.10") at
gstregistry.c:952
#5  0x00007fb5cc8b0b34 in scan_and_update_registry (default_registry=0x140b850,
registry_file=0x140c000 "/home/jep/.gstreamer-0.10/registry.x86_64.bin", 
    write_changes=1, error=0x0) at gst.c:724
#6  0x00007fb5cc8b0d8f in ensure_current_registry (error=0x0) at gst.c:786
#7  0x00007fb5cc8b284e in init_post (context=<value optimized out>,
group=<value optimized out>, data=<value optimized out>, error=0x0) at
gst.c:1100
#8  0x00007fb5cb83b020 in g_option_context_parse () from
/usr/lib/libglib-2.0.so.0
#9  0x00007fb5cc8b1f8d in gst_init_check (argc=0x7fffd6d28e8c,
argv=0x7fffd6d28e80, err=0x0) at gst.c:435
#10 0x00007fb5ccfb29ef in pgm_init_check (argc=0x7fffd6d28e8c,
argv=0x7fffd6d28e80) at ./pgm.c:226
#11 0x00007fb5cd1ecf57 in init_pgm () at pgmmodule.c:62

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fb5ced0d6f0 (LWP 26549)]
0x00007fb5b9fc1dd9 in plugin_init (plugin=0x1518770) at gstpythonplugin.c:355
355         state = pyg_gil_state_ensure ();

0x00007fb5b9fc1dc8 <plugin_init+296>:   xor    %eax,%eax
0x00007fb5b9fc1dca <plugin_init+298>:   callq  0x7fb5b9fc1518
<gst_debug_log at plt>
0x00007fb5b9fc1dcf <plugin_init+303>:   mov    0x202202(%rip),%rax        #
0x7fb5ba1c3fd8 <__JCR_LIST__+664>
0x00007fb5b9fc1dd6 <plugin_init+310>:   mov    (%rax),%rax
0x00007fb5b9fc1dd9 <plugin_init+313>:   callq  *0x160(%rax)
0x00007fb5b9fc1ddf <plugin_init+319>:   movl   $0x0,0x24(%rsp)

Segfault at +313, rax is 0 then I suspect it's something related to null
pointer.


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




More information about the Gstreamer-bugs mailing list