[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 10:42:39 PST 2010


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

Tim-Philipp Müller <t.i.m> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
         OS/Version|Windows                     |All

--- Comment #4 from Tim-Philipp Müller <t.i.m at zen.co.uk> 2010-03-04 18:42:34 UTC ---
This can be reproduced on linux quite easily by changing line 494 from AUTO to:
    nset->mode = GST_POLL_MODE_PPOLL;

This should fix it:

commit 4cbf794b0eb3ad6fa8e02a5b3abc910c14a418d1
Author: Tim-Philipp Müller <tim.muller at collabora.co.uk>
Date:   Thu Mar 4 18:39:02 2010 +0000

    gstpoll: don't pass non-objects as first argument to GST_DEBUG_OBJECT()

    This may cause crashes when logging is enabled, especially on windows.
    It's not safe to pass random pointers to g_type_check_instance_is_a().

    Fixes #611719.

Thanks for the bug report!

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



More information about the Gstreamer-bugs mailing list