[Bug 412678] random segfaults or memory corruptions with multiple textoverlays (pango not reentrant)
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Mon Mar 14 01:48:34 PDT 2011
https://bugzilla.gnome.org/show_bug.cgi?id=412678
GStreamer | gst-plugins-base | 0.10.x
--- Comment #18 from Stefan Kost (gstreamer, gtkdoc dev) <ensonic at sonicpulse.de> 2011-03-14 08:48:26 UTC ---
Having it in class init was not sufficient, as then I would free the pango
layout and pnago would release the type-plugins. I keep it now in _init() but
wrapped it with gonce (thanks for suggestion).
commit fee3266056b522cdd34e606b5682553d35eec5a1
Author: Stefan Kost <ensonic at users.sf.net>
Date: Fri Mar 4 14:52:28 2011 +0200
textoverlay: add a hack to init the pango engine
Layout a single char to pre-create all resources.
I got no more crashers, but once these warnings:
(gst-launch-0.10:18177): Pango-WARNING **: failed to create cairo scaled font,
expect ugly output. the offending font is 'DejaVu Sans Mono 18'
(gst-launch-0.10:18177): Pango-WARNING **: font_face status is: no error has
occurred
(gst-launch-0.10:18177): Pango-WARNING **: scaled_font status is: invalid
matrix (not invertible)
(gst-launch-0.10:18177): Pango-WARNING **: shaping failure, expect ugly output.
shape-engine='BasicEngineFc', font='DejaVu Sans Mono 18', text='10:40:54'
That could still be a race or a different bug.
--
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