After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 560993 - gst-inspect crash in dlopen due opening .so files from /usr/lib/gstreamer-0.10/.debug
gst-inspect crash in dlopen due opening .so files from /usr/lib/gstreamer-0.1...
Status: RESOLVED DUPLICATE of bug 508070
Product: GStreamer
Classification: Platform
Component: gstreamer (core)
0.10.17
Other All
: Normal critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-11-16 02:21 UTC by Holger Freyther
Modified: 2008-11-16 07:24 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Workaround to avoid a crash in glibc (1.88 KB, patch)
2008-11-16 02:23 UTC, Holger Freyther
none Details | Review

Description Holger Freyther 2008-11-16 02:21:42 UTC
Steps to reproduce:
1. Install gstreamer-dbg on Angstrom/Openmoko
2. Run gst-inspect
3. Wait for the segfault


Stack trace:
  • #0 _dl_relocate_object
    from /lib/ld-linux.so.3
  • #0 _dl_relocate_object
    from /lib/ld-linux.so.3
  • #1 dl_open_worker
    from /lib/ld-linux.so.3
  • #2 _dl_catch_error
    from /lib/ld-linux.so.3
  • #3 _dl_open
    from /lib/ld-linux.so.3
  • #4 dlopen_doit
    from /lib/libdl.so.2
  • #5 _dl_catch_error
    from /lib/ld-linux.so.3
  • #6 _dlerror_run
    from /lib/libdl.so.2
  • #7 dlopen
    from /lib/libdl.so.2
  • #8 g_module_open
    from /usr/lib/libgmodule-2.0.so.0
  • #9 gst_plugin_load_file
    at gstplugin.c line 481
  • #10 gst_registry_scan_path_level
    at gstregistry.c line 891
  • #11 gst_registry_scan_path_level
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.
Comment 1 Holger Freyther 2008-11-16 02:23:57 UTC
Created attachment 122763 [details] [review]
Workaround to avoid a crash in glibc

Avoid to descend into .debug directories. I just want to make you aware of this, feel free to reject it.
Comment 2 Sebastian Dröge (slomo) 2008-11-16 07:22:27 UTC
Thanks for taking the time to report this bug.
This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade.


*** This bug has been marked as a duplicate of 508070 ***