Segmenation Fault when showing Texture Actor

Bug #362260 reported by Anthony Batchelor
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
pyclutter (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Simple apps that use Texture Actors cause a segfault. I've attached a simple test file, but some of the examples that come with pyclutter don't work either.

/usr/share/doc/python-clutter/examples/rects.py works
/usr/share/doc/python-clutter/examples/hello.py does not work.

I've attached a simple file to re-create the issue.
If you set FAIL to False, it will render a black rectangle. If you set FAIL to True you (or at least, I) get a segfault.

The following is the console output of the script:
==========================================================
NVIDIA: could not open the device file /dev/nvidiactl (Permission denied).

(./tmp.py:12837): Cogl-GL-WARNING **: failed to bind GLXGetProcAddress or GLXGetProcAddressARB
(0, 0) (48, 48)
Always get's here
Segmentation fault
==========================================================

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: python-clutter 0.8.0-1build1
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: pyclutter
Uname: Linux 2.6.28-11-generic x86_64

Revision history for this message
Anthony Batchelor (toeknee) wrote :
description: updated
Revision history for this message
François Kubler (ih8tehuman) wrote :

Yep, same here.
But it also segfaults when adding a simple clutter.Label to a clutter.Stage :(

I've attached a small script, mostly based on the one Anthony posted before to recreate the issue.

I'm also using Ubuntu 9.04 with the python-clutter 0.8.0-1build1 package on a amd64 architecture with a nvidia graphic card.

Revision history for this message
Karl Ostmo (kostmo) wrote :

Using pyclutter 0.8.0 here.

On an amd64 Ubuntu Jaunty machine, using Version 180 of the NVidia driver and an integrated GeForce 6100 graphics chip, all of the bundled examples except for "behave.py", "rects.py" and "script.py" fail with the message:
Cogl-GL-WARNING **: failed to bind GLXGetProcAddress or GLXGetProcAddressARB

Also tested on two i386 Ubuntu Jaunty machines, one with a GeForce 8800 GTS card and the other with an ATI Mobility Radeon 7500 chip. All of the examples worked on these machines (except for ending with a segfault when closed, reported in this bug: http://bugzilla.o-hand.com/show_bug.cgi?id=1590).

Revision history for this message
Siegfried Gevatter (rainct) wrote :

I can reproduce the Segmentation Fault (at start) issue on an amd64 box, and another person too.

Changed in pyclutter (Ubuntu):
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
Siegfried Gevatter (rainct) wrote :

Seems related to #237156.

Revision history for this message
Jeroen Hoek (mail-jeroenhoek) wrote :

Can reproduce on Jaunty Jackalope. A shame really, I wanted to give pyclutter a try.

People on #clutter (irc.gnome.org) suggest that the issue always occurs with the combination pyclutter, nvidia and 64bit.

Revision history for this message
Gord Allott (gordallott) wrote :

Also confirmed here on 9.04 - python-clutter + nvidia + 64bit.

Revision history for this message
Matthew McGowan (mmcg069) wrote :

I can confirm on Karmic as well. 64bit and nvidia drivers also.

Revision history for this message
Raumkraut (raumkraut) wrote :

FWIW, I can get the examples to work (with the exception of test-easing.py, which still segfaults) under Jaunty (9.04) by installing the "libclutter-1.0-0", "python-support" and "python-clutter" packages from the Karmic repos: http://ns2.canonical.com/karmic/python-clutter

The packages do also exist for Jaunty in one user's PPA (https://launchpad.net/~kalon33/+archive/ppa), but only as part of a larger collection of assorted packages.

Revision history for this message
Sebastien Bacher (seb128) wrote :

is that still an issue?

Changed in pyclutter (Ubuntu):
importance: Medium → Low
Revision history for this message
Skyler Lehmkuhl (skykooler) wrote :

It is still an issue for me, running Maverick I get a segfault when I try to add a text actor to a clutter.Stage.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.