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 151195 - Gossip crashes if you type an invalid JID in the New Message dialog
Gossip crashes if you type an invalid JID in the New Message dialog
Status: RESOLVED DUPLICATE of bug 155250
Product: gossip
Classification: Deprecated
Component: General
0.7.X
Other Linux
: Normal critical
: 0.8
Assigned To: Gossip Maintainers
Gossip Maintainers
Depends on: 157841
Blocks:
 
 
Reported: 2004-08-27 09:50 UTC by André Dahlqvist
Modified: 2005-01-19 23:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description André Dahlqvist 2004-08-27 09:50:40 UTC
[Tested with version 0.7.7]

Easily reproduced:

1) Go to "Chat->New Message".
2) Type in an invalid JID, such as "blablablabla" (That is, without a hostname.
I'm assuming you have nobody named "blablablabla" on your rooster).

Result: Gossip crashes.

I don't have debugging compiled in, but the bug is easily reproduced so you'll
probably get a good stacktrace yourself. Here's a non-debug backtrace:

  • #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 gossip_roster_get_contact_from_item
  • #4 gossip_app_get_connection
  • #5 ??
  • #6 _IO_stdin_used
  • #7 ??
  • #8 ??
  • #9 ??
  • #10 ??
  • #11 ??
    from /usr/lib/libgobject-2.0.so.0
  • #12 ??
  • #13 ??
  • #14 ??
  • #15 g_cclosure_marshal_VOID
    from /usr/lib/libgobject-2.0.so.0

Comment 1 Kurt McKee 2004-09-01 15:29:39 UTC
I /do/ have debugging compiled in. This is for version 0.7.6. -- Kurt

  • #0 gossip_roster_get_contact_from_item
    at gossip-roster.c line 1364
  • #1 app_complete_name_response_cb
    at gossip-app.c line 1460
  • #2 g_cclosure_marshal_VOID
    from /usr/lib/libgobject-2.0.so.0
  • #3 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #4 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #5 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0

Comment 2 Mikael Hallendal 2004-09-26 22:57:56 UTC
This should be solved when I've finished and merged my branch that I'm working
on at the moment. Keeping open for now so I remember to check that it actually
works after the merge...
Comment 3 Mikael Hallendal 2005-01-19 23:03:42 UTC

*** This bug has been marked as a duplicate of 155250 ***
Comment 4 Mikael Hallendal 2005-01-19 23:05:35 UTC
*** This bug has been marked as a duplicate of 155250 ***

*** This bug has been marked as a duplicate of 155250 ***