Bug 34568

Summary: Call: crashes if video is enabled, disabled and enabled again
Product: Telepathy Reporter: Emilio Pozuelo Monfort <pochu27>
Component: gabbleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: git master   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Emilio Pozuelo Monfort 2011-02-22 06:00:34 UTC
Making a call from empathy to empathy using gabble, if I enable video, disable it, and enable it again, gabble aborts.

(telepathy-gabble:31985): tp-yell-DEBUG: tpy_base_call_content_constructed: Registering /org/freedesktop/Telepathy/Connection/gabble/jabber/emilio_2epozuelo_40collabora_2eco_2euk_2f5ab67c28/CallChannel0/Content_video_2

** ERROR **: Failed to register GObject with DBusConnection
aborting...

Program received signal SIGABRT, Aborted.
0x00007ffff5303165 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64	../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
	in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0  0x00007ffff5303165 in raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff5305f70 in abort () at abort.c:92
#2  0x00007ffff568051a in g_logv (log_domain=<value optimized out>, log_level=<value optimized out>, 
    format=<value optimized out>, args1=0x7fffffffd9f0) at /tmp/buildd/glib2.0-2.28.1/./glib/gmessages.c:557
#3  0x00007ffff56805a3 in g_log (log_domain=0x7cf1 <Address 0x7cf1 out of bounds>, log_level=31985, 
    format=0x6 <Address 0x6 out of bounds>) at /tmp/buildd/glib2.0-2.28.1/./glib/gmessages.c:577
#4  0x00007ffff7bc813d in dbus_g_connection_register_g_object (connection=0x77bcb8, 
    at_path=0xebe650 "/org/freedesktop/Telepathy/Connection/gabble/jabber/emilio_2epozuelo_40collabora_2eco_2euk_2f5ab67c28/CallChannel0/Content_video_2", object=0xb3a2e0) at dbus-gobject.c:2594
#5  0x00007ffff5f40995 in g_object_newv (object_type=<value optimized out>, n_parameters=15358656, 
    parameters=0x7ffff591ac88) at /tmp/buildd/glib2.0-2.28.1/./gobject/gobject.c:1507
#6  0x00007ffff5f411dd in g_object_new_valist (object_type=15359280, first_property_name=0x0, var_args=0x7fffffffdd00)
    at /tmp/buildd/glib2.0-2.28.1/./gobject/gobject.c:1596
#7  0x00007ffff5f414f1 in g_object_new (object_type=15359280, first_property_name=0x5067af "connection")
    at /tmp/buildd/glib2.0-2.28.1/./gobject/gobject.c:1311
#8  0x00000000004f7a8b in gabble_base_call_channel_add_content (self=0xe5b000, name=0xe84c00 "video", 
    mtype=<value optimized out>, disposition=<value optimized out>) at base-call-channel.c:231
#9  0x00000000004ccb5f in call_channel_add_content (base=0xe5b000, name=0xe84c00 "video", type=<value optimized out>, 
    error=<value optimized out>) at call-channel.c:581
#10 0x00000000004f5c1d in tpy_base_call_channel_add_content_dbus (iface=0xe5b000, name=0xe84c00 "video", 
    mtype=TP_MEDIA_STREAM_TYPE_VIDEO, context=0xe5d000) at base-call-channel.c:756
#11 0x00007ffff7bc99db in invoke_object_method (connection=<value optimized out>, message=0xea6e70, 
    user_data=<value optimized out>) at dbus-gobject.c:1724
#12 object_registration_message (connection=<value optimized out>, message=0xea6e70, user_data=<value optimized out>)
    at dbus-gobject.c:1944
#13 0x00007ffff799571e in _dbus_object_tree_dispatch_and_unlock (tree=0x77b970, message=0xea6e70)
    at dbus-object-tree.c:858
#14 0x00007ffff7988ccc in dbus_connection_dispatch (connection=0x77bcb0) at dbus-connection.c:4688
#15 0x00007ffff7bc5bb5 in message_queue_dispatch (source=<value optimized out>, callback=<value optimized out>, 
    user_data=<value optimized out>) at dbus-gmain.c:101
#16 0x00007ffff56752e2 in g_main_dispatch (context=0x77eb20) at /tmp/buildd/glib2.0-2.28.1/./glib/gmain.c:2440
#17 g_main_context_dispatch (context=0x77eb20) at /tmp/buildd/glib2.0-2.28.1/./glib/gmain.c:3013
#18 0x00007ffff56799a8 in g_main_context_iterate (context=0x77eb20, block=<value optimized out>, 
    dispatch=<value optimized out>, self=<value optimized out>) at /tmp/buildd/glib2.0-2.28.1/./glib/gmain.c:3091
#19 0x00007ffff5679eb5 in g_main_loop_run (loop=0x784fa0) at /tmp/buildd/glib2.0-2.28.1/./glib/gmain.c:3299
#20 0x00007ffff6a3221f in tp_run_connection_manager (prog_name=<value optimized out>, version=<value optimized out>, 
    construct_cm=<value optimized out>, argc=<value optimized out>, argv=<value optimized out>) at run.c:285
#21 0x000000000043427a in gabble_main (argc=1, argv=0x7fffffffe588) at gabble.c:175
#22 0x00007ffff52efc4d in __libc_start_main (main=<value optimized out>, argc=<value optimized out>, 
    ubp_av=<value optimized out>, init=<value optimized out>, fini=<value optimized out>, 
    rtld_fini=<value optimized out>, stack_end=0x7fffffffe578) at libc-start.c:228
#23 0x0000000000434069 in _start ()
(gdb)
Comment 1 vincent 2011-05-26 07:28:23 UTC
I have a similar problem here, so I'll add it here rather than in a new bug:

Make a video call between empathy and meego's IM client.
Have empathy disable sending video.

tp-gabble on meego will see the state change, but never emit the notification on dbus. There is no crash.
Comment 2 GitLab Migration User 2019-12-03 19:51:00 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-gabble/issues/133.

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.