After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 605893 - reproducible critical clutter warnings in lucid quadrapassel
reproducible critical clutter warnings in lucid quadrapassel
Status: RESOLVED OBSOLETE
Product: quadrapassel
Classification: Applications
Component: general
git master
Other Linux
: Normal critical
: ---
Assigned To: quadrapassel-maint
quadrapassel-maint
Depends on:
Blocks:
 
 
Reported: 2010-01-02 13:26 UTC by Martin Olsson
Modified: 2014-09-16 13:42 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Qadrapassel screenshot (56.00 KB, image/png)
2010-04-26 23:13 UTC, Petar Velkovski
Details
backtrace with "run --clutter- debug=all" option in quadrapassel (17.91 KB, application/x-lzma)
2010-04-26 23:54 UTC, Petar Velkovski
Details

Description Martin Olsson 2010-01-02 13:26:53 UTC
repro steps:
1. open terminal and type quadrapassel
2. select "game::new", "game::pause", "game::quit"

The game prints these warnings to the terminal:

(quadrapassel:2554): ClutterGLX-CRITICAL **: Unable to make the stage window 0xa20003c the current GLX drawable
(quadrapassel:2554): ClutterGLX-CRITICAL **: Unable to make the stage window 0xa200057 the current GLX drawable
(quadrapassel:2554): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `ClutterActor'
(quadrapassel:2554): Clutter-CRITICAL **: clutter_actor_destroy: assertion `CLUTTER_IS_ACTOR (self)' failed
(quadrapassel:2554): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `ClutterActor'
(quadrapassel:2554): Clutter-CRITICAL **: clutter_actor_destroy: assertion `CLUTTER_IS_ACTOR (self)' failed
(quadrapassel:2554): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `ClutterActor'
(quadrapassel:2554): Clutter-CRITICAL **: clutter_actor_destroy: assertion `CLUTTER_IS_ACTOR (self)' failed
(quadrapassel:2554): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `ClutterActor'
(quadrapassel:2554): Clutter-CRITICAL **: clutter_actor_destroy: assertion `CLUTTER_IS_ACTOR (self)' failed
(quadrapassel:2554): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `ClutterActor'
(quadrapassel:2554): Clutter-CRITICAL **: clutter_actor_destroy: assertion `CLUTTER_IS_ACTOR (self)' failed
(quadrapassel:2554): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `ClutterActor'
(quadrapassel:2554): Clutter-CRITICAL **: clutter_actor_destroy: assertion `CLUTTER_IS_ACTOR (self)' failed
(quadrapassel:2554): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `ClutterActor'
(quadrapassel:2554): Clutter-CRITICAL **: clutter_actor_destroy: assertion `CLUTTER_IS_ACTOR (self)' failed
(quadrapassel:2554): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `ClutterActor'
(quadrapassel:2554): Clutter-CRITICAL **: clutter_actor_destroy: assertion `CLUTTER_IS_ACTOR (self)' failed

Machine has intel 4500HD gfx card with PCI ID 8086:2e22 and is using the intel open source driver in lucid lynx).
Comment 1 Fabio Durán Verdugo 2010-01-04 00:18:04 UTC
In ubuntu 9.10 with Gnometris 2.28.0 too is reproducible.
Comment 2 Fabio Durán Verdugo 2010-01-04 00:18:34 UTC
fabio@OptimusPrime:~$ gnometris 
do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
Try adjusting the vblank_mode configuration parameter.

(gnometris:12283): ClutterGLX-CRITICAL **: Unable to make the stage window 0x4600026 the current GLX drawable

(gnometris:12283): ClutterGLX-CRITICAL **: Unable to make the stage window 0x4600041 the current GLX drawable

(gnometris:12283): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `ClutterActor'

(gnometris:12283): Clutter-CRITICAL **: clutter_actor_destroy: assertion `CLUTTER_IS_ACTOR (self)' failed

(gnometris:12283): GLib-GObject-WARNING **: invalid uninstantiatable type `-g-type-private--GTypeFlags' in cast to `ClutterActor'

(gnometris:12283): Clutter-CRITICAL **: clutter_actor_destroy: assertion `CLUTTER_IS_ACTOR (self)' failed

(gnometris:12283): GLib-GObject-WARNING **: invalid uninstantiatable type `-g-type-private--GTypeFlags' in cast to `ClutterActor'

(gnometris:12283): Clutter-CRITICAL **: clutter_actor_destroy: assertion `CLUTTER_IS_ACTOR (self)' failed

(gnometris:12283): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `ClutterActor'

(gnometris:12283): Clutter-CRITICAL **: clutter_actor_destroy: assertion `CLUTTER_IS_ACTOR (self)' failed

(gnometris:12283): GLib-GObject-WARNING **: invalid unclassed pointer in cast to `ClutterActor'

(gnometris:12283): Clutter-CRITICAL **: clutter_actor_destroy: assertion `CLUTTER_IS_ACTOR (self)' failed

(gnometris:12283): GLib-GObject-WARNING **: invalid uninstantiatable type `(null)' in cast to `ClutterActor'

(gnometris:12283): Clutter-CRITICAL **: clutter_actor_destroy: assertion `CLUTTER_IS_ACTOR (self)' failed

(gnometris:12283): GLib-GObject-WARNING **: invalid uninstantiatable type `-g-type-private--GTypeFlags' in cast to `ClutterActor'

(gnometris:12283): Clutter-CRITICAL **: clutter_actor_destroy: assertion `CLUTTER_IS_ACTOR (self)' failed

(gnometris:12283): GLib-GObject-WARNING **: invalid uninstantiatable type `<invalid>' in cast to `ClutterActor'

(gnometris:12283): Clutter-CRITICAL **: clutter_actor_destroy: assertion `CLUTTER_IS_ACTOR (self)' failed
fabio@OptimusPrime:~$ gnometris 
do_wait: drmWaitVBlank returned -1, IRQs don't seem to be working correctly.
Try adjusting the vblank_mode configuration parameter.

(gnometris:12293): ClutterGLX-CRITICAL **: Unable to make the stage window 0x4600026 the current GLX drawable

(gnometris:12293): ClutterGLX-CRITICAL **: Unable to make the stage window 0x4600041 the current GLX drawable
fabio@OptimusPrime:~$
Comment 3 Akhil Laddha 2010-01-04 04:04:17 UTC
Crashes are always critical in severity :-)
Comment 4 Tim Horton 2010-01-04 04:38:00 UTC
I see similar warnings (also in other Clutter programs, not just quadrapassel) with the radeon and radeonhd drivers, but not with nvidia.
Comment 5 Petar Velkovski 2010-04-26 23:07:42 UTC
Same problem with Intel drivers.

$quadrapassel 

(quadrapassel:2212): ClutterGLX-CRITICAL **: Unable to make the stage window 0x4e00005 the current GLX drawable

(quadrapassel:2212): ClutterGLX-CRITICAL **: Unable to make the stage window 0x4e00006 the current GLX drawable

Graphic card:
00:02.0 VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)

libclutter 1.2.4
libclutter-gtk 0.10.4
xorg 7.5
xserver-xorg-core 1.8.0+git20100422+server-1.8-branch.5455df65-0ubuntu0sarvatt3
xserver-xorg-video-intel 2.11.0+git20100422.72fd7d19-0ubuntu0sarvatt2
libgl1-mesa-glx 7.9.0~git20100424.1eeae054-0ubuntu0sarvatt
libdrm2 2.4.20+git20100404.c7650003-0ubuntu0sarvatt6

Any
Comment 6 Petar Velkovski 2010-04-26 23:13:40 UTC
Created attachment 159652 [details]
Qadrapassel screenshot

I don't think that this is how it should be rendered!
Comment 7 Petar Velkovski 2010-04-26 23:15:23 UTC
Previously I forgot to mention that quadrapassel starts but it's not rendered properly, it is hardly playable and the keys are not very responsive. I sent a screenshot of the game started above.
Comment 8 Petar Velkovski 2010-04-26 23:54:02 UTC
Created attachment 159654 [details]
backtrace with "run --clutter- debug=all" option in quadrapassel

this is a backtrack. Unfortunately quadrapasel itself is not compiled with debug symbols. Only the libclutter and libclutter-gtk have the debug symbols.
Comment 9 Jason Clinton 2010-04-27 01:33:01 UTC
Comment on attachment 159652 [details]
Qadrapassel screenshot

This problem is unrelated to this bug and is likely a problem with the pre-release Mesa that you are using. Please open another bug if the final versions of the referenced libraries still present a rendering issue.
Comment 10 Jason Clinton 2010-04-27 01:34:49 UTC
Comment on attachment 159654 [details]
backtrace with "run --clutter- debug=all" option in quadrapassel

A back-trace will not help track down the Clutter problem. A back-trace is used for a crash or breakpoint, usually.
Comment 11 Petar Velkovski 2010-04-27 16:44:00 UTC
Jason Clinton first of all I tried starting the game with more standard not prerelease verions of mesa (the one present in standard Ubuntu Lucid). I can send you a specific list of the versions used if you think that it might help. And all I get is the same problem! It's hard to guess what library versions are to programmers liking because to quote something I've read on a forum (concerning this bug) "They (programmers) either tell you to try with a later version because the one you use is old and the bug has been fixed in a later version, or they tell you that it works well with an older version of the libraries (the one they used when developing the application)"

Second of all if you google a little bit, you'll notice that people encounter this bug in other distributions, Fedora for instance but it seams that you insist that this is everyone's fault but in the original quadrapassel programming. Would you be so kind and explain how a proper testing should be done, and also don't spare words in explaining because basically it's not something I know how to do, but I can follow instructions. And if it of any relevance, Lights Off and Nibbles run without any problems, and I mention this because I think that they also use clutter (but I might be wrong). 

Tell me what is really necessary for this bug report to gain a status of CONFIRMED instead of UNCONFIRMED?
Comment 12 Tim Horton 2010-04-27 16:50:55 UTC
Petar: your bug is completely different from the one that started this bug thread, that's why Jason isn't reopening this bug, and why he says "please open another bug", etc.

Also, this problem is also real, and I used to run into it all the time. The problem (I think) is with multi-stage Clutter on hardware where Clutter doesn't really support that (i.e. Intel, IIRC). That's why Lights Off and Nibbles (and Swell Foop) work - they only use one stage; Quadrapassel uses two. But that's just my guess.
Comment 13 Robert Ancell 2012-01-31 22:40:03 UTC
Is this still occurring?
Comment 14 Martin Olsson 2012-02-03 10:21:26 UTC
@robert, yes it still happens using gnome-games package 1:3.2.1-0ubuntu1 from ubuntu 11.10
Comment 15 José Trujillo 2012-07-10 15:41:50 UTC
From ubuntu 12.04: Yes it still.
Comment 16 Michael Catanzaro 2013-08-08 03:48:51 UTC
I guess this is still an issue with Quadrapassel 3.8?  (I can't reproduce it myself.)
Comment 17 Alemann Massho 2013-12-08 21:06:30 UTC
I can't reproduce this either on version 3.8.2.