[gstreamer-bugs] [Bug 611719] GST_DEBUG_OBJECT macros not fed with GObject* in gstpoll.c

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Mar 4 01:13:40 PST 2010


https://bugzilla.gnome.org/show_bug.cgi?id=611719
  GStreamer | gstreamer (core) | unspecified

--- Comment #3 from xartigas.bugzilla at gmail.com 2010-03-04 09:13:38 UTC ---
Unfortunately, I do not have debug information for GLib in Visual Studio, so I
cannot provide a complete backtrace.
The last call I see is in gstinfo.c:603, function gst_debug_print_object ().
The line says:
  if (GST_IS_PAD (object) && GST_OBJECT_NAME (object)) {
And the crash is in the call to _g_type_check_instance_is_a().

Since object is not actually a GObject* but a GstPoll*, it's g_class member
does not point to a _GTypeInstance. When _g_type_check_instance_is_a()
dereferences g_class... boom.

I hope this helps.

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.




More information about the Gstreamer-bugs mailing list