Bug 21135

Summary: crash on reconnect
Product: Telepathy Reporter: Florian Steinel <bugs>
Component: idleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED NOTOURBUG QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: major    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Florian Steinel 2009-04-12 05:55:17 UTC
telepathy-mission-control Version 4.67
telepathy-idle git latest (1b6f1549a8c66356a9ea2d4a7240be98efb38ec7)
libtelepathy Version 0.3.3
telepathy-glib Version 0.7.29
empathy Version 2.26.0.1

Distribution: Gentoo Base System release 2.0.0
Gnome Release: 2.26.0 2009-03-22 (Gentoo)
BugBuddy Version: 2.26.0

System: Linux 2.6.28-gentoo-r2 #1 SMP Fri Feb 20 18:53:41 CET 2009 x86_64
X Vendor: The X.Org Foundation
X Vendor Release: 10599903
Selinux: No
Accessibility: Disabled
GTK+ Theme: Clearlooks
Icon Theme: gnome
GTK+ Modules: canberra-gtk-module, gnomebreakpad

Memory status: size: 280227840 vsize: 280227840 resident: 42569728 share: 15134720 rss: 42569728 rss_rlim: 18446744073709551615
CPU usage: start_time: 1239530114 rtime: 429 utime: 399 stime: 30 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

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

[Thread debugging using libthread_db enabled]
[New Thread 0x7fcfcb5bb6f0 (LWP 18877)]
0x00007fcfc90d9ec5 in __libc_waitpid (pid=25802, stat_loc=0x7fffd35f88d0, 
    options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:32
	in ../sysdeps/unix/sysv/linux/waitpid.c
#0  0x00007fcfc90d9ec5 in __libc_waitpid (pid=25802, stat_loc=0x7fffd35f88d0, 
    options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:32
#1  0x00007fcfc817f79a in IA__g_spawn_sync (
    working_directory=<value optimized out>, argv=<value optimized out>, 
    envp=<value optimized out>, flags=<value optimized out>, 
    child_setup=<value optimized out>, user_data=<value optimized out>, 
    standard_output=0x0, standard_error=0x0, exit_status=0x0, 
    error=0x7fffd35f8a38) at gspawn.c:382
#2  0x00007fcfc817faaf in IA__g_spawn_command_line_sync (
    command_line=<value optimized out>, standard_output=0x0, 
    standard_error=0x0, exit_status=0x0, error=0x7fffd35f8a38) at gspawn.c:694
#3  0x00007fcfbf00acac in bugbuddy_segv_handle ()
   from /usr/lib64/gtk-2.0/modules/libgnomebreakpad.so
#4  <signal handler called>
#5  0x00007fcfc7e01165 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x00007fcfc7e024de in *__GI_abort () at abort.c:88
#7  0x00007fcfc816fbf4 in IA__g_assertion_message (domain=0x7fcfc81c6cfe "", 
    file=0x7fcfcaf7ccaf "empathy-chatroom.c", line=<value optimized out>, 
    func=0x7fcfcaf7d030 "chatroom_set_property", 
    message=<value optimized out>) at gtestutils.c:1301
#8  0x00007fcfc817007b in IA__g_assertion_message_expr (domain=0x0, 
    file=0x7fcfcaf7ccaf "empathy-chatroom.c", line=231, 
    func=0x7fcfcaf7d030 "chatroom_set_property", expr=<value optimized out>)
    at gtestutils.c:1312
#9  0x00007fcfcaf5d0c4 in chatroom_set_property (object=0x2b8df20, 
    param_id=<value optimized out>, value=<value optimized out>, 
    pspec=0x189eed0) at empathy-chatroom.c:231
#10 0x00007fcfc8402ff2 in IA__g_object_set_valist (object=0x2b8df20, 
    first_property_name=<value optimized out>, var_args=0x7fffd35f9220)
    at gobject.c:942
#11 0x00007fcfc840341a in IA__g_object_set (_object=0x2b8df20, 
    first_property_name=0x7fcfcaf7cca7 "tp-chat") at gobject.c:1537
#12 0x00007fcfcaf5dadf in chatroom_manager_observe_channel_cb (
    dispatcher=<value optimized out>, operation=<value optimized out>, 
    user_data=<value optimized out>) at empathy-chatroom-manager.c:725
#13 0x00007fcfc83fec59 in IA__g_closure_invoke (closure=0x191f5c0, 
    return_value=0x0, n_param_values=2, param_values=0x2ac50f0, 
    invocation_hint=0x7fffd35f9490) at gclosure.c:767
#14 0x00007fcfc841014f in signal_emit_unlocked_R (node=0x18aef00, detail=0, 
    instance=0x18a82a0, emission_return=0x0, instance_and_params=0x2ac50f0)
    at gsignal.c:3247
#15 0x00007fcfc84116b2 in IA__g_signal_emit_valist (instance=0x18a82a0, 
    signal_id=<value optimized out>, detail=0, var_args=0x7fffd35f9670)
    at gsignal.c:2980
#16 0x00007fcfc8411b2d in IA__g_signal_emit (instance=0x49bd, 
    signal_id=18877, detail=6) at gsignal.c:3037
#17 0x00007fcfcaf63ab1 in dispatch_operation_ready_cb (operation=0x19bc480, 
    dispatcher=0x18a82a0) at empathy-dispatcher.c:401
#18 0x00007fcfcaf63ff6 in dispatcher_connection_new_requested_channel (
    dispatcher=<value optimized out>, request_data=0x1928590, 
    object_path=0x2d86770 "/org/freedesktop/Telepathy/Connection/idle/irc/MYNICK_40testnet_2efreenode_2enet0x20e71d0/MucChannel1", properties=0x0, 
    error=0x0) at empathy-dispatcher.c:1133
#19 0x00007fcfc88a0bf9 in _tp_cli_connection_invoke_callback_request_channel (
    self=0x2aeb330, error=0x0, args=0x2b60b40, 
    generic_callback=0x7fcfcaf64567 <dispatcher_request_channel_cb>, 
    user_data=0x1928590, weak_object=0x18a82a0)
    at _gen/tp-cli-connection-body.h:3211
#20 0x00007fcfc88d3037 in tp_proxy_pending_call_idle_invoke (p=0x2be6860)
    at proxy-methods.c:153
#21 0x00007fcfc814e106 in IA__g_main_context_dispatch (context=0x1692000)
    at gmain.c:1814
#22 0x00007fcfc8151106 in g_main_context_iterate (context=0x1692000, block=1, 
    dispatch=1, self=<value optimized out>) at gmain.c:2448
#23 0x00007fcfc8151500 in IA__g_main_loop_run (loop=0x191f3c0) at gmain.c:2656
#24 0x00007fcfca23253c in IA__gtk_main () at gtkmain.c:1205
#25 0x000000000041488c in main (argc=1, argv=0x7fffd35f9c68) at empathy.c:569

Thread 1 (Thread 0x7fcfcb5bb6f0 (LWP 18877)):
#0  0x00007fcfc90d9ec5 in __libc_waitpid (pid=25802, stat_loc=0x7fffd35f88d0, 
    options=0) at ../sysdeps/unix/sysv/linux/waitpid.c:32
	oldtype = <value optimized out>
	result = <value optimized out>
#1  0x00007fcfc817f79a in IA__g_spawn_sync (
    working_directory=<value optimized out>, argv=<value optimized out>, 
    envp=<value optimized out>, flags=<value optimized out>, 
    child_setup=<value optimized out>, user_data=<value optimized out>, 
    standard_output=0x0, standard_error=0x0, exit_status=0x0, 
    error=0x7fffd35f8a38) at gspawn.c:382
	outpipe = -1
	errpipe = -1
	pid = 25802
	fds = {__fds_bits = {45857024, 8, 16, 16, 45293360, 0, 16, 0, 
    45293400, 26388560, 45293360, 140736739641912, 5, 140530391871300, 
    140736739641560, 140736739641680}}
	ret = <value optimized out>
	outstr = (GString *) 0x0
	errstr = (GString *) 0x0
	failed = 0
	status = <value optimized out>
	__PRETTY_FUNCTION__ = "IA__g_spawn_sync"
#2  0x00007fcfc817faaf in IA__g_spawn_command_line_sync (
    command_line=<value optimized out>, standard_output=0x0, 
    standard_error=0x0, exit_status=0x0, error=0x7fffd35f8a38) at gspawn.c:694
	retval = <value optimized out>
	argv = (gchar **) 0x2b31f30
	__PRETTY_FUNCTION__ = "IA__g_spawn_command_line_sync"
#3  0x00007fcfbf00acac in bugbuddy_segv_handle ()
   from /usr/lib64/gtk-2.0/modules/libgnomebreakpad.so
No symbol table info available.
#4  <signal handler called>
No locals.
#5  0x00007fcfc7e01165 in *__GI_raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
	pid = <value optimized out>
	selftid = <value optimized out>
#6  0x00007fcfc7e024de in *__GI_abort () at abort.c:88
	act = {__sigaction_handler = {sa_handler = 0x7fffd35f9060, 
    sa_sigaction = 0x7fffd35f9060}, sa_mask = {__val = {1, 1, 
      140530391876946, 0, 32, 1024, 45857024, 45799936, 140530391529984, 
      140530388134296, 140530446852096, 4294967295, 4294967295, 0, 2986080, 
      140530440196144}}, sa_flags = -748711840, sa_restorer = 0x7fcfcaf7ccaf}
	sigs = {__val = {32, 0 <repeats 15 times>}}
#7  0x00007fcfc816fbf4 in IA__g_assertion_message (domain=0x7fcfc81c6cfe "", 
    file=0x7fcfcaf7ccaf "empathy-chatroom.c", line=<value optimized out>, 
    func=0x7fcfcaf7d030 "chatroom_set_property", 
    message=<value optimized out>) at gtestutils.c:1301
	lstr = "231\000\000\000\000\000\002\213\026ÈÏ\177\000\000\230&\022ÈÏ\177\000\000@߸\002\000\000\000"
#8  0x00007fcfc817007b in IA__g_assertion_message_expr (domain=0x0, 
    file=0x7fcfcaf7ccaf "empathy-chatroom.c", line=231, 
    func=0x7fcfcaf7d030 "chatroom_set_property", expr=<value optimized out>)
    at gtestutils.c:1312
No locals.
#9  0x00007fcfcaf5d0c4 in chatroom_set_property (object=0x2b8df20, 
    param_id=<value optimized out>, value=<value optimized out>, 
    pspec=0x189eed0) at empathy-chatroom.c:231
	chat = (GObject *) 0x0
	priv = (EmpathyChatroomPriv *) 0x2b8df40
	__PRETTY_FUNCTION__ = "chatroom_set_property"
#10 0x00007fcfc8402ff2 in IA__g_object_set_valist (object=0x2b8df20, 
    first_property_name=<value optimized out>, var_args=0x7fffd35f9220)
    at gobject.c:942
	value = {g_type = 25761456, data = {{v_int = 27255968, 
      v_uint = 27255968, v_long = 27255968, v_ulong = 27255968, 
      v_int64 = 27255968, v_uint64 = 27255968, v_float = 5.87354363e-38, 
      v_double = 1.3466237432948349e-316, v_pointer = 0x19fe4a0}, {v_int = 0, 
      v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, 
      v_float = 0, v_double = 0, v_pointer = 0x0}}}
	pspec = (GParamSpec *) 0x189eed0
	error = <value optimized out>
	nqueue = (GObjectNotifyQueue *) 0x2b93d60
	name = <value optimized out>
	__PRETTY_FUNCTION__ = "IA__g_object_set_valist"
#11 0x00007fcfc840341a in IA__g_object_set (_object=0x2b8df20, 
    first_property_name=0x7fcfcaf7cca7 "tp-chat") at gobject.c:1537
	var_args = {{gp_offset = 24, fp_offset = 48, 
    overflow_arg_area = 0x7fffd35f9310, reg_save_area = 0x7fffd35f9240}}
	__PRETTY_FUNCTION__ = "IA__g_object_set"
#12 0x00007fcfcaf5dadf in chatroom_manager_observe_channel_cb (
    dispatcher=<value optimized out>, operation=<value optimized out>, 
    user_data=<value optimized out>) at empathy-chatroom-manager.c:725
	manager = <value optimized out>
	chatroom = <value optimized out>
	channel = <value optimized out>
	chat = (EmpathyTpChat *) 0x19fe4a0
	roomname = (const gchar *) 0x2d8ac90 "#freenode"
	channel_type = <value optimized out>
	handle_type = TP_HANDLE_TYPE_ROOM
	account = (McAccount *) 0x184bf70
#13 0x00007fcfc83fec59 in IA__g_closure_invoke (closure=0x191f5c0, 
    return_value=0x0, n_param_values=2, param_values=0x2ac50f0, 
    invocation_hint=0x7fffd35f9490) at gclosure.c:767
	marshal = (
    GClosureMarshal) 0x413410 <g_cclosure_marshal_VOID__OBJECT@plt>
	marshal_data = (gpointer) 0x0
	__PRETTY_FUNCTION__ = "IA__g_closure_invoke"
#14 0x00007fcfc841014f in signal_emit_unlocked_R (node=0x18aef00, detail=0, 
    instance=0x18a82a0, emission_return=0x0, instance_and_params=0x2ac50f0)
    at gsignal.c:3247
	tmp = <value optimized out>
	handler = (Handler *) 0x1703590
	accumulator = (SignalAccumulator *) 0x0
	emission = {next = 0x0, instance = 0x18a82a0, ihint = {
    signal_id = 266, detail = 0, run_type = G_SIGNAL_RUN_FIRST}, 
  state = EMISSION_RUN, chain_type = 4}
	class_closure = (GClosure *) 0x0
	handler_list = (Handler *) 0x18a1630
	return_accu = (GValue *) 0x0
	accu = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0, 
      v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, 
      v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, 
      v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
	signal_id = 266
	max_sequential_handler_number = 5315
	return_value_altered = 1
#15 0x00007fcfc84116b2 in IA__g_signal_emit_valist (instance=0x18a82a0, 
    signal_id=<value optimized out>, detail=0, var_args=0x7fffd35f9670)
    at gsignal.c:2980
	signal_return_type = 4
	param_values = (GValue *) 0x2ac5108
	node = (SignalNode *) 0x18aef00
	i = 1
	n_params = 1
	__PRETTY_FUNCTION__ = "IA__g_signal_emit_valist"
#16 0x00007fcfc8411b2d in IA__g_signal_emit (instance=0x49bd, 
    signal_id=18877, detail=6) at gsignal.c:3037
	var_args = {{gp_offset = 32, fp_offset = 48, 
    overflow_arg_area = 0x7fffd35f9750, reg_save_area = 0x7fffd35f9690}}
#17 0x00007fcfcaf63ab1 in dispatch_operation_ready_cb (operation=0x19bc480, 
    dispatcher=0x18a82a0) at empathy-dispatcher.c:401
	priv = (EmpathyDispatcherPriv *) 0x18a82c0
	connection = <value optimized out>
	status = <value optimized out>
	__PRETTY_FUNCTION__ = "dispatch_operation_ready_cb"
#18 0x00007fcfcaf63ff6 in dispatcher_connection_new_requested_channel (
    dispatcher=<value optimized out>, request_data=0x1928590, 
    object_path=0x2d86770 "/org/freedesktop/Telepathy/Connection/idle/irc/MYNICK_40testnet_2efreenode_2enet0x20e71d0/MucChannel1", properties=0x0, 
    error=0x0) at empathy-dispatcher.c:1133
	priv = (EmpathyDispatcherPriv *) 0x18a82c0
	operation = (EmpathyDispatchOperation *) 0x19bc480
	conn_data = (ConnectionData *) 0x2b3ed00
#19 0x00007fcfc88a0bf9 in _tp_cli_connection_invoke_callback_request_channel (
    self=0x2aeb330, error=0x0, args=0x2b60b40, 
    generic_callback=0x7fcfcaf64567 <dispatcher_request_channel_cb>, 
    user_data=0x1928590, weak_object=0x18a82a0)
    at _gen/tp-cli-connection-body.h:3211
No locals.
#20 0x00007fcfc88d3037 in tp_proxy_pending_call_idle_invoke (p=0x2be6860)
    at proxy-methods.c:153
	invoke = (TpProxyInvokeFunc) 0
	__PRETTY_FUNCTION__ = "tp_proxy_pending_call_idle_invoke"
#21 0x00007fcfc814e106 in IA__g_main_context_dispatch (context=0x1692000)
    at gmain.c:1814
No locals.
#22 0x00007fcfc8151106 in g_main_context_iterate (context=0x1692000, block=1, 
    dispatch=1, self=<value optimized out>) at gmain.c:2448
	max_priority = -100
	timeout = 0
	some_ready = 1
	nfds = 0
	allocated_nfds = <value optimized out>
	fds = (GPollFD *) 0x199e300
	__PRETTY_FUNCTION__ = "g_main_context_iterate"
#23 0x00007fcfc8151500 in IA__g_main_loop_run (loop=0x191f3c0) at gmain.c:2656
	self = (GThread *) 0x1663040
	__PRETTY_FUNCTION__ = "IA__g_main_loop_run"
#24 0x00007fcfca23253c in IA__gtk_main () at gtkmain.c:1205
	tmp_list = (GList *) 0x16889b0
	functions = (GList *) 0x0
	init = (GtkInitFunction *) 0x18a82a0
	loop = (GMainLoop *) 0x191f3c0
#25 0x000000000041488c in main (argc=1, argv=0x7fffd35f9c68) at empathy.c:569
	icon = (EmpathyStatusIcon *) 0x1688c30
	dispatcher = (EmpathyDispatcher *) 0x18a82a0
	log_manager = (EmpathyLogManager *) 0x18a1690
	chatroom_manager = (EmpathyChatroomManager *) 0x189a5c0
	ft_manager = (EmpathyFTManager *) 0x1917b60
	call_factory = <value optimized out>
	window = <value optimized out>
	mc = (MissionControl *) 0x1688930
	idle = (EmpathyIdle *) 0x16889b0
	autoconnect = 1
	no_connect = 0
	hide_contact_list = 0
	accounts_dialog = 0
	error = (GError *) 0x0
	options = {{long_name = 0x42a9e6 "no-connect", short_name = 110 'n', 
    flags = 0, arg = G_OPTION_ARG_NONE, arg_data = 0x7fffd35f9b48, 
    description = 0x42a9f1 "Don't connect on startup", 
    arg_description = 0x0}, {long_name = 0x42aa0a "hide-contact-list", 
    short_name = 104 'h', flags = 0, arg = G_OPTION_ARG_NONE, 
    arg_data = 0x7fffd35f9b44, 
    description = 0x42ab58 "Don't show the contact list on startup", 
    arg_description = 0x0}, {long_name = 0x42d02e "accounts", 
    short_name = 97 'a', flags = 0, arg = G_OPTION_ARG_NONE, 
    arg_data = 0x7fffd35f9b40, 
    description = 0x42aa1c "Show the accounts dialog", 
    arg_description = 0x0}, {long_name = 0x42aa35 "version", 
    short_name = 118 'v', flags = 8, arg = G_OPTION_ARG_CALLBACK, 
    arg_data = 0x414b95, 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}}
0x00007fcfc90d9ec5	32	in ../sysdeps/unix/sysv/linux/waitpid.c
The program is running.  Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]


---- Critical and fatal warnings logged during execution ----

** tp-glib **: tp_channel_get_identifier: assertion `TP_IS_CHANNEL (self)' failed 
** empathy **: empathy_chatroom_manager_find: assertion `room != NULL' failed 
** tp-glib **: tp_channel_get_identifier: assertion `TP_IS_CHANNEL (self)' failed 
** empathy **: empathy_chatroom_manager_find: assertion `room != NULL' failed 
** tp-glib **: tp_channel_get_identifier: assertion `TP_IS_CHANNEL (self)' failed 
** empathy **: empathy_chatroom_manager_find: assertion `room != NULL' failed 


----------- .xsession-errors ---------------------
ERROR:empathy-chatroom.c:231:chatroom_set_property: assertion failed: (chat == NULL || priv->tp_chat == NULL)
32	../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
--------------------------------------------------
Comment 1 Will Thompson 2009-04-12 07:24:35 UTC
This is a bug in Empathy, not in Idle. I've already filed it as <http://bugzilla.gnome.org/show_bug.cgi?id=578356>; I'll copy your comments over there.

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.