Bug#425972: gossip: aborts on "room>join new..." when telepathy:salut connection is active
Johannes Berg
johannes at sipsolutions.net
Thu May 24 15:56:18 UTC 2007
Package: gossip
Version: 0.24-2
Severity: normal
Checking the sources, we find:
src/gossip-new-chatroom-dialog.c:256
switch (account_type) {
case GOSSIP_ACCOUNT_TYPE_JABBER_LEGACY:
case GOSSIP_ACCOUNT_TYPE_JABBER:
[...];
break;
case GOSSIP_ACCOUNT_TYPE_MSN:
[...];
break;
case GOSSIP_ACCOUNT_TYPE_IRC:
[...];
break;
default:
g_assert_not_reached();
}
where obviously the default branch is taken for account type
GOSSIP_ACCOUNT_TYPE_SALUT.
Making default the same as _MSN and _IRC (which is the same anyway
currently) makes it not abort, but obviously there needs to be some
telepathy query and those connections that aren't capable of doing chat
rooms ought to be ignored. In fact, with my setup, the Join New... menu item
shouldn't even be displayed because salut is the only connected transport
right now.
Stack trace:
#4 0x0f4acc6c in g_assert_warning () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#5 0x10053fa4 in new_chatroom_dialog_update_widgets (dialog=0x102a81e8) at gossip-new-chatroom-dialog.c:280
account_type = <value optimized out>
__PRETTY_FUNCTION__ = "new_chatroom_dialog_update_widgets"
#6 0x1005483c in gossip_new_chatroom_dialog_show (parent=0x1015b000) at gossip-new-chatroom-dialog.c:1090
dialog = (GossipNewChatroomDialog *) 0x0
glade = (GladeXML *) 0x102a5400
session = <value optimized out>
accounts = <value optimized out>
size_group = <value optimized out>
#7 0x1002e53c in app_room_join_new_cb (window=<value optimized out>, app=<value optimized out>)
at gossip-app.c:1216
No locals.
#8 0x0f557b1c in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#9 0x0f546dcc in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#10 0x0f55b374 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#11 0x0f55c67c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#12 0x0f55c84c in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#13 0x0fad1848 in IA__gtk_widget_activate (widget=0x0) at /build/buildd/gtk+2.0-2.10.12/gtk/gtkwidget.c:3946
__PRETTY_FUNCTION__ = "IA__gtk_widget_activate"
#14 0x0f9931bc in IA__gtk_menu_shell_activate_item (menu_shell=0x10174190, menu_item=0x100e2f78,
force_deactivate=<value optimized out>) at /build/buildd/gtk+2.0-2.10.12/gtk/gtkmenushell.c:1024
slist = <value optimized out>
shells = (GSList *) 0x102a4cd0
__PRETTY_FUNCTION__ = "IA__gtk_menu_shell_activate_item"
#15 0x0f994cf8 in gtk_menu_shell_button_release (widget=0x10174190, event=0x10186410)
at /build/buildd/gtk+2.0-2.10.12/gtk/gtkmenushell.c:630
menu_shell = (GtkMenuShell *) 0x0
menu_item = (GtkWidget *) 0x100e2f78
deactivate = <value optimized out>
__PRETTY_FUNCTION__ = "gtk_menu_shell_button_release"
#16 0x0f98a69c in gtk_menu_button_release (widget=0x0, event=0x5ff4)
at /build/buildd/gtk+2.0-2.10.12/gtk/gtkmenu.c:2625
No locals.
#17 0x0f9830b4 in _gtk_marshal_BOOLEAN__BOXED (closure=0x10128b10, return_value=0x7fdafe90,
n_param_values=<value optimized out>, param_values=0x7fdaffe0, invocation_hint=<value optimized out>,
marshal_data=0xf98a570) at /build/buildd/gtk+2.0-2.10.12/gtk/gtkmarshalers.c:84
data1 = (gpointer) 0x10174190
data2 = (gpointer) 0x6
v_return = <value optimized out>
__PRETTY_FUNCTION__ = "_gtk_marshal_BOOLEAN__BOXED"
#18 0x0f54500c in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#19 0x0f546dcc in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#20 0x0f55b4c0 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#21 0x0f55c40c in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#22 0x0f55c84c in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#23 0x0facb6f0 in gtk_widget_event_internal (widget=0x10174190, event=0x10186410)
at /build/buildd/gtk+2.0-2.10.12/gtk/gtkwidget.c:3915
signal_num = 805614688
return_val = 0
#24 0x0f97a7b0 in IA__gtk_propagate_event (widget=0x0, event=0x5ff4)
at /build/buildd/gtk+2.0-2.10.12/gtk/gtkmain.c:2341
tmp = <value optimized out>
handled_event = 0
__PRETTY_FUNCTION__ = "IA__gtk_propagate_event"
#25 0x0f97c1f0 in IA__gtk_main_do_event (event=0x10186410) at /build/buildd/gtk+2.0-2.10.12/gtk/gtkmain.c:1575
event_widget = (GtkWidget *) 0x100e2f78
grab_widget = (GtkWidget *) 0x100e2f78
window_group = (GtkWindowGroup *) 0x1014b900
next_event = <value optimized out>
rewritten_event = (GdkEvent *) 0x0
tmp_list = <value optimized out>
__PRETTY_FUNCTION__ = "IA__gtk_main_do_event"
#26 0x0f77b098 in gdk_event_dispatch (source=<value optimized out>, callback=<value optimized out>,
user_data=<value optimized out>) at /build/buildd/gtk+2.0-2.10.12/gdk/x11/gdkevents-x11.c:2318
display = <value optimized out>
event = (GdkEvent *) 0x10186410
#27 0x0f4a2674 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#28 0x0f4a6308 in ?? () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#29 0x0f4a6774 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#30 0x0f97c714 in IA__gtk_main () at /build/buildd/gtk+2.0-2.10.12/gtk/gtkmain.c:1154
tmp_list = (GList *) 0x100d0000
functions = (GList *) 0x0
init = (GtkInitFunction *) 0x0
loop = (GMainLoop *) 0x10117b28
#31 0x10052bc0 in main (argc=1, argv=0x7fdb0784) at gossip-main.c:207
localedir = <value optimized out>
program = (GnomeProgram *) 0x100e0c10
session = (GossipSession *) 0x100f88d0
account_manager = <value optimized out>
account = (GossipAccount *) 0x0
context = (GOptionContext *) 0x100d7470
accounts = <value optimized out>
options = {{long_name = 0x100b5d74 "no-connect", short_name = 110 'n', flags = 0, arg = G_OPTION_ARG_NONE,
arg_data = 0x100d5bb8, description = 0x100b5d80 "Don't connect on startup", arg_description = 0x0}, {
long_name = 0x100b5d9c "multiple-instances", short_name = 109 'm', flags = 0, arg = G_OPTION_ARG_NONE,
arg_data = 0x100d5bbc,
description = 0x100b5db0 "Allow multiple instances of the application to run at the same time",
arg_description = 0x0}, {long_name = 0x100b5df4 "list-accounts", short_name = 108 'l', flags = 0,
arg = G_OPTION_ARG_NONE, arg_data = 0x100d5bc0, description = 0x100b5e04 "List the available accounts",
arg_description = 0x0}, {long_name = 0x100bd990 "account", short_name = 97 'a', flags = 0,
arg = G_OPTION_ARG_STRING, arg_data = 0x100d5bc4,
description = 0x100b5e20 "Which account to connect to on startup",
arg_description = 0x100b5e48 "ACCOUNT-NAME"}, {long_name = 0x0, short_name = 0 '\0', flags = 0,
arg = G_OPTION_ARG_NONE, arg_data = 0x0, description = 0x0, arg_description = 0x0}}
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.22-rc1-g79e90214-dirty (PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gossip depends on:
ii gossip-common 0.24-2 friendly Jabber client for GNOME -
ii libaspell15 0.60.5-1 GNU Aspell spell-checker runtime l
ii libc6 2.6~20070518-1 GNU C Library: Shared libraries
ii libdbus-1-3 1.0.2-5 simple interprocess messaging syst
ii libdbus-glib-1-2 0.73-2 simple interprocess messaging syst
ii libgconf2-4 2.18.0.1-3 GNOME configuration database syste
ii libglade2-0 1:2.6.0-4 library to load .glade files at ru
ii libglib2.0-0 2.12.12-1 The GLib library of C routines
ii libgnome2-0 2.18.0-4 The GNOME 2 library - runtime file
ii libgnomeui-0 2.18.1-2 The GNOME 2 libraries (User Interf
ii libgnomevfs2-0 1:2.18.1-1 GNOME Virtual File System (runtime
ii libgtk2.0-0 2.10.12-2 The GTK+ graphical user interface
ii libloudmouth1-0 1.2.1-1 Lightweight C Jabber library
ii libnotify1 [libnotify1-gt 0.4.4-3 sends desktop notifications to a n
ii libpanel-applet2-0 2.18.1-2 library for GNOME 2 panel applets
ii libpango1.0-0 1.16.4-1 Layout and rendering of internatio
ii libtelepathy2 0.0.54-1 Telepathy framework - GLib library
ii libx11-6 2:1.1.1-1 X11 client-side library
ii libxml2 2.6.28.dfsg-1 GNOME XML library
ii libxss1 1:1.1.2-1 X11 Screen Saver extension library
Versions of packages gossip recommends:
ii iso-codes 1.0a-1 ISO language, territory, currency
-- no debconf information
More information about the pkg-gnome-maintainers
mailing list