[gstreamer-bugs] [Bug 560993] New: gst-inspect crash in dlopen due opening .so files from /usr/lib/gstreamer-0.10/.debug

GStreamer (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Sat Nov 15 18:21:45 PST 2008


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=560993

  GStreamer | gstreamer (core) | Ver: 0.10.17
           Summary: gst-inspect crash in dlopen due opening .so files from
                    /usr/lib/gstreamer-0.10/.debug
           Product: GStreamer
           Version: 0.10.17
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: critical
          Priority: Normal
         Component: gstreamer (core)
        AssignedTo: gstreamer-bugs at lists.sourceforge.net
        ReportedBy: zecke at handhelds.org
         QAContact: gstreamer-bugs at lists.sourceforge.net
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Steps to reproduce:
1. Install gstreamer-dbg on Angstrom/Openmoko
2. Run gst-inspect
3. Wait for the segfault


Stack trace:
#0  0x4000a88c in _dl_relocate_object () from /lib/ld-linux.so.3
(gdb) bt
#0  0x4000a88c in _dl_relocate_object () from /lib/ld-linux.so.3
#1  0x40011f68 in dl_open_worker () from /lib/ld-linux.so.3
#2  0x4000d7e4 in _dl_catch_error () from /lib/ld-linux.so.3
#3  0x400117d8 in _dl_open () from /lib/ld-linux.so.3
#4  0x402fba84 in dlopen_doit () from /lib/libdl.so.2
#5  0x4000d7e4 in _dl_catch_error () from /lib/ld-linux.so.3
#6  0x402fbf50 in _dlerror_run () from /lib/libdl.so.2
#7  0x402fb9bc in dlopen@@GLIBC_2.4 () from /lib/libdl.so.2
#8  0x402f2790 in g_module_open () from /usr/lib/libgmodule-2.0.so.0
#9  0x40078784 in gst_plugin_load_file (
    filename=0x10a6c8 "/usr/lib/gstreamer-0.10/.debug/libgstcoreindexers.so", 
    error=0x0) at gstplugin.c:481
#10 0x4007e3c4 in gst_registry_scan_path_level (registry=0x27828, 
    path=0x10a6a0 "/usr/lib/gstreamer-0.10/.debug", level=1) at
gstregistry.c:891
#11 0x4007df04 in gst_registry_scan_path_level (registry=0x27828, 


Other information:
We use objdump to split out the debug symbols and put them into
.debug/ORIGINAL_NAME. Now gst_registry_scan will recursively search
/usr/lib/gstreamer-0.10 and will find the .debug dir and start to scan it. This
will crash.

I have applied a patch to not descend into .debug directories, I will leave it
to you to accept or reject such workarounds as this bug is mostly in glibc.


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




More information about the Gstreamer-bugs mailing list