Bug 24524 - empathy crashed with SIGSEGV in strcmp()
Summary: empathy crashed with SIGSEGV in strcmp()
Status: RESOLVED NOTOURBUG
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-glib (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-14 06:46 UTC by Sebastien Bacher
Modified: 2009-10-23 02:20 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Sebastien Bacher 2009-10-14 06:46:44 UTC
The bug has been opened on https://bugs.launchpad.net/ubuntu/+source/telepathy-glib/+bug/446311

"Crash when creating a new account

empathy 2.28.0.1-1ubuntu3

libtelepathy-glib0 0.9.0-1

#0  strcmp () at ../sysdeps/i386/i686/strcmp.S:40
No locals.
#1  0x00234650 in tp_strdiff (left=0x24a061 "register", 
    right=0x17 <Address 0x17 out of bounds>) at util.c:506
No locals.
#2  0x001fc659 in tp_connection_manager_protocol_get_param (
    protocol=0x8d2d360, param=0x24a061 "register")
    at connection-manager.c:2193
	ret = <value optimized out>
	__PRETTY_FUNCTION__ = "tp_connection_manager_protocol_get_param"
#3  0x001fc6d4 in tp_connection_manager_protocol_has_param (
    protocol=0x8d2d360, param=0x24a061 "register")
    at connection-manager.c:2167
No locals.
#4  0x001fc717 in tp_connection_manager_protocol_can_register (
    protocol=0x8d2d360) at connection-manager.c:2217
No locals.
#5  0x0805ec9d in accounts_dialog_protocol_changed_cb (widget=0x8b7ab38, 
    dialog=0x8d36ec0) at empathy-accounts-dialog.c:397
	cm = <value optimized out>
	proto = (TpConnectionManagerProtocol *) 0x8d2d360
	is_gtalk = 0
	priv = (EmpathyAccountsDialogPriv *) 0x8d36ed0
#6  0x0805efde in accounts_dialog_setup_ui_to_add_account (dialog=0x8d36ec0)
    at empathy-accounts-dialog.c:436
	model = (GtkTreeModel *) 0x9490890
	priv = (EmpathyAccountsDialogPriv *) 0x8d36ed0
#7  0x0805f077 in accounts_dialog_button_add_clicked_cb (button=0x94806e8, 
    dialog=0x8d36ec0) at empathy-accounts-dialog.c:527
	account = (EmpathyAccount *) 0x8bfdc30
#8  0x00e249fc in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#9  0x00e17072 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#10 0x00e2c7a8 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#11 0x00e2db2d in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#12 0x00e2dfb6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#13 0x02f9d85a in IA__gtk_button_clicked (button=0x94806e8)
    at /build/buildd/gtk+2.0-2.18.2/gtk/gtkbutton.c:1111
	__PRETTY_FUNCTION__ = "IA__gtk_button_clicked"
#14 0x02f9ee78 in gtk_real_button_released (button=0x94806e8)
    at /build/buildd/gtk+2.0-2.18.2/gtk/gtkbutton.c:1707
No locals.
#15 0x00e249fc in g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#16 0x00e156f9 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#17 0x00e17072 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#18 0x00e2c0b0 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#19 0x00e2db2d in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#20 0x00e2dfb6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#21 0x02f9d8fa in IA__gtk_button_released (button=0x94806e8)
    at /build/buildd/gtk+2.0-2.18.2/gtk/gtkbutton.c:1103
	__PRETTY_FUNCTION__ = "IA__gtk_button_released"
#22 0x02f9d933 in gtk_button_button_release (widget=0x94806e8, 
    event=0x8c78330) at /build/buildd/gtk+2.0-2.18.2/gtk/gtkbutton.c:1599
No locals.
#23 0x0305d404 in _gtk_marshal_BOOLEAN__BOXED (closure=0x88df880, 
    return_value=0xbf9283a4, n_param_values=2, param_values=0x8d45428, 
    invocation_hint=0xbf928390, marshal_data=0x2f9d910)
    at /build/buildd/gtk+2.0-2.18.2/gtk/gtkmarshalers.c:84
	data1 = (gpointer) 0x17
	data2 = <value optimized out>
	v_return = <value optimized out>
	__PRETTY_FUNCTION__ = "_gtk_marshal_BOOLEAN__BOXED"
#24 0x00e156f9 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#25 0x00e17072 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#26 0x00e2c49e in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#27 0x00e2d9b8 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#28 0x00e2dfb6 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#29 0x0317987e in gtk_widget_event_internal (widget=<value optimized out>, 
    event=0x8c78330) at /build/buildd/gtk+2.0-2.18.2/gtk/gtkwidget.c:4767
	signal_num = <value optimized out>
	return_val = 0
#30 0x03055bb0 in IA__gtk_propagate_event (widget=0x94806e8, event=0x8c78330)
    at /build/buildd/gtk+2.0-2.18.2/gtk/gtkmain.c:2415
	tmp = (GtkWidget *) 0xcb2d66
	handled_event = <value optimized out>
	__PRETTY_FUNCTION__ = "IA__gtk_propagate_event"
#31 0x03056e39 in IA__gtk_main_do_event (event=0x8c78330)
    at /build/buildd/gtk+2.0-2.18.2/gtk/gtkmain.c:1620
	event_widget = (GtkWidget *) 0x94806e8
	grab_widget = (GtkWidget *) 0x17
	window_group = (GtkWindowGroup *) 0x8a83b60
	rewritten_event = (GdkEvent *) 0x0
	tmp_list = <value optimized out>
	__PRETTY_FUNCTION__ = "IA__gtk_main_do_event"
#32 0x0047064a in gdk_event_dispatch (source=0x89b7b10, callback=0, 
    user_data=0x0)
    at /build/buildd/gtk+2.0-2.18.2/gdk/x11/gdkevents-x11.c:2369
	display = <value optimized out>
	event = <value optimized out>
#33 0x00cb4e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
No symbol table info available.
#34 0x00cb8720 in ?? () from /lib/libglib-2.0.so.0
No symbol table info available.
#35 0x00cb8b8f in g_main_loop_run () from /lib/libglib-2.0.so.0
No symbol table info available.
#36 0x030573a9 in IA__gtk_main ()
    at /build/buildd/gtk+2.0-2.18.2/gtk/gtkmain.c:1216
	tmp_list = (GList *) 0x8a2f168
	functions = (GList *) 0x0
	init = (GtkInitFunction *) 0x8a83d80
	loop = (GMainLoop *) 0x8ab1c58
#37 0x0805bd25 in main (argc=1, argv=0xbf928a44) at empathy.c:910
	icon = (EmpathyStatusIcon *) 0x89b3010
	dispatcher = (EmpathyDispatcher *) 0x88c3990
	account_manager = (EmpathyAccountManager *) 0x89b2e88
	log_manager = (EmpathyLogManager *) 0x8a78220
	chatroom_manager = (EmpathyChatroomManager *) 0x8a2f168
	call_factory = <value optimized out>
	ft_factory = (EmpathyFTFactory *) 0x8a83d80
	window = <value optimized out>
	idle = (EmpathyIdle *) 0x88ce0e0
	connectivity = (EmpathyConnectivity *) 0x89d7d20
	autoconnect = 1
	no_connect = 0
	hide_contact_list = 0
	accounts_dialog = 0
	error = (GError *) 0x0
	dbus_daemon = <value optimized out>
	unique_app = (UniqueApp *) 0x89e85b8
	chatroom_manager_ready = 0
	optcontext = <value optimized out>
	options = {{long_name = 0x8081ebf "no-connect", short_name = 110 'n', 
    flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0xbf928978, 
    description = 0x8081eca "Don't connect on startup", 
    arg_description = 0x0}, {long_name = 0x8081ee3 "hide-contact-list", 
    short_name = 104 'h', flags = 0, arg = G_OPTION_ARG_NONE, 
    arg_data = 0xbf928974, 
    description = 0x80822d4 "Don't show the contact list on startup", 
    arg_description = 0x0}, {long_name = 0x8082e5e "accounts", 
    short_name = 97 'a', flags = 0, arg = G_OPTION_ARG_NONE, 
    arg_data = 0xbf928970, 
    description = 0x8081ef5 "Show the accounts dialog", 
    arg_description = 0x0}, {long_name = 0x8081f0e "version", 
    short_name = 118 'v', flags = 8, arg = G_OPTION_ARG_CALLBACK, 
    arg_data = 0x805bfe0, description = 0x0, arg_description = 0x0}, {
    long_name = 0x0, short_name = 0 '\0', flags = 0, arg = G_OPTION_ARG_NONE, 
    arg_data = 0x0, description = 0x0, arg_description = 0x0}}
	__PRETTY_FUNCTION__ = "main""
Comment 1 Simon McVittie 2009-10-22 07:42:45 UTC
This is Empathy's fault: it's storing data borrowed from the TpConnectionManager without copying it. Guillaume is aware, and will be auditing Empathy for crashes like this one.
Comment 2 Guillaume Desmottes 2009-10-23 02:20:30 UTC
See https://bugzilla.gnome.org/show_bug.cgi?id=599386 for the Empathy bug.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.