Segfault when trying to delegate channel
@jonnylamb
Submitted by Jonny Lamb Assigned to Telepathy bugs list
Description
I had called it manually from d-feet with arguments:
["/the/real/channel/object/path/no/lies"], 0, "org.gnome.Empathy.Chat"
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff63aa01a in g_object_unref (_object=0x7ffff63ce7f5)
at /tmp/buildd/glib2.0-2.30.2/./gobject/gobject.c:2680
2680 /tmp/buildd/glib2.0-2.30.2/./gobject/gobject.c: No such file or directory.
in /tmp/buildd/glib2.0-2.30.2/./gobject/gobject.c
(gdb) bt
#0 0x00007ffff63aa01a in g_object_unref (_object=0x7ffff63ce7f5)
at /tmp/buildd/glib2.0-2.30.2/./gobject/gobject.c:2680
#1 0x0000000000426b84 in dispatcher_delegate_channels (iface=0x6ba840,
channels=0x71b8a0, user_action_time=<optimized out>,
preferred_handler=0x7c5f80 "org.gnome.Empathy.Chat", context=0x7dca40)
at mcd-dispatcher.c:2810
#2 0x00007ffff6c684a8 in invoke_object_method (message=0x6bc190,
connection=0x672a00, method=0x7ffff79c58a0, object_info=0x7ffff79c3700,
object=0x6ba840) at dbus-gobject.c:1889
#3 object_registration_message (connection=0x672a00, message=0x6bc190,
user_data=<optimized out>) at dbus-gobject.c:2151
#4 0x00007ffff6a333c1 in _dbus_object_tree_dispatch_and_unlock (
tree=0x6726c0, message=0x6bc190) at ../../dbus/dbus-object-tree.c:858
#5 0x00007ffff6a252c0 in dbus_connection_dispatch (connection=0x672a00)
at ../../dbus/dbus-connection.c:4644
#6 0x00007ffff6c65735 in message_queue_dispatch (source=<optimized out>,
callback=<optimized out>, user_data=<optimized out>) at dbus-gmain.c:90
#7 0x00007ffff5ab80cf in g_main_dispatch (context=0x6757d0)
at /tmp/buildd/glib2.0-2.30.2/./glib/gmain.c:2442
#8 g_main_context_dispatch (context=0x6757d0)
at /tmp/buildd/glib2.0-2.30.2/./glib/gmain.c:2998
#9 0x00007ffff5ab88c8 in g_main_context_iterate (context=0x6757d0,
block=<optimized out>, dispatch=1, self=<optimized out>)
---Type <return> to continue, or q <return> to quit---
at /tmp/buildd/glib2.0-2.30.2/./glib/gmain.c:3076
#10 0x00007ffff5ab8e02 in g_main_loop_run (loop=0x7fffec003110)
at /tmp/buildd/glib2.0-2.30.2/./glib/gmain.c:3284
#11 0x000000000040f935 in main (argc=<optimized out>, argv=<optimized out>)
at mc-server.c:78
Version: git master