GNOME Bugzilla – Bug 742500
[gstreamer crashed when log was set 4 or larger]
Last modified: 2015-01-07 12:09:09 UTC
Created attachment 293994 [details] crashed log [Enviroment]: gcc version 4.6.2 20110630 gstreamer-0.10.35 [Operation]: set log env variable: GST_DEBUG=4 [Result]: gstreamer crashed. The call stack shows below: Why does the gst always crash at IA__g_strdup_vprintf function? ======================================================================== #0 gst_debug_print_segment (ptr=0x134) at gstinfo.c:715
+ Trace 234515
glib version:glib-2.22.1
Thanks for the bug report. However, GStreamer 0.10 is no longer maintained. Feel free to file a new bug or re-open this bug if you can still reproduce the issue with a recent version of GStreamer 1.x, thanks! Looking at the issue itself, it looks like there's some kind of configure/build-time mismatch. The debug log string being printed is this: GST_DEBUG_OBJECT (registry, "adding feature %p (%s)", feature, feature->name); Which should print a pointer value and a string. There are no printf extension formats being used here, yet the crash ends up in _gst_info_printf_extension_*. I have no idea why that would be the case. You can try if the patch/commit from https://bugzilla.gnome.org/show_bug.cgi?id=638599 helps, otherwise I'm out of ideas, sorry. This should no longer be an issue in recent 1.x versions, since we do this differently there (with our own printf implementation).