Hi all,

I'm trying to make a texture reflection class in python.
I found an example on an old version of clutter (i.e. not gobject
introspection based), and I tried to port it (code attached to this mail).
The only result I have is a segfault without usable informations.
It seems that the problem is near the get_cogl_texture method, but I don't
understand why.
It appears that this method is deprecated, but I don't which one I have to
use instead.

Thanks for your help

Eric Colleu


Starting program: /usr/bin/python texturereflection.py
images/accessories-text-editor.png
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[New Thread 0xb4d4cb40 (LWP 4383)]
[Thread 0xb4d4cb40 (LWP 4383) exited]
[New Thread 0xb4d4cb40 (LWP 4384)]

Program received signal SIGSEGV, Segmentation fault.
0xb7d83618 in ?? () from /lib/i386-linux-gnu/libc.so.6
(gdb) bt
#0  0xb7d83618 in ?? () from /lib/i386-linux-gnu/libc.so.6
#1  0x082b82e0 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Attachment: texturereflection.py
Description: Binary data

_______________________________________________
clutter-app-devel-list mailing list
clutter-app-devel-list@clutter-project.org
http://lists.clutter-project.org/listinfo/clutter-app-devel-list

Reply via email to