Emmanuele Bassi wrote:
> On Fri, 2007-06-22 at 11:25 +0100, Colin Guthrie wrote:
>> Matthew Allum wrote:
>>> Note, this is unneeded with Clutter Trunk and the upcoming soon to be
>>> released 0.3 release.
>> Great! I'm looking forward to this as current stable crashes immediately
>> on startup for me (issue reported earlier by Bastien Nocera)
> 
> could it be the same issue outlined by this mail:
> 
>   http://lists.o-hand.com/clutter/0152.html

Yes that's the thread I was referring to. Sorry should have been more
specific!

> we don't have 64bit machines to test clutter on, unfortunately, so we
> need to rely on input and testing from who experiences these kind of
> bugs. do you have a stack trace of the crashes? can you check by running
> the tests/examples under gdb with a version of clutter built with
> debugging symbols? thanks in advance!

It's pretty much the same BT as Bastien posted.

FWIW it works OK on trunk (just tested). I tried to update fluttr to be
compatible with the 0.3 API (see attached patch), but it didn't seem to
work too well - see output below - It didn't run too well under
beryl/compiz but then I'd half suspected this. It seems to run OK under
plain metacity, but I can't see any actual photos or graphics nor can I
move the cursor around! Hey ho'. :) I do see the two sets' titles one in
blue but no other graphics are displayed. When I close the window the
application does not quit (Ctrl+C) needed.

Hope all this helps your dev in some way!

Col


BT (fluttr svn 808 + clutter 0.2.3):
#0  0x0000000000000000 in ?? ()
#1  0x00002ab3b91cd307 in sync_gl_viewport (stage=0x63c020) at
clutter-stage.c:220
#2  0x00002ab3b91ce3c4 in clutter_stage_request_coords (self=0x63c020,
box=0x7ffff1b096c0) at clutter-stage.c:579
#3  0x00002ab3b91d3e34 in clutter_actor_request_coords (self=0x0,
box=0x7ffff1b096c0) at clutter-actor.c:419
#4  0x00002ab3b91d5981 in clutter_actor_set_size (self=0x63c020,
width=640, height=480) at clutter-actor.c:1058
#5  0x00002ab3bc46df30 in IA__g_type_create_instance
(type=46951400151696) at gtype.c:1569
#6  0x00002ab3bc45392d in g_object_constructor (type=0,
n_construct_properties=0, construct_params=0x280) at gobject.c:1046
#7  0x00002ab3bc453f75 in IA__g_object_newv (object_type=6519488,
n_parameters=6523360, parameters=0x0) at gobject.c:937
#8  0x00002ab3bc4549dc in IA__g_object_new_valist (object_type=6519488,
first_property_name=0x0, var_args=0x7ffff1b09ac0) at gobject.c:986
#9  0x00002ab3bc454c11 in IA__g_object_new (object_type=6519488,
first_property_name=0x0) at gobject.c:795
#10 0x00002ab3b91cda96 in clutter_stage_get_default () at
clutter-stage.c:908
#11 0x00002ab3b91c8a3e in clutter_stage_init (context=0x0, error=0x0) at
clutter-main.c:897
#12 0x00002ab3b91c90b4 in clutter_init (argc=0x7ffff1b09c5c, argv=<value
optimized out>) at clutter-main.c:1069
#13 0x0000000000404794 in g_cclosure_marshal_VOID__OBJECT () at
gmarshal.c:614
#14 0x00002ab3be834c34 in __libc_start_main () from /lib64/libc.so.6
#15 0x00000000004046a9 in g_cclosure_marshal_VOID__OBJECT () at
gmarshal.c:614
#16 0x00007ffff1b09d78 in ?? ()
#17 0x0000000000000000 in ?? ()



Output of fluttr when hacked (badly) by me to work with 0.3 (from trunk):

Parsing photosets...
(fluttr:31114): GLib-GObject-CRITICAL **: g_object_ref: assertion
`G_IS_OBJECT (object)' failed

(fluttr:31114): GLib-GObject-WARNING **: gsignal.c:1669: signal
`input-event' is invalid for instance `0x642050'
Parsing photos without set...
Loading photoset data...

SMTC Gallery (50) : 50 loaded
Photos without a set (0) : 0 loaded
50 Photo(s) in 2 set(s)



Index: src/fluttr-photo.c
===================================================================
--- src/fluttr-photo.c	(revision 808)
+++ src/fluttr-photo.c	(working copy)
@@ -121,7 +121,7 @@
 		if (priv->pixbuf) {
 		        clutter_texture_set_pixbuf (CLUTTER_TEXTURE (
 		                                        priv->texture),
-					            priv->pixbuf);
+					            priv->pixbuf, NULL);
         		clutter_actor_set_scale (priv->texture, 0.6, 0.6);
 	        	clutter_actor_get_abs_size (priv->texture, &w, &h);
 	        	
@@ -324,7 +324,7 @@
 	
 	if (priv->pixbuf != NULL && factor > 0.5 && priv->texture) {
 		clutter_texture_set_pixbuf (CLUTTER_TEXTURE (priv->texture),
-					    priv->pixbuf);
+					    priv->pixbuf, NULL);
 		clutter_actor_set_scale (priv->texture, 0.6, 0.6);
 		clutter_actor_get_abs_size (priv->texture, &w, &h);
 		
Index: src/fluttr-viewer.c
===================================================================
--- src/fluttr-viewer.c	(revision 808)
+++ src/fluttr-viewer.c	(working copy)
@@ -294,7 +294,7 @@
 	
 	if (priv->pixbuf != NULL && factor > 0.5) {
 		clutter_texture_set_pixbuf (CLUTTER_TEXTURE (priv->texture),
-					    priv->pixbuf);
+					    priv->pixbuf, NULL);
 		clutter_actor_get_size (priv->texture, &w, &h);
 		
 		clutter_actor_set_position (priv->texture, 
Index: src/main.c
===================================================================
--- src/main.c	(revision 808)
+++ src/main.c	(working copy)
@@ -687,7 +687,7 @@
   						    FALSE,
   						    NULL);
 	if (pixbuf)
-		clutter_texture_set_pixbuf (CLUTTER_TEXTURE (bg), pixbuf);
+		clutter_texture_set_pixbuf (CLUTTER_TEXTURE (bg), pixbuf, NULL);
 	else
 		g_print ("Could not load pixbuf\n");		
 }
Index: src/fluttr-list.c
===================================================================
--- src/fluttr-list.c	(revision 808)
+++ src/fluttr-list.c	(working copy)
@@ -559,7 +559,7 @@
   						    height,
   						    FALSE,
   						    NULL);
-	clutter_texture_set_pixbuf (CLUTTER_TEXTURE (message), msg_buf);
+	clutter_texture_set_pixbuf (CLUTTER_TEXTURE (message), msg_buf, NULL);
 	clutter_group_add (CLUTTER_GROUP (priv->group),message); 
 	clutter_actor_set_size (message, width, height);
 	clutter_actor_set_position (message, -(width/2),-(height/2));
Index: src/fluttr-spinner.c
===================================================================
--- src/fluttr-spinner.c	(revision 808)
+++ src/fluttr-spinner.c	(working copy)
@@ -141,7 +141,7 @@
 	}
 	if (spinner_pixbuf)
 		clutter_texture_set_pixbuf (CLUTTER_TEXTURE (spinner),
-					    spinner_pixbuf);
+					    spinner_pixbuf, NULL);
 	else
 		g_print ("Could not load spinner\n");	
  	return CLUTTER_ACTOR (spinner);

Reply via email to