Bug 18853 - crash when calling google web client
Summary: crash when calling google web client
Status: RESOLVED INVALID
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: unspecified
Hardware: Other All
: high normal
Assignee: Senko Rasic
QA Contact: Telepathy bugs list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-02 12:17 UTC by Guillaume Desmottes
Modified: 2008-12-03 03:55 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Guillaume Desmottes 2008-12-02 12:17:16 UTC
I tried to call a friend who was using google web client and got this crash with gabble master.

(telepathy-gabble:10633): tp-glib-DEBUG: channel_request_new: New channel request at 0x82552a8: ctype=org.freedesktop.Telepathy.Channel.Type.StreamedMedia htype=0 handle=0 suppress=1
tp_properties_mixin_emit_changed: emitting properties changed for property:
  nat-traversal
tp_properties_mixin_emit_flags: emitting properties flags changed for property:
  nat-traversal's flags now: [READ]
tp_group_mixin_change_members: emitting members changed
  message       : ""
  added         : [1 (cassidy@jabber.belnet.be)]
  removed       : []
  local_pending : []
  remote_pending: []
  actor         : 0
  reason        : 0: unspecified reason
tp_group_mixin_change_flags: emitting group flags changed
  added    : [CAN_ADD]
  removed  : []
  flags now: [CAN_ADD]
** (telepathy-gabble:10633): DEBUG: new_media_channel: object path /org/freedesktop/Telepathy/Connection/gabble/jabber/cassidy_40jabber_2ebelnet_2ebe_2fLaptop/MediaChannel0
(telepathy-gabble:10633): tp-glib-DEBUG: satisfy_request: completing queued request 0x82552a8 with success, channel_type=org.freedesktop.Telepathy.Channel.Type.StreamedMedia, handle_type=0, handle=0, suppress_handler=1
(telepathy-gabble:10633): tp-glib-DEBUG: channel_request_free: Freeing channel request at 0x82552a8: ctype=org.freedesktop.Telepathy.Channel.Type.StreamedMedia htype=0 handle=0 suppress=1
tp_group_mixin_change_members: emitting members changed
  message       : ""
  added         : []
  removed       : []
  local_pending : []
  remote_pending: [194 (jkoeune@gmail.com)]
  actor         : 0
  reason        : 0: unspecified reason
tp_group_mixin_change_flags: emitting group flags changed
  added    : [CAN_REMOVE|CAN_RESCIND]
  removed  : [CAN_ADD]
  flags now: [CAN_REMOVE|CAN_RESCIND]
(telepathy-gabble:10633): tp-glib-DEBUG: tp_group_mixin_add_members: handle 1 cannot be added to members without GROUP_FLAG_CAN_ADD
** (telepathy-gabble:10633): DEBUG: create_session: 0x8270438: Creating new outgoing session
** (telepathy-gabble:10633): DEBUG: create_session: new session 915727653 @ 0x80d7650 created
** (telepathy-gabble:10633): DEBUG: _latch_to_session: 0x8270438: Latching onto session 0x80d7650
** (telepathy-gabble:10633): DEBUG: _gabble_media_channel_request_streams: called
** (telepathy-gabble:10633): DEBUG: _gabble_media_channel_request_streams: picking the best resource (want audio: 1, want video: 0
** (telepathy-gabble:10633): DEBUG: _gabble_media_channel_request_streams: Picking resource 'gmail.F4FE677B' (transport: http://www.google.com/transport/p2p, dialect: 2)
** (telepathy-gabble:10633): DEBUG: _gabble_media_channel_request_streams: Creating new jingle content with ns http://www.google.com/session/phone : http://www.google.com/transport/p2p
** (telepathy-gabble:10633): DEBUG: create_content: session creating new content type, conn == 0x80dc1e8, jf == 0x80e0440

GLib-GObject-CRITICAL **: g_value_get_object: assertion `G_VALUE_HOLDS_OBJECT (value)' failed
aborting...
Trappe pour point d'arrêt et de trace




#0  0xb7e1202c in g_logv () from /usr/lib/libglib-2.0.so.0
#1  0xb7e122b5 in g_log () from /usr/lib/libglib-2.0.so.0
#2  0xb7e1251b in g_return_if_fail_warning () from /usr/lib/libglib-2.0.so.0
#3  0xb7ed70a9 in g_value_get_object () from /usr/lib/libgobject-2.0.so.0
#4  0xb7ee3065 in g_cclosure_marshal_VOID__OBJECT () from /usr/lib/libgobject-2.0.so.0
#5  0xb7ed5602 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#6  0xb7eea82d in ?? () from /usr/lib/libgobject-2.0.so.0
#7  0xb7eec3e8 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#8  0xb7eec835 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#9  0x0805fdcd in create_content (sess=0x80d7250, content_type=135135560, type=<value optimized out>, content_ns=0x80b4d60 "http://www.google.com/session/phone", 
    transport_ns=0x80b5e30 "http://www.google.com/transport/p2p", name=0x81f2de0 "stream1", content_node=0x0, error=0x0) at jingle-session.c:590
#10 0x0805feda in gabble_jingle_session_add_content (sess=0x80d7250, mtype=JINGLE_MEDIA_TYPE_AUDIO, content_ns=0x80b4d60 "http://www.google.com/session/phone", 
    transport_ns=0x80b5e30 "http://www.google.com/transport/p2p") at jingle-session.c:1599
#11 0x080a7490 in gabble_media_channel_request_streams (iface=0x827d430, contact_handle=3, types=0x8252508, context=0x8260ac8) at media-channel.c:1431
#12 0xb7daf10e in tp_svc_channel_type_streamed_media_request_streams (self=0x827d430, in_Contact_Handle=3, in_Types=0x8252508, context=0x8260ac8)
    at _gen/tp-svc-channel.c:2814
#13 0xb7daa538 in _tp_marshal_VOID__UINT_BOXED_POINTER (closure=0xbfcc6e8c, return_value=0x0, n_param_values=4, param_values=0x8261200, invocation_hint=0x0, 
    marshal_data=0xb7daf0c0) at _gen/signals-marshal.c:1193
#14 0xb7f4bb47 in gobject_message_function (connection=0x80d2a30, message=0x827ca80, user_data=0x827d430) at dbus-gobject.c:1160
#15 0xb7f2632b in ?? () from /lib/libdbus-1.so.3
#16 0xb7f185b6 in dbus_connection_dispatch () from /lib/libdbus-1.so.3
#17 0xb7f484cd in message_queue_dispatch (source=0x80d43b8, callback=0, user_data=0x0) at dbus-gmain.c:101
#18 0xb7e08b66 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#19 0xb7e0bf63 in ?? () from /usr/lib/libglib-2.0.so.0
#20 0xb7e0c347 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#21 0xb7da8603 in tp_run_connection_manager (prog_name=0x80b1294 "telepathy-gabble", version=0x80b2bed "0.7.16.1", construct_cm=0x8054230 <construct_cm>, argc=1, 
    argv=0xbfcc7204) at run.c:261
#22 0x08054223 in gabble_main (argc=1, argv=0xbfcc7204) at gabble.c:76
#23 0x08054162 in main (argc=Cannot access memory at address 0x0
Comment 1 Senko Rasic 2008-12-03 03:52:30 UTC
Turns out Gillaume had a build of glib that had exported internal
symbols. I believe that the crash was caused by gabble accidentally
overwriting one of the symbols, which resulted in incorrect code.

The problem was gone when normal glib build was installed, which
hides the internal symbols.
Comment 2 Guillaume Desmottes 2008-12-03 03:55:36 UTC
To reproduce you have to rebuild glib with --enable-debug=yes --disable-visibility


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.