Bug 18713

Summary: Gabble asserts with vcard/test-avatar-tokens.py
Product: Telepathy Reporter: Alban Crequy <alban.crequy>
Component: gabbleAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Alban Crequy 2008-11-26 10:18:40 UTC
The unit test vcard/test-avatar-tokens.py makes Gabble crash.

Tested with Gabble master (99d02aca906087861dfab9dd4dde252957d53386).

100% reproductible.


  File "./vcard/test-avatar-tokens.py", line 55, in test
    conn.Disconnect()

(telepathy-gabble:31119): GLib-GObject-WARNING **: instance with invalid (NULL) class pointer
GLib-GObject-CRITICAL **: g_signal_handlers_destroy: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
aborting...

#0  IA__g_logv (log_domain=0x2b2a776a92fc "GLib-GObject", 
    log_level=G_LOG_LEVEL_CRITICAL, 
    format=0x2b2a77d9c567 "%s: assertion `%s' failed", args1=0x7fff33d0b160)
    at gmessages.c:503
#1  0x00002b2a77d49d83 in IA__g_log (log_domain=0x2b2a785f89e0 "", 
    log_level=2017228536, format=0x2677bf0 "") at gmessages.c:517
#2  0x00002b2a77682ffd in g_object_real_dispose (object=0x2b2a785f89e0)
    at gobject.c:739
#3  0x00002b2a77683292 in IA__g_object_unref (_object=<value optimized out>)
    at gobject.c:2393
#4  0x00002b2a77d323e2 in g_hash_table_remove_all_nodes (hash_table=0x26744f0, 
    notify=1) at ghash.c:374
#5  0x00002b2a77d32c48 in IA__g_hash_table_remove_all (hash_table=0x26744f0)
    at ghash.c:1051
#6  0x00002b2a77d32df5 in IA__g_hash_table_destroy (hash_table=0x2b2a785f89e0)
    at ghash.c:758
#7  0x000000000042d215 in gabble_roster_close_all (self=0x2670c20)
    at roster.c:1705
#8  0x00002b2a776811dd in IA__g_closure_invoke (closure=0x2676150, 
    return_value=0x0, n_param_values=3, param_values=0x2684280, 
    invocation_hint=0x7fff33d0b440) at gclosure.c:767
#9  0x00002b2a77698240 in signal_emit_unlocked_R (node=0x266bf90, detail=0, 
    instance=0x2672120, emission_return=0x0, instance_and_params=0x2684280)
    at gsignal.c:3244
#10 0x00002b2a77699929 in IA__g_signal_emit_valist (instance=0x2672120, 
    signal_id=<value optimized out>, detail=0, var_args=0x7fff33d0b620)
    at gsignal.c:2977
#11 0x00002b2a77699e53 in IA__g_signal_emit (instance=0x2b2a785f89e0, 
    signal_id=2017228536, detail=40336368) at gsignal.c:3034
#12 0x00002b2a7800af83 in tp_base_connection_change_status (self=0x2672120, 
    status=<value optimized out>, reason=TP_CONNECTION_STATUS_REASON_REQUESTED)
    at base-connection.c:2656
#13 0x00002b2a771e0847 in gobject_message_function (connection=0x2664c60, 
    message=0x26667d0, user_data=<value optimized out>) at dbus-gobject.c:1284
#14 0x00002b2a77425ad9 in _dbus_object_tree_dispatch_and_unlock (
    tree=0x2664910, message=0x26667d0) at dbus-object-tree.c:856
#15 0x00002b2a77410b9f in dbus_connection_dispatch (connection=0x2664c60)
    at dbus-connection.c:4447
#16 0x00002b2a771dd3a5 in message_queue_dispatch (
    source=<value optimized out>, callback=<value optimized out>, 
    user_data=<value optimized out>) at dbus-gmain.c:101
#17 0x00002b2a77d3fc9b in IA__g_main_context_dispatch (context=0x26606d0)
    at gmain.c:1814
#18 0x00002b2a77d4344d in g_main_context_iterate (context=0x26606d0, block=1, 
    dispatch=1, self=<value optimized out>) at gmain.c:2448
#19 0x00002b2a77d4397d in IA__g_main_loop_run (loop=0x265afc0) at gmain.c:2656
#20 0x00002b2a7806e5c6 in tp_run_connection_manager (
    prog_name=0x465748 "telepathy-gabble", version=0x462bda "0.7.15.1", 
    construct_cm=0x416da0 <construct_cm>, argc=<value optimized out>, 
    argv=<value optimized out>) at run.c:261
#21 0x00002b2a782c81a6 in __libc_start_main () from /lib/libc.so.6
#22 0x000000000040fcb9 in _start ()
Comment 1 Alban Crequy 2008-11-27 11:54:54 UTC
fixed in my branch 
http://monkey.collabora.co.uk/telepathy-gabble.git_bug18713/
Comment 2 Will Thompson 2009-03-01 06:30:27 UTC
This branch was merged ages ago.
Comment 3 Will Thompson 2009-03-01 06:30:49 UTC
This branch was merged ages ago.

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.