Bug 16994 - assertion failed in asyncns.c:789
Summary: assertion failed in asyncns.c:789
Status: RESOLVED NOTOURBUG
Alias: None
Product: Telepathy
Classification: Unclassified
Component: gabble (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Telepathy bugs list
QA Contact: Telepathy bugs list
URL: http://loudmouth.lighthouseapp.com/pr...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-05 08:03 UTC by Frederik Himpe
Modified: 2009-06-02 09:18 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Frederik Himpe 2008-08-05 08:03:07 UTC
Connecting with Empathy 2.23.6 to a jabber account, telepathy-gabble hits an asesrtion:

[frederik@localhost ~]$ GABBLE_PERSIST=1 GABBLE_DEBUG=all gdb /usr/lib64/telepathy-gabble 
GNU gdb 6.8-1mdv2009.0 (Mandriva Linux release 2009.0)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-mandriva-linux-gnu"...
(gdb) run
Starting program: /usr/lib64/telepathy-gabble 
warning: the debug information found in "/usr/lib/debug//usr/lib64/libtelepathy-glib.so.0.14.0.debug" does not match "/usr/lib64/libtelepathy-glib.so.0" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug/usr/lib64/libtelepathy-glib.so.0.14.0.debug" does not match "/usr/lib64/libtelepathy-glib.so.0" (CRC mismatch).

Missing separate debug info for /usr/lib64/libtelepathy-glib.so.0
(telepathy-gabble:13141): tp-glib-DEBUG: started version 0.7.7 (telepathy-glib version 0.7.13)
(telepathy-gabble:13141): tp-glib-DEBUG: tp_cm_param_setter_offset: account = "freggy@jabberweb.be"
(telepathy-gabble:13141): tp-glib-DEBUG: tp_cm_param_setter_offset: password = <hidden>
(telepathy-gabble:13141): tp-glib-DEBUG: parse_parameters: server not given, using default behaviour
(telepathy-gabble:13141): tp-glib-DEBUG: tp_cm_param_setter_offset: resource = "Telepathy"
(telepathy-gabble:13141): tp-glib-DEBUG: tp_cm_param_setter_offset: priority = 0 = 0x0
(telepathy-gabble:13141): tp-glib-DEBUG: parse_parameters: port not given, using default behaviour
(telepathy-gabble:13141): tp-glib-DEBUG: tp_cm_param_setter_offset: old-ssl = FALSE
(telepathy-gabble:13141): tp-glib-DEBUG: tp_cm_param_setter_offset: require-encryption = FALSE
(telepathy-gabble:13141): tp-glib-DEBUG: tp_cm_param_setter_offset: register = FALSE
(telepathy-gabble:13141): tp-glib-DEBUG: tp_cm_param_setter_offset: low-bandwidth = FALSE
(telepathy-gabble:13141): tp-glib-DEBUG: parse_parameters: https-proxy-server not given, using default behaviour
(telepathy-gabble:13141): tp-glib-DEBUG: tp_cm_param_setter_offset: https-proxy-port = 443 = 0x1bb
(telepathy-gabble:13141): tp-glib-DEBUG: tp_cm_param_setter_offset: fallback-conference-server = "conference.jabber.org"
(telepathy-gabble:13141): tp-glib-DEBUG: parse_parameters: stun-server not given, using default behaviour
(telepathy-gabble:13141): tp-glib-DEBUG: tp_cm_param_setter_offset: stun-port = 3478 = 0xd96
(telepathy-gabble:13141): tp-glib-DEBUG: tp_cm_param_setter_offset: ignore-ssl-errors = TRUE
(telepathy-gabble:13141): tp-glib-DEBUG: parse_parameters: alias not given, using default behaviour
(telepathy-gabble:13141): tp-glib-DEBUG: tp_base_connection_class_init: Initializing (TpBaseConnectionClass *)0x1cbd590
** (telepathy-gabble:13141): DEBUG: gabble_connection_class_init: Initializing (GabbleConnectionClass *)0x1cbdaa0
(telepathy-gabble:13141): tp-glib-DEBUG: tp_presence_mixin_class_init: called.
(telepathy-gabble:13141): tp-glib-DEBUG: tp_base_connection_init: Initializing (TpBaseConnection *)0x1cc3010
** (telepathy-gabble:13141): DEBUG: gabble_connection_init: Initializing (GabbleConnection *)0x1cc3010
(telepathy-gabble:13141): tp-glib-DEBUG: tp_base_connection_constructor: Post-construction: (TpBaseConnection *)0x1cc3010
(telepathy-gabble:13141): tp-glib-DEBUG: tp_proxy_borrow_interface_by_id: 0x1cc2520: org.freedesktop.DBus DBusGProxy is 0x1cc2590
(telepathy-gabble:13141): tp-glib-DEBUG: tp_base_connection_constructor: Handle repo for type #0 at (nil)
(telepathy-gabble:13141): tp-glib-DEBUG: tp_base_connection_constructor: Handle repo for type #1 at 0x1cc1580
(telepathy-gabble:13141): tp-glib-DEBUG: tp_base_connection_constructor: Handle repo for type #2 at 0x1cc15e0
(telepathy-gabble:13141): tp-glib-DEBUG: tp_base_connection_constructor: Handle repo for type #3 at 0x1cb6210
(telepathy-gabble:13141): tp-glib-DEBUG: tp_base_connection_constructor: Handle repo for type #4 at 0x1cc1640
(telepathy-gabble:13141): tp-glib-DEBUG: tp_base_connection_constructor: Channel factory #0 at 0x1cc16a0
(telepathy-gabble:13141): tp-glib-DEBUG: tp_base_connection_constructor: Channel factory #1 at 0x1cc2800
(telepathy-gabble:13141): tp-glib-DEBUG: tp_base_connection_constructor: Channel factory #2 at 0x1cc9020
(telepathy-gabble:13141): tp-glib-DEBUG: tp_base_connection_constructor: Channel factory #3 at 0x1cc8040
(telepathy-gabble:13141): tp-glib-DEBUG: tp_base_connection_constructor: Channel factory #4 at 0x1cc80c0
** (telepathy-gabble:13141): DEBUG: gabble_connection_constructor: Post-construction: (GabbleConnection *)0x1cc3010
(telepathy-gabble:13141): tp-glib-DEBUG: tp_presence_mixin_init: called.
(telepathy-gabble:13141): tp-glib-DEBUG: tp_base_connection_register: bus name org.freedesktop.Telepathy.Connection.gabble.jabber.freggy_40jabberweb_2ebe_2fTelepathy
(telepathy-gabble:13141): tp-glib-DEBUG: tp_base_connection_register: object path /org/freedesktop/Telepathy/Connection/gabble/jabber/freggy_40jabberweb_2ebe_2fTelepathy
** (telepathy-gabble:13141): DEBUG: _gabble_connection_connect: letting SRV lookup decide server and port
** (telepathy-gabble:13141): DEBUG: do_connect: calling lm_connection_open
Detaching after fork from child process 13159.
** (telepathy-gabble:13141): DEBUG: do_connect: lm_connection_open failed Failed to resolve server
(telepathy-gabble:13141): tp-glib-DEBUG: tp_base_connection_change_status: was 4294967295, now 2, for reason 2
** (telepathy-gabble:13141): DEBUG: gabble_roster_factory_iface_close_all: closing channels
** (telepathy-gabble:13141): DEBUG: gabble_muc_factory_iface_close_all: closing channels
** (telepathy-gabble:13141): DEBUG: gabble_media_factory_iface_close_all: closing channels
** (telepathy-gabble:13141): DEBUG: gabble_im_factory_iface_close_all: closing channels
** (telepathy-gabble:13141): DEBUG: gabble_private_tubes_factory_iface_close_all: closing 1-1 tubes channels
(telepathy-gabble:13141): tp-glib-DEBUG: tp_base_connection_change_status: emitting status-changed to 2, for reason 2
** (telepathy-gabble:13141): DEBUG: connection_shut_down: closed; emitting DISCONNECTED
(telepathy-gabble:13141): tp-glib-DEBUG: connection_shutdown_finished_cb: dereferenced connection
** (telepathy-gabble:13141): DEBUG: gabble_connection_dispose: called
** (telepathy-gabble:13141): DEBUG: gabble_bytestream_factory_dispose: dispose called
** (telepathy-gabble:13141): DEBUG: gabble_disco_dispose: dispose called
** (telepathy-gabble:13141): DEBUG: gabble_disco_finalize: called with 0x1cc8180
** (telepathy-gabble:13141): DEBUG: gabble_request_pipeline_dispose: disposing request-pipeline
** (telepathy-gabble:13141): DEBUG: gabble_vcard_manager_dispose: 0x1cc2870
** (telepathy-gabble:13141): DEBUG: gabble_vcard_manager_finalize: 0x1cc2870
** (telepathy-gabble:13141): DEBUG: gabble_presence_cache_dispose: dispose called
** (telepathy-gabble:13141): DEBUG: gabble_presence_cache_finalize: called with 0x1cc1700
** (telepathy-gabble:13141): DEBUG: gabble_roster_dispose: dispose called
** (telepathy-gabble:13141): DEBUG: gabble_roster_factory_iface_close_all: closing channels
** (telepathy-gabble:13141): DEBUG: gabble_roster_finalize: called with 0x1cc16a0
** (telepathy-gabble:13141): DEBUG: gabble_muc_factory_dispose: dispose called
** (telepathy-gabble:13141): DEBUG: gabble_muc_factory_iface_close_all: closing channels
** (telepathy-gabble:13141): DEBUG: gabble_media_factory_dispose: dispose called
** (telepathy-gabble:13141): DEBUG: gabble_media_factory_iface_close_all: closing channels
** (telepathy-gabble:13141): DEBUG: gabble_im_factory_dispose: dispose called
** (telepathy-gabble:13141): DEBUG: gabble_im_factory_iface_close_all: closing channels
** (telepathy-gabble:13141): DEBUG: gabble_private_tubes_factory_dispose: dispose called
** (telepathy-gabble:13141): DEBUG: gabble_private_tubes_factory_iface_close_all: closing 1-1 tubes channels
(telepathy-gabble:13141): tp-glib-DEBUG: tp_proxy_signal_connection_lost_weak_ref: 0x1cc2670: lost weak ref to 0x1cc1580
(telepathy-gabble:13141): tp-glib-DEBUG: tp_proxy_signal_connection_lost_weak_ref: 0x1cc26e0: lost weak ref to 0x1cc15e0
(telepathy-gabble:13141): tp-glib-DEBUG: tp_proxy_signal_connection_lost_weak_ref: 0x1cc2750: lost weak ref to 0x1cc1640
** (telepathy-gabble:13141): DEBUG: gabble_connection_finalize: called with 0x1cc3010
(telepathy-gabble:13141): tp-glib-DEBUG: tp_presence_mixin_finalize: 0x1cc3010
telepathy-gabble: asyncns.c:789: asyncns_wait: Assertion `asyncns' failed.

Program received signal SIGABRT, Aborted.
0x00007f89c3c3b975 in raise () from /lib64/libc.so.6
Missing debug package(s), you should install: dbus-debug dbus-glib-debug glib2.0-debug glibc-debug gnutls-debug libgcrypt-debug libgpg-error-debug libidn-debug libtasn1-debug pcre-debug zlib-debug
(gdb) bt
#0  0x00007f89c3c3b975 in raise () from /lib64/libc.so.6
#1  0x00007f89c3c3d1a3 in abort () from /lib64/libc.so.6
#2  0x00007f89c3c346e9 in __assert_fail () from /lib64/libc.so.6
#3  0x00007f89c44e3949 in asyncns_wait (asyncns=0x0, block=0) at asyncns.c:789
#4  0x00007f89c44e233f in _lm_socket_resolver_done (source=<value optimized out>, condition=<value optimized out>, data=<value optimized out>)
    at lm-socket.c:890
#5  0x00007f89c424a982 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#6  0x00007f89c424e11d in ?? () from /usr/lib64/libglib-2.0.so.0
#7  0x00007f89c424e64d in g_main_loop_run () from /usr/lib64/libglib-2.0.so.0
#8  0x00007f89c3fdea74 in tp_run_connection_manager () from /usr/lib64/libtelepathy-glib.so.0
#9  0x00007f89c3c28316 in __libc_start_main () from /lib64/libc.so.6
#10 0x000000000040d8e9 in _start ()

empathy-2.23.6-1mdv2009.0
empathy-debug-0.23.3-0.1mdv2009.0
lib64empathy14-2.23.6-1mdv2009.0
lib64empathy-gtk14-0.23.3-1mdv2009.0
lib64empathy-gtk15-2.23.6-1mdv2009.0
lib64loudmouth-1_0-1.4.1-1mdv2009.0
lib64telepathy2-0.3.3-1mdv2009.0
lib64telepathy-glib0-0.7.13-2mdv2009.0
lib64telepathy-glib-devel-0.7.13-2mdv2009.0
libglib2.0_0-2.17.4-1mdv2009.0
loudmouth-debug-1.4.1-1mdv2009.0
python-empathy-2.23.6-1mdv2009.0
python-telepathy-0.15.0-1mdv2009.0
telepathy-butterfly-0.3.2-2mdv2009.0
telepathy-filesystem-0.0.1-2mdv2008.1
telepathy-gabble-0.7.7-1mdv2009.0
telepathy-gabble-debug-0.7.7-1mdv2009.0
telepathy-glib-debug-0.7.13-2mdv2009.0
telepathy-mission-control-4.67-1mdv2009.0
telepathy-salut-0.3.3-1mdv2009.0
telepathy-stream-engine-0.5.3-1mdv2009.0
Comment 1 Will Thompson 2009-06-02 09:18:19 UTC
This was a bug in Loudmouth, which is fixed in master, but not in the latest release (which is 1.4.3). Debian ships the patch with git sha1-sum fc21de5fd06bee1714d38f92c60a2af75a7b5c29 which fixes this bug; you might want to get your distro to ship it too.


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.