[Bug 296243] Re: Osmo crashes on contacts search
Eike Nicklas
eike at ephys.de
Sat Nov 29 11:58:58 UTC 2008
** Description changed:
In Ubuntu 8.10, Osmo crashes with a segmentation fault every time I try
to search contacts unless the search does not return any contact.
Searches worked fine in 8.04.
TEST CASE:
1- Start Osmo with an empty contact list
2- Add a new contact. Name it 'John'
3- Click the search box
4- Press 'j', Osmo crashes. If, for instance, you press 'a' instead of 'j' Osmo does not crash.
This bug only occurs with GTK+ >= 2.14 and has been fixed upstream in
R619.
A minimal patch is:
--- a/src/contacts.c
+++ b/src/contacts.c
- @@ -606,7 +606,7 @@
+ @@ -456,7 +456,7 @@
path = gtk_tree_path_new_first();
if (path != NULL) {
gtk_tree_view_set_cursor (GTK_TREE_VIEW (appGUI->cnt->contacts_list), path, NULL, FALSE);
- g_free(path);
+ gtk_tree_path_free(path);
}
} else {
gui_clear_text_buffer (gtk_text_view_get_buffer(GTK_TEXT_VIEW(appGUI->cnt->contacts_desc_textview)), &titer);
--
Osmo crashes on contacts search
https://bugs.launchpad.net/bugs/296243
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list