After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 155735 - Crashed when rearranging groups for a contact.
Crashed when rearranging groups for a contact.
Status: RESOLVED FIXED
Product: gossip
Classification: Deprecated
Component: General
0.7.X
Other other
: Normal normal
: 0.8
Assigned To: Gossip Maintainers
Gossip Maintainers
: 168172 169987 (view as bug list)
Depends on: 157841
Blocks:
 
 
Reported: 2004-10-18 15:14 UTC by Jordi Mallach
Modified: 2005-05-05 14:52 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Adds edit groups and rename group functionality. (37.10 KB, patch)
2005-04-20 23:07 UTC, Martyn Russell
none Details | Review
Small fix on last patch (37.35 KB, patch)
2005-04-20 23:23 UTC, Martyn Russell
none Details | Review
Updated. (32.04 KB, patch)
2005-04-24 09:30 UTC, Martyn Russell
none Details | Review
Reworked to fit in with the new code reorg. (31.22 KB, patch)
2005-05-01 14:05 UTC, Martyn Russell
none Details | Review

Description Jordi Mallach 2004-10-18 15:14:41 UTC
Distribution: Debian 3.1
Package: gossip
Severity: normal
Version: GNOME2.8.0 0.7.8
Gnome-Distributor: Debian
Synopsis: Crashed when rearranging groups for a contact.
Bugzilla-Product: gossip
Bugzilla-Component: General
Bugzilla-Version: 0.7.8
BugBuddy-GnomeVersion: 2.0 (2.8.0)
Description:
Description of the crash:

Crashed when rearranging groups for a contact.

I noticed one of my contacts was filed under "Unsorted". Opened the
groups editor, selected the group where he should be in, and suddenly
gossip froze. After some clicking here and there, the crash dialog
showed up.

How often does this happen?
Has happened once so far.



Debugging Information:

Backtrace was generated from '/usr/bin/gossip'

(no debugging symbols found)...Using host libthread_db library
"/lib/tls/libthread_db.so.1".
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...[Thread debugging using libthread_db enabled]
[New Thread 1088754976 (LWP 3651)]
(no debugging symbols found)...(no debugging symbols found)...(no
debugging symbols found)...(no debugging symbols found)...(no debugging
symbols found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...(no debugging symbols found)...(no debugging symbols
found)...0x40b3840e in __waitpid_nocancel () from
/lib/tls/libpthread.so.0
  • #0 __waitpid_nocancel
    from /lib/tls/libpthread.so.0
  • #1 libgnomeui_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #2 <signal handler called>
  • #3 _gtk_tree_data_list_node_to_value
    from /usr/lib/libgtk-x11-2.0.so.0
  • #4 gtk_tree_store_set_column_types
    from /usr/lib/libgtk-x11-2.0.so.0
  • #5 gtk_tree_model_get_value
    from /usr/lib/libgtk-x11-2.0.so.0
  • #6 gtk_tree_model_get_valist
    from /usr/lib/libgtk-x11-2.0.so.0
  • #7 gtk_tree_model_get
    from /usr/lib/libgtk-x11-2.0.so.0
  • #8 gossip_roster_view_get_type
  • #9 g_cclosure_marshal_VOID__POINTER
    from /usr/lib/libgobject-2.0.so.0
  • #10 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #14 gossip_roster_get_type
  • #15 gossip_roster_get_type
  • #16 _lm_message_handler_handle_message
    from /usr/lib/libloudmouth-1.so.0
  • #17 ??
    from /usr/lib/libloudmouth-1.so.0
  • #18 ??
  • #19 ??
  • #20 ??
  • #21 ??
    from /usr/lib/libglib-2.0.so.0
  • #22 ??
  • #23 ??
  • #24 ??
  • #25 ??
    from /usr/lib/libloudmouth-1.so.0
  • #26 ??
  • #27 ??
  • #28 ??
  • #29 _lm_connection_failed
    from /usr/lib/libloudmouth-1.so.0




------- Bug moved to this database by unknown@bugzilla.gnome.org 2004-10-18 11:14 -------


Unknown version 0.7.8 in product gossip. Setting version to "0.7.X".
Unknown platform unknown. Setting to default platform "Other".
Unknown milestone "unknown" in product "gossip".
   Setting to default milestone for this product, '---'
Setting to default status "UNCONFIRMED".
Setting qa contact to the default for this product.
   This bug either had no qa contact or an invalid one.

Comment 1 Marius Gedminas 2004-11-03 20:54:03 UTC
The same thing happened to me today.  Gossip 0.7.8-2 from Debian.
Comment 2 Jens Kreiensiek 2004-12-24 10:45:31 UTC
Same here. 0.7.8-2 / Debian.

Comment 3 Olivier Crête 2005-02-22 18:31:59 UTC
*** Bug 168172 has been marked as a duplicate of this bug. ***
Comment 4 Olivier Crête 2005-02-22 18:35:09 UTC
Last duplicate was on gentoo using 0.8.. Enough dups to confirm it.. I'm not
sure at all how to reproduce tho. Seems like 132337 is also a dupe.
Comment 5 Elijah Newren 2005-03-11 17:48:32 UTC
*** Bug 169987 has been marked as a duplicate of this bug. ***
Comment 6 Henrique Rodrigues 2005-03-30 14:35:04 UTC
Here's how to reproduce this bug: http://bugs.gentoo.org/show_bug.cgi?id=79297
Comment 7 Martyn Russell 2005-04-20 23:07:02 UTC
Created attachment 45501 [details] [review]
Adds edit groups and rename group functionality.

Since the merge with the session-rewrite branch the Edit Groups and Rename
Group functionality has not been joined up with the new code.

This patch does just that.
Comment 8 Martyn Russell 2005-04-20 23:23:58 UTC
Created attachment 45502 [details] [review]
Small fix on last patch

Doesn't show offline contacts when you rename a group
(if they are not mean't to be shown)
Comment 9 Mikael Hallendal 2005-04-21 23:01:51 UTC
Added Patch keyword.
Comment 10 Mikael Hallendal 2005-04-22 21:07:54 UTC
In contact_list_find_contact_foreach:

/* we want to find ALL contacts that match, this means if we
	   have the same contact in 3 groups, all iters should be returned. */
	return FALSE;
}

Why do you return FALSE? All hits are added to fc->iters, so why return that we
didn't find any hits?

Comment 11 Mikael Hallendal 2005-04-22 21:15:47 UTC
Also, I don't think that the OK-button should be insensitive when you haven't
changed something in the dialog. 

Could you look into these two matters and apply a new patch and I'll take a
quick look at it.
Comment 12 Martyn Russell 2005-04-23 08:48:37 UTC
Regarding #10:
It is required on the premiss that you can have a contact (e.g.
micke@imendio.com) in multiple groups ("Jabber", "Friends" and "Work" for example).

If you return TRUE then the foreach returns and doesn't continue to iterate the
contact list.  This is a problem when a contact is shown in 3 different groups
because only the first instance is put into fc->iters.  As a result you end up
with 1 out of 3 flashing or in the correct state (Away, etc). 

Regarding #11:
I'll get a patch out ASAP.
Comment 13 Mikael Hallendal 2005-04-23 11:22:36 UTC
Ah, sorry, I was tired yesterday when looking at the patch, of course you're right.
Comment 14 Martyn Russell 2005-04-24 09:30:44 UTC
Created attachment 45603 [details] [review]
Updated.

Added insensitive OK button in the Edit Groups dialog.
Comment 15 Mikael Hallendal 2005-04-30 22:35:56 UTC
Martyn, do you think you could modify the patch to apply to the new code structure?

Thanks,
Comment 16 Martyn Russell 2005-05-01 14:05:32 UTC
Created attachment 45901 [details] [review]
Reworked to fit in with the new code reorg.
Comment 17 Mikael Hallendal 2005-05-05 14:52:43 UTC
Commited to CVS.