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 306382 - Joining group chat first time fails, second time crashes Gossip
Joining group chat first time fails, second time crashes Gossip
Status: RESOLVED FIXED
Product: gossip
Classification: Deprecated
Component: Group Chat
0.8.90
Other All
: Normal normal
: ---
Assigned To: Gossip Maintainers
Gossip Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-06-03 14:20 UTC by Paul van Tilburg
Modified: 2005-07-15 17:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Paul van Tilburg 2005-06-03 14:20:05 UTC
Please describe the problem:
When I try to join a groupchat on my server, it fails the first time, and seem
to work the second time until you type something, it crashes.

Steps to reproduce:
1. Open the Join Group Chat dialog.
2. Choose a nickname, server "conference.luon.net", and any room name.
3. Click on "Join"
4. "Progress" bar moves but nothing happens for a long time.
5. Press "Cancel" and again "Join"
6. When logged in to the channel, type something in the input field and
   press Enter.


Actual results:
Gossip crashes.

Expected results:
I would have expected to join/create the first time and being able to talk :)

Does this happen every time?
Yes.

Other information:
Sorry, got no debugging symbols, let me know if you know one with those,
gdb traceback:

  • #1 g_strdup
    from /usr/lib/libglib-2.0.so.0
  • #2 lm_message_node_set_attribute
    from /usr/lib/libloudmouth-1.so.0
  • #3 lm_message_new
    from /usr/lib/libloudmouth-1.so.0
  • #4 lm_message_new
    from /usr/lib/libloudmouth-1.so.0

Comment 1 Martyn Russell 2005-07-11 19:51:39 UTC
Managed to hunt this bugger down.

Basically I think it is gossip_jabber_chatrooms_join() where we try to add a
second JID that already exists in the Hash table.  This atleast is where things
go a bit foo bar.  I'll find time to fix it shortly... 
Comment 2 Martyn Russell 2005-07-15 17:22:20 UTC
Fixed.