Bug 27537

Summary: assertion `hash_table != NULL' failed in connection-handles.c:702
Product: Telepathy Reporter: Guillaume Desmottes <guillaume.desmottes>
Component: tp-glibAssignee: Guillaume Desmottes <guillaume.desmottes>
Status: RESOLVED FIXED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium Keywords: patch
Version: git master   
Hardware: Other   
OS: All   
URL: http://git.collabora.co.uk/?p=user/cassidy/telepathy-glib;a=shortlog;h=refs/heads/attr-crash-27537
Whiteboard: review+
i915 platform: i915 features:

Description Guillaume Desmottes 2010-04-08 06:32:53 UTC
I got this crash when starting Empathy with tp-glib 0.11.2


GLib-CRITICAL **: g_hash_table_size: assertion `hash_table != NULL' failed
aborting...

Program received signal SIGABRT, Aborted.
0x00007fffeea304b5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64	../nptl/sysdeps/unix/sysv/linux/raise.c: Aucun fichier ou dossier de ce type.
	in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0  0x00007fffeea304b5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007fffeea33f50 in *__GI_abort () at abort.c:92
#2  0x00007fffeedb1e0a in IA__g_logv (log_domain=<value optimized out>, log_level=<value optimized out>, format=<value optimized out>, 
    args1=0x7fffffffdc80) at /build/buildd/glib2.0-2.22.3/glib/gmessages.c:549
#3  0x00007fffeedb1ea3 in IA__g_log (log_domain=0xc94 <Address 0xc94 out of bounds>, log_level=3220, format=0x6 <Address 0x6 out of bounds>)
    at /build/buildd/glib2.0-2.22.3/glib/gmessages.c:569
#4  0x00007fffeed98bd2 in IA__g_hash_table_size (hash_table=<value optimized out>) at /build/buildd/glib2.0-2.22.3/glib/ghash.c:1273
#5  0x00007ffff56aaad7 in connection_got_contact_attributes (self=0xe88180, attributes=0xc94, error=0x6, user_data=0xffffffffffffffff, 
    weak_object=0x11df9a0) at connection-handles.c:702
#6  0x00007ffff569d3f6 in _tp_cli_connection_interface_contacts_invoke_callback_get_contact_attributes (self=0xe88180, error=0x11e1a30, args=0x0, 
    generic_callback=0x7ffff56aaa90 <connection_got_contact_attributes>, user_data=0xffffffffffffffff, weak_object=0x7265737361203a65)
    at _gen/tp-cli-connection-body.h:8733
#7  0x00007ffff56dfa37 in tp_proxy_pending_call_idle_invoke (p=0xfca060) at proxy-methods.c:153
#8  0x00007fffeeda7bce in g_main_dispatch (context=0x8f1820) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:1960
#9  IA__g_main_context_dispatch (context=0x8f1820) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2513
#10 0x00007fffeedab598 in g_main_context_iterate (context=0x8f1820, block=<value optimized out>, dispatch=<value optimized out>, 
    self=<value optimized out>) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2591
#11 0x00007fffeedab9f5 in IA__g_main_loop_run (loop=0xfba8c0) at /build/buildd/glib2.0-2.22.3/glib/gmain.c:2799
#12 0x00007ffff11da177 in IA__gtk_main () at /build/buildd/gtk+2.0-2.18.3/gtk/gtkmain.c:1218
#13 0x00000000004407d5 in main (argc=1, argv=0x7fffffffe318) at empathy.c:735
Comment 2 Simon McVittie 2010-04-20 03:09:15 UTC
Ship it
Comment 3 Guillaume Desmottes 2010-04-20 03:24:18 UTC
Merged. Will be in 0.11.3.
Comment 4 Simon McVittie 2010-04-20 05:17:14 UTC
This will also be fixed in 0.10.4 and (if it ever happens) 0.8.4. I don't propose to do a new 0.8.x release for this bug.

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.