Hi,

I'm trying to render text through Clutter and seem to be running
straight into a segfault condition. I'm wondering where I am going
astray and looking for pointers.

Here is a snippet of test code that fails unexpectedly [ available at
http://pastebin.com/pNh7zACq ]:

#!/usr/bin/python
# test.py
from gi.repository import Clutter
import sys
Clutter.init(sys.argv)
mainStage = Clutter.Stage.get_default()
txtColor = Clutter.Color.new(255,255,255,255) # White
txtFont = "Sans 12"
txtString = "Hello"
txt = Clutter.Text.new_full(txtFont, txtString, txtColor)
txt.set_size(200,200)
txt.get_width()


Pasting that into a python interactive terminal will be as expected
until you execute txt.get_width() which creates the Segmentation Fault
condition.

The output from "./test.py --cluter-debug=all --cogl-debug=all " is
at: http://pastebin.com/GEGXrC9p
dmesg shows:
 [ 4661.699818] test.py[3635]: segfault at 8 ip 00007ffcea3324d8 sp
00007fff15847040 error 4 in libpixman-1.so.0.23.1[7ffcea2ff000+70000]

Additional details:
 * pkg-config --list-all  :  http://pastebin.com/jHFsiMgY
 * I just setup this computer with a fresh install of Xubuntu and have
primarily been working on getting a Gnome-Dev environment built.
 * I originally ran into this issue with a mostly apt-get installed
base (I believe I had the GNOME3 PPA configured and GTK3 installed
though)
 * I've compiled the latest pango, cairo, gtk3, cogl, json-glib,
pygobject, py2cairo, clutter, etc.. from the git heads in an attempt
to solve the issue with no luck. Everything was basically configured
with "gobject-introspection=yes --enable-gtk-doc".


So: can anyone reproduce this segfault condition? Any suggestions on
what I can try to solve this issue?


Cheers!
_______________________________________________
clutter-app-devel-list mailing list
[email protected]
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to