GNOME Bugzilla – Bug 667037
Crash when editing contacts
Last modified: 2012-01-17 08:26:26 UTC
Created attachment 204351 [details] gdb bt at crash point Select a contact, edit, check box to assign it to a group, close, select a different contact, edit. Shows list of groups with corrupted names. Some time after this program will crash. I've reproduced this a few times. Ran it under gdb and got the attached stack. I've run it under eclipse and although I haven't always had reliable results doing that it looks to be under individual_view_query_cb() with gtk trying to free a hashtable. After I restart I am able to edit the contact it crashed on ... and it'll crash on the next one I edit. Empathy 3.3.3 on Ubuntu 11.10 64-bit.
Thanks for taking the time to report this bug. Unfortunately, that stack trace is missing some elements that will help a lot to solve the problem, so it will be hard for the developers to fix that crash. Can you get us a stack trace with debugging symbols? Please see http://live.gnome.org/GettingTraces for more information on how to do so and reopen this bug or report a new one. Thanks in advance!
Created attachment 204386 [details] bt after empathy-gdb installed
Done. Although it looks to me like a time-bomb kind of bug where the memory gets corrupted earlier so my guess is that the stack trace can only point you toward what part of memory got corrupted rather than which function did it.
Can you get us a stack trace with debugging symbols for glib2 and gtk3?
Created attachment 204430 [details] bt
Created attachment 204431 [details] prints to console while running in gdb
I can reproduce; thanks for the bug report.
Created attachment 205365 [details] [review] empathy_pixbuf_avatar_from_individual_scaled_async: set an error if no avatar It's fair for the caller to expect the error the be set if the _finish() function returns NULL.
Created attachment 205366 [details] [review] don't free content of the list returned by empathy_connection_aggregator_get_all_groups()
+1
Attachment 205365 [details] pushed as 4da0bbd - empathy_pixbuf_avatar_from_individual_scaled_async: set an error if no avatar Attachment 205366 [details] pushed as 40aba36 - don't free content of the list returned by empathy_connection_aggregator_get_all_groups()