** Description changed:

- Hello,
+ 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.
  
- I just upgraded to the last Ubuntu release (8.10) and now 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.
- 
- I have checked this in the version of Osmo in the Ubuntu repositories
- (0.2.0) and in the last SVN revision (606) as well.
- 
- Steps to reproduce
+ 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
+     4- Press 'j', Osmo crashes. If, for instance,  you press 'a' instead of 
'j' Osmo does not crash.
  
- 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 @@
+                  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);

** Changed in: osmo (Ubuntu)
       Status: Confirmed => In Progress

-- 
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@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to