Description of problem: Calling gypsy_time_new results in a segfault (gdb) bt #0 g_type_check_instance_cast (type_instance=0x7ffff7ffdd40, iface_type=iface_type@entry=80) at gtype.c:3997 #1 0x0000003deb404e86 in constructor (type=<optimized out>, n_construct_properties=1, construct_properties=0x17b3e90) at gypsy-time.c:218 #2 0x0000003de9816001 in g_object_newv (object_type=object_type@entry= 24853744, n_parameters=n_parameters@entry=1, parameters=parameters@entry= 0xc8c7c0) at gobject.c:1718 #3 0x0000003de98167f0 in g_object_new_valist (object_type=object_type@entry= 24853744, first_property_name=first_property_name@entry= 0x3deb405155 "object-path", var_args=var_args@entry=0x7ffffffdb918) at gobject.c:1835 #4 0x0000003de9816b24 in g_object_new (object_type=24853744, first_property_name=0x3deb405155 "object-path") at gobject.c:1550 Version-Release number of selected component (if applicable): gypsy-0.8-6.fc17.x86_64 How reproducible: always Additional info: 0.9 is out. 0.9 fixes this problem, see http://sailer.fedorapeople.org/gypsy-0.9-1.fc18.src.rpm. 0.9 also fixes the security vulnerability that it no longer allows any user to open arbitrary files (it now has a config file and a list of allowed device names). The relevant diff should be: $ git diff -u 0.8 gypsy/gypsy-time.* diff --git a/gypsy/gypsy-time.c b/gypsy/gypsy-time.c index a7ce33d..1060308 100644 --- a/gypsy/gypsy-time.c +++ b/gypsy/gypsy-time.c @@ -160,6 +160,7 @@ get_property (GObject *object, priv = GET_PRIVATE (object); switch (prop_id) { case PROP_PATH: + g_value_set_string (value, priv->object_path); break; default: @@ -213,7 +214,7 @@ constructor (GType type, G_CALLBACK (time_changed), gps_time, NULL); - return G_OBJECT (time); + return G_OBJECT (gps_time); } static void
Sorry, I somehow missed that release, will push it now. Thanks
Needed a patch for g_type_init to build in F-18+ in koji but now pushed and building. Update incoming shortly
gypsy-0.9-1.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/gypsy-0.9-1.fc18
gypsy-0.9-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/gypsy-0.9-1.fc19
gypsy-0.9-1.fc17 has been submitted as an update for Fedora 17. https://admin.fedoraproject.org/updates/gypsy-0.9-1.fc17
This update fixes the gypsy_time_new crash for me
Package gypsy-0.9-1.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing gypsy-0.9-1.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-8659/gypsy-0.9-1.fc19 then log in and leave karma (feedback).
gypsy-0.9-1.fc18 has been pushed to the Fedora 18 stable repository. If problems still persist, please make note of it in this bug report.
gypsy-0.9-1.fc17 has been pushed to the Fedora 17 stable repository. If problems still persist, please make note of it in this bug report.
gypsy-0.9-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report.