[Bug 412678] random segfaults or memory corruptions with multiple textoverlays (pango not reentrant)

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Mar 14 02:19:49 PDT 2011


https://bugzilla.gnome.org/show_bug.cgi?id=412678
  GStreamer | gst-plugins-base | 0.10.x

Stefan Kost (gstreamer, gtkdoc dev) <ensonic> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|HEAD                        |0.10.33

--- Comment #21 from Stefan Kost (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2011-03-14 09:19:46 UTC ---
Got more crashes with various backtraces. I reverted the previous commit and
went for a class wide lock. This seem to work reliable for me.

commit 9ac74c59db5b2cb7090b9e18fda1894c8511e881
Author: Stefan Kost <ensonic at users.sf.net>
Date:   Mon Mar 14 11:14:04 2011 +0200

    textoverlay: use a class wide mutex to work around pango reentrance issues

    Pango is not reentrant. Use a class wide mutex to protect pange use in
    gst_text_overlay_render_pangocairo(). This works reliable in contrast to
the
    hack in my previous commit.

    Fixes Bug #412678

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