GNOME Bugzilla – Bug 759085
seg fault in actor-graph test
Last modified: 2017-05-05 13:47:16 UTC
Needed to apply this patch to stop the seg fault. Missing NULL to end list of strings. $OpenBSD$ --- tests/conform/actor-graph.c.orig Sat Jul 11 10:18:18 2015 +++ tests/conform/actor-graph.c Fri Dec 4 02:11:10 2015 @@ -350,7 +350,8 @@ actor_replace_child (void) g_assert_cmpstr (clutter_actor_get_name (iter), ==, "qux"); clutter_actor_add_child (actor, g_object_new (CLUTTER_TYPE_ACTOR, - "name", "foo")); + "name", "foo", + NULL)); clutter_actor_replace_child (actor, iter, g_object_new (CLUTTER_TYPE_ACTOR,
Created attachment 351200 [details] [review] conform/actor-graph: Add missing null-termination I was able to trigger this bug on armhf but not on other typical Ubuntu architectures. (It looks s390x is also affected.) But with this patch, the actor-graph tests passed on armhf. You can see the test failure by clicking armhf at https://launchpad.net/ubuntu/+source/mutter/3.24.1-0ubuntu2 (Yes, I know it's mutter but it happens the same way with clutter)
Review of attachment 351200 [details] [review]: Oh, indeed. Nice catch!
Attachment 351200 [details] pushed as 9196768 - conform/actor-graph: Add missing null-termination